/* ============================================================
   SWU Counter: TACTI-7 - marketing site
   Design language mirrors the app: deep-space console,
   cyan (#00E6FF) + Unlimited gold (#FFE81F), clipped panels,
   monospaced tactical readouts.
   ============================================================ */

:root {
  /* Space */
  --bg:        #05070d;
  --bg-2:      #080b14;
  --panel:     rgba(14, 20, 32, 0.72);
  --panel-solid: #0b1120;
  --hairline:  rgba(0, 230, 255, 0.16);
  --hairline-strong: rgba(0, 230, 255, 0.38);

  /* Accents */
  --cyan:      #00e6ff;
  --cyan-dim:  #4ca3dd;
  --gold:      #ffe81f;
  --gold-dim:  #d8c31a;
  --green:     #35e08a;
  --red:       #eb3a3a;
  --violet:    #8a6ec3;

  /* Text */
  --tx:        #eef4f8;
  --tx-2:      #9fb2c0;
  --tx-3:      #63788a;

  --font:  'Chakra Petch', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:  'Share Tech Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;

  --maxw: 1180px;
  --radius: 14px;
  --cut: 16px; /* clipped-corner size */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Accessibility: focus & skip link ---- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 999;
  background: var(--panel-solid);
  color: var(--cyan);
  border: 1px solid var(--hairline-strong);
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---- Utilities (kept out of inline attributes for a tighter CSP) ---- */
.u-tx { color: var(--tx); }
.u-cyan { color: var(--cyan); }
.u-center { text-align: center; }
.u-jc-center { justify-content: center; }
.u-mb-24 { margin-bottom: 24px; }
.u-mb-44 { margin-bottom: 44px; }
.u-mt-16 { margin: 16px auto 0; }
.u-mt-30 { margin: 0 auto 30px; }
.u-w-100 { width: 100%; }
.u-icon-sm { width: 38px; height: 38px; border-radius: 10px; }

/* ---- Cosmic background layers ---- */
.bg-cosmos {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(0, 230, 255, 0.13), transparent 60%),
    radial-gradient(1000px 620px at 10% 8%, rgba(255, 232, 31, 0.06), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(138, 110, 195, 0.10), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #04050a 100%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(0, 230, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 78%);
  opacity: 0.7;
}
#stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: 96px 0; }
@media (max-width: 720px){ section { padding: 66px 0; } }

.kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.kicker.gold { color: var(--gold); }
.kicker.gold::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; color: var(--tx-2); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--tx-2); max-width: 60ch; }

a { color: var(--cyan); text-decoration: none; }

.mono { font-family: var(--mono); }
.glow-c { text-shadow: 0 0 18px rgba(0, 230, 255, 0.55); }
.glow-g { text-shadow: 0 0 18px rgba(255, 232, 31, 0.5); }
.gold-tx { color: var(--gold); }
.cyan-tx { color: var(--cyan); }
.green-tx { color: var(--green); }

/* clipped-corner panel - echoes the app's cut-corner cards */
.clip {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono);
  font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 4px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-cyan {
  background: var(--cyan); color: #04121a;
  box-shadow: 0 0 26px rgba(0, 230, 255, 0.35);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 230, 255, 0.55); }
.btn-ghost {
  background: transparent; color: var(--tx);
  border: 1px solid var(--hairline-strong);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* App Store badge */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px; padding: 10px 18px 10px 16px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.appstore:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.6); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.appstore svg { width: 26px; height: 26px; fill: #fff; }
.appstore .as-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .as-small { font-size: 10px; letter-spacing: .08em; color: #cfd6dd; text-transform: uppercase; font-family: var(--mono); }
.appstore .as-big { font-size: 19px; font-weight: 600; color: #fff; letter-spacing: .01em; }

/* ---- Nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 13, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
header.nav.scrolled { border-bottom-color: var(--hairline); background: rgba(5, 7, 13, 0.82); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 20px rgba(255, 232, 31, 0.25); }
.brand .b-txt { display: flex; flex-direction: column; line-height: 1; }
.brand .b-name { font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.brand .b-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--tx-3); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link {
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tx-2);
}
.nav-links a.link:hover { color: var(--cyan); }
.nav-cta {
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(255,232,31,.4); padding: 9px 18px; border-radius: 4px;
}
.nav-cta:hover { background: rgba(255,232,31,.1); box-shadow: 0 0 20px rgba(255,232,31,.25); }
.nav-toggle { display: none; background: none; border: 0; color: var(--tx); font-size: 26px; cursor: pointer; }
@media (max-width: 860px){
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(6,9,16,.97); border-bottom: 1px solid var(--hairline);
    transform: translateY(-140%); transition: transform .3s ease; padding: 8px 0 18px; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a.link, .nav-links .nav-cta { width: 100%; text-align: center; padding: 16px; border: 0; border-radius: 0; }
  .nav-toggle { display: block; }
}

/* ---- Hero ---- */
.hero { padding-top: 60px; padding-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(42px, 6.6vw, 82px);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--cyan); text-shadow: 0 0 30px rgba(0,230,255,.5); }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.trust {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx-3); display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center;
}
.trust b { color: var(--tx-2); font-weight: 400; }
.trust .dot { color: var(--cyan); }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-visual .halo {
  position: absolute; width: 115%; height: 115%; top: -6%; left: -6%;
  background: radial-gradient(closest-side, rgba(0,230,255,.20), transparent 70%);
  z-index: -1; filter: blur(8px);
}
@media (max-width: 900px){
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust { justify-content: center; }
  .hero-visual { order: -1; }
}

/* ---- Phone frame ---- */
.phone {
  position: relative;
  width: 300px; max-width: 76vw;
  aspect-ratio: 1206 / 2622;
  border-radius: 44px;
  padding: 8px;
  background: linear-gradient(160deg, #23262d, #0c0d10 60%);
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone::after { /* subtle screen sheen */
  content:""; position:absolute; inset:8px; border-radius:37px; pointer-events:none;
  background: linear-gradient(150deg, rgba(255,255,255,.06), transparent 40%);
  z-index: 3;
}
.phone img, .phone video { width: 100%; height: 100%; display: block; border-radius: 37px; object-fit: cover; background:#05070d; }
.phone.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
@media (prefers-reduced-motion: reduce){ .phone.floaty { animation: none; } .phone { animation: none; } }

/* ---- Confession band ---- */
.confession { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.confession .wrap { max-width: 940px; }
.big-quote {
  font-size: clamp(28px, 4.2vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -.01em;
  margin: 0 0 26px;
}
.big-quote .strike { color: var(--red); }
.confession p { font-size: clamp(16px, 1.8vw, 18.5px); max-width: 66ch; }
.confession .sig { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--tx-3); text-transform: uppercase; margin-top: 22px; }
.confession .sig b { color: var(--cyan); }

/* ---- Feature rows ---- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 58px 0; }
.feature.flip .f-text { order: 2; }
.feature .f-visual { display: flex; justify-content: center; }
.feature h2 { margin-bottom: 18px; }
.feature .num {
  font-family: var(--mono); font-size: 13px; color: var(--tx-3); letter-spacing: .2em;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tx-2); padding: 8px 13px; border: 1px solid var(--hairline);
  background: rgba(0,230,255,.03); border-radius: 3px;
}
.chip.gold { color: var(--gold); border-color: rgba(255,232,31,.3); background: rgba(255,232,31,.05); }
@media (max-width: 860px){
  .feature { grid-template-columns: 1fr; gap: 30px; text-align: center; padding: 40px 0; }
  .feature.flip .f-text { order: 0; }
  .feature .f-visual { order: -1; }
  .chips { justify-content: center; }
}

/* ---- Droid section ---- */
.droid { border-top: 1px solid var(--hairline); }
.droid-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.droid-art { position: relative; display: flex; justify-content: center; }
.droid-art img { width: 320px; max-width: 72vw; filter: drop-shadow(0 20px 45px rgba(0,0,0,.6)); animation: floaty 7s ease-in-out infinite; }
.droid-art .ring {
  position: absolute; width: 360px; height: 360px; max-width: 82vw; max-height: 82vw; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(255,232,31,.16), transparent 70%);
}
.quote-card {
  margin-top: 26px; border: 1px solid rgba(255,232,31,.28); background: rgba(255,232,31,.05);
  padding: 20px 22px; border-radius: 6px;
}
.quote-card .q { font-size: 18px; color: var(--tx); font-style: italic; margin: 0 0 8px; }
.quote-card .a { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 860px){ .droid-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; } .droid-art { order: -1; } }

/* ---- mini triple (also inside) ---- */
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.mini {
  border: 1px solid var(--hairline); background: var(--panel); padding: 24px 22px;
  --cut: 14px;
}
.mini .ic { font-size: 22px; margin-bottom: 12px; display: block; }
.mini h3 { font-size: 17px; margin-bottom: 8px; }
.mini p { font-size: 14.5px; margin: 0; }
@media (max-width: 760px){ .triple { grid-template-columns: 1fr; } }

/* ---- Dev ---- */
.dev { border-top: 1px solid var(--hairline); }
.dev-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.dev-inner .lead { margin: 0 auto 8px; }
.disclaimer { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--tx-3); margin-top: 28px; line-height: 1.7; }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--hairline); }
.faq-grid { max-width: 860px; margin: 44px auto 0; }
.qa { border-bottom: 1px solid var(--hairline); }
.qa button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--tx);
  font-family: var(--font); font-weight: 600; font-size: 18px; padding: 22px 40px 22px 0; position: relative;
}
.qa button::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-family: var(--mono); font-size: 24px; transition: transform .2s ease; }
.qa.open button::after { content: "−"; }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa .ans p { padding: 0 0 22px; margin: 0; font-size: 15.5px; }

/* ---- Final CTA ---- */
.final { text-align: center; border-top: 1px solid var(--hairline); }
.final h2 { margin-bottom: 22px; }
.final .cta-row { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--hairline); padding: 46px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.foot-links a:hover { color: var(--cyan); }
.foot-note { font-family: var(--mono); font-size: 11.5px; color: var(--tx-3); margin-top: 26px; line-height: 1.7; max-width: 70ch; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ============================================================
   v2 additions: video hero, teletype terminal, tournament,
   Google Play badge
   ============================================================ */

/* ---- Google Play badge + "soon" tag ---- */
.appstore { position: relative; }
.appstore.googleplay svg { width: 24px; height: 24px; fill: none; }
.appstore .soon {
  position: absolute; top: -9px; right: -9px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--gold); color: #04121a; padding: 2px 8px; border-radius: 10px;
  box-shadow: 0 0 14px rgba(255,232,31,.4);
}

/* ---- Hero dual-phone (two battlefield themes, tap to switch) ---- */
.hero-duo { display: flex; justify-content: center; align-items: center; }
.phone-fig {
  display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0;
  cursor: pointer; --r: 0deg;
  transition: opacity .45s ease, filter .45s ease, transform .45s ease;
}
.phone-fig .phone { width: 236px; max-width: 44vw; position: relative; }
/* at this smaller mockup size the fixed bezel padding crops the video's
   edges under object-fit: cover (e.g. the battle-log strip hugging the
   screen edge) - contain guarantees the full recorded frame stays visible */
.phone-fig .phone video { object-fit: contain; }
.phone-fig figcaption {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--tx-3); transition: color .3s ease;
}
.phone-fig:first-child { --r: -5deg; margin-right: -26px; }
.phone-fig.back { --r: 5deg; }
.phone-fig.dim { opacity: .4; filter: saturate(.5) brightness(.7); transform: scale(.9) rotate(var(--r)); z-index: 1; }
.phone-fig.active { opacity: 1; transform: scale(1.03) rotate(0deg); z-index: 3; }
.phone-fig.active figcaption { color: var(--cyan); }
.phone-fig.back.active figcaption { color: var(--gold); }
/* play badge shown on the dimmed (paused) phone */
.phone-fig.dim .phone::before {
  content: "\25B6"; position: absolute; inset: 0; margin: auto; z-index: 6;
  width: 78px; height: 78px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff;
  background: rgba(5,7,13,.55);
  border: 2px solid rgba(0,230,255,.9);
  box-shadow: 0 0 0 6px rgba(0,230,255,.12), 0 0 30px rgba(0,230,255,.65);
  text-shadow: 0 0 10px rgba(0,230,255,.9);
  pointer-events: none;
  transform: translateX(4px);
  animation: playPulse 2s ease-in-out infinite;
}
@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(0,230,255,.12), 0 0 30px rgba(0,230,255,.65); }
  50% { box-shadow: 0 0 0 11px rgba(0,230,255,.04), 0 0 46px rgba(0,230,255,.9); }
}
.duo-hint {
  text-align: center; margin: 22px 0 0; font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--tx-3);
}
@media (max-width: 900px){ .phone-fig .phone { width: 208px; } .phone-fig:first-child { margin-right: -22px; } }
@media (max-width: 430px){
  .phone-fig .phone { width: 152px; }
  .phone-fig:first-child { margin-right: -14px; }
  .phone-fig figcaption { font-size: 9px; letter-spacing: .16em; }
  .phone-fig.dim .phone::before { width: 58px; height: 58px; font-size: 24px; }
}

/* ---- Teletype terminal (transmission log) ---- */
.terminal {
  max-width: 840px; margin: 0 auto; position: relative; overflow: hidden;
  border: 1px solid var(--hairline-strong); border-radius: 8px;
  background: linear-gradient(180deg, rgba(4,11,20,.92), rgba(4,7,13,.94));
  box-shadow: 0 0 50px rgba(0,230,255,.09), inset 0 0 70px rgba(0,230,255,.04);
}
.term-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--hairline); background: rgba(0,230,255,.04);
}
.term-bar .dots { display: flex; gap: 7px; }
.term-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--tx-3); display: block; }
.term-bar .dots i:nth-child(1){ background: var(--red); }
.term-bar .dots i:nth-child(2){ background: var(--gold); }
.term-bar .dots i:nth-child(3){ background: var(--green); }
.term-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .17em; color: var(--cyan); text-transform: uppercase; }
.term-body {
  padding: 28px 28px 10px; font-family: var(--mono);
  font-size: clamp(15px, 2vw, 20px); line-height: 1.95; color: var(--tx);
  position: relative; min-height: 300px;
}
.tline { display: block; }
.tline::before { content: "> "; color: var(--cyan); opacity: .55; }
.tline.hot { color: var(--red); }
.tline.strong { color: var(--cyan); text-shadow: 0 0 14px rgba(0,230,255,.5); }
.term-cursor {
  display: inline-block; width: 9px; height: 1.05em; background: var(--cyan);
  vertical-align: -2px; margin-left: 3px; box-shadow: 0 0 8px var(--cyan);
  animation: termblink 1s steps(1) infinite;
}
@keyframes termblink { 50% { opacity: 0; } }
.term-sig { padding: 4px 28px 24px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--tx-3); }
.terminal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,230,255,.04) 0, rgba(0,230,255,.04) 1px, transparent 1px, transparent 3px);
  opacity: .55;
}
@media (max-width: 560px){ .term-body { min-height: 360px; padding: 22px 18px 8px; } .term-sig { padding: 4px 18px 20px; } }

/* ---- Tournament-ready ---- */
.tournament { border-top: 1px solid var(--hairline); }
.tourney-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 24px; align-items: center; }
.tourney-grid .f-visual { display: flex; align-items: center; justify-content: flex-end; position: relative; padding-right: 6px; }
.tourney-grid .f-visual::before {
  content: ""; position: absolute; width: 118%; height: 96%; right: -6%; top: 2%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0,230,255,.20), transparent 72%);
  filter: blur(6px);
}
.tourney-grid .phone {
  width: 336px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 46px rgba(0,230,255,.22), 0 0 0 1px rgba(0,230,255,.10), inset 0 0 0 1px rgba(255,255,255,.04);
  animation: floaty 7s ease-in-out infinite;
}
.tcard { border: 1px solid var(--hairline); background: var(--panel); padding: 22px 26px; margin-bottom: 16px; --cut: 14px; }
.tcard:last-child { margin-bottom: 0; }
.tcard h3 { font-size: 18px; margin-bottom: 9px; display: flex; gap: 13px; align-items: baseline; line-height: 1.25; }
.tcard .tnum { color: var(--gold); font-size: 16px; flex: none; }
.tcard p { margin: 0; font-size: 15px; }
@media (max-width: 860px){
  .tourney-grid { grid-template-columns: 1fr; gap: 30px; }
  .tourney-grid .f-visual { order: -1; display: flex; justify-content: center; padding-right: 0; }
  .tourney-grid .phone { width: 300px; animation: none; }
}

/* ---- Founder credential badge (hri.gg) ---- */
.cred {
  display: inline-flex; align-items: center; gap: 16px; margin: 26px auto 0;
  border: 1px solid var(--hairline); background: var(--panel); padding: 12px 22px;
  border-radius: 6px; font-family: var(--mono); text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cred:hover { border-color: var(--cyan); box-shadow: 0 0 24px rgba(0,230,255,.16); transform: translateY(-1px); }
.cred-label {
  font-size: 10px; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tx-3); border-right: 1px solid var(--hairline); padding-right: 16px;
}
.cred-stats { font-size: 16px; letter-spacing: .03em; color: var(--tx-2); white-space: nowrap; }
.cred-stats b { font-weight: 700; }
.cred-stats b:first-of-type { color: var(--cyan); }
.cred-stats b.wr { color: var(--gold); }
.cred-stats .u { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.cred-stats .sep { color: var(--tx-3); margin: 0 8px; }

/* ---- Legal pages (privacy / terms) ---- */
.legal { padding-top: 56px; padding-bottom: 100px; }
.legal .wrap { max-width: 820px; }
.legal-head { text-align: center; margin-bottom: 40px; }
.legal-head h1 { font-size: clamp(32px, 5vw, 54px); }
.legal-head .legal-updated {
  display: block; margin-top: 14px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3);
}
.legal-card { border: 1px solid var(--hairline-strong); background: var(--panel); padding: 48px 52px; --cut: 20px; }
.legal-card h2 {
  font-size: 21px; color: var(--cyan); margin: 42px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.legal-card > *:first-child, .legal-card h2:first-child { margin-top: 0; }
.legal-card h3 {
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx-2); margin: 22px 0 10px; font-weight: 600;
}
.legal-card p { color: var(--tx-2); font-size: 15.5px; }
.legal-card strong { color: var(--gold); font-weight: 600; }
.legal-card ul { margin: 0 0 16px; padding: 0; list-style: none; }
.legal-card li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15.5px; color: var(--tx-2); }
.legal-card li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--cyan); }
.legal-card a:hover { text-decoration: underline; }
.legal-callout {
  border-left: 3px solid var(--gold); background: rgba(255, 232, 31, .05);
  padding: 18px 22px; margin: 20px 0 26px; border-radius: 0 6px 6px 0;
}
.legal-callout p { margin: 0; color: var(--tx-2); }
.legal-foot {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hairline); text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--tx-3);
}
@media (max-width: 640px){ .legal-card { padding: 36px 26px; } }

/* ---- 404 page ---- */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.notfound-panel { max-width: 560px; text-align: center; padding: 48px 36px; background: var(--panel); border: 1px solid var(--hairline-strong); }
.notfound-code { font-family: var(--mono); font-size: 13px; letter-spacing: .3em; color: var(--tx-3); text-transform: uppercase; margin-bottom: 18px; }
