:root {
	--paper: #f8f6f1;
	--ink: #29251f;
	--muted: #8d877d;
	--line: #ded8cf;
	--orange: #f46124;
	--orange-dark: #d94f16;
	--quiet: #f1eee8;
	--early: #fbf0cf;
	--early-line: #e9bb43;
	--main: #fbd9c5;
	--main-line: #ff8a56;
	--second: #f3e2c4;
	--second-line: #dda349;
	--late: #eadbd0;
	--late-line: #c79676;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--paper);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
}

a {
	color: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button {
	font: inherit;
}

.container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.site-header {
	border-bottom: 1px solid var(--line);
	background: rgba(248, 246, 241, 0.94);
}

.header-inner {
	display: flex;
	min-height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
}

.brand img {
	display: block;
	width: 146px;
	height: auto;
}

.header-inner > span {
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: #777067;
	font-size: 0.69rem;
	font-weight: 760;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

main {
	padding: 76px 0 92px;
}

.hero {
	max-width: 1180px;
}

.eyebrow,
.section-kicker {
	margin: 0;
	color: var(--orange-dark);
	font-size: 0.76rem;
	font-weight: 820;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 900px;
	margin: 18px 0 0;
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 780;
	letter-spacing: -0.065em;
	line-height: 0.98;
}

.intro {
	max-width: 790px;
	margin: 28px 0 0;
	color: #746f66;
	font-size: clamp(1.02rem, 1.55vw, 1.18rem);
	line-height: 1.72;
}

.intro strong,
.official-dates strong {
	color: var(--ink);
	font-weight: 760;
}

.official-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 8px;
	margin: 20px 0 0;
	color: #9a948a;
	font-size: 0.92rem;
	line-height: 1.55;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	padding: 11px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.68);
	color: #514c44;
	font-size: 0.84rem;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 1px 0 rgba(41, 37, 31, 0.03);
}

.status-pill > span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffc7ad;
	box-shadow: inset 0 0 0 1px rgba(244, 97, 36, 0.18);
}

.status-pill strong {
	font-weight: 720;
}

.calendar-section {
	margin-top: 64px;
}

.calendar-heading .section-kicker {
	margin-bottom: 8px;
}

.calendar-heading h2,
.method-copy h2 {
	margin: 0;
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 760;
	letter-spacing: -0.055em;
	line-height: 1.04;
}

.calendar-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-top: 30px;
	color: #8d877e;
	font-size: 0.76rem;
	line-height: 1.35;
}

.calendar-legend span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.legend-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 1px solid transparent;
	border-radius: 4px;
}

.legend-swatch.deadline {
	background: var(--ink);
}

.legend-swatch.quiet {
	border-color: var(--line);
	border-style: dashed;
	background: var(--quiet);
}

.legend-swatch.early {
	border-color: var(--early-line);
	background: var(--early);
}

.legend-swatch.main-wave {
	border-color: var(--main-line);
	background: var(--main);
}

.legend-swatch.second {
	border-color: var(--second-line);
	background: var(--second);
}

.legend-swatch.late {
	border-color: var(--late-line);
	background: var(--late);
}

.mobile-scroll-note {
	display: none;
}

.calendar-scroll {
	margin-top: 40px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-color: #c6bdb1 transparent;
	scrollbar-width: thin;
}

.calendar-board {
	min-width: 1040px;
}

.calendar-weekdays,
.calendar-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}

.calendar-weekdays {
	margin-bottom: 11px;
}

.calendar-weekdays span {
	color: #aaa398;
	font-size: 0.68rem;
	font-weight: 780;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.calendar-days {
	margin: 0;
	padding: 0;
	list-style: none;
}

.calendar-day {
	display: flex;
	min-width: 0;
	min-height: 142px;
	flex-direction: column;
	padding: 12px 11px 13px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.4);
}

.day-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.day-top > strong {
	font-size: 0.95rem;
	font-weight: 770;
	font-variant-numeric: tabular-nums;
}

.today-label {
	color: var(--orange-dark);
	font-size: 0.58rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.day-copy {
	display: grid;
	gap: 2px;
	margin-top: auto;
}

.day-copy strong {
	font-size: 0.76rem;
	font-weight: 780;
	line-height: 1.2;
}

.day-copy span {
	color: #827b71;
	font-size: 0.71rem;
	line-height: 1.25;
}

.calendar-day.deadline {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.calendar-day.deadline .day-copy span {
	color: #c9c4bc;
}

.calendar-day.quiet {
	border-style: dashed;
	background: var(--quiet);
	color: #777168;
}

.calendar-day.quiet .day-copy span {
	color: #a09a90;
}

.calendar-day.early {
	border-color: var(--early-line);
	background: var(--early);
}

.calendar-day.main-wave {
	border-color: var(--main-line);
	background: var(--main);
}

.calendar-day.second {
	border-color: var(--second-line);
	background: var(--second);
}

.calendar-day.late {
	border-color: var(--late-line);
	background: var(--late);
}

.calendar-day.decision {
	border-color: var(--orange);
	background: var(--orange);
	color: #fff;
}

.calendar-day.decision .day-copy span {
	color: #ffe4d8;
}

.calendar-day.closed {
	border-color: transparent;
	background: transparent;
	color: #4f4a43;
}

.calendar-day.is-today {
	position: relative;
	box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--orange);
}

.calendar-caption {
	margin: 20px 0 0;
	color: #8a847a;
	font-size: 0.82rem;
	line-height: 1.55;
}

.calendar-caption strong {
	color: var(--orange-dark);
	font-weight: 780;
}

.window-summary {
	margin-top: 64px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
}

.window-summary h3 {
	margin: 0 0 20px;
	font-size: clamp(1.45rem, 2.6vw, 2rem);
	letter-spacing: -0.045em;
}

.window-track {
	display: grid;
	min-width: 980px;
	grid-template-columns: 1fr 2fr 11fr 8fr 3fr 7fr 1fr;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}

.window-track span {
	display: grid;
	min-height: 62px;
	padding: 9px;
	place-items: center;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 760;
	text-align: center;
	white-space: nowrap;
}

.window-track .deadline,
.window-track .decision {
	background: var(--ink);
}

.window-track .quiet {
	color: #979085;
	background: #fff;
}

.window-track .early {
	color: #6d5317;
	background: #e5b617;
}

.window-track .main-wave {
	background: var(--orange);
}

.window-track .second {
	background: #dc8105;
}

.window-track .late {
	background: #9d451c;
}

.method-section {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
	gap: 72px;
	align-items: center;
	margin-top: 92px;
	padding-top: 76px;
	border-top: 1px solid var(--line);
}

.method-copy > p:not(.section-kicker) {
	max-width: 650px;
	margin: 22px 0 0;
	color: #7d776e;
	font-size: 0.95rem;
	line-height: 1.72;
}

.source-links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 24px;
}

.source-links a {
	padding: 8px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	color: #5e5850;
	font-size: 0.72rem;
	font-weight: 720;
	text-decoration: none;
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.source-links a:hover {
	transform: translateY(-1px);
	border-color: var(--orange);
	color: var(--orange-dark);
}

.source-links a:focus-visible,
.dna-teaser a:focus-visible,
.site-footer button:focus-visible,
.cookie-actions button:focus-visible {
	outline: 3px solid rgba(244, 97, 36, 0.24);
	outline-offset: 3px;
}

.decision-pattern {
	padding: 8px 0;
	border-block: 1px solid var(--line);
}

.decision-pattern > div {
	display: grid;
	grid-template-columns: 58px 1fr auto;
	gap: 18px;
	align-items: center;
	padding: 14px 6px;
	border-bottom: 1px solid rgba(140, 131, 119, 0.16);
}

.decision-pattern > div:last-child {
	border-bottom: 0;
}

.decision-pattern strong {
	font-size: 0.8rem;
}

.decision-pattern span {
	color: #8b847a;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.decision-pattern b {
	color: var(--orange-dark);
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}

.estimate-note {
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: #8d867b;
}

.estimate-note p {
	max-width: 830px;
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.65;
}

.estimate-note strong {
	color: #6c655c;
}

.dna-teaser {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 270px);
	align-items: center;
	gap: 32px;
	margin-top: 48px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.dna-teaser a {
	color: #3e3a35;
	font-size: clamp(0.98rem, 1.5vw, 1.08rem);
	font-weight: 690;
	line-height: 1.5;
	text-decoration-color: rgba(244, 97, 36, 0.42);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

.dna-teaser a:hover {
	color: var(--orange-dark);
	text-decoration-color: currentColor;
}

.dna-teaser div > p {
	margin: 0 0 6px;
	color: #9a9388;
	font-size: 0.64rem;
	font-weight: 790;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.dna-teaser > span {
	color: #918a80;
	font-size: 0.76rem;
	line-height: 1.55;
}

.site-footer {
	padding: 28px 0;
	border-top: 1px solid var(--line);
	background: #f3f0ea;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: #8c857a;
	font-size: 0.76rem;
}

.footer-inner p {
	margin: 0;
}

.footer-inner a {
	font-weight: 700;
}

.footer-inner button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #70695f;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cookie-banner {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 20;
	display: grid;
	width: min(540px, calc(100% - 40px));
	gap: 18px;
	padding: 22px;
	border: 1px solid #d7d0c5;
	border-radius: 16px;
	background: #fffdf8;
	box-shadow: 0 18px 60px rgba(55, 44, 32, 0.18);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-kicker {
	margin: 0 0 5px;
	color: var(--orange-dark);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cookie-banner h2 {
	margin: 0;
	font-size: 1.25rem;
	letter-spacing: -0.035em;
}

.cookie-banner div > p:last-child {
	margin: 8px 0 0;
	color: #777067;
	font-size: 0.78rem;
	line-height: 1.55;
}

.cookie-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.cookie-actions button {
	padding: 9px 12px;
	border-radius: 9px;
	font-size: 0.73rem;
	font-weight: 740;
	cursor: pointer;
}

.button-secondary {
	border: 1px solid var(--line);
	background: #fff;
	color: #625c53;
}

.button-primary {
	border: 1px solid var(--orange);
	background: var(--orange);
	color: #fff;
}

@media (max-width: 920px) {
	main {
		padding-top: 62px;
	}

	.method-section {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 700px) {
	.container {
		width: calc(100% - 40px);
	}

	.header-inner {
		min-height: 66px;
	}

	.brand img {
		width: 126px;
	}

	.header-inner > span {
		font-size: 0.58rem;
	}

	main {
		padding: 46px 0 72px;
	}

	.hero h1 {
		font-size: clamp(2.8rem, 13vw, 4rem);
	}

	.intro {
		font-size: 1rem;
	}

	.official-dates {
		display: block;
		font-size: 0.86rem;
	}

	.official-dates span {
		display: none;
	}

	.official-dates strong {
		display: inline-block;
		margin-right: 4px;
	}

	.status-pill {
		font-size: 0.76rem;
	}

	.calendar-section {
		margin-top: 50px;
	}

	.calendar-legend {
		gap: 10px 14px;
	}

	.mobile-scroll-note {
		display: block;
		margin: 24px 0 -24px;
		color: #9a9388;
		font-size: 0.69rem;
		font-weight: 700;
	}

	.calendar-scroll,
	.window-summary {
		margin-inline: -20px;
		padding-inline: 20px;
	}

	.calendar-board {
		min-width: 900px;
	}

	.calendar-day {
		min-height: 126px;
	}

	.window-track {
		min-width: 840px;
	}

	.method-section {
		margin-top: 72px;
		padding-top: 58px;
	}

	.decision-pattern > div {
		grid-template-columns: 48px 1fr auto;
		gap: 10px;
	}

	.dna-teaser {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.cookie-banner {
		right: 12px;
		bottom: 12px;
		width: calc(100% - 24px);
		padding: 18px;
	}

	.cookie-actions {
		justify-content: stretch;
	}

	.cookie-actions button {
		flex: 1 1 160px;
	}
}
