/* ---------- Tokens ---------- */
:root {
  --bg: #e9f1fa;
  --paper: #f4f8fc;
  --ink: #0b1a2c;
  --dim: rgba(11, 26, 44, .5);
  --faint: rgba(11, 26, 44, .14);
  --line: rgba(11, 26, 44, .09);
  --hair: rgba(11, 26, 44, .16);
  --sky: #4fb4ff;
  --blue: #3f7cff;
  --violet: #9b7cff;
  --pink: #ff8fcf;
  --mint: #43e0b5;
  --red: #ff4d6d;
  --amber: #ffb547;
  --grad: conic-gradient(from 200deg, #8ce8ff, #4fb4ff 18%, #6a8cff 34%, #c48cff 50%, #ff9ad5 60%, #6a8cff 72%, #4fb4ff 86%, #8ce8ff);
  --grad-lin: linear-gradient(100deg, #4fb4ff, #6a8cff 40%, #c48cff 75%, #ff9ad5);
  --col: 17%;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.6, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.dim { color: var(--dim); }
::selection { background: #bfe0ff; }

/* ---------- Grid guides ---------- */
.guides { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.guides i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.guides i:nth-child(1) { left: var(--col); }
.guides i:nth-child(2) { left: 50%; }
.guides i:nth-child(3) { left: calc(100% - var(--col)); }

/* ---------- Top bar + nav ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 30px; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .05em;
  background: var(--ink); color: #e9f1fa;
  transition: transform .5s var(--ease);
}
.topbar b { font-weight: 500; background: var(--grad-lin); -webkit-background-clip: text; background-clip: text; color: transparent; margin-right: 6px; }
.topbar .x { position: absolute; right: 14px; font-size: 15px; opacity: .7; }
.topbar .x:hover { opacity: 1; }
body.scrolled .topbar, body.bar-closed .topbar { transform: translateY(-100%); }

.nav {
  position: fixed; left: 0; right: 0; top: 30px; height: 52px; z-index: 29;
  display: grid; grid-template-columns: var(--col) 1fr 12% var(--col); align-items: stretch;
  background: rgba(233, 241, 250, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: top .5s var(--ease);
}
body.scrolled .nav, body.bar-closed .nav { top: 0; }
.logo { display: flex; align-items: center; gap: 10px; padding-left: 22px; font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.menu { display: flex; align-items: center; gap: 28px; padding-left: 28px; font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.menu a { opacity: .78; transition: opacity .2s; }
.menu a:hover { opacity: 1; }
.pad { display: flex; align-items: center; justify-content: center; gap: 8px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; overflow: hidden; }
.pad:hover { background: rgba(255,255,255,.4); }
.pad .ca { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.nav-cta { display: flex; align-items: center; justify-content: flex-end; padding-right: 22px; gap: 10px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px;
  border: 1px solid var(--hair); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em;
  background: transparent; white-space: nowrap; transition: background .2s, color .2s;
}
.btn::before {
  content: ''; position: absolute; inset: -1px; padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  clip-path: polygon(0 0, 62% 0, 62% 2px, 2px 2px, 2px 100%, 0 100%);
  pointer-events: none;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.solid:hover { background: #1c3352; }
.btn .dots { letter-spacing: -.1em; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Right rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; height: 270px; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; align-items: flex-end; }
.rail .dots { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding-right: 3px; }
.rail .dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.rail .label {
  position: absolute; right: 16px; top: 0; display: flex; align-items: center; gap: 7px; padding: 5px 8px;
  font: 400 10.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; background: var(--paper); border: 1px solid var(--line); white-space: nowrap;
  transition: top .7s var(--ease);
}
.rail .label svg { width: 12px; height: 12px; }
.rail .menu-link { position: absolute; bottom: -34px; right: 0; font: 400 10.5px var(--mono); letter-spacing: .05em; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.in .rv { opacity: 1; transform: none; }
.in .rv.d1 { transition-delay: .1s; } .in .rv.d2 { transition-delay: .2s; } .in .rv.d3 { transition-delay: .3s; } .in .rv.d4 { transition-delay: .4s; }

/* ---------- Canvas ---------- */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
main { position: relative; z-index: 2; }
section.panel { position: relative; height: 100vh; min-height: 640px; }

/* corner brackets */
.br { position: absolute; width: 7px; height: 7px; border-color: var(--ink); border-style: solid; pointer-events: none; }
.br.tl { top: -5px; left: -5px; border-width: 1px 0 0 1px; border-top-left-radius: 3px; }
.br.tr { top: -5px; right: -5px; border-width: 1px 1px 0 0; border-top-right-radius: 3px; }
.br.bl { bottom: -5px; left: -5px; border-width: 0 0 1px 1px; border-bottom-left-radius: 3px; }
.br.bbr { bottom: -5px; right: -5px; border-width: 0 1px 1px 0; border-bottom-right-radius: 3px; }

/* ---------- Section 1: intro ---------- */
.scanbox { position: absolute; left: var(--col); top: 30%; width: 24.4%; min-width: 300px; }
.scanbox .tab { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ink); border-bottom: 0; background: var(--paper); }
.scanbox .tab svg { width: 18px; height: 18px; }
.scanbox .box { position: relative; border: 1px solid var(--ink); background: rgba(244,248,252,.75); backdrop-filter: blur(3px); display: flex; align-items: stretch; }
.scanbox form { display: flex; width: 100%; }
.scanbox .field { position: relative; flex: 1; min-height: 64px; padding: 12px 14px; font: 400 11px/1.45 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.scanbox .typed { pointer-events: none; }
.scanbox .caret { display: inline-block; width: 6px; height: 11px; background: var(--ink); vertical-align: -1px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.scanbox input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px 14px; border: 0; outline: 0; background: transparent; font: 400 11px/1.45 var(--mono); letter-spacing: .02em; color: var(--ink); opacity: 0; }
.scanbox.editing input { opacity: 1; background: rgba(244,248,252,.96); }
.scanbox.editing .typed { visibility: hidden; }
.scanbox .go { width: 64px; border-left: 1px solid var(--ink); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: background .2s, color .2s; }
.scanbox .go:hover { background: var(--ink); color: var(--bg); }
.scanbox .next { margin-top: 10px; font: 400 11px/1.45 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--faint); min-height: 1.45em; }

.rule1 { position: absolute; top: calc(30% + 42px); left: calc(var(--col) + max(24.4%, 300px)); right: var(--col); height: 1px; background: var(--hair); }
.features { position: absolute; top: calc(30% + 52px); right: var(--col); width: 23%; font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.features li { list-style: none; position: relative; height: 21px; display: flex; align-items: center; border-bottom: 1px solid var(--line); padding-left: 26%; }
.features li::before { content: ''; position: absolute; left: 18%; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.features li.dim::before { background: var(--faint); }

.hero { position: absolute; left: var(--col); bottom: 13%; }
.hero .over { font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.hero h1 { font-weight: 400; font-size: clamp(42px, 5.25vw, 92px); line-height: 1; letter-spacing: -.02em; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gbox { position: relative; display: inline-block; padding: .08em .22em .14em; }
.gbox::before { content: ''; position: absolute; inset: 0; padding: 2px; background: var(--grad-lin); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.gbox.cut::before { clip-path: polygon(0 0, 100% 0, 100% calc(100% - .32em), calc(100% - .32em) 100%, 0 100%); }
.gbox.alt::before { background: linear-gradient(100deg, #8ce8ff, #4fb4ff 35%, #c48cff 75%, #ff9ad5); }

.sub { position: absolute; left: calc(64% + 18px); bottom: calc(14% + 18px); max-width: 19%; font-size: 14.5px; line-height: 1.4; }
.scroll { position: absolute; right: var(--col); bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; font: 400 11px var(--mono); letter-spacing: .06em; }
.scroll svg { width: 10px; height: 12px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.rule2 { position: absolute; left: 50%; right: 0; bottom: 14%; height: 1px; background: var(--hair); }

/* ---------- Section 2: signals ---------- */
.tabs-wrap { position: absolute; left: var(--col); right: 0; top: 13%; height: 74px; overflow: hidden; }
.tabs { display: flex; height: 100%; transition: transform .9s cubic-bezier(.65,0,.2,1); }
.tabs .t { position: relative; flex: none; width: 33vw; height: 100%; display: flex; align-items: stretch; color: rgba(11,26,44,.14); transition: color .6s, opacity .6s; }
.tabs .t .n { width: 68px; display: grid; place-items: center; font: 400 12px var(--mono); border-right: 1px solid currentColor; }
.tabs .t .l { display: flex; align-items: center; padding: 0 22px; font-size: clamp(17px, 1.5vw, 24px); letter-spacing: -.01em; }
.tabs .t.on { color: var(--ink); }
.tabs .t.on .frame { position: absolute; top: 8px; left: 0; right: 10px; height: 58px; border: 1px solid var(--ink); pointer-events: none; }
.tabs .t { align-items: flex-start; }
.tabs .t.on .frame .br { border-color: var(--ink); }
.tabs .t.past { opacity: 0; }
.tabs .t .desc { position: absolute; left: 68px; top: 84px; width: 80%; padding-left: 22px; font: 400 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--dim); opacity: 0; transition: opacity .5s; }
.tabs-wrap.tall { height: 160px; }
.tabs .t.on .desc { opacity: 1; }
.tabs .t .n, .tabs .t .l { height: 74px; }

.headline2 { position: absolute; left: var(--col); bottom: 12%; font-size: clamp(30px, 3.05vw, 54px); line-height: 1.12; letter-spacing: -.02em; }
.headline2 .dots2 { font: 400 14px var(--mono); margin-bottom: 14px; letter-spacing: .1em; }
.headline2 .ob { display: inline-block; border: 1px solid var(--ink); border-radius: 14px; padding: .02em .3em .08em; margin-left: -.3em; }
.sig-cta { position: absolute; right: var(--col); bottom: 12%; display: flex; gap: 10px; }

/* ---------- Section 3: how it works ---------- */
.strip { position: absolute; left: var(--col); right: var(--col); top: 13%; height: 60px; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--hair); }
.strip .tag { font: 400 11px var(--mono); letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.strip .num { position: relative; padding: 2px 6px; }
.strip .icon { width: 56px; height: 56px; border: 1px solid var(--ink); display: grid; place-items: center; background: var(--paper); }
.strip .icon svg { width: 26px; height: 26px; }
.strip .who { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.strip .who::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--grad-lin); }
.strip .role { font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--dim); }
.quote { position: absolute; left: var(--col); top: 30%; width: 26vw; font-size: clamp(20px, 2.1vw, 38px); line-height: 1.19; letter-spacing: -.015em; }
.fade-swap { transition: opacity .45s, transform .45s; }
.fade-swap.out { opacity: 0; transform: translateY(10px); }
.try { display: inline-block; margin-top: 26px; padding-left: 14px; border-left: 1px solid var(--ink); font-size: 15px; }
.try:hover { text-decoration: underline; }
.arrows { position: absolute; left: var(--col); bottom: 12%; display: flex; gap: 10px; }
.arrows button { width: 46px; height: 46px; border: 1px solid var(--ink); font-size: 18px; background: rgba(244,248,252,.6); transition: background .2s, color .2s; }
.arrows button:hover { background: var(--ink); color: var(--bg); }
.ghost { position: absolute; left: calc(100% - var(--col) + 24px); right: 24px; top: 30%; font-size: clamp(16px, 1.4vw, 24px); line-height: 1.2; color: rgba(11,26,44,.1); }

footer.foot { position: relative; z-index: 2; height: 30vh; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid var(--line); background: rgba(233,241,250,.7); backdrop-filter: blur(6px); }
footer.foot .mono { font-size: 12px; }
footer.foot p { font-size: 12px; color: var(--dim); max-width: 520px; text-align: center; line-height: 1.5; padding: 0 16px; }

/* ---------- Click-to-enter splash ---------- */
body.locked { overflow: hidden; }
body.locked .ca-dock { opacity: 0; pointer-events: none; }
.enter {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; cursor: pointer; padding: 16px;
  background:
    radial-gradient(40% 50% at 30% 35%, rgba(79,180,255,.35), transparent 70%),
    radial-gradient(35% 45% at 72% 65%, rgba(255,154,213,.32), transparent 70%),
    radial-gradient(30% 40% at 60% 20%, rgba(155,124,255,.28), transparent 70%),
    rgba(233,241,250,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: opacity .8s cubic-bezier(.6,0,.2,1), transform .8s cubic-bezier(.6,0,.2,1);
}
.enter[hidden] { display: none; }
.enter.leaving { opacity: 0; transform: scale(1.06); pointer-events: none; }
.enter-in { display: grid; justify-items: center; text-align: center; gap: 18px; animation: pop .9s cubic-bezier(.2,.7,.2,1) both; }
.enter-logo svg { width: 64px; height: 64px; animation: bob 2.4s ease-in-out infinite; }
.enter-sym { font: 700 clamp(54px, 9vw, 150px)/0.95 var(--sans); letter-spacing: -.035em; background: linear-gradient(100deg, #4fb4ff, #6a8cff 17%, #c48cff 33%, #ff9ad5 50%, #c48cff 67%, #6a8cff 83%, #4fb4ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
.enter-tag { font-size: clamp(11px, 1vw, 14px); color: rgba(11,26,44,.7); }
.enter-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; height: 64px; padding: 0 38px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font: 500 15px var(--mono); text-transform: uppercase; letter-spacing: .1em;
  box-shadow: 0 16px 40px rgba(63,124,255,.35); transition: transform .25s, box-shadow .25s;
}
.enter-btn::before { content: ''; position: absolute; inset: -3px; border-radius: inherit; padding: 3px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: dock-glow 3s linear infinite; }
.enter-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 22px 50px rgba(63,124,255,.45); }
.enter-btn .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(67,224,181,.6); animation: ring 1.6s infinite; }
@keyframes ring { to { box-shadow: 0 0 0 12px rgba(67,224,181,0); } }
.enter-fine { font-size: 10.5px; color: var(--dim); margin-top: 6px; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker badge ---------- */
.ticker { position: relative; display: flex; width: fit-content; align-items: center; gap: 14px; margin-bottom: 24px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(244,248,252,.9); font: 700 clamp(22px, 2vw, 34px) var(--sans); letter-spacing: .01em; box-shadow: 0 8px 26px rgba(63,124,255,.18); }
.ticker::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ticker [data-ticker] { background: var(--grad-lin); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker::before { padding: 2px; }
.ticker .tk-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(67,224,181,.2); animation: pulse 1.6s infinite; }
.ticker .tk-cta { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
@keyframes pulse { 50% { opacity: .4; } }
.tk-inline { font-weight: 500; background: var(--grad-lin); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- CA dock ---------- */
.ca-dock {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100vw - 32px);
  height: 64px; padding: 0 8px 0 24px; border-radius: 999px;
  background: rgba(11, 26, 44, .94); color: #e9f1fa; backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(63, 124, 255, .35), 0 0 0 1px rgba(255,255,255,.06) inset;
  font: 400 15px var(--mono); letter-spacing: .03em;
  animation: dock-in .8s cubic-bezier(.2,.7,.2,1) .4s both;
}
.ca-dock::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: dock-glow 3s linear infinite; pointer-events: none;
}
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 20px); } }
@keyframes dock-glow { 50% { filter: hue-rotate(40deg) brightness(1.15); } }
.ca-dock .ca-sym { font: 700 20px var(--sans); letter-spacing: .01em; background: var(--grad-lin); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ca-dock .ca-lbl { opacity: .55; text-transform: uppercase; letter-spacing: .08em; }
.ca-dock .ca-full { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.ca-dock .ca-copy { flex: none; height: 48px; display: grid; place-items: center; padding: 0 22px; border-radius: 999px; background: #e9f1fa; color: var(--ink); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; transition: background .2s; }
.ca-dock:hover .ca-copy { background: #fff; }
.ca-dock .ca-lbl { padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.12); opacity: 1; font-size: 12px; font-weight: 500; }

/* Smaller screens: stacked card, CA on its own line and never cut off */
@media (max-width: 1100px) {
  .ca-dock {
    bottom: 10px; width: min(560px, calc(100vw - 20px)); max-width: none; height: auto;
    display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "sym lbl copy" "full full full";
    align-items: center; gap: 10px 10px; padding: 12px 12px 12px 16px; border-radius: 20px;
  }
  .ca-dock .ca-sym { grid-area: sym; font-size: 22px; }
  .ca-dock .ca-lbl { grid-area: lbl; }
  .ca-dock .ca-copy { grid-area: copy; justify-self: end; height: 44px; padding: 0 20px; font-size: 13px; }
  .ca-dock .ca-full {
    grid-area: full; white-space: normal; overflow: visible; word-break: break-all; text-align: left;
    font-size: 15px; line-height: 1.35; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.08);
  }
}
@media (max-width: 360px) {
  .ca-dock .ca-sym { font-size: 19px; }
  .ca-dock .ca-full { font-size: 13.5px; }
}
/* The scroll hint is decorative; drop it wherever the CA bar needs the room. */
@media (max-width: 1300px), (max-height: 760px) {
  .scroll { display: none; }
}
/* Short laptop screens: keep the hero text above the stacked CA card. */
@media (min-width: 901px) and (max-width: 1100px) {
  .sub { bottom: 160px; }
  .hero { bottom: 150px; }
  .rule2 { bottom: 140px; }
}
footer.foot { padding-bottom: 90px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); opacity: 0; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .guides i:nth-child(1), .guides i:nth-child(3), .menu, .pad, .rail, .features, .ghost, .rule1 { display: none; }
  .topbar { font-size: 9.5px; white-space: nowrap; justify-content: flex-start; padding: 0 36px 0 12px; overflow: hidden; }
  .nav { grid-template-columns: 1fr auto; }
  .logo { padding-left: 16px; }
  .nav-cta { padding-right: 16px; }
  .scanbox { left: 16px; right: 16px; width: auto; min-width: 0; top: 16%; }
  .hero { left: 16px; bottom: 15%; }
  .hero .over, .hero h1 .gbox, .sub, .headline2 > *, .quote, .try, .strip { background: rgba(233,241,250,.88); }
  .hero .over { display: inline-block; padding: 2px 4px; }
  .sub { left: 16px; right: 16px; max-width: none; bottom: 74px; padding: 6px 8px; }
  .hero { bottom: calc(74px + 5.5em); }
  .sub { bottom: 160px; }
  .hero { bottom: calc(160px + 5.5em); }
  footer.foot { padding-bottom: 150px; }
  .scroll { right: 16px; bottom: auto; top: calc(16% + 160px); }
  .tabs-wrap { left: 16px; top: 12%; }
  .tabs .t { width: 78vw; }
  .headline2 { left: 16px; }
  .sig-cta { left: 16px; right: auto; bottom: 4%; }
  .strip { left: 16px; right: 16px; gap: 12px; }
  .strip .role { display: none; }
  .quote { left: 16px; right: 16px; width: auto; top: 26%; padding: 8px; }
  .arrows { left: 16px; }
}
