/* Capstep marketing site. No inline styles: the page runs under a strict Content-Security-Policy. */

:root, .force-light {
	--bg: #fbfbfd;
	--band: #f5f5f7;
	--surface: #ffffff;
	--surface-2: #f5f5f7;
	--ink: #1d1d1f;
	--ink-2: #424245;
	--muted: #6e6e73;
	--line: rgba(0, 0, 0, .09);
	--accent: #2f62b5;
	--brand: #2a3a52;
	--on-brand: #ffffff;
	--ok: #1c8f5a;
	--ok-soft: rgba(28, 143, 90, .12);
	--warn: #a86b00;
	--warn-soft: rgba(201, 138, 6, .15);
	--bad: #d0342c;
	--bad-soft: rgba(208, 52, 44, .13);
	--c1: #3f7bd8;
	--c2: #17a08a;
	--c3: #d9822b;
	--c4: #8a6ad8;
	--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 36px rgba(20, 30, 50, .08);
	--shadow-lg: 0 2px 6px rgba(0, 0, 0, .05), 0 30px 80px rgba(20, 30, 50, .18);
	--glass: rgba(251, 251, 253, .76);
}
.force-dark {
	--bg: #000000;
	--band: #101012;
	--surface: #1c1c1e;
	--surface-2: #2a2a2d;
	--ink: #f5f5f7;
	--ink-2: #d2d2d7;
	--muted: #a1a1a6;
	--line: rgba(255, 255, 255, .13);
	--accent: #7fb0ff;
	--brand: #f5f5f7;
	--on-brand: #1d1d1f;
	--ok: #3ecf8e;
	--ok-soft: rgba(62, 207, 142, .16);
	--warn: #f0b849;
	--warn-soft: rgba(240, 184, 73, .17);
	--bad: #ff6a61;
	--bad-soft: rgba(255, 106, 97, .17);
	--shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 36px rgba(0, 0, 0, .4);
	--shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 30px 80px rgba(0, 0, 0, .6);
	--glass: rgba(22, 22, 24, .72);
}
@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--bg: #000000;
		--band: #101012;
		--surface: #1c1c1e;
		--surface-2: #2a2a2d;
		--ink: #f5f5f7;
		--ink-2: #d2d2d7;
		--muted: #a1a1a6;
		--line: rgba(255, 255, 255, .13);
		--accent: #7fb0ff;
		--brand: #f5f5f7;
		--on-brand: #1d1d1f;
		--ok: #3ecf8e;
		--ok-soft: rgba(62, 207, 142, .16);
		--warn: #f0b849;
		--warn-soft: rgba(240, 184, 73, .17);
		--bad: #ff6a61;
		--bad-soft: rgba(255, 106, 97, .17);
		--shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 36px rgba(0, 0, 0, .4);
		--shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 30px 80px rgba(0, 0, 0, .6);
		--glass: rgba(22, 22, 24, .72);
	}
}
.force-light, .force-dark { color: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--surface); border-radius: 8px; }
.skip:focus { left: 12px; }

/* Nav */
.nav {
	position: sticky; top: 0; z-index: 50;
	background: var(--glass); border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav-in { width: min(1080px, 100% - 44px); margin-inline: auto; height: 52px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand img { border-radius: 6px; }
.nav nav { display: flex; gap: 24px; font-size: 13.5px; color: var(--ink-2); margin-inline: auto; }
.nav nav a:hover, .signin:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.signin { font-size: 13.5px; color: var(--ink-2); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px;
	background: var(--brand); color: var(--on-brand); border-radius: 980px;
	font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
	transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 30px; padding: 0 13px; font-size: 13px; }
.btn-link { color: var(--accent); font-size: 16px; font-weight: 500; white-space: nowrap; }
.btn-link span { display: inline-block; margin-left: 2px; transition: transform .2s ease; }
.btn-link:hover span { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; }

/* Reveal on scroll; only hidden when the script is running. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero */
.hero { padding-top: clamp(52px, 8vw, 92px); overflow: hidden; text-align: center; }
.pill-tag { display: inline-block; padding: 5px 13px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); border-radius: 980px; margin-bottom: 20px; }
h1 { font-size: clamp(44px, 8.2vw, 88px); line-height: 1.04; font-weight: 700; letter-spacing: -.038em; }
.lede { max-width: 620px; margin: 22px auto 28px; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.38; letter-spacing: -.012em; color: var(--muted); }

.hero-stage { position: relative; width: min(1080px, 100%); height: 590px; margin: 56px auto 0; }
.phone {
	position: absolute; left: 50%; top: 0; width: 316px; height: 660px; margin-left: -158px;
	padding: 10px; border-radius: 52px; background: #17171a;
	box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #55555c;
}
.screen { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 42px; background: var(--band); text-align: left; }
.status { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 8px 26px 0; font-size: 14px; font-weight: 600; flex: none; }
.island { position: absolute; left: 50%; top: 11px; width: 88px; height: 25px; margin-left: -44px; background: #000; border-radius: 20px; }
.sig { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sig b { width: 3px; background: currentColor; border-radius: 1px; }
.sig b:nth-child(1) { height: 4px; } .sig b:nth-child(2) { height: 6px; } .sig b:nth-child(3) { height: 8px; } .sig b:nth-child(4) { height: 11px; }

.p-body { flex: 1; padding: 12px 16px 0; min-height: 0; }
.p-sub { font-size: 12px; font-weight: 500; color: var(--muted); }
.p-title { font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; margin-bottom: 14px; }
.p-label { font-size: 12px; font-weight: 600; color: var(--muted); margin: 14px 0 6px 2px; }
.p-card { background: var(--surface); border-radius: 15px; }
.p-progress { display: flex; align-items: center; gap: 13px; padding: 13px; }
.p-progress .ring { width: 50px; height: 50px; flex: none; }
.p-progress b, .p-class b, .p-due b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.p-progress span, .p-class span { display: block; font-size: 12px; color: var(--muted); }
.p-list { padding: 3px 13px; }
.p-class { display: flex; gap: 10px; padding: 8px 0; }
.p-class + .p-class { border-top: 1px solid var(--line); }
.bar { width: 4px; border-radius: 4px; flex: none; }
.bar.c1 { background: var(--c1); } .bar.c2 { background: var(--c2); } .bar.c3 { background: var(--c3); }
.p-due { display: flex; justify-content: space-between; align-items: center; padding: 11px 13px; }
.p-due span { font-size: 12px; font-weight: 600; color: var(--warn); }
.tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 8px 22px; background: var(--surface); border-top: 1px solid var(--line); }
.tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--muted); }
.tabs svg { width: 21px; height: 21px; fill: currentColor; }
.tabs svg .ln { fill: none; stroke: currentColor; stroke-width: 2; }
.tabs .on { color: var(--accent); }

.float {
	position: absolute; z-index: 2; width: 232px; padding: 15px 17px; display: flex; flex-direction: column; gap: 2px; text-align: left;
	background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
	font-size: 13px; color: var(--muted);
}
.float strong { color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.float-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.float-l { top: 132px; left: calc(50% - 408px); }
.float-r { top: 300px; right: calc(50% - 408px); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }

/* Rings */
.ring { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--c1); stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s cubic-bezier(.2, .7, .2, 1) .25s; }
.in .ring-fg.r60, .no-reveal .ring-fg.r60 { stroke-dashoffset: 40; }

/* Sections */
.sec { padding: clamp(72px, 11vw, 132px) 0; }
.band { background: var(--band); }
.head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker { font-size: clamp(15px, 1.7vw, 19px); font-weight: 600; color: var(--accent); letter-spacing: -.01em; margin-bottom: 9px; }
h2 { font-size: clamp(36px, 5.8vw, 62px); line-height: 1.07; font-weight: 700; letter-spacing: -.032em; }
.sub { max-width: 650px; margin: 20px auto 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.42; letter-spacing: -.012em; color: var(--muted); }
.note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* Plan window */
.window { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 46px; padding: 0 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.win-title { font-size: 13px; font-weight: 600; }
.win-ok { justify-self: end; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px; }
.col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col header { display: flex; justify-content: space-between; align-items: baseline; padding: 0 3px 6px; font-size: 14px; }
.col header span { font-size: 12px; color: var(--muted); }
.course {
	display: flex; flex-direction: column; min-height: 62px; justify-content: center; padding: 9px 12px;
	font-size: 12.5px; line-height: 1.3; color: var(--muted);
	background: var(--surface); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.course b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.course.st-now { border-left: 3px solid var(--c1); }
.course.alt { background: transparent; border-style: dashed; box-shadow: none; }
.course.alt b { color: var(--accent); }
.slot { min-height: 62px; border: 1.5px dashed var(--line); border-radius: 11px; }

.dragger { position: relative; z-index: 3; }
.swap { position: relative; display: inline-block; min-width: 38px; text-align: right; }
.swap i { font-style: normal; }
.swap .sb { position: absolute; right: 0; top: 0; opacity: 0; }
.playing .dragger { animation: drag 8s cubic-bezier(.45, .05, .25, 1) infinite; }
.playing .swap .sa { animation: swapA 8s linear infinite; }
.playing .swap .sb { animation: swapB 8s linear infinite; }
@keyframes drag {
	0%, 12% { transform: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
	18% { transform: scale(1.05) rotate(-1.2deg); box-shadow: var(--shadow-lg); }
	40% { transform: translateX(calc(100% + 12px)) scale(1.05) rotate(-1.2deg); box-shadow: var(--shadow-lg); }
	46%, 76% { transform: translateX(calc(100% + 12px)); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
	80% { transform: translateX(calc(100% + 12px)) scale(1.05); box-shadow: var(--shadow-lg); }
	96%, 100% { transform: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
}
@keyframes swapA { 0%, 44% { opacity: 1; } 46%, 88% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes swapB { 0%, 44% { opacity: 0; } 46%, 88% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 26px; min-width: 0; padding: clamp(24px, 3.4vw, 38px); background: var(--surface); border-radius: 26px; overflow: hidden; }
.t-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(26px, 5vw, 60px); }
.t-wide > * { flex: 1 1 0; min-width: 0; }
.tile h3 { font-size: clamp(24px, 2.9vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.026em; margin-bottom: 9px; }
.tile .t-copy p { color: var(--muted); letter-spacing: -.01em; }
.t-art { margin-top: auto; }
.t-wide .t-art { margin-top: 0; }

.reqs { display: flex; align-items: center; gap: 30px; }
.req-ring { position: relative; width: 132px; height: 132px; flex: none; }
.req-ring .ring { width: 100%; height: 100%; }
.req-ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.req-ring b { font-size: 27px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.req-ring span { font-size: 12px; color: var(--muted); margin-top: 3px; }
.req-list { flex: 1; min-width: 0; }
.req-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14.5px; }
.req-list li + li { border-top: 1px solid var(--line); }
.req-list em { margin-left: auto; padding-left: 8px; font-size: 12px; font-style: normal; color: var(--muted); white-space: nowrap; }
.tick { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; }
.tick.ok { background: var(--ok-soft); color: var(--ok); }
.tick.plan { background: var(--surface-2); color: var(--accent); }
.tick.need { background: var(--warn-soft); color: var(--warn); }

.wk-head { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 6px; font-size: 11.5px; font-weight: 500; text-align: center; color: var(--muted); }
.wk-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(7, 21px); gap: 3px 6px; padding: 8px; background: var(--surface-2); border-radius: 14px; }
.b { display: block; border-radius: 6px; }
.b.c1 { background: var(--c1); } .b.c2 { background: var(--c2); } .b.c3 { background: var(--c3); } .b.c4 { background: var(--c4); }
.b.clash { background: var(--bad-soft); border: 2px solid var(--bad); }
.d1 { grid-column: 1; } .d2 { grid-column: 2; } .d3 { grid-column: 3; } .d4 { grid-column: 4; } .d5 { grid-column: 5; }
.s1.l2 { grid-row: 1 / span 2; } .s2.l3 { grid-row: 2 / span 3; } .s4.l2 { grid-row: 4 / span 2; } .s5.l3 { grid-row: 5 / span 3; } .s6.l2 { grid-row: 6 / span 2; }
.wk-note { display: flex; align-items: center; gap: 8px; margin-top: 11px; font-size: 13px; font-weight: 500; color: var(--bad); }

.map-svg { width: 100%; height: auto; background: var(--surface-2); border-radius: 14px; }
.m-green { fill: var(--ok-soft); }
.m-path { fill: none; stroke: var(--surface); stroke-width: 7; }
.m-bld { fill: var(--line); }
.m-route { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 8; }
.in .m-route { animation: march 1.1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -10; } }
.m-stop { fill: var(--brand); }
.m-num { fill: var(--on-brand); font: 600 12px -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; text-anchor: middle; }
.map-note { margin-top: 11px; font-size: 13px; color: var(--muted); }
.map-note b { color: var(--ink); }

.switches { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }
.sw {
	display: inline-flex; align-items: center; gap: 11px; min-height: 44px; padding: 0; border: 0; background: none;
	font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.sw i { position: relative; width: 44px; height: 26px; flex: none; border-radius: 26px; background: var(--line); transition: background .25s ease; }
.sw i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.sw[aria-pressed="true"] i { background: var(--ok); }
.sw[aria-pressed="true"] i::after { transform: translateX(18px); }
.wi-card { padding: 26px; background: var(--surface-2); border-radius: 20px; }
.wi-main span { font-size: 14px; color: var(--muted); }
.wi-main b { display: block; font-size: clamp(40px, 5.5vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.wi-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.wi-card dt { font-size: 12.5px; color: var(--muted); }
.wi-card dd { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wi-card .note { text-align: left; }
.pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.03); } }

.au-sheet { padding: 16px 18px 8px; background: var(--surface-2); border-radius: 14px; font-size: 13.5px; }
.au-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; }
.au-top span { color: var(--muted); font-size: 13px; }
.au-top strong { color: var(--ink); font-size: 17px; letter-spacing: -.02em; }
.au-sheet p { display: flex; gap: 11px; padding: 8px 0; border-top: 1px solid var(--line); }
.au-sheet p span { width: 58px; flex: none; font-weight: 500; }
.au-sheet p em { flex: 1; min-width: 0; font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.todo { display: flex; flex-direction: column; }
.todo label { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; font-size: 15px; cursor: pointer; }
.todo label + label { border-top: 1px solid var(--line); }
.todo input {
	appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; flex: none; cursor: pointer;
	border: 1.5px solid var(--muted); border-radius: 50%; display: grid; place-items: center; transition: background .2s ease, border-color .2s ease;
}
.todo input::after { content: ''; width: 6px; height: 11px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s cubic-bezier(.3, 1.5, .5, 1); }
.todo input:checked { background: var(--ok); border-color: var(--ok); }
.todo input:checked::after { transform: rotate(45deg) scale(1); }
.todo input:checked + span { color: var(--muted); text-decoration: line-through; }

/* Transfer */
.dark { background: #000; }
.dark .kicker { color: #7fb0ff; }
.split { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(36px, 7vw, 84px); }
.split .sub { margin-inline: 0; }
.tr-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.tr-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.tr-top b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.tr-top small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.meter { height: 8px; margin: 10px 0 10px; background: var(--line); border-radius: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--ok); border-radius: 8px; transition: width 1.5s cubic-bezier(.2, .7, .2, 1) .3s; }
.in .meter .m91, .no-reveal .meter .m91 { width: 91%; }
.tr-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.meter + .tr-row { border-top: 0; }
.tr-row b { display: block; font-size: 15px; font-weight: 600; }
.tr-row span { font-size: 13px; color: var(--muted); }
.tr-row em { font-size: 12px; font-style: normal; font-weight: 600; padding: 4px 10px; border-radius: 980px; white-space: nowrap; }
.tr-row em.ok { background: var(--ok-soft); color: var(--ok); }
.tr-row em.warn { background: var(--warn-soft); color: var(--warn); }

/* Light and dark */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
.mini { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--band); border: 1px solid var(--line); border-radius: 24px; }
.mini-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; font-size: 16px; }
.mini-top span { font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-wrap h2 { margin-bottom: 26px; font-size: clamp(32px, 4.6vw, 48px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 60px; padding: 14px 0; font-size: 18px; font-weight: 600; letter-spacing: -.016em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 24px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 34px 20px 0; color: var(--muted); }

/* End */
.end { text-align: center; }
.end-logo { margin: 0 auto 26px; border-radius: 19px; box-shadow: var(--shadow); }
.end h2 { margin-bottom: 28px; }

.foot { padding: 22px 0 34px; background: var(--band); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.foot p + p { margin-top: 7px; }

/* Layout changes */
@media (max-width: 900px) {
	.float { display: none; }
	.nav nav { display: none; }
	.nav-cta { margin-left: auto; }
	.split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.col-a { display: none; }
	.cols { grid-template-columns: repeat(2, 1fr); }
	.bento { grid-template-columns: minmax(0, 1fr); }
	.t-wide { flex-direction: column; align-items: stretch; }
	.t-wide > * { flex: none; }
	.win-ok { display: none; }
	.win-bar { grid-template-columns: 1fr auto 1fr; }
}
@media (max-width: 480px) {
	.wrap, .nav-in { width: calc(100% - 32px); }
	.hero-stage { height: 540px; margin-top: 44px; }
	.reqs { flex-direction: column; align-items: stretch; gap: 16px; }
	.req-ring { margin-inline: auto; }
	.cols { padding: 12px; gap: 8px; }
	.course { padding: 8px 9px; }
	.playing .dragger { animation-name: dragNarrow; }
	.duo { grid-template-columns: 1fr; }
	.signin { font-size: 13px; }
	.nav-cta { gap: 11px; }
}
@keyframes dragNarrow {
	0%, 12% { transform: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
	18% { transform: scale(1.04); box-shadow: var(--shadow-lg); }
	40% { transform: translateX(calc(100% + 8px)) scale(1.04); box-shadow: var(--shadow-lg); }
	46%, 76% { transform: translateX(calc(100% + 8px)); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
	80% { transform: translateX(calc(100% + 8px)) scale(1.04); box-shadow: var(--shadow-lg); }
	96%, 100% { transform: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.ring-fg, .meter i, .sw i, .sw i::after, .todo input, .todo input::after { transition: none; }
	.playing .dragger, .playing .swap .sa, .playing .swap .sb, .in .m-route, .pop { animation: none; }
}

/* Real app screens */
.seg { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 3px; background: var(--surface-2); border-radius: 12px; }
.seg button {
	min-height: 38px; padding: 0 clamp(11px, 3vw, 20px); border: 0; border-radius: 9px; background: none; cursor: pointer;
	font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s ease, box-shadow .2s ease;
}
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .16); }
.shot-frame { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; background: var(--surface); }
.shot { margin: 0; }
.shot[hidden] { display: none; }
.shot img { width: 100%; height: auto; }
@media (max-width: 640px) { .shot-frame { width: min(340px, 100%); margin-inline: auto; border-radius: 26px; } }

/* Waitlist */
.end .sub { margin-top: -10px; }
.join { display: flex; flex-direction: column; gap: 16px; width: min(480px, 100%); margin: 34px auto 0; padding: clamp(22px, 4vw, 32px); text-align: left; background: var(--band); border-radius: 26px; }
.join[hidden] { display: none; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0; padding: 3px; border: 0; background: var(--line); border-radius: 12px; }
.roles legend { padding: 0 0 7px 2px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.roles label { position: relative; cursor: pointer; }
.roles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.roles span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s ease; }
.roles input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .16); }
.roles input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.field input {
	width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join .btn { width: 100%; min-height: 50px; border: 0; cursor: pointer; font-family: inherit; }
.join .btn[disabled] { opacity: .55; cursor: default; }
.form-msg { font-size: 14px; font-weight: 500; color: var(--bad); }
.form-msg:empty { display: none; }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.fine a, .have-account a, .faq a { color: var(--accent); }
.joined { width: min(480px, 100%); margin: 34px auto 0; padding: 34px 26px; background: var(--band); border-radius: 26px; outline: 0; }
.joined[hidden] { display: none; }
.joined-tick { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 25px; font-weight: 700; }
.joined h3 { font-size: 25px; font-weight: 700; letter-spacing: -.024em; margin-bottom: 5px; }
.joined p { color: var(--muted); }
.have-account { margin-top: 24px; font-size: 15px; color: var(--muted); }
.foot-links { display: flex; gap: 18px; margin-bottom: 9px; font-size: 13px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* Privacy and terms */
.legal-nav { display: flex; justify-content: space-between; align-items: center; width: min(720px, 100% - 44px); margin-inline: auto; height: 52px; }
.legal { width: min(720px, 100% - 44px); margin: clamp(30px, 6vw, 58px) auto 80px; }
.legal h1 { font-size: clamp(36px, 6vw, 50px); }
.legal .updated { margin: 9px 0 24px; font-size: 14px; color: var(--muted); }
.legal h2 { margin: 36px 0 9px; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 9px 0 0; padding-left: 21px; list-style: disc; }
.legal li + li { margin-top: 5px; }
.legal a { color: var(--accent); }
.draft { padding: 13px 16px; font-size: 14.5px; background: var(--warn-soft); border-radius: 12px; }
.blank { padding: 1px 5px; font-style: normal; background: var(--warn-soft); border-radius: 5px; }

/* Our story */
.story-hero { padding-top: clamp(56px, 9vw, 104px); text-align: center; }
.story-hero h1 { margin-top: 2px; }
.story-hero .lede { max-width: 660px; margin-bottom: clamp(44px, 7vw, 76px); }
.prose { max-width: 680px; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; letter-spacing: -.012em; color: var(--ink-2); }
.prose p + p { margin-top: 20px; }
.prose h2 { margin-bottom: 16px; font-size: clamp(30px, 4.4vw, 42px); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin-block: clamp(44px, 7vw, 72px); }
.stat { padding: clamp(24px, 3.4vw, 34px); background: var(--band); border-radius: 26px; }
.stat b { display: block; font: 700 clamp(64px, 9vw, 92px)/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif; letter-spacing: -.04em; }
.stat span { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.35; color: var(--muted); }
.pull { margin-bottom: 26px; font: 700 clamp(30px, 4.6vw, 44px)/1.12 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif; letter-spacing: -.03em; color: var(--ink); }
.beliefs { margin-block: clamp(56px, 9vw, 96px); padding-block: clamp(56px, 9vw, 96px); text-align: center; }
.beliefs h2 { margin-bottom: clamp(30px, 5vw, 46px); }
.belief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.belief-grid article { padding: clamp(22px, 3vw, 30px); background: var(--surface); border-radius: 22px; }
.belief-grid h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.18; letter-spacing: -.02em; }
.belief-grid p { font-size: 15.5px; color: var(--muted); }
.signoff { margin-top: 34px !important; font-weight: 600; color: var(--ink); }
.signoff span { font-size: 15px; font-weight: 400; color: var(--muted); }
.story-cta { margin-top: 2px; }
@media (max-width: 760px) { .belief-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.nav-in .brand + .nav-cta { margin-left: auto; }
