/* fonts:start */
@font-face { font-family: "Geologica"; src: url("/assets/fonts/Geologica.woff") format("woff"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
/* fonts:end */

/* One dark world by choice: a live double-slit experiment. */
:root {
  --vacuum: #070A1A;
  --vacuum-2: #0B1027;
  --deep: #13206B;
  --wave: #2F6BFF;
  --wave-soft: #8FB3FF;
  --cyan: #4FD6FF;
  --white-hot: #EAF6FF;
  --gold: #FFD166;
  --gold-hover: #FFDD8A;
  --gold-ink: #1C1300;
  --silver: #E6ECF5;
  --steel: #B0BCD3;
  --muted: #8E9BB8;
  --line: #1E2A55;
  --line-strong: #314280;
  --face: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  --max: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-color: var(--line-strong) var(--vacuum); }
body { margin: 0; background: var(--vacuum); color: var(--steel); font: 400 17px/1.6 var(--face); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; caret-color: var(--gold); }
::selection { background: var(--wave); color: #FFFFFF; }
a { color: var(--wave-soft); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; color: var(--silver); font-family: var(--face); text-wrap: balance; }
.hero h1, h2.big, .fare .fare-price.ql-plan-price { font-variation-settings: "SHRP" 80; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

.ql-mark { --w: 52px; display: block; width: var(--w); aspect-ratio: 530 / 350; flex: none; background: url("/assets/quantumleap-mark.png") center / 100% 100% no-repeat; mix-blend-mode: screen; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--vacuum); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgb(7 10 26 / 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 10px 30px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--silver); }
.brand:hover { color: var(--silver); }
.brand-name { display: grid; line-height: 1.15; }
.brand-name strong { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { font-size: 12px; color: var(--muted); }
.main-nav { display: flex; gap: 2px 24px; flex-wrap: wrap; flex: 1 1 auto; }
.main-nav a { color: var(--steel); text-decoration: none; font-size: 15px; padding-block: 10px; }
.main-nav a:hover { color: #FFFFFF; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.signin { color: var(--steel); text-decoration: none; font-size: 15px; padding: 10px 8px; }
.m-menu { display: none; position: relative; }
.m-menu summary { list-style: none; cursor: pointer; min-height: 42px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--silver); font-weight: 500; font-size: 14px; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu[open] summary { border-color: var(--wave-soft); }
.m-menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; display: grid; padding: 8px; background: var(--vacuum-2); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 12px 20px -12px rgb(0 0 0 / 0.8); }
.m-menu nav a { color: var(--silver); text-decoration: none; padding: 12px 10px; border-radius: 6px; font-size: 15px; }
.m-menu nav a:hover { background: var(--line); }
.label-short { display: none; }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 2px; letter-spacing: 0.01em; font: 600 15px/1 var(--face); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, transform 180ms cubic-bezier(.16,1,.3,1); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn-gold:focus-visible { clip-path: none; }
.btn-gold:hover { background: var(--gold-hover); color: var(--gold-ink); }
.btn-line { border-color: var(--line-strong); color: var(--silver); background: rgb(7 10 26 / 0.4); }
.btn-line:hover { border-color: var(--wave-soft); color: #FFFFFF; }
.btn[aria-disabled="true"] { background: transparent; border-color: var(--line-strong); color: var(--muted); cursor: not-allowed; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }

/* Ticker tape: platform facts, never prices */
.tape { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: #04050C; font-size: 13px; }
.tape-track { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.tape sup { line-height: 0; }
.tape-list { display: flex; flex: none; gap: 44px; margin: 0; padding: 11px 22px; list-style: none; white-space: nowrap; animation: tape 76s linear infinite; }
.tape.paused .tape-list, .tape-track:focus-within .tape-list { animation-play-state: paused; }
.tape li { color: var(--silver); }
.tape li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 12px; vertical-align: 2px; background: var(--wave); }
.tape b { margin-right: 8px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.tape em { margin-left: 8px; font-style: normal; font-weight: 600; letter-spacing: 0.08em; color: var(--cyan); }
.tape em.sb { color: var(--gold); }
.tape li.cta::before { background: var(--gold); }
.tape li.cta a { color: var(--gold); font-weight: 600; text-decoration: none; }
.tape li.cta a:hover { color: var(--gold-hover); text-decoration: underline; }
.tape-toggle { flex: none; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--steel); font: 600 12px/1 var(--face); letter-spacing: 0.06em; padding: 0 16px; cursor: pointer; }
.tape-toggle:hover { color: #FFFFFF; }
@keyframes tape { to { transform: translateX(-100%); } }

/* State marks: a filled dot is on. */
.state { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--face); letter-spacing: 0.08em; padding: 6px 10px 6px 8px; border-radius: 2px; white-space: nowrap; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 1px; }
.state-on { color: var(--white-hot); background: rgb(47 107 255 / 0.2); }
.state-on::before { background: var(--cyan); }
.state-measured { color: var(--gold-ink); background: var(--gold); }
.state-measured::before { background: var(--gold-ink); }

/* Hero: the terminal */
.hero { position: relative; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgb(143 179 255 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(143 179 255 / 0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
.hero .wrap { position: relative; z-index: 1; padding-block: 24px 40px; }
.term-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 10px 14px; border: 1px solid var(--line-strong); background: #04050C; font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; color: var(--muted); }
.term-id { color: var(--silver); font-weight: 600; }
.term-bar b { color: var(--silver); font-weight: 600; }
.term-bar em { margin-left: 8px; font-style: normal; font-weight: 600; color: var(--cyan); }
.term-bar em.sb { color: var(--gold); }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--cyan); vertical-align: 0; }
.term-clock { margin-left: auto; color: var(--silver); }
.term-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); grid-template-rows: 380px auto; gap: 8px; margin-top: 8px; }
.pane { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line-strong); background: rgb(7 10 26 / 0.94); }
.pane-h { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--vacuum-2); font: 600 11px/1.3 var(--mono); letter-spacing: 0.1em; color: var(--muted); white-space: nowrap; }
.pane-h > span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--wave); vertical-align: 1px; }
.pane-meta { color: var(--cyan); overflow: hidden; text-overflow: ellipsis; }
.pane-meta.locked { color: var(--gold); }
.pane-brief { grid-row: 1 / 3; }
.pane-brief .pane-b { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 36px 32px 32px; }
.pane-field { grid-column: 2 / 4; }
.field-box { position: relative; flex: 1; min-height: 0; overflow: hidden; isolation: isolate; }
.field-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#field { z-index: -2; }
#hits { z-index: -1; }
.hero-labels { position: absolute; inset: 0; z-index: 0; pointer-events: none; font: 500 11px var(--mono); letter-spacing: 0.1em; color: var(--muted); }
.hero-labels span { position: absolute; }
.pane-search .pane-b { display: grid; gap: 12px; padding: 14px; }
.pane-search .qubits { gap: 5px; }
.pane-search .qubit { font: 500 9.5px var(--mono); }
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; font-family: var(--mono); }
.readouts dt { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.readouts dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; color: var(--silver); }
.conv { height: 4px; background: var(--line); overflow: hidden; }
.conv i { display: block; height: 100%; background: linear-gradient(90deg, var(--wave), var(--cyan), var(--gold)); transform-origin: left; transform: scaleX(0); }
.log { flex: 1; min-height: 0; margin: 0; padding: 10px 12px; list-style: none; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; font: 400 12px/1.7 var(--mono); color: var(--steel); }
.log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log time { margin-right: 10px; color: var(--muted); }
.log .ok { color: var(--cyan); }
.log .sb { color: var(--gold); }
.hero h1 { font-size: clamp(36px, 3.5vw, 54px); line-height: 0.96; font-weight: 800; letter-spacing: -0.04em; }
.h1-line { display: block; }
.hero-lede { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--steel); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-fig { margin-top: 14px; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: blink 1.6s steps(2) infinite; }
  .log li:last-child::after { content: "_"; margin-left: 4px; color: var(--cyan); animation: blink 1s steps(2) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}
@media (max-width: 1000px) {
  .term-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 300px auto; }
  .pane-brief, .pane-field { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .term-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 240px auto 190px; }
  .pane-brief .pane-b { padding: 26px 18px 22px; }
  .term-clock { margin-left: 0; }
  .hero-labels { display: none; }
}

/* Sections */
.section { padding-block: 128px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 80px; align-items: end; }
h2.big { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.section-lede { font-size: 18px; color: var(--steel); max-width: 34em; }
.fig-caption { font-size: 14px; color: var(--muted); max-width: 54em; }
.fig-caption b { color: var(--steel); font-weight: 600; }
.fig-caption.after { margin-top: 14px; }

/* The experiment, in four steps */
.step-wave { display: block; width: 100%; height: 48px; margin-top: 64px; overflow: visible; }
.js .step-wave path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms cubic-bezier(.33,0,.2,1); }
.js .step-wave.in path { stroke-dashoffset: 0; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--line-strong); }
.steps li:nth-child(1) { border-top-style: dotted; }
.steps li:nth-child(2) { border-top-style: dashed; border-top-color: var(--wave); }
.steps li:nth-child(3) { border-top-color: var(--cyan); }
.steps li:nth-child(4) { border-top-color: var(--gold); }
.steps li::before { content: counter(step); font-weight: 600; font-size: 15px; color: var(--wave-soft); }
.steps li:nth-child(4)::before { color: var(--gold); }
.js .steps li { border-top-color: transparent !important; position: relative; }
.js .steps li::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; border-top: 2px solid var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1100ms cubic-bezier(.16,1,.3,1); }
.js .steps li:nth-child(1)::after { border-top-style: dotted; transition-delay: 0ms; }
.js .steps li:nth-child(2)::after { border-top-style: dashed; border-top-color: var(--wave); transition-delay: 220ms; }
.js .steps li:nth-child(3)::after { border-top-color: var(--cyan); transition-delay: 440ms; }
.js .steps li:nth-child(4)::after { border-top-color: var(--gold); transition-delay: 660ms; }
.js .steps.in li::after { transform: scaleX(1); }
.js .steps li h3, .js .steps li p { transition: opacity 700ms ease-out, transform 700ms cubic-bezier(.16,1,.3,1); }
.js .steps:not(.in) li h3, .js .steps:not(.in) li p { opacity: 0.25; transform: translateY(8px); }
.js .steps.in li:nth-child(2) h3, .js .steps.in li:nth-child(2) p { transition-delay: 220ms; }
.js .steps.in li:nth-child(3) h3, .js .steps.in li:nth-child(3) p { transition-delay: 440ms; }
.js .steps.in li:nth-child(4) h3, .js .steps.in li:nth-child(4) p { transition-delay: 660ms; }
.steps h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.015em; }
.steps p { font-size: 16px; color: var(--steel); }

/* Selection tiles */
.lab { background: var(--vacuum-2); border-block: 1px solid var(--line); }
.qubits { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.qubit { aspect-ratio: 1; border-radius: 2px; border: 1px dashed #3A4C8C; display: grid; place-items: center; font-size: 11px; color: var(--muted); transition: background-color 220ms ease-out, border-color 220ms ease-out, color 220ms ease-out, box-shadow 220ms ease-out, transform 220ms cubic-bezier(.16,1,.3,1); }
.qubit.on { border: 1px solid var(--cyan); background: rgb(79 214 255 / 0.18); color: var(--white-hot); }
.qubit.flip { transform: scale(0.88); }
.qubit.final { border: 1px solid var(--gold); background: rgb(255 209 102 / 0.2); color: #FFF4D6; box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.7); }
.gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }

/* Growth chart (illustration, no figures) */
.windows-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; background: var(--vacuum-2); padding: 24px 20px 12px; margin-top: 56px; }
.windows-scroll svg { display: block; width: 100%; min-width: 680px; height: auto; }
.windows-scroll text { font: 500 13px var(--face); fill: var(--muted); }
.g-band { fill: #FFD166; fill-opacity: 0.05; }
.g-band-alt { fill-opacity: 0.02; }
.windows-scroll .g-starttext { font: 500 13px var(--face); fill: var(--cyan); }
.windows-scroll .g-ddtext { font: 500 12.5px var(--face); fill: #FF9AA9; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 22px; height: 10px; border-radius: 2px; display: inline-block; }
.sw-line { background: #4FD6FF; }
.sw-test { background: rgb(255 209 102 / 0.35); }


/* Frontier */
.frontier-fig { margin: 56px 0 0; padding: 20px 20px 12px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--vacuum-2); }
.frontier-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.fr-count { margin-right: auto; font-size: 14px; color: var(--muted); }
#frCanvas { display: block; width: 100%; height: 440px; margin-top: 12px; }

/* Stations */
.stations { margin-top: 64px; border-top: 1px solid var(--line-strong); }
.station { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px 32px; padding-block: 28px; border-bottom: 1px solid var(--line); align-items: start; }
.station h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.station h3 small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plate { display: grid; gap: 6px; margin: 0; padding: 14px 16px; background: var(--vacuum-2); border: 1px solid var(--line); border-radius: 2px; }
.plate dt { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.plate dd { margin: 0; font-size: 15.5px; color: var(--steel); }
.station .btn { align-self: center; }

/* Principles */
.principles { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.principle { padding-block: 26px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.principle h3 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.principle p { color: var(--muted); font-size: 15.5px; }

/* Membership */
.membership { background: var(--vacuum-2); border-block: 1px solid var(--line); }
.membership .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px 88px; align-items: start; }
.fare, .fare.ql-pricing-offer { display: block; max-width: none; margin: 0; padding: 0; gap: 0; border: 1px solid var(--line-strong); border-radius: 0; background: var(--vacuum); overflow: hidden; }
.fare-top { padding: 28px 30px; display: grid; gap: 18px; border-bottom: 1px solid var(--line); }
.fare .fare-price.ql-plan-price { margin: 0; font-size: clamp(64px, 7vw, 96px); line-height: 0.9; font-weight: 700; letter-spacing: -0.045em; color: #FFFFFF; }
.fare .fare-price.ql-plan-price span { display: block; margin-top: 14px; font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: 0; color: var(--muted); }
.fare-body { padding: 26px 30px 30px; display: grid; gap: 22px; }
.fare-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fare-body li { display: flex; gap: 12px; align-items: flex-start; color: var(--silver); }
.fare-body li svg { flex: none; margin-top: 6px; }
.fare-terms { font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
#pricing-status { color: var(--steel); font-size: 15px; }
.fare-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stack { display: grid; gap: 22px; align-content: start; }
.stack p { font-size: 18px; max-width: 32em; }

/* Debrief */
.debrief .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 56px 88px; }
.company .contact { color: var(--silver); font-weight: 600; user-select: all; }
.feedback-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: 30px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--vacuum-2); }
.feedback-form h3 { grid-column: 1 / -1; font-size: 22px; font-weight: 600; }
.feedback-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: var(--steel); min-width: 0; }
.feedback-form .wide { grid-column: 1 / -1; }
.feedback-form input, .feedback-form select, .feedback-form textarea { font: 400 16px/1.4 var(--face); color: var(--silver); background: var(--vacuum); border: 1px solid var(--line-strong); border-radius: 2px; padding: 12px 13px; width: 100%; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.feedback-form input::placeholder, .feedback-form textarea::placeholder { color: #7D8AA8; }
.feedback-form input:hover, .feedback-form select:hover, .feedback-form textarea:hover { border-color: #4A5FA8; }
.feedback-form input:focus, .feedback-form select:focus, .feedback-form textarea:focus { outline: none; border-color: var(--wave-soft); box-shadow: 0 0 0 3px rgb(47 107 255 / 0.28); }
.feedback-form textarea { resize: vertical; }
.feedback-form button { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
#feedbackNote { color: var(--steel); }
#feedbackNote.ok { color: var(--cyan); }
#feedbackNote.error { color: #FF8A9A; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #050716; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px 88px; padding-block: 56px 64px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .ql-mark { --w: 92px; }
.footer-brand strong { color: var(--silver); font-weight: 600; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal { display: grid; gap: 12px; line-height: 1.65; }

/* Instrument panels carry corner ticks. */
.windows-scroll, .fare, .feedback-form, .frontier-fig {
  --tk: var(--cyan);
  background-image: linear-gradient(var(--tk), var(--tk)), linear-gradient(var(--tk), var(--tk)), linear-gradient(var(--tk), var(--tk)), linear-gradient(var(--tk), var(--tk)), linear-gradient(var(--tk), var(--tk)), linear-gradient(var(--tk), var(--tk)), linear-gradient(var(--tk), var(--tk)), linear-gradient(var(--tk), var(--tk));
  background-repeat: no-repeat;
  background-size: 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}
.fare, .feedback-form { --tk: var(--gold); }

/* Scroll reveals for figures only: visible by default, animated once the script marks the page. */
.js .reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 900ms cubic-bezier(.16,1,.3,1), transform 900ms cubic-bezier(.16,1,.3,1), filter 900ms cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .g-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2400ms cubic-bezier(.45,.05,.25,1) 300ms; }
.js .windows-scroll.in .g-line { stroke-dashoffset: 0; }
.js .g-area, .js .g-mark { opacity: 0; transition: opacity 700ms ease-out 2300ms; }
.js .windows-scroll.in .g-area, .js .windows-scroll.in .g-mark { opacity: 1; }
.js .g-dd { transition-delay: 1400ms; }
@keyframes g-pulse { 0%, 100% { r: 8px; fill-opacity: 0.3; } 50% { r: 14px; fill-opacity: 0.08; } }
@media (prefers-reduced-motion: no-preference) { .windows-scroll.in .g-pulse { animation: g-pulse 2.4s ease-in-out 2.8s infinite; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .js .g-line { stroke-dashoffset: 0; transition: none; }
  .js .g-area, .js .g-mark { opacity: 1; transition: none; }
  .qubit { transition: none; }
  .tape-list { animation: none; }
  .tape-list[aria-hidden] , .tape-toggle { display: none; }
  .tape-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .js .steps li::after, .js .steps li h3, .js .steps li p, .js .step-wave path { transition: none; }
}

@media (max-width: 1000px) {
  .main-nav, .signin { display: none; }
  .m-menu { display: block; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .hero .wrap, .section-head, .lab .wrap, .membership .wrap, .debrief .wrap, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .station { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .station h3, .station .btn { grid-column: 1 / -1; }
  .station .btn { justify-self: start; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 92px; }
}
@media (max-width: 620px) {
  .main-nav, .signin, .brand-name span { display: none; }
  .site-header .wrap { gap: 10px; }
  .m-menu { display: block; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .ql-mark { --w: 44px; }
  .footer-brand .ql-mark { --w: 88px; }
  .steps, .station { grid-template-columns: minmax(0, 1fr); }
  #frCanvas { height: 320px; }
  .frontier-fig { padding: 16px 12px 8px; }
  .feedback-form { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .qubits { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gauges { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-lede { font-size: 17.5px; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
}
