:root {
	--ground: oklch(97.4% 0.005 255);
	--panel: oklch(100% 0 0);
	--fg: oklch(23% 0.035 262);
	--muted: oklch(46% 0.03 260);
	--line: oklch(90% 0.01 258);
	--line-strong: oklch(62% 0.025 260);
	--rail: oklch(27% 0.07 263);
	--rail-raised: oklch(33% 0.075 263);
	--rail-line: oklch(42% 0.07 262);
	--rail-fg: oklch(97% 0.01 255);
	--rail-muted: oklch(82% 0.035 258);
	--accent: oklch(46% 0.15 258);
	--accent-hover: oklch(39% 0.14 258);
	--accent-fg: oklch(99% 0.003 255);
	--accent-tint: oklch(92% 0.04 255);
	--pending-mark: oklch(82% 0.16 82);
	--pending-bg: oklch(94% 0.07 88);
	--pending-fg: oklch(40% 0.1 62);
	--done-mark: oklch(62% 0.13 155);
	--done-bg: oklch(94.5% 0.045 155);
	--done-fg: oklch(37% 0.09 155);
	--ease: cubic-bezier(0.23, 1, 0.32, 1);
	--page: 70rem;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.55;
	color: var(--fg);
	background: var(--ground);
	scroll-behavior: smooth;
	scrollbar-color: var(--line-strong) transparent;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ground: oklch(18.5% 0.022 262);
		--panel: oklch(22.5% 0.026 262);
		--fg: oklch(94% 0.012 255);
		--muted: oklch(75% 0.025 258);
		--line: oklch(31% 0.03 262);
		--line-strong: oklch(52% 0.035 260);
		--rail: oklch(14.5% 0.03 263);
		--rail-raised: oklch(21% 0.04 263);
		--rail-line: oklch(34% 0.05 262);
		--accent: oklch(76% 0.11 255);
		--accent-hover: oklch(82% 0.09 255);
		--accent-fg: oklch(18% 0.04 262);
		--accent-tint: oklch(32% 0.07 258);
		--pending-bg: oklch(33% 0.07 75);
		--pending-fg: oklch(90% 0.1 85);
		--done-bg: oklch(30% 0.055 155);
		--done-fg: oklch(88% 0.08 155);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

::selection {
	background: var(--accent-tint);
	color: var(--fg);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.top :focus-visible {
	outline-color: var(--rail-fg);
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
	margin: 0;
	padding: 0;
}

ol,
ul {
	list-style: none;
}

h1,
h2,
h3 {
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.75rem);
	font-weight: 750;
}

h1 span {
	display: block;
}

h2 {
	font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.375rem);
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.015em;
}

p,
dd,
li {
	text-wrap: pretty;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration-thickness: 2px;
}

time,
.when,
.num {
	font-variant-numeric: tabular-nums;
}

.small {
	font-size: 0.875rem;
	color: var(--muted);
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 2;
	background: var(--rail-fg);
	color: oklch(27% 0.07 263);
	padding: 0.6rem 1rem;
	border-radius: 8px;
}

.skip:focus {
	top: 1rem;
}

.button {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	background: var(--accent);
	color: var(--accent-fg);
	font-weight: 650;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: background 120ms ease, scale 120ms var(--ease);
}

.button:hover {
	background: var(--accent-hover);
}

.button:active {
	scale: 0.97;
}

.button.light {
	background: var(--rail-fg);
	color: oklch(27% 0.07 263);
}

.button.light:hover {
	background: oklch(90% 0.03 255);
}

.top {
	background: var(--rail);
	color: var(--rail-fg);
}

.bar {
	max-width: var(--page);
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	min-height: 72px;
	display: flex;
	align-items: center;
	gap: 0.5rem 2rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 44px;
	color: inherit;
	font-weight: 700;
	letter-spacing: -0.015em;
	text-decoration: none;
	white-space: nowrap;
}

.brand-mark {
	fill: var(--pending-mark);
}

.bar nav {
	display: flex;
	gap: 1.75rem;
	margin-left: auto;
}

.bar nav a,
.enter {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--rail-muted);
	text-decoration: none;
	font-weight: 550;
	font-size: 0.9375rem;
}

.bar nav a:hover,
.enter:hover {
	color: var(--rail-fg);
	text-decoration: underline;
}

.enter {
	border: 1px solid var(--rail-line);
	border-radius: 8px;
	padding: 0 1rem;
	color: var(--rail-fg);
}

.hero {
	max-width: var(--page);
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4.5rem) 1.25rem clamp(3rem, 7vw, 6rem);
	display: grid;
	gap: 3rem clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.hero-text {
	display: grid;
	gap: 1.5rem;
}

.lead {
	font-size: 1.1875rem;
	color: var(--rail-muted);
	max-width: 38ch;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.75rem;
}

.text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--rail-fg);
}

.board {
	background: var(--panel);
	color: var(--fg);
	border-radius: 16px;
	padding: 1.5rem clamp(1rem, 3vw, 1.75rem) 1.25rem;
}

.board-title {
	font-size: 1.375rem;
	letter-spacing: -0.02em;
}

.board-title span {
	color: var(--muted);
}

.strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	margin: 0.9rem 0 1.25rem;
}

.strip i {
	height: 7px;
	border-radius: 2px;
	background: var(--done-mark);
}

.strip .s4 {
	background: var(--pending-mark);
}

.board ol {
	position: relative;
}

.board li {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.25rem 0.75rem;
	padding: 0.65rem 0;
}

.board li time {
	position: relative;
	padding-left: 1.35rem;
	font-weight: 700;
	line-height: 1.6;
}

.board li time::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4rem;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	border: 3px solid var(--done-mark);
	background: var(--done-mark);
}

.board .b4 time::before {
	border-color: var(--pending-mark);
	background: none;
}

.board li:not(:last-child) time::after {
	content: "";
	position: absolute;
	left: calc(0.425rem - 1px);
	top: 1.5rem;
	height: 1.75rem;
	width: 2px;
	background: var(--line);
}

.swap {
	display: inline-grid;
	justify-items: end;
	font-size: 0.9375rem;
	font-weight: 600;
}

.swap > span {
	grid-area: 1 / 1;
	border-radius: 6px;
	padding: 0.1rem 0.55rem;
}

.before {
	background: var(--pending-bg);
	color: var(--pending-fg);
}

.after {
	background: var(--done-bg);
	color: var(--done-fg);
}

.b1 .before,
.b2 .before,
.b3 .before {
	visibility: hidden;
}

.board figcaption {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
	.strip .s1,
	.strip .s2,
	.strip .s3 {
		animation: cover 240ms ease var(--at) backwards;
	}

	.b1 time::before,
	.b2 time::before,
	.b3 time::before {
		animation: ring 240ms ease var(--at) backwards;
	}

	.b1 .before,
	.b2 .before,
	.b3 .before {
		animation: leave 240ms ease var(--at) backwards;
	}

	.b1 .after,
	.b2 .after,
	.b3 .after {
		animation: arrive 240ms var(--ease) var(--at) backwards;
	}

	.s1,
	.b1 {
		--at: 1200ms;
	}

	.s2,
	.b2 {
		--at: 2100ms;
	}

	.s3,
	.b3 {
		--at: 3000ms;
	}
}

@keyframes cover {
	from {
		background: var(--pending-mark);
	}
}

@keyframes ring {
	from {
		border-color: var(--pending-mark);
		background: transparent;
	}
}

@keyframes leave {
	from {
		visibility: visible;
		opacity: 1;
	}
	to {
		visibility: hidden;
		opacity: 0;
	}
}

@keyframes arrive {
	from {
		opacity: 0;
		clip-path: inset(0 100% 0 0);
	}
	to {
		clip-path: inset(0);
	}
}

main > section {
	max-width: var(--page);
	margin: 0 auto;
	padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem 0;
	scroll-margin-top: 1rem;
}

.section-lead {
	margin-top: 0.9rem;
	color: var(--muted);
	max-width: 60ch;
}

.day {
	margin: clamp(2rem, 4vw, 3rem) 0 1.5rem;
}

.day > li {
	position: relative;
	display: grid;
	gap: 1rem;
	padding: 0 0 2.75rem 2rem;
}

.day > li::before {
	content: "";
	position: absolute;
	left: 0.4rem;
	top: 0.55rem;
	bottom: -0.55rem;
	width: 2px;
	background: var(--line);
}

.day > li:last-child::before {
	display: none;
}

.day > li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35rem;
	width: 0.95rem;
	height: 0.95rem;
	border-radius: 50%;
	background: var(--accent);
}

.day > li > time,
.when {
	font-weight: 700;
	font-size: 1.0625rem;
}

.step {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}

.step p {
	color: var(--muted);
	max-width: 48ch;
}

.scrap {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0.9rem 1.1rem;
	font-size: 0.9375rem;
	align-self: start;
}

.scrap-line,
.hours {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	padding: 0.3rem 0;
}

.scrap-line span {
	color: var(--muted);
}

.hours {
	grid-template-columns: minmax(0, 1fr) auto 3rem;
	gap: 0.75rem;
}

.hours .num:last-child {
	text-align: right;
}

.scrap-result {
	display: inline-block;
	margin-top: 0.5rem;
	border-radius: 6px;
	padding: 0.15rem 0.6rem;
	font-weight: 600;
}

.pending,
.tag.warn {
	background: var(--pending-bg);
	color: var(--pending-fg);
}

.done {
	background: var(--done-bg);
	color: var(--done-fg);
}

.candidate {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.15rem 0.75rem;
	padding: 0.6rem 0;
}

.candidate + .candidate {
	border-top: 1px solid var(--line);
}

.candidate .num {
	grid-column: 1 / -1;
	color: var(--muted);
}

.tag {
	background: var(--accent-tint);
	border-radius: 6px;
	padding: 0.05rem 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

.phone {
	max-width: 24rem;
	border-radius: 16px;
}

.push-title {
	font-weight: 700;
}

.includes dl {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 2px solid var(--fg);
}

.includes dl > div {
	display: grid;
	gap: 0.35rem 2rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--line);
}

.includes dt {
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: -0.01em;
}

.includes dd {
	color: var(--muted);
	max-width: 62ch;
}

.start {
	display: grid;
	gap: 2.5rem clamp(2rem, 6vw, 5rem);
}

.start h2 {
	font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem);
}

.start p {
	margin-top: 0.75rem;
	color: var(--muted);
	max-width: 46ch;
}

.data ul {
	display: grid;
	gap: 0.9rem;
	max-width: 62ch;
}

.data li {
	position: relative;
	padding-left: 2rem;
}

.data li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--done-mark);
}

.contact {
	padding-bottom: clamp(3.5rem, 8vw, 6.5rem) !important;
}

.data,
.contact {
	display: grid;
	gap: 1.25rem 2rem;
}

.contact p + p {
	margin-top: 1.25rem;
}

.contact p {
	max-width: 58ch;
	color: var(--muted);
}

footer {
	border-top: 1px solid var(--line);
	padding: 1.5rem 1.25rem 2.5rem;
	font-size: 0.9375rem;
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2rem;
}

.notice {
	min-height: 100dvh;
	max-width: 40rem;
	margin: 0 auto;
	padding: 2rem 1.25rem;
	display: grid;
	gap: 1.25rem;
	align-content: center;
}

.notice h1 {
	font-size: clamp(1.75rem, 1.4rem + 2vw, 2.5rem);
}

@media (max-width: 47.99rem) {
	.bar nav {
		display: none;
	}

	.enter {
		margin-left: auto;
	}
}

@media (max-width: 29.99rem) {
	.board li {
		grid-template-columns: 5rem minmax(0, 1fr);
	}

	.swap {
		grid-column: 2;
		justify-self: start;
		justify-items: start;
	}

	.board li:not(:last-child) time::after {
		height: 3.1rem;
	}

	.board li {
		row-gap: 0.1rem;
		padding: 0.5rem 0;
	}
}

@media (min-width: 48rem) {
	.day > li {
		grid-template-columns: 6.5rem minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 1.5rem 2rem;
		padding-bottom: 3.5rem;
	}

	.includes dl > div {
		grid-template-columns: 15rem 1fr;
	}

	.data,
	.contact {
		grid-template-columns: 15rem minmax(0, 1fr);
	}

	.start {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 60rem) {
	.hero {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	:root {
		scroll-behavior: auto;
	}

	.button {
		transition: none;
	}
}
