/* v18 pages: the landing (live pitch feed), the launch sequence bar, system pages, the GO / NO-GO board, the gate. */

/* ---------- landing ---------- */
.land { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(70px + var(--sat)) var(--gut) calc(26px + var(--sab));
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .78) 62%, #000 100%); }
.land__feed { position: absolute; top: calc(22px + var(--sat)); left: 24px; display: flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: blink 1.2s steps(2, jump-none) infinite; flex: none; }
.land__in { position: relative; display: grid; gap: 16px; max-width: 560px; }
.land__title { font: 700 clamp(58px, 17vw, 132px)/.86 var(--din); text-transform: uppercase; letter-spacing: -.005em; margin-top: 2px; }
.land__title em { color: var(--orange); position: relative; }
.land__promise { font-size: 17px; line-height: 1.4; color: var(--white-dim); max-width: 30em; }
.land .kicker, .land__title, .land__promise, .land .cta, .crew { animation: rise .7s var(--ease) both; }
.land__title { animation-delay: .08s; } .land__promise { animation-delay: .16s; } .land .cta { animation-delay: .24s; } .crew { animation-delay: .32s; }
.land .cta { margin-top: 6px; }
.land__fail { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--orange); border-radius: 4px; background: rgba(0, 0, 0, .7); color: var(--white); }
.land__fail b { color: var(--orange); font-family: var(--din); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; display: block; }
.crew { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 4px 0 0; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white-faint); }
.crew li { display: inline-flex; align-items: center; gap: 6px; }
.crew i { width: 6px; height: 6px; border: 1px solid var(--white-faint); }
body.is-live .crew i { background: var(--white-faint); }
body:not(.is-live) .land { background: radial-gradient(90% 60% at 50% 30%, #121212, #000 70%); }

/* ---------- launch sequence bar (every page) ---------- */
.seq { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; list-style: none; padding: 0; margin: 0 0 22px; }
.seq li { display: grid; gap: 6px; font: 600 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--white-faint); min-width: 0; }
.seq li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seq i { height: 4px; background: var(--line); border-radius: 1px; }
.seq li.is-done i { background: var(--white); }
.seq li.is-done { color: var(--white-dim); }
.seq li.is-now i { background: var(--orange); animation: blink 1s steps(2, jump-none) infinite; }
.seq li.is-now { color: var(--orange); }

.lv, .bt, .gt { min-height: 100%; padding: calc(68px + var(--sat)) var(--gut) calc(24px + var(--sab)); display: flex; flex-direction: column; max-width: 620px; margin: 0 auto; }

/* ---------- system page (before each level) ---------- */
.lv__head { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; }
.lv__ico { width: 84px; height: 84px; border: 1px solid var(--line-hi); border-radius: 4px; display: grid; place-items: center; background: rgba(255, 255, 255, .02); }
.lv__title { font: 700 clamp(40px, 11vw, 64px)/.9 var(--din); text-transform: uppercase; margin-top: 8px; }
.lv__tag { color: var(--white-dim); margin-top: 6px; font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps li { border: 1px solid var(--line); border-radius: 4px; padding: 10px 10px 12px; display: grid; gap: 6px; align-content: start; background: rgba(255, 255, 255, .025); }
.steps b { font: 700 13px/1 var(--mono); color: var(--orange); }
.steps span { font-size: 13.5px; line-height: 1.25; }
.lv__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--white-faint); }
.lv__meta span + span::before { content: '/'; margin-right: 14px; color: var(--line-hi); }
.rate { margin: 22px 0 18px; padding: 16px 14px 12px; border: 1px solid var(--line-hi); border-radius: 4px; background: rgba(0, 0, 0, .6); }
.rate__q { font: 700 22px/1.05 var(--din); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; }
.rate__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rate__b { min-height: 50px; border-radius: 3px; border: 1px solid var(--line-hi); background: var(--deck-2); font: 700 22px/1 var(--num); cursor: pointer; padding-top: 3px; transition: background .15s, color .15s, border-color .15s; }
.rate__b:active { transform: translateY(1px); }
.rate__b.is-on { background: var(--orange); color: #000; border-color: var(--orange); box-shadow: 0 0 22px -4px var(--orange-glow); }
.rate__b.is-lock { animation: lock .32s var(--ease); }
@keyframes lock { 0% { box-shadow: 0 0 0 0 var(--orange); } 100% { box-shadow: 0 0 0 10px rgba(255, 91, 20, 0); } }
.rate__ends { display: flex; justify-content: space-between; margin-top: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--white-faint); }
.lv .cta, .bt .cta { margin-top: auto; align-self: stretch; max-width: none; }

/* system icons */
.ico { width: 62px; height: 62px; fill: none; stroke: var(--white-faint); stroke-width: 2; }
.ico--radar .ico__sweep { transform-origin: 60px 60px; animation: turn2 2.4s linear infinite; }
.ico--radar .ico__sweep path { fill: rgba(255, 91, 20, .35); stroke: var(--orange); }
.ico__blip { fill: var(--orange); stroke: none; animation: blink 1.2s steps(2, jump-none) infinite; }
.ico__blip.b2 { animation-delay: .6s; }
@keyframes turn2 { to { transform: rotate(360deg); } }
.ico--gauge .hot, .ico--gauge .ico__red { stroke: var(--orange); stroke-width: 4; }
.ico__needle { transform-origin: 60px 74px; animation: needle 1.6s var(--ease) infinite alternate; }
.ico__needle path { stroke: var(--white); stroke-width: 3; stroke-linecap: round; }
.ico__needle circle { fill: var(--white); stroke: none; }
@keyframes needle { from { transform: rotate(-60deg); } to { transform: rotate(62deg); } }
.ico--guide .ico__paths path { stroke-dasharray: 4 5; }
.ico--guide .ico__paths path.on { stroke: var(--orange); stroke-dasharray: none; stroke-width: 3; animation: draw 1.6s var(--ease) infinite; stroke-dashoffset: 0; }
.ico__lock { stroke: var(--orange); stroke-width: 2.5; animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes draw { 0% { stroke-dasharray: 0 120; } 60%, 100% { stroke-dasharray: 120 0; } }

/* ---------- GO / NO-GO board ---------- */
.bt__title { font: 700 clamp(40px, 11vw, 64px)/.9 var(--din); text-transform: uppercase; margin: 8px 0 18px; }
.board { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line-hi); border-radius: 4px; overflow: hidden; background: rgba(0, 0, 0, .7); }
.board__row { display: grid; grid-template-columns: 26px 1fr auto 78px; align-items: center; gap: 10px; padding: 0 12px; min-height: 58px; border-top: 1px solid var(--line); }
.board__row:first-child { border-top: 0; }
.board__n { font: 600 11px/1 var(--mono); color: var(--white-faint); }
.board__name { font: 700 19px/1 var(--din); text-transform: uppercase; letter-spacing: .02em; padding-top: 3px; }
.board__row.is-wait .board__name { color: var(--white-faint); }
.board__dots { display: flex; gap: 5px; }
.board__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-hi); }
.board__dots i.go { background: var(--go); border-color: var(--go); box-shadow: 0 0 8px var(--go-glow); }
.board__dots i.nogo { background: var(--orange); border-color: var(--orange); }
.board__st { justify-self: end; font: 700 17px/1 var(--mono); letter-spacing: .04em; color: var(--white-faint); text-align: right; min-width: 70px; }
.board__row.is-wait .board__st { font-size: 11px; letter-spacing: .12em; }
.board__st.is-lit.is-go { color: var(--go); text-shadow: 0 0 14px var(--go-glow); }
.board__st.is-lit.is-hold { color: var(--hold); }
.board__st.is-lit.is-nogo { color: var(--orange); }
.board__st.is-lit { animation: lit .4s var(--ease); }
@keyframes lit { from { opacity: .2; } to { opacity: 1; } }
.board__row.is-new { background: linear-gradient(90deg, rgba(255, 91, 20, .1), transparent 60%); }
.bt__head { margin-top: 18px; font-size: 18px; line-height: 1.35; }
.t-go { color: var(--go); } .t-hold { color: var(--hold); } .t-nogo { color: var(--orange); }
.bt__head b { font-family: var(--din); font-size: 24px; letter-spacing: .03em; text-transform: uppercase; margin-right: 4px; }
.bt__time { margin-top: 6px; font: 500 13px/1.4 var(--mono); color: var(--white-dim); }
.bt__alt { margin-top: 20px; }
.bt__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--white-faint); }
.bt__label b { font: 700 20px/1 var(--din); letter-spacing: .04em; color: var(--white); }
.bt__next { margin: 20px 0 18px; padding: 14px; border-left: 3px solid var(--orange); background: rgba(255, 255, 255, .03); display: grid; gap: 8px; font-size: 15.5px; color: var(--white-dim); }
.bt__next b { color: var(--white); }

/* altitude strip */
.alt { position: relative; height: 54px; margin: 0 8px; }
.alt__track { position: absolute; left: 0; right: 0; top: 14px; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.alt__fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 91, 20, .3), var(--orange)); transform-origin: left; transform: scaleX(0); animation: fillTo 1.1s var(--ease) .5s forwards; width: var(--you); }
@keyframes fillTo { to { transform: scaleX(1); } }
.alt__mk { position: absolute; top: 8px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; }
.alt__mk i { width: 2px; height: 18px; background: var(--white-faint); }
.alt__mk em { font: 600 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--white-faint); white-space: nowrap; }
.alt__mk.is-pro i { background: var(--orange); height: 22px; margin-top: -2px; }
.alt__mk.is-pro em { color: var(--orange); }
.alt__you { position: absolute; top: -12px; left: 0; transform: translateX(-50%); animation: flyTo 1.1s var(--ease) .5s forwards; }
.alt__you b { display: grid; place-items: center; width: 26px; height: 22px; background: var(--white); color: #000; font: 700 15px/1 var(--num); border-radius: 2px; padding-top: 2px; position: relative; }
.alt__you b::after { content: ''; position: absolute; bottom: -5px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--white); }
@keyframes flyTo { to { left: var(--you); } }

/* ---------- the gate ---------- */
.gt__title { font: 700 clamp(40px, 11vw, 64px)/.9 var(--din); text-transform: uppercase; margin-top: 10px; }
.gt__sub { color: var(--white-dim); margin-top: 8px; font-size: 17px; }
.sealed { position: relative; margin: 20px 0; padding: 12px 14px; border: 1px dashed var(--line-hi); border-radius: 4px; background: rgba(255, 255, 255, .02); display: grid; gap: 6px; overflow: hidden; }
.sealed__row { display: flex; justify-content: space-between; align-items: baseline; font: 600 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--white-faint); }
.sealed__row b { font: 700 16px/1 var(--mono); color: var(--white-dim); letter-spacing: .08em; filter: blur(1.4px); }
.sealed__lock { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) rotate(-6deg); display: flex; align-items: center; gap: 6px; padding: 6px 10px 5px; border: 2px solid var(--orange); color: var(--orange); background: #000;
  font: 700 18px/1 var(--din); letter-spacing: .1em; text-transform: uppercase; }
.sealed__lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; transform: translateY(-1px); }
.tx { display: grid; gap: 6px; }
.tx__f { display: grid; gap: 6px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--white-dim); }
.tx__f input { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 4px; border: 1.5px solid var(--line-hi); background: var(--deck-2); color: var(--white);
  font: 500 19px/1 var(--mono); letter-spacing: .02em; outline: none; transition: border-color .15s, box-shadow .15s; }
.tx__f input::placeholder { color: rgba(245, 245, 242, .28); }
.tx__f input:focus { border-color: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, .1); }
.tx__f.is-bad input { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 91, 20, .18); }
.tx__err { min-height: 18px; font-size: 13.5px; line-height: 1.3; color: var(--orange); margin-bottom: 4px; }
.tx .cta { max-width: none; margin-top: 4px; }
.tx.is-shake { animation: shake .36s ease; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.tx__fine { text-align: center; font-size: 12.5px; color: var(--white-faint); margin-top: 10px; }
.cta.is-sending[disabled] { background: var(--white); color: #000; box-shadow: none; }
.bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; transform: translateY(-2px); }
.bars i { width: 4px; background: currentColor; animation: bar .5s ease-in-out infinite alternate; }
.bars i:nth-child(1) { height: 5px; } .bars i:nth-child(2) { height: 9px; animation-delay: .1s; } .bars i:nth-child(3) { height: 12px; animation-delay: .2s; } .bars i:nth-child(4) { height: 14px; animation-delay: .3s; }
@keyframes bar { to { opacity: .25; } }

/* ---------- laptop ---------- */
@media (min-width: 900px) {
  :root { --gut: 56px; }
  .land { padding-bottom: 64px; background: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, 0) 62%), linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 25%, transparent 70%, rgba(0, 0, 0, .7)); }
  .land__feed { top: 34px; left: 44px; }
  .land__in { max-width: 640px; gap: 20px; }
  .land__title { font-size: 128px; }
  .land__promise { font-size: 19px; }
  .land .cta { max-width: 400px; }
  .lv, .bt, .gt { max-width: 640px; padding-top: 72px; justify-content: center; }
  .lv .cta, .bt .cta { margin-top: 8px; }
}

/* the system / board / gate pages fill the screen so the forward button sits low, near the thumb */
.page.is-lv, .page.is-bt, .page.is-gt { display: flex; flex-direction: column; }
.page.is-lv > .lv, .page.is-bt > .bt, .page.is-gt > .gt { flex: 1; width: 100%; }
