/* Growth OS Earth — v2 (2026-11-18). Cinematic, visual-first. One accent. */
:root {
  --night: #030b10;
  --night-2: #06141a;
  --ink: #0b1220;
  --text: #f2f7f6;
  --dim: rgba(242, 247, 246, .66);
  --line: rgba(255, 255, 255, .12);
  --brand: #00D9A3;
  --brand-ink: #062b22;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--night);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }

.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-solid { background: var(--brand); color: var(--brand-ink); }
.btn-solid:hover { background: #22e6b4; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .dur { color: #667085; font-weight: 500; font-size: 14px; }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.link { color: var(--dim); font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.link:hover { color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  height: 72px; padding: 0 var(--gutter);
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(3, 11, 16, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.nav-brand img { width: 40px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--dim); }
.nav-links a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--night); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,11,16,.7) 0%, rgba(3,11,16,0) 16%),
    linear-gradient(90deg, rgba(3,11,16,.78) 0%, rgba(3,11,16,.35) 45%, rgba(3,11,16,0) 70%),
    linear-gradient(0deg, rgba(3,11,16,.9) 0%, rgba(3,11,16,0) 40%);
}
.hero-copy {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(72px, 12vh, 132px);
  max-width: 980px;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 108px); line-height: .98; letter-spacing: -.035em; font-weight: 700;
  margin: 14px 0 18px;
}
.hero-kicker { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.hero-kicker.welcome { color: var(--brand); }
.lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--dim); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- crew: stacked scenes ---------- */
.crew { padding: clamp(56px, 10vh, 120px) var(--gutter) 40px; display: grid; gap: clamp(20px, 3vw, 32px); max-width: 1480px; margin: 0 auto; }
.scene {
  position: relative; height: min(82vh, 780px); min-height: 460px;
  border-radius: var(--radius); overflow: hidden; background: var(--night-2);
}
.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.scene.in .plate { transform: scale(1); }
.scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(75% 65% at 0% 0%, rgba(3,11,16,.92) 0%, rgba(3,11,16,.7) 35%, rgba(3,11,16,0) 68%),
    linear-gradient(180deg, rgba(3,11,16,.35) 0%, rgba(3,11,16,0) 30%);
}
.scene-copy { position: absolute; left: clamp(22px, 4vw, 56px); right: 22px; top: clamp(22px, 4vw, 52px); z-index: 2; }

/* the animals: separate layers that enter on scroll */
.actor {
  position: absolute; z-index: 1; bottom: 2%; left: var(--x); height: var(--h); width: auto; max-width: none;
  translate: -50% 0; filter: drop-shadow(0 22px 26px rgba(0,0,0,.45));
  opacity: 0; transition: opacity .7s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s);
  will-change: transform;
}
.actor[data-in="fly-left"]   { transform: translate(-70vw, -18%) rotate(-8deg); }
.actor[data-in="land"]       { transform: translate(18vw, -90%) rotate(6deg); }
.actor[data-in="rise"]       { transform: translateY(18%); }
.actor[data-in="slide-right"]{ transform: translateX(22vw); }
.actor[data-in="pop"]        { transform: translateY(30%) scale(.92); }
.actor[data-in="swoop"]      { transform: translate(30vw, -120%) rotate(18deg); transition-duration: .7s, 1.5s; }
.scene.in .actor { opacity: 1; transform: none; }
.scene.in .actor[data-in="fly-left"] { animation: hover 4.5s ease-in-out 1.4s infinite; }
@keyframes hover { 50% { transform: translateY(-2.2%); } }
.verb {
  display: block; font-size: clamp(56px, 9vw, 132px); font-weight: 700; letter-spacing: -.045em; line-height: .9;
  color: #fff;
}
.scene-copy p { margin-top: 12px; font-size: clamp(17px, 1.6vw, 22px); color: #fff; max-width: 40ch; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.scene-copy p::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px; background: var(--brand); vertical-align: middle; margin-right: 12px; translate: 0 -2px; }

/* ---------- cast rail ---------- */
.cast { padding: clamp(72px, 12vh, 140px) 0 clamp(56px, 9vh, 100px); }
.cast-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 0 var(--gutter); }
.hint { color: var(--dim); font-size: 15px; margin-top: 10px; }
h2 { font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.rail-arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.arrow:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 8px var(--gutter) 24px;
}
.rail::-webkit-scrollbar { display: none; }
.who {
  flex: 0 0 clamp(210px, 21vw, 270px); scroll-snap-align: start;
  text-align: left; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 80% at 50% 100%, var(--tint, #0d3b33) 0%, var(--night-2) 70%);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.who:hover { transform: translateY(-6px); border-color: rgba(0,217,163,.6); }
.who-art { height: clamp(250px, 26vw, 340px); display: flex; align-items: end; justify-content: center; padding-top: 18px; }
.who-art img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); transition: transform .45s var(--ease); }
.who:hover .who-art img { transform: scale(1.04) translateY(-4px); }
.who-txt { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: rgba(3,11,16,.55); }
.who-txt b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.who-txt span { font-size: 14px; color: var(--dim); }

/* ---------- numbers ---------- */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.numbers-row > div { padding: clamp(36px, 6vh, 64px) 0; text-align: center; }
.numbers-row > div + div { border-left: 1px solid var(--line); }
.numbers b { display: block; font-size: clamp(48px, 6.5vw, 96px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.numbers small { font-size: .38em; letter-spacing: 0; margin-left: 4px; color: var(--brand); font-weight: 600; }
.numbers span { display: block; margin-top: 10px; color: var(--dim); font-size: 15px; }

/* ---------- gate (locked private preview) ----------
   Nothing from inside shows here (CTO 2026-11-18). Alive, not static: drifting aurora,
   pointer-reactive light, particle field, a sealed emblem, a light travelling the card edge. */
body.locked { overflow: hidden; }
/* the gate is not tracked (data-no-track): no analytics banner over it */
body.locked #gos-consent { display: none !important; }
.gate {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: #02080c;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  padding: 40px 16px; --mx: 50%; --my: 45%;
}
.gate[hidden] { display: none; }
.gate-shade { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.a1 { width: 70vmax; height: 40vmax; left: -15vmax; top: -12vmax; background: radial-gradient(closest-side, rgba(0,217,163,.38), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.a2 { width: 60vmax; height: 46vmax; right: -18vmax; bottom: -18vmax; background: radial-gradient(closest-side, rgba(14,120,160,.42), transparent); animation: drift2 26s ease-in-out infinite alternate; }
.a3 { width: 40vmax; height: 30vmax; left: 30%; top: 40%; background: radial-gradient(closest-side, rgba(102,255,218,.16), transparent); animation: drift3 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vmax, 12vmax) rotate(18deg) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, -10vmax) rotate(-14deg) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-12vmax, -14vmax) scale(1.3); } }
.gate-sky { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gate-spot { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(0,217,163,.10), transparent 60%); }
.gate-grain {
  position: fixed; inset: -50%; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } 100% { transform: translate(1%,3%) } }

/* emblem: the mark sealed inside a turning ring of light */
.emblem { position: relative; width: 112px; height: 112px; display: grid; place-items: center; flex: none; animation: rise 1.2s var(--ease) both; }
.emblem-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(0,217,163,.15) 70%, #00D9A3 88%, #b6ffee 92%, transparent 94%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 6s linear infinite;
}
.emblem::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.emblem-core {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(0,217,163,.18), rgba(3,11,16,.9) 70%);
  box-shadow: 0 0 0 1px rgba(0,217,163,.18), 0 0 60px rgba(0,217,163,.25);
  animation: breathe 4.5s ease-in-out infinite;
}
.emblem-core img { width: 50px; height: auto; filter: drop-shadow(0 0 12px rgba(0,217,163,.45)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(0,217,163,.3), 0 0 90px rgba(0,217,163,.42); } }

/* card with a light travelling its edge */
@property --edge { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.gate-card {
  position: relative; width: 100%; max-width: 420px; flex: none;
  background: linear-gradient(180deg, rgba(10,28,34,.78), rgba(4,14,19,.86));
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-radius: 24px; padding: clamp(26px, 5vw, 38px);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  animation: rise 1s var(--ease) .15s both;
}
.gate-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--edge), rgba(255,255,255,.10) 0 70%, rgba(0,217,163,.9) 82%, rgba(255,255,255,.10) 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge 7s linear infinite;
}
@keyframes edge { to { --edge: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.gate-card.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 20%, 60% { transform: translateX(-9px); } 40%, 80% { transform: translateX(9px); } }
.kicker.center { text-align: center; }
.gate-title { text-align: center; font-size: clamp(38px, 6vw, 46px); letter-spacing: -.04em; line-height: 1; margin: 10px 0 12px; }
.gate-h2 { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0 8px; }
.gate-text { color: var(--dim); font-size: 16px; margin-bottom: 18px; text-align: center; }
.gate #codeInput { text-align: center; font-size: 19px; letter-spacing: .22em; min-height: 58px; text-transform: uppercase; }
.gate-or { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; justify-items: center; text-align: center; }
.gate-or > span { color: var(--dim); font-size: 14.5px; }
.consent { font-size: 13px; color: var(--dim); text-align: center; margin-top: 4px; }
.consent a, .gate-foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link.center { justify-self: center; }
.gate-foot { position: relative; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,247,246,.4); text-align: center; animation: rise 1s var(--ease) .4s both; }

/* unseal: ring speeds up, card lifts away, mint light floods, the site appears */
.gate-flash { position: fixed; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 30%, rgba(182,255,238,.9), rgba(0,217,163,.35) 30%, transparent 65%); transform: scale(.2); }
.gate.opening .emblem-ring { animation-duration: .7s; }
.gate.opening .emblem { transform: scale(1.25); transition: transform .9s var(--ease); }
.gate.opening .gate-card, .gate.opening .gate-foot, .gate.opening .gate-signin { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s, transform .6s var(--ease); animation: none; }
.gate.opening .gate-flash { opacity: 1; transform: scale(2.6); transition: transform 1.1s var(--ease), opacity .4s; }
.gate.gone { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.done-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); border: 1.5px solid rgba(0,217,163,.5); margin-bottom: 8px; }
.link-strong { color: var(--brand); font-weight: 600; font-size: 15.5px; padding: 6px 4px; }
.link-strong:hover { color: #3ff0c2; }
.opt { font-weight: 400; opacity: .7; }
textarea {
  width: 100%; padding: 12px 16px; border-radius: 14px; resize: vertical; min-height: 84px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; font: inherit; font-size: 16px;
}
textarea:focus { outline: none; border-color: var(--brand); }
.gate .panel { gap: 8px; }
.gate .panel label { margin-top: 6px; }
.site[hidden] { display: none; }

/* ---------- one team, three views ---------- */
.views { padding: clamp(72px, 12vh, 140px) 0; }
.views h2 { margin-bottom: 36px; }
.views-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.view { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)); }
.view h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 18px; }
.view p { color: var(--dim); }
.view-art { height: 180px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.view-art i { font-style: normal; font-size: 13px; color: var(--dim); }
.art-ceo b { font-size: 54px; line-height: 1; letter-spacing: -.04em; }
.art-ceo { position: relative; }
.art-ceo i { position: absolute; left: 20px; top: 84px; }
.bars { display: flex; align-items: end; gap: 8px; height: 56px; }
.bars s { flex: 1; height: calc(var(--v) * 100%); background: var(--brand); border-radius: 4px; opacity: .85; }
.bars s:not(:last-child) { opacity: .35; }
.wave { display: flex; align-items: center; gap: 5px; height: 90px; }
.wave s { flex: 1; border-radius: 3px; background: var(--brand); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave s:nth-child(3n) { animation-delay: -.4s; } .wave s:nth-child(3n+1) { animation-delay: -.8s; }
@keyframes wave { 50% { height: 90%; } }
.summary { font-size: 15px; line-height: 1.45; color: rgba(242,247,246,.85); }
.summary b { color: var(--brand); font-weight: 600; }
.lines { display: grid; gap: 12px; }
.lines s { height: 10px; width: var(--w); border-radius: 6px; background: rgba(255,255,255,.18); }
.lines s:first-child { background: var(--brand); opacity: .8; }

/* ---------- my five invites ---------- */
.invites { position: relative; overflow: hidden; padding: clamp(80px, 14vh, 160px) 0; }
.invites .wrap { position: relative; }
.invite-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.invite-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,11,16,.9) 0%, rgba(3,11,16,.72) 60%, rgba(3,11,16,.92) 100%); }
.invites h2 { margin: 12px 0 40px; }
.tickets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.ticket {
  position: relative; border-radius: 18px; padding: 20px 18px 18px; text-align: left;
  background: rgba(6, 20, 26, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14); display: grid; gap: 14px;
  transition: border-color .25s, transform .3s var(--ease);
}
.ticket:hover { border-color: rgba(0,217,163,.6); transform: translateY(-3px); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58px; width: 16px; height: 16px; border-radius: 50%; background: var(--night); }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket .seat { font-size: 13px; color: var(--dim); }
.ticket code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 17px; letter-spacing: .06em; color: #fff; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.2); }
.ticket .copy { min-height: 44px; width: 100%; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--brand-ink); background: var(--brand); }
.ticket .copy:hover { background: #22e6b4; }
.ticket.sent { opacity: .62; }
.ticket.sent .copy { color: var(--text); background: rgba(255,255,255,.1); }

.panel { display: grid; gap: 10px; }
.panel[hidden] { display: none; }
label { font-size: 14px; font-weight: 600; color: var(--dim); }
input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; font: inherit; font-size: 16px;
  transition: border-color .2s, background .2s;
}
input::placeholder { color: rgba(255,255,255,.35); }
input:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.09); }
input[aria-invalid="true"] { border-color: #ff7a6b; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.msg { min-height: 22px; font-size: 14px; color: #ff9a8e; }
.msg.ok { color: var(--brand); }
.panel .btn-block { margin-top: 6px; }
.panel .link { justify-self: start; }
.done { text-align: center; justify-items: center; }
.done-art { height: 150px; width: auto; margin-bottom: 6px; filter: drop-shadow(0 14px 20px rgba(0,0,0,.5)); }
.done h3 { font-size: 26px; letter-spacing: -.02em; }
.done p { color: var(--dim); margin-bottom: 8px; }

/* ---------- footer ---------- */
.foot { padding: 34px 0 44px; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; font-size: 14.5px; color: var(--dim); }
.foot nav a:hover { color: #fff; }
.faint { opacity: .55; }
.link-plain { font-size: 14.5px; color: var(--dim); }
.link-plain:hover { color: #fff; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; margin: auto; color: var(--text); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0, 4, 8, .86); backdrop-filter: blur(6px); }
.film { width: min(1280px, 94vw); }
.film video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; }
.film { position: relative; }
.film-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(3,11,16,.72); border: 1px solid rgba(255,255,255,.25); z-index: 3;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.film-close:hover { background: rgba(3,11,16,.9); }
.bio {
  width: min(880px, 94vw); display: none; grid-template-columns: .9fr 1.1fr; overflow: visible;
  background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.bio[open] { display: grid; }
.bio .film-close { top: 14px; right: 14px; }
.bio-art { background: radial-gradient(100% 80% at 50% 100%, var(--tint, #0d3b33), transparent 75%); display: flex; align-items: end; justify-content: center; padding: 28px 20px 0; border-radius: var(--radius) 0 0 var(--radius); }
.bio-art img { max-height: 420px; width: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.bio-copy { padding: clamp(28px, 4vw, 48px); align-self: center; }
.bio-copy h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 14px; }
.bio-copy > p:not(.kicker) { color: var(--dim); font-size: 17px; }
.bio blockquote { margin-top: 22px; padding-left: 16px; border-left: 3px solid var(--brand); font-size: 18px; font-style: italic; color: #fff; }

/* ---------- motion entry ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tickets { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .views-row { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,11,16,.95) 0%, rgba(3,11,16,.55) 50%, rgba(3,11,16,.1) 80%); }
  .hero-copy { bottom: 84px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scene { height: 74vh; min-height: 480px; }
  .numbers-row { grid-template-columns: 1fr; }
  .numbers-row > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .numbers-row > div { padding: 30px 0; }
  .rail-arrows { display: none; }
  .tickets { grid-template-columns: 1fr; }
  .sm-hide { display: none; }
  .actor { --h-sm: 1; height: calc(var(--h) * .82); }
  .scene[data-scene="brain"] .actor:first-of-type { left: 30%; }
  .scene[data-scene="ants"] .actor { height: calc(var(--h) * .7); }
  .bio { grid-template-columns: 1fr; width: 100%; max-height: 88vh; overflow-y: auto; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
  .bio-copy { padding: 22px 22px 30px; }
  .bio-copy h3 { margin: 6px 0 8px; }
  .bio blockquote { margin-top: 14px; }
  .bio-art { border-radius: var(--radius) var(--radius) 0 0; padding-top: 40px; }
  .bio-art img { max-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .plate, .actor { transform: none !important; opacity: 1 !important; }
  .gate-grain, .gate-sky { display: none; }
  .aurora, .emblem-ring, .emblem-core, .gate-card::before { animation: none !important; }
}

/* ---------- clickable scenes + department panel ---------- */
.scene[data-dept] { cursor: pointer; }
.scene[data-dept]:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.scene-open {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: rgba(3,11,16,.62); border: 1px solid rgba(255,255,255,.28);
  font-size: 15px; font-weight: 600; color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.scene[data-dept]:hover .scene-open { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); transform: translateX(4px); }
.scene[data-dept]:hover .plate { transform: scale(1.02); }

.dept {
  width: min(1120px, 96vw); max-height: 92vh; display: none; grid-template-columns: .9fr 1.1fr; overflow: hidden;
  background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.dept[open] { display: grid; }
.dept .film-close { top: 14px; right: 14px; }
.dept-art { position: relative; min-height: 520px; overflow: hidden; }
.dept-art .plate { position: absolute; inset: 0; transform: none; }
.dept-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,26,0) 55%, rgba(6,20,26,1) 100%), linear-gradient(0deg, rgba(6,20,26,.6), rgba(6,20,26,0) 40%); }
.dept-art .actor { opacity: 1; transform: none; transition: none; z-index: 1; }
.dept-body { padding: clamp(26px, 3.4vw, 44px); overflow-y: auto; max-height: 92vh; }
.dept-body h3 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.045em; line-height: .95; margin: 8px 0 12px; }
.dept-line { font-size: 18px; color: rgba(242,247,246,.85); max-width: 40ch; }
.dept-block { margin-top: 26px; }
.dept-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.apps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.apps li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 14px; font-weight: 500; }
.apps li i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.apps li.soon { color: rgba(242,247,246,.42); }
.apps li.soon i { background: rgba(255,255,255,.25); }
.caps { list-style: none; padding: 0; display: grid; gap: 10px; }
.caps li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.caps li b { display: block; font-size: 16px; font-weight: 600; }
.caps li span.d { display: block; font-size: 14px; color: var(--dim); margin-top: 2px; }
.badge { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.badge.live { color: var(--brand-ink); background: var(--brand); }
.badge.team { color: var(--brand); background: rgba(0,217,163,.1); border: 1px solid rgba(0,217,163,.45); }
.apps li.team i { background: transparent; border: 2px solid var(--brand); width: 9px; height: 9px; }
.badge.soon { color: rgba(242,247,246,.6); background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.25); }
.caps li.soon b, .caps li.soon span.d { opacity: .5; }
.dept-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
@media (max-width: 860px) {
  .dept { grid-template-columns: 1fr; width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; overflow-y: auto; }
  .dept-art { min-height: 260px; }
  .dept-art::after { background: linear-gradient(0deg, rgba(6,20,26,1) 0%, rgba(6,20,26,0) 45%); }
  .dept-body { max-height: none; overflow: visible; }
  .dept-nav .btn { flex: 1; }
}


/* ---------- funnel sections merged from the live growthos.to (2026-11-18) ---------- */
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 15px; color: var(--dim); padding: 10px 2px; }
.nav-signin:hover { color: #fff; }
.views-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.views-head h2 { margin: 0; }
.views-head .scene-open { margin: 0; cursor: pointer; }
.views-head .scene-open:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.fine { font-size: 14px; color: var(--dim); margin-top: 16px; }
.narrow { max-width: 860px; }

/* results */
.results { padding: clamp(72px, 12vh, 140px) 0; }
.results-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.results-rail::-webkit-scrollbar { display: none; }
.result { scroll-snap-align: start; display: grid; gap: 28px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0)); transition: border-color .25s, transform .25s var(--ease); }
.result:hover { border-color: rgba(0,217,163,.6); transform: translateY(-2px); }
.result-who { display: flex; align-items: center; gap: 12px; }
.result-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.result-who b { display: block; font-size: 17px; }
.result-who i { font-style: normal; font-size: 13.5px; color: var(--dim); }
.result-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-nums b, .project-nums b { display: block; font-size: clamp(36px, 3.6vw, 52px); letter-spacing: -.04em; line-height: 1; }
.result-nums i, .project-nums i { font-style: normal; font-size: 13.5px; color: var(--dim); }
.result-nums span:last-child b { color: var(--brand); }
.project { margin-top: clamp(48px, 8vh, 96px); padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); }
.project-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.project h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.slider { display: grid; gap: 10px; min-width: min(420px, 100%); font-weight: 600; }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--fill, 0%), rgba(255,255,255,.14) var(--fill, 0%)); }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.slider input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.slider input:focus-visible { outline: 3px solid var(--brand); outline-offset: 6px; }
.project-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.project-nums .hot b { color: var(--brand); }

/* go live */
.golive { padding: clamp(72px, 12vh, 140px) 0; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.golive h2 { margin-bottom: 40px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; margin-bottom: 28px; }
.steps li { counter-increment: s; position: relative; padding: 64px 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.steps li::before { content: counter(s); position: absolute; top: 18px; left: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; border: 1px solid rgba(255,255,255,.3); }
.steps li.hot { border-color: rgba(0,217,163,.6); background: rgba(0,217,163,.07); }
.steps li.hot::before { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.steps b { display: block; font-size: 18px; letter-spacing: -.01em; }
.steps i { font-style: normal; font-size: 14px; color: var(--dim); }

/* pricing + checkout (IDs and states owned by js/earth-funnel.js) */
.pricing { padding: clamp(72px, 12vh, 140px) 0; }
.pricing h2 { margin-bottom: 40px; }
.offer { border-radius: calc(var(--radius) + 4px); border: 1px solid rgba(0,217,163,.35); background: radial-gradient(120% 90% at 0% 0%, rgba(0,217,163,.12), rgba(6,20,26,1) 55%); padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.offer-skeleton { display: grid; gap: 14px; }
.offer-skeleton span { height: 22px; border-radius: 10px; background: rgba(255,255,255,.08); animation: sk 1.4s ease-in-out infinite; }
.offer-skeleton span:nth-child(2) { height: 64px; width: 40%; }
.offer[data-state="available"] .offer-skeleton, .offer[data-state="unavailable"] .offer-skeleton { display: none; }
@keyframes sk { 50% { opacity: .45; } }
.offer-live:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.offer-tabs:not([hidden]) { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); margin-bottom: 22px; }
.offer-tab { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--dim); }
.offer-tab.is-on { background: #fff; color: var(--ink); }
.offer-tab-badge { font-size: 12px; color: var(--brand); margin-left: 4px; }
.offer-tab.is-on .offer-tab-badge { color: #037a5c; }
.offer-name { font-size: 22px; letter-spacing: -.02em; }
.offer-strike { font-size: 16px; color: var(--dim); text-decoration: line-through; min-height: 22px; margin-top: 8px; }
.offer-strike.is-off { visibility: hidden; }
.offer-price { display: flex; align-items: baseline; gap: 6px; }
.offer-price #offerPrice { font-size: clamp(56px, 6vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.offer-per { font-size: 18px; color: var(--dim); }
.offer-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 22px; }
.offer-pill { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); }
.offer-pill-eff { background: rgba(255,255,255,.1); color: #fff; }
.offer-pill-eff.is-off { display: none; }
.offer-bullets { list-style: none; padding: 0; display: grid; gap: 10px; }
.offer-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.offer-bullets svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 3px; }
.offer-form { display: grid; gap: 14px; align-content: start; }
.offer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer-field { display: grid; gap: 4px; }
.offer-field input, .offer-field select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff; font: inherit; font-size: 16px; }
.offer-field select option { color: #111; }
.offer-field input:focus, .offer-field select:focus { outline: none; border-color: var(--brand); }
.offer-field .is-invalid, .offer-field [aria-invalid="true"] { border-color: #ff8a80; }
.offer-field-msg { font-size: 13px; color: #ffb4ab; }
.offer-disclosures { list-style: none; padding: 14px 16px; margin: 0; display: grid; gap: 6px; border-radius: 12px; background: rgba(0,0,0,.22); font-size: 13.5px; color: rgba(242,247,246,.8); }
.offer-disclosures b { color: #fff; }
.offer-agree { display: flex; gap: 10px; align-items: center; font-size: 14.5px; min-height: 44px; }
.offer-agree input { width: 20px; height: 20px; accent-color: var(--brand); }
.offer-agree a { color: var(--brand); text-decoration: underline; }
.offer-agree.is-invalid { color: #ffb4ab; }
.offer-referral { margin: 2px 0 6px; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(242,247,246,.88); }
.offer-referral p { margin: 0; }
.offer-referral p a { color: var(--brand); text-decoration: underline; white-space: nowrap; }
.offer-referral .offer-agree { margin-top: 6px; font-size: 14px; line-height: 20px; align-items: center; min-height: 44px; padding: 0; }
.offer-referral .offer-agree input { margin: 0; flex-shrink: 0; align-self: center; }
.offer-referral .offer-agree span { font-weight: 400; }
.offer-btn { width: 100%; }
.offer-note { font-size: 14px; color: var(--brand); }
.offer-note a { text-decoration: underline; }
.offer-error { font-size: 14px; color: #ffb4ab; }
.offer-paused { font-size: 16px; margin-bottom: 14px; }
.offer-demo { margin-top: 18px; }
.extras { margin-top: 40px; display: grid; gap: 14px; }
.extras .apps { margin-bottom: 14px; }
.extras .apps li.live i { background: var(--brand); }

/* partners */
.partner-band { position: relative; overflow: hidden; padding: clamp(90px, 16vh, 180px) 0; }
.partner-band .wrap { position: relative; }
.partner-band h2 { margin-bottom: 32px; }

/* faq */
.faq { padding: clamp(72px, 12vh, 140px) 0; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--brand); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.faq details p { color: rgba(242,247,246,.8); padding: 0 0 22px; max-width: 64ch; }
.faq details a { color: var(--brand); }

/* footer */
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 20px 0 32px; }
.foot-cols nav { display: grid; gap: 10px; align-content: start; font-size: 14.5px; color: var(--dim); }
.foot-cols h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 4px; }
.soon-link { color: rgba(242,247,246,.4); }
.soon-link small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-left: 4px; }
.footer-bottom-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.status-btn, .version-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.version-tag { color: var(--brand); font-weight: 600; }
.foot-socials { display: flex; gap: 18px; font-size: 14.5px; color: var(--dim); }
.foot-socials a:hover, .foot-cols nav a:hover { color: #fff; }
#gos-nl-foot { margin-top: 8px !important; padding: 28px var(--gutter) 0; box-sizing: border-box; max-width: 620px !important; }
#gos-nl-foot input[type=email] { min-width: 0 !important; min-height: 48px; }
#gos-nl-foot label { max-width: 100% !important; }
#gos-nl-foot input[type=checkbox] { width: 18px !important; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--brand); }
#gos-nl-foot button { min-height: 48px; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-end { margin-left: auto; }
  .nav-end .btn { margin-left: 0; }
  .offer-live:not([hidden]) { grid-template-columns: 1fr; }
  .project-nums { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-brand span { display: none; }
  .nav-end { gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 18px 18px 18px 64px; }
  .offer-fields { grid-template-columns: 1fr; }
  .sec-head .rail-arrows { display: none; }
  .results-rail { grid-auto-columns: 86%; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols .nav-brand { grid-column: 1 / -1; }
}

/* Waitlist consent + phone hint (DGA-GOS-INVITES-2026-11-18 C10) */
.gate .panel .hint { font-size: 12.5px; margin: -2px 0 6px; color: var(--dim); }
.gate .panel label.agree { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 4px; font-size: 13px; line-height: 1.45; color: var(--dim); cursor: pointer; }
.gate .panel label.agree input { width: 18px !important; height: 18px; min-height: 0; flex: 0 0 18px; margin: 2px 0 0; padding: 0; accent-color: var(--brand); }
.gate .panel label.agree input[aria-invalid="true"] { outline: 2px solid #ff6b6b; outline-offset: 2px; }
.gate .panel label.agree a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ticket.used { opacity: .62; }
.gate button[aria-busy="true"] { opacity: .7; cursor: progress; }

/* existing clients sign in without a code: visible, full contrast, 44 px tap */
.gate-signin { position: relative; z-index: 2; margin: 18px auto 0; text-align: center; font-size: 15px; color: var(--text, #f2f7f6); }
.gate-signin a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.offer-field label { font-size: 13px; font-weight: 500; color: rgba(242,247,246,.78); }
.apps li small { font-size: 12px; opacity: .75; }

/* ---- department sheet, visual: app tiles + capability cards (CTO 2026-11-18) ---- */
.app-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 14px 10px; }
.app-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.app-ico { position: relative; width: 56px; height: 56px; border-radius: 16px; background: #f4f7f6; color: #0d1b2a; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.app-ico svg { width: 30px; height: 30px; }
.app-ico .on { position: absolute; top: -3px; right: -3px; width: 13px; height: 13px; border-radius: 50%; background: var(--brand); border: 2px solid #0d1b2a; }
.app-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.app-note { font-size: 11px; line-height: 1.2; color: var(--brand); }
.app-grid li.soon .app-ico { filter: grayscale(1); opacity: .38; box-shadow: none; }
.app-grid li.soon .app-name, .app-grid li.soon .app-note { color: rgba(242,247,246,.5); }
.cap-group { margin: 18px 0 10px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cap-group::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.cap-group.team::before { background: transparent; border: 2px solid var(--brand); }
.cap-group.soon { color: rgba(242,247,246,.6); }
.cap-group.soon::before { background: rgba(255,255,255,.3); }
.cap-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cap-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.cap-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(0,217,163,.14); color: var(--brand); }
.cap-ico svg { width: 20px; height: 20px; }
.cap-grid li b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.cap-grid li .d { display: block; font-size: 13px; color: var(--dim); margin-top: 3px; line-height: 1.4; }
.cap-grid.team .cap-ico { background: transparent; border: 1.5px solid rgba(0,217,163,.55); }
.cap-grid.soon { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.cap-grid.soon li { padding: 10px 12px; align-items: center; background: transparent; border-style: dashed; }
.cap-grid.soon .cap-ico { flex-basis: 30px; width: 30px; height: 30px; background: rgba(255,255,255,.06); color: rgba(242,247,246,.5); }
.cap-grid.soon .cap-ico svg { width: 16px; height: 16px; }
.cap-grid.soon li b { font-size: 14px; font-weight: 500; color: rgba(242,247,246,.6); }

/* ---- my invites: one tap to send, see who joined (CTO 2026-11-18) ---- */
.invites h2 { margin-bottom: 14px; }
.inv-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; font-size: 15px; color: var(--dim); }
.inv-progress .pips { display: inline-flex; gap: 6px; }
.inv-progress .pips i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); }
.inv-progress .pips i.sent { border-color: var(--brand); }
.inv-progress .pips i.on { background: var(--brand); border-color: var(--brand); }
.tickets { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: 18px; }
.ticket { gap: 12px; }
.ticket.sent, .ticket.used { opacity: 1; }
.ticket.joined { opacity: .72; }
.tk-head { display: flex; justify-content: space-between; align-items: center; }
.tk-state { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.tk-state.ready { color: var(--brand-ink); background: var(--brand); }
.tk-state.sent { color: var(--brand); border: 1px solid rgba(0,217,163,.5); }
.tk-state.joined { color: var(--text); background: rgba(255,255,255,.12); }
.tk-for { display: grid; gap: 6px; font-size: 13px; color: var(--dim); }
.tk-for input { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 16px; }
.tk-for input:focus { outline: none; border-color: var(--brand); }
.tk-link { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: rgba(242,247,246,.8); word-break: break-all; user-select: all; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.2); }
.tk-who { margin: 0; font-size: 15px; }
.tk-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; color: var(--dim); }
.tk-acts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.tk-btn svg { width: 17px; height: 17px; flex: none; }
.tk-btn:hover { border-color: rgba(0,217,163,.6); }
.tk-btn.primary { grid-column: 1 / -1; color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }
.tk-btn.primary:hover { background: #22e6b4; }
.ticket::before, .ticket::after { display: none; }

/* round-4 UX fixes */
.tickets { align-items: start; }
.tk-hint { font-size: 12px; color: rgba(242,247,246,.55); }
.tk-acts { grid-template-columns: repeat(3, 1fr); }
.tk-btn:not(.primary) { flex-direction: column; gap: 4px; min-height: 56px; padding: 6px 4px; font-size: 12.5px; }
.app-grid li.live .app-note { color: rgba(242,247,246,.7); }
.tk-acts.two { grid-template-columns: repeat(2, 1fr); }

/* remember me (DGA A1-1): a choice, never pre-selected */
.gate .panel label.agree.remember { margin: 2px 0 6px; }
.remember-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: #0d1b2a; border: 1px solid rgba(0,217,163,.4); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.remember-bar p { margin: 0; font-size: 14.5px; }
.remember-bar div { display: flex; gap: 8px; }
.remember-bar[hidden] { display: none; }
.remember-bar { top: 76px; bottom: auto; }
.remember-bar .rb-undo { display: block; font-size: 12.5px; color: rgba(242,247,246,.6); margin-top: 2px; }

/* Brand scrollbar (dark): Growth Green thumb on the night track */
@supports (-moz-appearance: none) {   /* Firefox only: Chrome would draw its default arrows if these are set */
  html { scrollbar-color: rgba(0,217,163,.55) #050b14; scrollbar-width: thin; }
  * { scrollbar-color: rgba(0,217,163,.55) transparent; scrollbar-width: thin; }
}
::-webkit-scrollbar-button { display: none; height: 0; width: 0; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050b14; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #00D9A3, #00b88a); border-radius: 10px; border: 2px solid #050b14; }
::-webkit-scrollbar-thumb:hover { background: #00FFB9; }
::-webkit-scrollbar-corner { background: #050b14; }

/* sideways rows: a visible thin scrollbar, grab cursor, no snap fighting a drag */
.rail, .results-rail { cursor: grab; }
@supports (-moz-appearance: none) { .rail, .results-rail { scrollbar-width: thin !important; scrollbar-color: rgba(0,217,163,.6) rgba(255,255,255,.06) !important; } }
.rail::-webkit-scrollbar, .results-rail::-webkit-scrollbar { display: block; height: 6px; }
.rail::-webkit-scrollbar-track, .results-rail::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 6px; margin: 0 var(--gutter); }
.rail::-webkit-scrollbar-thumb, .results-rail::-webkit-scrollbar-thumb { background: rgba(0,217,163,.6); border-radius: 6px; border: 0; }
.rail.dragging, .results-rail.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.rail.dragging .who { pointer-events: none; }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow:disabled:hover { border-color: var(--line); background: none; }
/* touch screens use their own overlay scrollbar; ours would sit on the content */
@media (hover: none) and (pointer: coarse) { html::-webkit-scrollbar { width: 0; height: 0; } }
/* a section scrolled into view stops below the sticky header */
main [id], section[id] { scroll-margin-top: 88px; }

/* ---------- Add-ons (pricing): Kat — «A day with Kat». A lock screen over Growth OS Earth;
   the clock runs morning → night, the light follows, Kat's notifications stack. js/earth-kat.js ---------- */
.extras #addons { scroll-margin-top: 104px; }
.addon { display: grid; grid-template-columns: 1fr minmax(290px, 370px); gap: clamp(28px, 5vw, 88px); align-items: center;
  margin-bottom: 22px; padding: clamp(28px, 4vw, 56px); border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0,217,163,.35); background: var(--night-2); overflow: hidden; }
.addon-new { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.addon-brand { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); margin: 18px 0 14px; }
.addon-logo { flex: none; width: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 22px; background: #FAFAF7; display: grid; place-items: center; }
.addon-logo img { width: 70%; height: auto; }
.addon h3 { font-size: clamp(64px, 9vw, 120px); line-height: .85; letter-spacing: -.055em; font-weight: 700; }
.addon-line { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.025em; color: var(--dim); }
.addon-line b { color: var(--text); font-weight: 700; }

/* the day scrubber */
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 30px 0 26px; max-width: 460px; }
.day button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 14px; text-align: left;
  font-size: 14px; font-weight: 600; color: var(--dim); transition: color .3s; }
.day button span { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: inherit; font-variant-numeric: tabular-nums; }
.day button i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.day button i::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.day button[aria-pressed="true"] { color: var(--text); }
.day button[aria-pressed="true"] i::after { transform: scaleX(1); }
.addon.playing .day button[aria-pressed="true"] i::after { animation: day-fill var(--kat-step, 4.2s) linear both; }
@keyframes day-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.day button:hover { color: var(--text); }
.addon-fine { margin-top: 14px; font-size: 13.5px; color: var(--dim); }

/* the lock screen */
.lock { --sky-filter: saturate(1.1) brightness(.92) sepia(.25); --sky-tint: rgba(255,150,70,.38);
  position: relative; justify-self: center; width: 100%; max-width: 330px; aspect-ratio: 9 / 19; border-radius: 46px; overflow: hidden;
  border: 10px solid #1b2a30; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 80px -40px rgba(0,0,0,.9); color: #fff; isolation: isolate; }
.addon[data-step="1"] .lock { --sky-filter: saturate(1.15) brightness(1.1); --sky-tint: rgba(120,200,255,.12); }
.addon[data-step="2"] .lock { --sky-filter: saturate(.55) brightness(.42) hue-rotate(12deg); --sky-tint: rgba(12,20,70,.55); }
.lock-sky { position: absolute; inset: 0; z-index: -1; }
.lock-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.5); filter: var(--sky-filter); transition: filter 1.2s ease; }
.lock-sky::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 38%), linear-gradient(180deg, var(--sky-tint), rgba(0,0,0,.35) 100%); transition: background 1.2s ease; }
.lock-time { text-align: center; padding-top: 44px; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.lock-date { display: block; font-size: 15px; font-weight: 600; opacity: .9; }
.lock-clock { position: relative; display: block; height: 76px; font-size: 72px; line-height: 76px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lock-clock span { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s var(--ease); }
.addon[data-step="0"] .lock-clock [data-at="0"], .addon[data-step="1"] .lock-clock [data-at="1"], .addon[data-step="2"] .lock-clock [data-at="2"] { opacity: 1; transform: none; }

/* notifications: newest on top, older ones tuck in behind like iOS */
.lock-stack { list-style: none; padding: 0; position: absolute; left: 10px; right: 10px; bottom: 26px; display: flex; flex-direction: column; gap: 8px; }
.note { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 11px 12px; border-radius: 20px;
  background: rgba(245,245,245,.72); color: #111; -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  font-size: 13.5px; line-height: 1.3; box-shadow: 0 8px 24px -12px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(-14px) scale(.96); max-height: 0; padding-block: 0; margin-top: -8px; overflow: hidden;
  transition: opacity .5s, transform .6s var(--ease), max-height .6s var(--ease), padding .6s var(--ease), margin .6s var(--ease); }
.note-ic { width: 34px; height: 34px; border-radius: 9px; background: #FAFAF7; display: grid; place-items: center; }
.note-h { display: flex; justify-content: space-between; font-size: 12px; text-transform: lowercase; color: rgba(0,0,0,.55); margin-bottom: 1px; }
.note-h b { font-weight: 600; color: rgba(0,0,0,.7); }
.note p b { font-weight: 700; }
.addon[data-step="0"] .note[data-n="0"],
.addon[data-step="1"] .note[data-n="0"], .addon[data-step="1"] .note[data-n="1"],
.addon[data-step="2"] .note { opacity: 1; transform: none; max-height: 120px; padding-block: 11px; margin-top: 0; }
.addon[data-step="1"] .note[data-n="0"], .addon[data-step="2"] .note[data-n="1"] { opacity: .82; transform: scale(.97); }
.addon[data-step="2"] .note[data-n="0"] { opacity: .62; transform: scale(.94); }

@media (max-width: 760px) {
  .addon { grid-template-columns: 1fr; gap: 0; }
  .addon-main { display: contents; }
  .addon-new { order: 0; } .addon-brand { order: 1; } .addon-line { order: 2; }
  .lock { order: 3; margin-top: 26px; } .day { order: 4; margin: 26px 0 22px; } .addon-cta { order: 5; } .addon-fine { order: 6; }
  .addon-cta { width: 100%; }
  .lock { max-width: 300px; }
  .lock-clock { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .note, .lock-clock span, .lock-sky img, .lock-sky::after { transition: none; }
}

/* «Sneak peek»: each notification opens the conversation behind it. */
.note { display: block; }
.note > button { display: grid; grid-template-columns: 34px 1fr; gap: 10px; width: 100%; text-align: left; color: inherit; font: inherit; line-height: 1.3; }
.note-tx { display: block; }
.note .note-h { display: flex; justify-content: space-between; }
.note-tx > b { font-weight: 700; }
.addon[data-open="-1"] .note > button:hover { cursor: pointer; }
.note:has(button:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.lock-hint { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.8); letter-spacing: .02em; }

.thread { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: #fff; color: #111;
  transform: translateY(102%); transition: transform .55s var(--ease); visibility: hidden; }
.addon[data-open="0"] .thread[data-t="0"], .addon[data-open="1"] .thread[data-t="1"], .addon[data-open="2"] .thread[data-t="2"] { transform: none; visibility: visible; }
.th-head { display: grid; grid-template-columns: 32px auto 1fr; align-items: center; gap: 8px; padding: 30px 12px 10px; background: #F6F6F4; border-bottom: 1px solid #ECEBE8; font-size: 14px; }
.th-back { font-size: 30px; line-height: 1; color: #0A84FF; padding: 0 4px 4px; }
.th-av { width: 30px; height: 30px; border-radius: 50%; background: #FAFAF7; border: 1px solid #E7E3DC; display: grid; place-items: center; }
.th-av img { width: 20px; height: auto; }
.th-body { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 12px 11px 16px; font-size: 13.5px; line-height: 1.33; overflow: hidden; }
.th-stamp, .th-note { align-self: center; font-size: 11px; color: #5F6672; }
.th-body .b { max-width: 86%; padding: 8px 12px; border-radius: 18px; }
.th-body .me { align-self: flex-end; background: #0A84FF; color: #fff; border-bottom-right-radius: 6px; }
.th-body .them { align-self: flex-start; background: #E9E9EB; border-bottom-left-radius: 6px; }
/* messages arrive one by one each time a thread opens */
.th-body > * { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.addon[data-open="0"] .thread[data-t="0"] .th-body > *, .addon[data-open="1"] .thread[data-t="1"] .th-body > *, .addon[data-open="2"] .thread[data-t="2"] .th-body > * {
  opacity: 1; transform: none; transition-delay: calc(.35s + var(--i, 0) * .6s); }
.th-body .sent, .th-body .th-note { display: none; }
.thread.is-sent .sent, .thread.is-sent .th-note { display: block; }

.card { display: flex; flex-direction: column; gap: 4px; min-width: 78%; background: #fff !important; border: 1px solid #E4E4E7; }
.card-h { font-size: 12px; color: #5F6B7A; font-weight: 600; margin-bottom: 2px; }
.card .row { display: grid; grid-template-columns: 42px 1fr auto; gap: 6px; align-items: baseline; font-weight: 600; }
.card .row time { font-variant-numeric: tabular-nums; color: #0b6b55; font-weight: 700; }
.card .row em { font-style: normal; font-weight: 500; font-size: 12px; color: #5F6B7A; }
.card.cal .was { opacity: .45; text-decoration: line-through; }
.card.cal .now time { color: #0b6b55; }
.card-f { font-size: 11.5px; color: #0b6b55; font-weight: 600; margin-top: 2px; }
.card.stats { flex-direction: row; justify-content: space-between; gap: 10px; }
.card.stats span { display: flex; flex-direction: column; font-size: 11.5px; color: #5F6B7A; }
.card.stats b { font-size: 24px; line-height: 1; color: #111; letter-spacing: -.03em; }
.card.stats span:last-child b { color: #c2410c; }
.card.draft p { font-size: 13px; }
.draft-act { display: flex; gap: 6px; margin-top: 6px; }
.draft-act button { flex: 1; min-height: 32px; border-radius: 10px; border: 1px solid #D4D4D8; font-size: 13px; font-weight: 600; color: #111; }
.draft-act .send { background: #0A84FF; border-color: #0A84FF; color: #fff; }
.thread.is-sent .draft-act { opacity: .4; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .thread, .th-body > * { transition: none !important; }
}
.th-input { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 14px; padding: 6px 6px 6px 14px; border: 1px solid #DCDCE0; border-radius: 999px; font-size: 13px; color: #A1A1AA; }
.th-input i { width: 26px; height: 26px; border-radius: 50%; background: #D4D4D8; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; }

/* review fixes (UX r1 + DGA-GOS-KAT-ADDON-2026-11-19 K2/K3) */
.lock-tag { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 5; white-space: nowrap;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 999px; }
.lock-time { padding-top: 52px; }
.th-head { padding-top: 34px; }
.note-h { text-transform: none; }
.addon[data-step="1"] .note[data-n="0"], .addon[data-step="2"] .note[data-n="1"] { opacity: 1; transform: scale(.97); }
.addon[data-step="2"] .note[data-n="0"] { opacity: .9; transform: scale(.94); }
.th-back { min-width: 44px; min-height: 44px; margin: -10px 0 -10px -8px; }
.th-head { grid-template-columns: 44px auto 1fr; }
.thread.is-sent .draft-act { display: none; }
.addon-honest { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--text); }
.addon-mail { margin-top: 10px; font-size: 14px; color: var(--dim); user-select: all; }
.addon-fine a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .addon-honest { order: 5; } .addon-cta { order: 6; } .addon-mail { order: 7; } .addon-fine { order: 8; }
}

/* Kat invite request → app.growthos.to/api/invite/waitlist (Superadmin → Invites → Waitlist) */
.kat-form { margin-top: 4px; max-width: 460px; }
.kat-form label small { font-weight: 500; opacity: .7; }
.kat-form label.agree { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 2px; font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--dim); cursor: pointer; }
.kat-form label.agree input { width: 18px; height: 18px; min-height: 0; flex: 0 0 18px; margin: 2px 0 0; padding: 0; accent-color: var(--brand); }
.kat-form label.agree a { text-decoration: underline; text-underline-offset: 3px; }
.kat-done { max-width: 460px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(0,217,163,.45); background: rgba(0,217,163,.08); font-size: 16px; font-weight: 600; }
.kat-done:focus { outline: none; }
.kat-done span { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--dim); }
@media (max-width: 760px) { .kat-form, .kat-done { order: 7; max-width: none; } }
.addon-cta[hidden], .kat-done[hidden] { display: none; }

/* a11y (peer review 2026-11-19): screen-reader-only live line; the draft can be edited for real */
.kat-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.draft p[contenteditable="true"] { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- pre-qualification after the invite code (DGA-GOS-PREQUAL-2026-11-28) ---------- */
body.pq-open { overflow: hidden; }
body.pq-open chat-widget { display: none !important; }   /* the chat bubble sat on top of the questions */
.pq {
  position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(3, 11, 16, .92); opacity: 0; transition: opacity .3s var(--ease);
  overflow-y: auto;
}
.pq.in { opacity: 1; }
.pq-card {
  width: 100%; max-width: 560px; margin: auto; padding: 36px 32px 28px;
  background: var(--night-2); border: 1px solid var(--line); border-radius: 24px;
  transform: translateY(12px); transition: transform .4s var(--ease);
}
.pq.in .pq-card { transform: none; }
.pq-kicker { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 10px; }
.pq-title { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.pq-intro { color: var(--dim); margin-top: 10px; }
.pq-body { margin-top: 26px; }
.pq-bar { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 22px; }
.pq-bar span { display: block; height: 100%; background: var(--brand); transition: width .3s var(--ease); }
.pq-q:focus { outline: none; }
.pq-end-text { margin-top: 0; font-size: 18px; color: var(--text); }
.pq-q { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.pq-opts { display: grid; gap: 10px; margin-top: 18px; }
.pq-opt {
  text-align: left; min-height: 56px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text);
  font: inherit; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s;
}
.pq-opt:hover:not([disabled]) { border-color: rgba(0,217,163,.6); }
.pq-opt:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pq-opt.picked { border-color: var(--brand); background: rgba(0,217,163,.12); }
.pq-opt[disabled]:not(.picked) { opacity: .45; cursor: default; }
.pq-hint { margin-top: 14px; font-size: 13px; color: var(--dim); }
.pq-wait { color: var(--dim); }
.pq-err { color: #ffb4a8; margin-bottom: 14px; }
.pq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.pq-link { background: none; border: 0; color: var(--dim); font: inherit; text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.pq-notice { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.pq-notice a { color: var(--text); text-decoration: underline; }
@media (max-width: 640px) {
  .pq { padding: 12px; align-items: flex-end; }
  .pq-card { padding: 28px 20px 20px; border-radius: 20px; }
  .pq-title { font-size: 25px; }
  .pq-q { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pq, .pq-card, .pq-bar span { transition: none; } }
