/* Unfair Tech — unfairtech.com
   Built from the studio's own system, not a new one:
   · the stage and phone are the showreel's ("Gathera — The Work")
   · the console render follows the super admin console as built
   · type is the Gathera lockup: Poppins, bold and tight; light for statements
   · colour follows the product's rule — navy is the ground, gold is the only
     thing you can press — plus the brand gradient on one word and the strike. */

:root {
  --sky: #38BDF8; --blue: #2E7CF6; --violet: #7C3AED;
  --grad: linear-gradient(135deg, var(--sky) 0%, var(--blue) 46%, var(--violet) 100%);

  --ground: #07090F;
  --navy: #152A4A;
  --gold: #E8A931;          /* the only thing you can press */
  --splat: #FDDB4B;         /* the mark's own yellow */
  --good: #4ADE9A;

  --text: #EAF1FB;
  --soft: rgba(226, 235, 248, .72);
  --quiet: #7F97BC;
  --hair: rgba(255, 255, 255, .1);

  --disp: 'Poppins', 'Avenir Next', system-ui, sans-serif;
  --ui: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --app: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;   /* the product's face */
  --mark: 'Acacia', 'Poppins', system-ui, sans-serif;            /* the wordmark's face */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4.4vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--ground); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; overflow-x: hidden;
  background: var(--ground); color: var(--text);
  font-family: var(--ui); -webkit-font-smoothing: antialiased;
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Ground ───────────────────────────────────────────────────────────────── */

.ground { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 66% 44%, #101728 0%, #07090F 70%); }
.vig { position: absolute; inset: 0;
  background: radial-gradient(94% 84% at 50% 46%, transparent 52%, rgba(3, 5, 11, .8) 100%); }
.grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

/* ── Nav ──────────────────────────────────────────────────────────────────── */

.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(env(safe-area-inset-top), 20px) var(--gutter) 0;
}
.lockup { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.splat { display: block; width: 46px; height: auto; filter: drop-shadow(0 6px 18px rgba(253, 219, 75, .22)); }
.wordmark { font: 400 17px/1 var(--mark); letter-spacing: .03em; white-space: nowrap; --un-right: -.01em; }
.un { position: relative; display: inline-block; }
/* The strike through "UN": centred on Acacia's caps, overshooting a little each side. */
.un::after {
  content: ""; position: absolute; left: -.13em; right: var(--un-right, -.04em); top: 42.5%;
  height: .125em; margin-top: -.0625em; border-radius: .0625em;
  background: var(--grad); transform-origin: left center;
}
.nav-r { display: flex; align-items: center; gap: 22px; }
.nav-link { border: 0; background: none; padding: 8px 2px; cursor: pointer;
  color: var(--soft); font: 500 14px/1 var(--disp); transition: color .2s var(--ease); }
.nav-link:hover { color: #fff; }

/* ── Buttons: gold marks the one action on a screen ──────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer;
  font: 600 15px/1 var(--disp); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-press { background: var(--gold); color: var(--navy); box-shadow: 0 10px 28px -12px rgba(232, 169, 49, .7); }
.btn-press:hover { background: #F0B845; }
.btn-press:active { transform: scale(.98); }
/* Everything that isn't the one action: a hairline, never a second gold. */
.btn-quiet { background: rgba(255, 255, 255, .04); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn-quiet:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(24px, 3vw, 48px);
  min-height: calc(100svh - 80px - 56px);
  padding: clamp(24px, 4vh, 56px) var(--gutter) clamp(24px, 4vh, 48px);
  max-width: 1480px; margin: 0 auto;
}
.copy { position: relative; z-index: 3; }

.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 26px; }
.kicker-t { font: 700 10.5px/1.4 var(--ui); letter-spacing: .17em; text-transform: uppercase; color: var(--quiet); }

h1 {
  margin: 0; max-width: 11.5em;
  font: 600 clamp(40px, 4.5vw, 74px)/1.02 var(--disp);
  letter-spacing: -.038em; color: #fff; text-wrap: balance;
}
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lede { margin: 24px 0 0; max-width: 34ch; font: 300 clamp(16px, 1.25vw, 19px)/1.6 var(--disp); letter-spacing: .005em; color: var(--soft); }

.join { margin-top: 34px; max-width: 470px; }
.join-row { display: flex; gap: 10px; }
.join input[type="email"] {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px;
  background: rgba(255, 255, 255, .05); color: #fff; font: 400 16px/1 var(--disp);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.join input::placeholder { color: rgba(226, 235, 248, .42); }
.join input:focus { outline: none; border-color: rgba(232, 169, 49, .8); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(232, 169, 49, .16); }
.join.is-error input { border-color: #F08A8A; }
.join.is-busy .btn { opacity: .7; cursor: progress; }
.join-done { display: none; align-items: center; gap: 10px; height: 52px; margin: 0; font: 500 16px/1 var(--disp); color: #fff; }
.join-done .ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(74, 222, 154, .16); color: var(--good); font-size: 14px; }
.join.is-done .join-row { display: none; }
.join.is-done .join-done { display: flex; }
.join-status { min-height: 1.4em; margin: 10px 0 0; font: 400 13.5px/1.4 var(--ui); color: var(--soft); }
.join.is-error .join-status { color: #FFC9C9; }
.fine { margin: 18px 0 0; font: 700 10.5px/1.4 var(--ui); letter-spacing: .17em; text-transform: uppercase; color: rgba(127, 151, 188, .75); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 5px; white-space: nowrap;
  font: 800 9px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.p-live { background: rgba(232, 169, 49, .16); color: var(--gold); }
.kicker .pill { font-size: 10px; padding: 6px 10px; border-radius: 999px; }
.kicker .pill i { animation: live 2.4s ease-in-out infinite; }

/* ── Stage: the console, a phone and a broadcast, in perspective ──────────── */

.stage { --cs: .7; position: relative; height: clamp(520px, 68vh, 660px); perspective: 2200px; perspective-origin: 30% 45%; }
.stage::before { content: ""; position: absolute; inset: 0 -20% 0 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 124, 246, .22), rgba(124, 58, 237, .08) 55%, transparent); filter: blur(12px); }
.rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-13deg) rotateX(5deg); transform-origin: 0 50%; }

.console {
  position: absolute; left: 0; top: 50%; width: 1320px; height: 904px;
  transform: translateY(-50%) scale(var(--cs)); transform-origin: 0 50%;
  border-radius: 18px; overflow: hidden;
  background: #0A1426;
  box-shadow: 0 60px 140px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .09), 0 1px 0 rgba(255, 255, 255, .08) inset;
  font-family: var(--app); color: var(--text); letter-spacing: -.005em;
}
.cx-bar { height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #08101f; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cx-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.cx { display: grid; grid-template-columns: 252px 1fr; height: calc(100% - 28px); }

/* sidebar — the super console's shell */
.cx-side { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 12px 14px; background: #0c1526; border-right: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.cx-side::before { content: ""; position: absolute; inset: -40% -60% auto -60%; height: 70%; background: radial-gradient(closest-side, rgba(251, 191, 36, .1), transparent); pointer-events: none; }
.cx-brand { position: relative; display: flex; align-items: center; gap: 10px; padding: 2px 8px 4px; }
.cx-tile { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(252, 211, 77, .25), rgba(245, 158, 11, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 18px rgba(251, 191, 36, .25); }
.cx-tile img { width: 24px; height: auto; display: block; }
.cx-brand b { display: block; font-size: 15px; font-weight: 800; color: #fff; }
.cx-brand small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: rgba(252, 211, 77, .7); }
.cx-fair { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.cx-sw { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #2F80C8, #1B4E86); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); flex: none; }
.cx-fair b { display: block; font-size: 12.5px; font-weight: 700; color: #fff; }
.cx-fair small { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 11px; color: var(--good); font-weight: 600; }
.cx-fair .ic { margin-left: auto; font-size: 14px; color: var(--quiet); }
.cx-nav { position: relative; display: grid; gap: 2px; }
.cx-nav a { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 8px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.cx-nav a .ic { margin-top: 2px; font-size: 16px; color: rgba(255, 255, 255, .45); }
.cx-nav a small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .38); }
.cx-nav a.on { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.cx-nav a.on::before { content: ""; position: absolute; left: -1px; top: 11px; bottom: 11px; width: 3px; border-radius: 3px; background: #FBBF24; }
.cx-nav a.on .ic { color: #FCD34D; }
.cx-nav em { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: rgba(251, 191, 36, .16); color: #FCD34D; font: 800 11px/1 var(--app); font-style: normal; }
.cx-health { position: relative; margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(74, 222, 154, .07); border: 1px solid rgba(74, 222, 154, .16); font-size: 11.5px; font-weight: 600; color: #A7F3C9; }
.cx-health .dot, .cx-live i, .cx-super i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px rgba(74, 222, 154, .8); flex: none; }

/* main */
.cx-main { display: flex; flex-direction: column; min-width: 0; background: linear-gradient(180deg, #0d1a33, #0a1427 60%); }
.cx-top { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.cx-top > b { font-size: 16px; font-weight: 800; color: #fff; }
.cx-super { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(251, 191, 36, .14); color: #FCD34D; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cx-super i { background: #FBBF24; box-shadow: 0 0 8px rgba(251, 191, 36, .8); }
.cx-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 300px; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: rgba(255, 255, 255, .38); }
.cx-icon { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); font-size: 16px; }
.cx-icon em { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #FBBF24; }
.cx-av { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #2B5EA7, #152A4A); color: #CFE0F5; font-size: 11px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

.cx-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; min-height: 0; }
.cx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cx-head h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.cx-head p { margin: 5px 0 0; max-width: 560px; font-size: 12.5px; line-height: 1.55; color: rgba(226, 235, 248, .6); }
.cx-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(74, 222, 154, .1); color: #86EFAC; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.cx-live.sm { padding: 4px 9px; font-size: 10.5px; }

.cx-filters { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.cx-chips { display: flex; align-items: center; gap: 7px; }
.cx-chips span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; }
.cx-chips span.on { color: #93BBFF; background: rgba(46, 124, 246, .16); border-color: rgba(46, 124, 246, .38); }
.cx-chips s { width: 1px; height: 18px; margin: 0 3px; background: rgba(255, 255, 255, .12); }
.cx-chips em { font-style: normal; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.cx-chips .d { width: 26px; height: 26px; padding: 0; justify-content: center; border-radius: 8px; font-size: 10.5px; }
.cx-chips .sel { border-radius: 9px; font-weight: 700; color: #fff; }
.cx-chips .sel .ic { font-size: 12px; color: var(--quiet); }
.cx-ago { margin-left: auto; border-radius: 10px !important; }
.cx-filter { margin-left: auto; min-width: 250px; border-radius: 10px !important; color: rgba(255, 255, 255, .36) !important; }

.cx-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); }
.cx-tabs span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.cx-tabs span.on { background: rgba(255, 255, 255, .07); color: #fff; }

.cx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.k { position: relative; display: flex; flex-direction: column; min-height: 104px; padding: 13px 15px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, rgba(22, 41, 74, .92), rgba(13, 28, 51, .92)); border: 1px solid rgba(255, 255, 255, .07); }
.kt { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: rgba(226, 235, 248, .72); }
.kt u { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; font-size: 14px; }
.t-blue { background: rgba(74, 139, 212, .16); color: #8DB9FF; }
.t-violet { background: rgba(139, 127, 214, .18); color: #BDB4FF; }
.t-green { background: rgba(34, 197, 94, .14); color: #6EE7A0; }
.t-gold { background: rgba(232, 169, 49, .16); color: #F2C466; }
.kv { margin-top: 6px; font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.ks { margin-top: 3px; font-size: 11px; color: rgba(226, 235, 248, .55); }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 36px; }

.cx-split { display: grid; grid-template-columns: 1fr 1.55fr; gap: 12px; min-height: 0; }
.cx-panel { position: relative; padding: 14px 16px 12px; border-radius: 14px; background: linear-gradient(160deg, rgba(22, 41, 74, .92), rgba(13, 28, 51, .92)); border: 1px solid rgba(255, 255, 255, .07); }
.cx-ph { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cx-ph b { display: block; font-size: 14px; font-weight: 800; color: #fff; }
.cx-ph small { display: block; margin-top: 2px; font-size: 11px; color: rgba(226, 235, 248, .55); }
.cx-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: rgba(226, 235, 248, .6); }
.cx-legend i { width: 8px; height: 8px; border-radius: 3px; margin-left: 6px; }
.cx-legend .b { background: #4A8BD4; } .cx-legend .v { background: #8B7FD6; }
.cx-chart { display: block; width: 100%; height: 176px; }
.cx-days { display: flex; justify-content: space-between; padding: 4px 2px 0; font-size: 10px; font-weight: 600; color: rgba(226, 235, 248, .4); }

.cx-grounds .map { display: block; width: 100%; height: auto; }
.m-ground { fill: #0b1830; stroke: rgba(255, 255, 255, .07); }
.m-lane { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 7; stroke-linecap: round; }
.m-zone { fill: rgba(255, 255, 255, .045); stroke: rgba(255, 255, 255, .08); }
.map text { font: 700 8.5px var(--app); fill: rgba(226, 235, 248, .55); text-anchor: middle; letter-spacing: .02em; }
.m-heat { mix-blend-mode: screen; }
.m-heat circle { transform-box: fill-box; transform-origin: center; }
.m-flow { fill: none; stroke: #E8A931; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 6; opacity: .85; }
.m-flow.f2 { stroke: #8DB9FF; opacity: .7; }
.m-junc circle { fill: #0b1830; stroke: #fff; stroke-width: 1.6; }
.map .m-gate { font-size: 7.5px; fill: rgba(232, 169, 49, .9); }
.cx-spot { position: absolute; left: 34px; bottom: 26px; display: grid; gap: 2px; padding: 8px 11px; border-radius: 10px;
  background: rgba(7, 14, 28, .92); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font-size: 10.5px; color: rgba(226, 235, 248, .7); }
.cx-spot b { font-size: 11.5px; color: #fff; }
.cx-spot em { font-style: normal; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* front of the stage */
.card { position: absolute; }
.phone { width: 224px; height: 452px; border-radius: 30px; padding: 8px; background: #0A0F1A;
  box-shadow: 0 50px 100px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.c-gate { right: 2%; bottom: 0; transform: translateZ(170px) scale(.8); transform-origin: 100% 100%; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; }
.et-screen { background: linear-gradient(168deg, #152A4A, #0D1E35 55%, #08131F); color: var(--text); }
.sb { height: 22px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font: 700 8.5px/1 var(--ui); color: #CFE0F5; opacity: .75; }
.ph-bd { padding: 10px 13px; display: grid; gap: 9px; }
.ph-hd { display: flex; align-items: center; gap: 7px; }
.mk { width: 22px; height: 22px; border-radius: 7px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #1b3358, #0d1c33); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mk img { width: 16px; height: auto; display: block; }
.nm { font: 700 12.5px/1 var(--disp); letter-spacing: -.02em; color: var(--text); }
.crumb { margin-left: auto; font: 600 9.5px/1 var(--ui); letter-spacing: .13em; text-transform: uppercase; color: var(--quiet); }
.scan { display: grid; place-items: center; gap: 12px; padding: 40px 0 36px; }
.ring { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: rgba(74, 222, 154, .14); border: 2px solid rgba(74, 222, 154, .5); }
.ring b { font-size: 38px; color: var(--good); }
.scan .w { font: 800 17px/1 var(--disp); letter-spacing: .06em; color: var(--good); }
.rows { display: grid; }
.r { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .08); font: 400 11px/1.2 var(--ui); }
.r:first-child { border-top: 0; }
.r b { font-weight: 600; }
.r .amt { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.tab { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; justify-content: space-around; border-top: 1px solid rgba(255, 255, 255, .1); }
.tab i { width: 15px; height: 15px; border-radius: 4.5px; background: rgba(255, 255, 255, .22); }
.tab i.on { background: var(--gold); }

.toast { position: absolute; right: -4%; top: 0; display: flex; align-items: center; gap: 12px; width: 300px; padding: 13px 15px;
  border-radius: 16px; background: rgba(12, 24, 46, .92); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .08) inset; backdrop-filter: blur(10px);
  transform: translateZ(200px); font-family: var(--app); }
.toast-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(232, 169, 49, .16); color: #F2C466; font-size: 18px; }
.toast b { display: block; font-size: 13px; font-weight: 800; color: #fff; }
.toast span:not(.toast-ic) { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: rgba(226, 235, 248, .66); }
.toast em { font-style: normal; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  max-width: 1480px; margin: 0 auto; padding: 18px var(--gutter) max(env(safe-area-inset-bottom), 22px);
  font: 500 12px/1.5 var(--ui); color: rgba(127, 151, 188, .8); }
.foot a { color: inherit; text-underline-offset: 3px; }
.foot a:hover { color: #fff; }

/* ── Contact ──────────────────────────────────────────────────────────────── */

dialog.contact { width: min(92vw, 460px); max-height: min(92svh, 760px); padding: 0;
  border: 1px solid var(--hair); border-radius: 18px; color: var(--text);
  background: linear-gradient(160deg, #16294a, #0d1c33); box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
dialog.contact::backdrop { background: rgba(3, 5, 11, .62); backdrop-filter: blur(6px); }
dialog.contact[open] { animation: pop .45s var(--ease); }
.contact-form { display: grid; gap: 14px; padding: 24px; }
.contact-head { display: flex; align-items: center; justify-content: space-between; }
.contact-head h2 { margin: 0; font: 600 22px/1.2 var(--disp); letter-spacing: -.03em; color: #fff; }
.contact-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; }
.contact-close:hover { background: rgba(255, 255, 255, .12); }
.contact-lede { margin: -4px 0 4px; font: 300 15px/1.5 var(--disp); color: var(--soft); }
.contact-form label { display: grid; gap: 7px; font: 700 9.5px/1 var(--ui); letter-spacing: .15em; text-transform: uppercase; color: var(--quiet); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px; background: rgba(255, 255, 255, .05); color: #fff; font: 400 16px/1.45 var(--disp); text-transform: none; letter-spacing: -.005em; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: rgba(232, 169, 49, .8); box-shadow: 0 0 0 4px rgba(232, 169, 49, .16); }
.contact-form [aria-invalid="true"] { border-color: #F08A8A; }
.contact-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.contact-status { margin: 0; font: 400 13.5px/1.4 var(--ui); color: var(--soft); }
.contact-status.is-error { color: #FFC9C9; }

/* ── Motion: quiet, and never in the way ─────────────────────────────────── */

@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes stage-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .85; } }
@keyframes flow { to { stroke-dashoffset: -36; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.js .copy > * { animation: rise .9s var(--ease) both; }
.js .kicker { animation-delay: .05s; }
.js h1 { animation-delay: .12s; }
.js .lede { animation-delay: .22s; }
.js .join { animation-delay: .3s; }
.js .fine { animation-delay: .36s; }
.js .un::after { animation: strike .6s var(--ease) .55s both; }
.js .stage { animation: stage-in 1.3s var(--ease) .15s both; }
.js .toast { animation: toast-in .8s var(--ease) 1.6s both; }
.js .m-heat circle { animation: breathe 6s ease-in-out infinite; }
.js .m-heat circle:nth-child(2) { animation-delay: -2s; }
.js .m-heat circle:nth-child(3) { animation-delay: -4s; }
.js .m-flow { animation: flow 2.4s linear infinite; }
.js .cx-chart .line { stroke-dasharray: 1; animation: draw 1.8s var(--ease) .6s both; }
.js .cx-chart .area { animation: fade 1s var(--ease) 1.4s both; }

@media (prefers-reduced-motion: reduce) {
  .js .copy > *, .js .un::after, .js .stage, .js .toast, .js .m-heat circle, .js .m-flow,
  .js .cx-chart .line, .js .cx-chart .area, .kicker .pill i { animation: none !important; }
}

/* ── Smaller screens ──────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .stage { --cs: .6; }
  .toast { right: -4%; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .stage { --cs: .5; height: 470px; margin-top: 8px; perspective-origin: 20% 40%; }
  .rig { transform: rotateY(-10deg) rotateX(4deg); }
  .c-gate { left: auto; right: 4%; bottom: 0; transform: translateZ(140px) scale(.78); transform-origin: 100% 100%; }
  .toast { right: auto; left: 2%; top: 0; width: 270px; transform: translateZ(180px) scale(.9); transform-origin: 0 0; }
}
@media (max-width: 560px) {
  .nav-link, .kicker-t { display: none; }
  .splat { width: 40px; }
  .wordmark { font-size: 18px; }
  .join-row { flex-direction: column; }
  .join-row input[type="email"] { flex: none; width: 100%; }   /* column flex would collapse it */
  .join-row .btn { width: 100%; }
  .stage { --cs: .37; height: 420px; margin-top: 30px; }
  .c-gate { transform: translateZ(120px) scale(.68); right: 0; }
  .toast { width: 250px; transform: translateZ(160px) scale(.82); }
  .foot { justify-content: center; text-align: center; }
}
