/* Parvaz Lab. The landing page is white and quiet; the lab is the same brand after dark: a deep green-black
   surface, one green, one typeface (Schibsted Grotesk) with tabular figures for the session numbers, and the
   application as a white sheet. No small uppercase labels: headings do that job. */

:root {
  --ink: #131715;
  --ink-2: #1A1F1C;
  --ink-3: #232925;
  --line: rgba(240, 243, 241, 0.10);
  --line-strong: rgba(240, 243, 241, 0.24);
  --text: #F0F3F1;
  --muted: #A9B2AD;
  --subtle: #848E89;
  --green: #00BD7D;
  --green-hover: #00C986;
  --green-edge: #00885A;
  --green-ink: #00754D;
  --green-dim: rgba(0, 189, 125, 0.14);
  --accent-text: var(--green);   /* green used as text: lighter on dark, deeper on light */
  --paper: #FFFFFF;
  --paper-ink: #111827;
  --paper-muted: #4B5563;
  --paper-subtle: #6B7280;
  --paper-line: #D1D5DB;
  --paper-soft: #F3F4F6;
  --font: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --radius: 6px;
  --control: 48px;            /* every button and input in a row shares this height */
  --edge: 4px;                /* the block edge under buttons, kept outside the height */
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main > section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 112px) var(--gutter); border-top: 1px solid var(--line); }
main > section.hero { border-top: 0; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(1.875rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-lede { margin: 16px 0 0; color: var(--muted); }

/* top bar: solid, no glass */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 10px;
  padding: 4px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: var(--ink); border-bottom: 1px solid var(--line);
}
.top-brand { display: inline-flex; align-items: center; padding: 10px 0; }
.top-brand img { width: 96px; height: auto; }
.top-tag { font-size: 1rem; font-weight: 600; color: var(--accent-text); letter-spacing: -0.01em; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 0.9375rem; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); }
.top-nav a:hover { color: var(--text); }
.top-nav .top-cta { color: var(--text); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 640px) { .top-nav a:not(.top-cta) { display: none; } }
/* co-brand: the course is run with the GoUP community */
.top-with { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.top-with-word { font-weight: 400; color: var(--muted); margin-right: 2px; }
.top-with img { width: 22px; height: 22px; display: block; }
@media (max-width: 400px) { .top-with-word { display: none; } }
@media (max-width: 360px) { .top-with-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.top-nav .top-cta { white-space: nowrap; }

/* buttons: the landing page's block buttons. Same height for every kind, the edge sits below it. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--control); padding: 0 22px; margin-bottom: var(--edge);
  border: 0; border-radius: var(--radius);
  font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease-out, box-shadow .15s ease-out, background-color .15s;
}
.btn:active { transform: translateY(3px); }
.btn-primary { background: var(--green); color: var(--paper-ink); box-shadow: 0 var(--edge) 0 var(--green-edge); }
.btn-primary:hover { background: var(--green-hover); }
.btn-primary:active { box-shadow: 0 1px 0 var(--green-edge); }
.btn-primary[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-secondary { background: var(--ink); color: var(--text); box-shadow: inset 0 0 0 1px var(--text), 0 var(--edge) 0 var(--text); }
.btn-secondary:hover { background: var(--ink-2); }
.btn-secondary:active { box-shadow: inset 0 0 0 1px var(--text), 0 1px 0 var(--text); }

/* motion tokens, from transitions.dev (texts reveal, tabs sliding, number pop-in, text swap, card tilt,
   success check, shake). One ease family for the whole page. */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --stagger-dur: 600ms; --stagger-distance: 18px; --stagger-stagger: 70ms; --stagger-blur: 4px;
  --tabs-dur: 300ms;
  --digit-dur: 500ms; --digit-distance: 10px; --digit-stagger: 70ms; --digit-blur: 2px;
  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --text-swap-dur: 180ms; --text-swap-translate-y: 6px; --text-swap-blur: 3px;
  --tilt-perspective: 900px; --tilt-return: 900ms; --tilt-follow: 350ms; --tilt-glare-opacity: 0.18; --tilt-glare-fade: 300ms;
  --check-dur: 500ms; --check-rotate-from: 80deg; --check-y-amount: 24px; --check-blur-from: 8px;
  --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);
}

/* texts reveal */
.t-stagger-line {
  display: block; opacity: 0; transform: translateY(var(--stagger-distance)); filter: blur(var(--stagger-blur));
  transition: opacity var(--stagger-dur) var(--ease-out), transform var(--stagger-dur) var(--ease-out), filter var(--stagger-dur) var(--ease-out);
}
.t-stagger-line--2 { transition-delay: var(--stagger-stagger); }
.t-stagger-line--3 { transition-delay: calc(var(--stagger-stagger) * 2); }
.t-stagger.is-shown .t-stagger-line { opacity: 1; transform: none; filter: none; }
[data-reveal-block] { opacity: 0; transform: translateY(var(--stagger-distance)); filter: blur(var(--stagger-blur)); transition: opacity var(--stagger-dur) var(--ease-out), transform var(--stagger-dur) var(--ease-out), filter var(--stagger-dur) var(--ease-out); }
[data-reveal-block].is-shown { opacity: 1; transform: none; filter: none; }
.no-js .t-stagger-line, .no-js [data-reveal-block] { opacity: 1; transform: none; filter: none; }

/* text swap */
.t-text-swap { display: inline-block; transition: transform var(--text-swap-dur) ease-in-out, filter var(--text-swap-dur) ease-in-out, opacity var(--text-swap-dur) ease-in-out; }
.t-text-swap.is-exit { transform: translateY(calc(var(--text-swap-translate-y) * -1)); filter: blur(var(--text-swap-blur)); opacity: 0; }
.t-text-swap.is-enter-start { transform: translateY(var(--text-swap-translate-y)); filter: blur(var(--text-swap-blur)); opacity: 0; transition: none; }

/* number pop-in */
@keyframes t-digit-pop-in {
  0% { transform: translateY(var(--digit-distance)); opacity: 0; filter: blur(var(--digit-blur)); }
  100% { transform: none; opacity: 1; filter: none; }
}
.t-digit-group { display: inline-flex; align-items: baseline; }
.t-digit { display: inline-block; }
.t-digit-group.is-animating .t-digit { animation: t-digit-pop-in var(--digit-dur) var(--digit-ease) both; }
.t-digit-group.is-animating .t-digit[data-stagger="1"] { animation-delay: var(--digit-stagger); }

/* success check */
.t-success-check { display: inline-block; opacity: 0; transform-origin: center; }
.t-success-check svg { display: block; overflow: visible; }
.t-success-check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.t-success-check[data-state="in"] {
  animation: t-check-fade var(--check-dur) var(--ease-out) forwards, t-check-rotate var(--check-dur) var(--ease-out) forwards,
             t-check-blur var(--check-dur) var(--ease-out) forwards, t-check-bob var(--check-dur) var(--check-ease-bob) forwards;
}
.t-success-check[data-state="in"] svg path { animation: t-check-draw var(--check-dur) var(--ease-out) 80ms forwards; }
@keyframes t-check-fade { to { opacity: 1; } }
@keyframes t-check-rotate { from { transform: rotate(var(--check-rotate-from)); } to { transform: rotate(0deg); } }
@keyframes t-check-blur { from { filter: blur(var(--check-blur-from)); } to { filter: blur(0); } }
@keyframes t-check-bob { from { translate: 0 var(--check-y-amount); } to { translate: 0 0; } }
@keyframes t-check-draw { to { stroke-dashoffset: 0; } }

/* shake for a form that is not ready */
@keyframes t-shake { 0% { transform: none; } 28% { transform: translateX(7px); } 57% { transform: translateX(-7px); } 79% { transform: translateX(3px); } 100% { transform: none; } }
.is-shaking { animation: t-shake 280ms linear; }

/* hero: copy on the left, the build on the right */
.hero { padding-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 4.5vw, 64px); align-items: start; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.125rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; }
.lede { margin: 24px 0 0; max-width: 46ch; color: var(--muted); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; }

/* where are you starting from: tabs sliding */
.stage { margin-top: 32px; }
.stage-q { margin: 0 0 10px; font-weight: 600; }
.t-tabs { position: relative; display: inline-flex; flex-wrap: nowrap; max-width: 100%; gap: 3px; padding: 4px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); }
.t-tab {
  position: relative; z-index: 1; appearance: none; border: 0; background: transparent; cursor: pointer;
  height: 40px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--muted);
  transition: color var(--tabs-dur) var(--ease-out);
}
.t-tab:hover, .t-tab[aria-selected="true"] { color: var(--paper-ink); }
.t-tab:not([aria-selected="true"]):hover { color: var(--text); }
.t-tabs-pill {
  position: absolute; top: 4px; left: 0; height: 40px; width: 0; border-radius: 999px; background: var(--green);
  transition: transform var(--tabs-dur) var(--ease-out), width var(--tabs-dur) var(--ease-out); z-index: 0; pointer-events: none;
}
.stage-text { margin: 14px 0 0; min-height: 3.2em; max-width: 46ch; color: var(--text); font-size: 1.0625rem; }

.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 14px; }
@media (max-width: 520px) { .hero-actions .btn { width: 100%; } }

/* the build: 16 isometric blocks that stack into a tower, drawn in the landing page's line style
   (ink strokes, white top and left faces, grey right face, green only on demo day) */
.build { margin: 0; align-self: center; }
.build-stage { position: relative; }
.build-stage svg { display: block; width: 100%; height: auto; max-height: 560px; overflow: visible; }
.step .f { stroke: #111827; stroke-width: 1.5; stroke-linejoin: round; }
.step .left { fill: #F3F4F6; }
.step .right { fill: #D1D5DB; }
.step .top { fill: #F3F4F6; }
.blk { cursor: pointer; }
/* no box around a block: keyboard focus is drawn on the block itself (lift + green edges below) */
.blk:focus, .blk:focus-visible { outline: none; }
.blk .lift { transition: transform 320ms var(--ease-out); }
.blk .f { stroke: #111827; stroke-width: 1.5; stroke-linejoin: round; transition: fill 300ms var(--ease-out); }
.blk .top, .blk .left { fill: #FFFFFF; }
.blk .right { fill: #E5E7EB; }
.blk.is-lit .top { fill: #A6E9D1; }
.blk.is-lit .left { fill: #E6F8F1; }
.blk-demo .top { fill: #00BD7D; }
.blk-demo .left { fill: #00BD7D; }
.blk-demo .right { fill: #00885A; }
.blk:hover .lift, .blk:focus-visible .lift, .blk.is-on .lift { transform: translateY(-10px); }
.blk:focus-visible .f { stroke: var(--green-ink); stroke-width: 3; }
.blk-num { font: 600 13px var(--font); fill: #111827; font-variant-numeric: tabular-nums; pointer-events: none; }
.blk-demo .blk-num { fill: #111827; }
/* blocks drop in one by one when the page opens */
.blk .drop { transition: transform 620ms cubic-bezier(0.34, 1.45, 0.64, 1), opacity 300ms var(--ease-out); }
.build.is-building .blk:not(.is-in) .drop { transform: translateY(-70px); opacity: 0; }
.layer-label { font: 600 14px var(--font); fill: var(--muted); }
.layer-line { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.build-cap { margin: 8px 0 0; min-height: 3em; text-align: center; font-weight: 600; color: var(--text); }
.build-cap .t-text-swap { max-width: 34ch; }
.build-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; font-size: 0.9375rem; }
.build-list li { break-inside: avoid; padding: 4px 0; }
.build-list a { text-decoration: none; color: var(--text); }
.build-list span { color: var(--accent-text); font-weight: 700; margin-right: 6px; font-variant-numeric: tabular-nums; }
.has-build .build-list { display: none; }

.facts { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 32px; color: var(--muted); }
.facts strong { color: var(--text); font-weight: 600; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .build { order: 2; }
  .facts { order: 3; }
}
@media (max-width: 560px) {
  .layer-label { font-size: 19px; }
  .blk-num { font-size: 16px; }
  .t-tab { height: 36px; padding: 0 10px; font-size: 0.8125rem; }
  .t-tabs-pill { height: 36px; }
}

/* sessions: one syllabus list. Number, title, and what you leave with, all readable without opening anything. */
.act + .act { margin-top: clamp(40px, 6vw, 56px); }
.act-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--text); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.act-n { color: var(--subtle); font-weight: 600; white-space: nowrap; }
.act-step { display: inline-block; width: 44px; flex: none; }
.act-step svg { display: block; width: 100%; height: auto; overflow: visible; }
.mini polygon { stroke: #111827; stroke-width: 0.9; stroke-linejoin: round; }
.mini .top, .mini .left { fill: #FFFFFF; }
.mini .right { fill: #E5E7EB; }
.mini-on .top, .mini-on .left { fill: #00BD7D; }
.mini-on .right { fill: #00885A; }

.session { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.session summary {
  display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 0.75fr) 20px; align-items: baseline; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
}
.session summary::-webkit-details-marker { display: none; }
.session summary::after {
  content: ""; justify-self: end; align-self: center; width: 12px; height: 12px;
  background: linear-gradient(var(--subtle), var(--subtle)) center / 12px 2px no-repeat,
              linear-gradient(var(--subtle), var(--subtle)) center / 2px 12px no-repeat;
  transition: transform .25s var(--ease-out);
}
.session[open] summary::after { transform: rotate(45deg); }
.s-num { font-size: 1.125rem; font-weight: 700; color: var(--subtle); font-variant-numeric: tabular-nums; transition: color .2s; }
.s-title { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.s-leave { font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }
.session summary:hover .s-title { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.session[open] .s-num, .session-demo .s-num { color: var(--accent-text); }
.s-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr); gap: 12px 16px; padding: 0 36px 24px 72px; }
.s-body p { margin: 0; color: var(--muted); }
.s-body .s-key { margin-bottom: 4px; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.s-body div:last-child p:last-child { color: var(--text); }
@media (max-width: 760px) {
  .session summary { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 4px 12px; }
  .s-leave { grid-column: 2; grid-row: 2; }
  .session summary::after { grid-column: 3; grid-row: 1; }
  .s-body { grid-template-columns: 1fr; padding: 0 0 22px 48px; }
  .act-name { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; align-items: end; }
  .act-step { grid-row: span 2; align-self: center; width: 40px; }
  .act-n { font-size: 0.875rem; }
}
.trainers-note { margin: 28px 0 0; color: var(--muted); }

/* rules: one column, the number set large in the margin */
.rules-list { list-style: none; counter-reset: rule; margin: 0; padding: 0; }
.rules-list li { counter-increment: rule; display: grid; grid-template-columns: clamp(48px, 7vw, 80px) 1fr; gap: 0 12px; padding: 24px 0; border-top: 1px solid var(--line); }
.rules-list li::before { content: counter(rule); grid-row: span 2; font-size: clamp(1.375rem, 2.6vw, 1.875rem); font-weight: 600; line-height: 1.1; color: var(--accent-text); }
.rules-list p { margin: 6px 0 0; color: var(--muted); }

/* phones: the accordion opens with a short reveal */
.session[open] .s-body { animation: t-panel-in 400ms var(--ease-out); }
@keyframes t-panel-in { from { opacity: 0; transform: translateY(14px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }

/* seats: 70 squares, some empty after the first session, refilled from the waitlist */
.rules-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
.seats { position: sticky; top: 96px; margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.seats-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.seat { aspect-ratio: 1; border-radius: 3px; background: var(--muted); opacity: .9; transform: scale(1); transition: background-color .45s var(--ease-out), opacity .45s, transform .45s var(--ease-out), box-shadow .45s; }
.seat.is-off { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); opacity: 1; transform: scale(.82); }
.seat.is-wait { background: var(--green); opacity: 1; transform: scale(1); }
.seats-cap { margin: 18px 0 0; min-height: 3.2em; font-weight: 600; }
.seats-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.seats-key .k::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 2px; vertical-align: -1px; }
.k-in::before { background: var(--muted); }
.k-gone::before { box-shadow: inset 0 0 0 1px var(--line-strong); }
.k-wait::before { background: var(--green); }
@media (max-width: 860px) {
  .rules-wrap { grid-template-columns: 1fr; }
  .seats { position: static; }
}

/* apply: the form is a white sheet with a hard green shadow, like the landing page's framed panels */
.sheet { background: var(--paper); color: var(--paper-ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--green); padding: clamp(24px, 4vw, 48px); max-width: 820px; }
.sheet .notify, .sheet .apply-form { display: none; }
.sheet[data-state="closed"] .notify { display: block; }
.sheet[data-state="open"] .apply-form { display: block; }
.sheet[data-state="loading"] { min-height: 120px; }
.sheet[data-state="done"] .done { display: block; }

.field { display: block; margin-top: 20px; }
.field-label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--paper-ink); }
.field-label em { font-style: normal; font-weight: 400; color: var(--paper-subtle); margin-left: 4px; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; height: var(--control); padding: 0 14px;
  font: inherit; font-size: 1rem; color: var(--paper-ink); background: var(--paper);
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #9CA3AF; }
input:hover, select:hover, textarea:hover { border-color: var(--paper-subtle); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 1px; border-color: var(--paper-ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #DC2626; }
.field.invalid .chips span { border-color: #DC2626; }
.check.invalid span { color: #B91C1C; }

.notify-row { display: flex; align-items: flex-start; gap: 12px; }
.notify-row input { flex: 1 1 auto; min-width: 0; }
@media (max-width: 520px) { .notify-row { flex-direction: column; align-items: stretch; } .notify-row input { flex: none; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

fieldset { border: 0; margin: 0; padding: 0; }
fieldset + fieldset { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--paper-soft); }
/* float the legend so it sits inside the fieldset instead of on its border */
legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.02em; }
legend span { color: var(--green-ink); margin-right: 8px; }
legend + * { clear: both; }
legend + .field, legend + .grid-2 > .field:nth-child(-n+2) { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* choices: real radio buttons, drawn as 44px pills */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; font-size: 0.9375rem;
  border: 1px solid var(--paper-line); border-radius: var(--radius); background: var(--paper);
  transition: border-color .15s, background-color .15s;
}
.chips label:hover span { border-color: var(--paper-ink); }
.chips input:checked + span { background: #E6F8F1; border-color: var(--green-ink); box-shadow: inset 0 0 0 1px var(--green-ink); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--green-ink); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 1rem; color: var(--paper-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-ink); flex: none; }
.check a { color: var(--paper-ink); text-decoration-color: var(--green); }

.form-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-msg { margin: 10px 0 0; font-size: 0.9375rem; color: var(--paper-muted); min-height: 1.4em; }
.form-foot .form-msg { margin: 0; }
.form-msg.error { color: #B91C1C; }
.form-msg.ok { color: var(--green-ink); }

.done { display: none; }
.done h3 { font-size: 1.625rem; font-weight: 700; margin-top: 16px; }
.done p { margin: 10px 0 0; color: var(--paper-muted); }
.done-check { color: var(--green-ink); }

/* questions */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 18px 36px 18px 0; cursor: pointer; list-style: none; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--subtle), var(--subtle)) center / 12px 2px no-repeat,
              linear-gradient(var(--subtle), var(--subtle)) center / 2px 12px no-repeat;
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }
.faq-list a { text-decoration-color: var(--green); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px var(--gutter) 56px; max-width: var(--max); margin: 0 auto; color: var(--subtle); font-size: 0.9375rem; }
.foot img { width: 88px; margin-bottom: 16px; }
.foot p { margin: 6px 0 0; }
.foot-brands { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-brands img { margin-bottom: 0; }
.foot-brands a { display: inline-flex; }
.foot-with { color: var(--subtle); }
.foot-goup { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.foot-goup img { width: 28px; height: 28px; display: block; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px !important; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--text); }

/* Light theme, the default (data-theme="light" on <html>). The page is light; the seats stay a dark panel,
   so the motion keeps its contrast. Framed panels get the landing page's ink border. */
[data-theme="light"] {
  --ink: #F6F7F5;
  --ink-2: #FFFFFF;
  --ink-3: #ECEFEC;
  --line: rgba(17, 24, 39, 0.10);
  --line-strong: rgba(17, 24, 39, 0.22);
  --text: #111827;
  --muted: #4B5563;
  --subtle: #6B7280;
  --accent-text: #00754D;
}
[data-theme="light"] .seats {
  --ink: #131715;
  --ink-2: #1A1F1C;
  --ink-3: #232925;
  --line: rgba(240, 243, 241, 0.10);
  --line-strong: rgba(240, 243, 241, 0.24);
  --text: #F0F3F1;
  --muted: #A9B2AD;
  --subtle: #848E89;
  --accent-text: var(--green);
  color: var(--text);
  border-color: transparent;
  box-shadow: 8px 8px 0 var(--green);
}
[data-theme="light"] .sheet { box-shadow: inset 0 0 0 1px var(--paper-ink), 8px 8px 0 var(--green); }
[data-theme="light"] .t-tab[aria-selected="true"], [data-theme="light"] .t-tab:hover { color: var(--paper-ink); }
[data-theme="light"] .t-tab:not([aria-selected="true"]):hover { color: var(--text); }

/* phones: a smaller hard shadow, so framed panels stay inside the 16px gutter */
@media (max-width: 560px) {
  [data-theme="light"] .seats { box-shadow: 5px 5px 0 var(--green); }
  [data-theme="light"] .sheet { box-shadow: inset 0 0 0 1px var(--paper-ink), 5px 5px 0 var(--green); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .t-stagger-line, [data-reveal-block] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .build.is-building .blk .drop { transform: none !important; opacity: 1 !important; }
  .t-success-check { opacity: 1 !important; }
  .t-success-check svg path { stroke-dashoffset: 0 !important; }
}
