/* Hazelink marketing site — shared tokens + chrome
   Dark + gold only. No purple, glass stack, or mesh. */

:root {
  --bg: #0A0A0B;
  --bg2: #111214;
  --surface: #17181B;
  --card: #1C1E22;
  --gold: #D4A94D;
  --gold-s: #E7C97A;
  --bronze: #8A6A2F;
  --text: #F5F5F5;
  --text-2: #B8B8B8;
  --muted: #7D818A;
  --dim: #3A3D45;
  --border: rgba(255,255,255,0.055);
  --b-gold: rgba(212,169,77,0.18);
  --b-gold2: rgba(212,169,77,0.35);
  --gold-xs: rgba(212,169,77,0.05);
  --gold-sm: rgba(212,169,77,0.10);
  --green: #3DBA6E;
  --px: clamp(18px, 5vw, 60px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;
  --sec-y: clamp(64px, 7vw, 112px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --e-0: none;
  --e-1: 0 1px 2px rgba(0,0,0,.4);
  --e-2: 0 12px 32px rgba(0,0,0,.45);

  --t-hero: clamp(36px, 6.5vw, 68px);
  --t-h2: clamp(26px, 3.6vw, 40px);
  --t-h3: 20px;
  --t-body: 16px;
  --t-sm: 14px;
  --t-mono: 11px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; }
html.lenis { height: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', 'General Sans', sans-serif;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  font-size: var(--t-body);
}

button, a, .n-link, .n-join, .n-dash, .n-discord, .btn-p, .btn-g,
.npop-btn, .cap-hdr, .feat-tab, .wl-btn, .fb-submit, .fb-type, .periods button {
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  html.js-cursor-ready body,
  html.js-cursor-ready a,
  html.js-cursor-ready button {
    cursor: none;
  }
}
@media not (hover: hover) {
  #cur-d, #cur-r { display: none !important; }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: .4;
}

@media (hover: hover) {
  #cur-d, #cur-r {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
  }
  #cur-d {
    width: 7px; height: 7px;
    background: var(--gold);
    mix-blend-mode: screen;
    transition: width .15s, height .15s;
  }
  #cur-r {
    width: 26px; height: 26px;
    border: 1px solid rgba(212,169,77,.28);
    z-index: 9998;
    transition: width .22s, height .22s, border-color .18s;
  }
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .22;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: clamp(8px, 1.5vh, 14px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - clamp(20px, 5vw, 72px));
  max-width: 1200px;
  height: 48px;
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  padding: 0 clamp(10px, 1.8vw, 18px);
  z-index: 1000;
  gap: 6px;
  direction: ltr;
}
nav.scrolled { border-color: rgba(255,255,255,.08); }

.n-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-right: auto;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.n-logo { width: 24px; height: 24px; object-fit: contain; }
.n-pulse { display: none; }
.n-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.n-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  margin: 0 clamp(8px, 1.5vw, 16px);
}
.n-link {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}
.n-link:hover, .n-active { color: var(--text); }

.n-discord {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: var(--r-sm);
  transition: color .2s;
  white-space: nowrap;
  border: 0;
}
.n-discord:hover { color: var(--text); }

.n-join {
  background: var(--gold);
  color: #0A0A0B;
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  align-self: center;
  flex: 0 0 auto;
  transition: background .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
}
.n-join-arrow {
  display: inline-flex;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  flex: 0 0 10px;
}
.n-join-arrow svg { display: block; width: 10px; height: 10px; }
.n-join:hover { background: var(--gold-s); }

.n-dash {
  background: transparent;
  color: var(--muted);
  font-family: 'General Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--r-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s;
}
.n-dash:hover { color: var(--text); }

.n-ham {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 9px;
  color: var(--muted);
  align-items: center;
  justify-content: center;
}
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-controls { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.drawer-curr-sel, .drawer-lang-sel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'General Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  outline: none;
  flex: 1;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}
.drawer-curr-sel:focus, .drawer-lang-sel:focus { border-color: var(--b-gold); }
.drawer-curr-sel option, .drawer-lang-sel option { background: var(--card); color: var(--text); }

.drawer {
  position: fixed;
  inset: 0;
  background: rgba(10,10,11,.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
  direction: ltr;
}
.drawer.open { opacity: 1; pointer-events: all; }
.drawer .n-link {
  font-size: 22px;
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--muted);
}
.drawer .n-link:hover { color: var(--text); }
.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 7px 11px;
  color: var(--muted);
  font-size: 14px;
}
.drawer-theme {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 980px) {
  .n-links, .n-discord, .npop-wrap, .n-dash, #themeToggleBtn { display: none !important; }
  .n-ham { display: flex !important; }
}

/* ── LAYOUT ── */
main {
  position: relative;
  z-index: 10;
  padding-top: calc(56px + var(--safe-t) + clamp(8px, 1.5vh, 14px));
}
.sec {
  padding: var(--sec-y) var(--px);
  position: relative;
  overflow: hidden;
}
.sec + .sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--px);
  right: var(--px);
  height: 1px;
  background: var(--border);
}
.sec-scene {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.dep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 55% at var(--gx,50%) var(--gy,50%), rgba(212,169,77,.04) 0%, transparent 68%);
  transform: translateY(var(--py, 0px));
  transition: transform .08s linear;
}
.sec > *:not(.dep) { position: relative; z-index: 1; }

.lbl {
  font-size: var(--t-mono);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: monospace;
}
.lbl::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}
.lbl-id { color: var(--dim); margin-left: 2px; }

h1 {
  font-family: 'General Sans', sans-serif;
  font-size: var(--t-hero);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
h2 {
  font-family: 'General Sans', sans-serif;
  font-size: var(--t-h2);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.028em;
  margin-bottom: 14px;
}
h3 {
  font-family: 'General Sans', sans-serif;
  font-size: var(--t-h3);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.018em;
  margin-bottom: 12px;
}
.body-t {
  color: var(--text-2);
  font-size: var(--t-body);
  line-height: 1.6;
  max-width: 62ch;
}

.btn-p, .btn-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background .15s, border-color .18s, color .18s;
}
.btn-p {
  background: var(--gold);
  color: #0A0A0B;
  font-weight: 600;
  border: none;
}
.btn-p:hover { background: var(--gold-s); }
.btn-g {
  background: transparent;
  color: var(--text-2);
  font-weight: 500;
  border: 1px solid var(--border);
}
.btn-g:hover { border-color: rgba(255,255,255,.12); color: var(--text); }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-left { display: flex; flex-direction: column; justify-content: center; }
.hero-sub {
  color: var(--text-2);
  font-size: var(--t-body);
  line-height: 1.55;
  max-width: 48ch;
  margin-bottom: 28px;
}
.hero-shot {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #0A0A0B;
  box-shadow: var(--e-2);
}
.shot-note {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 10px;
}
#sec-hero .rev, #sec-hero .hero-left, #sec-hero .hero-right {
  opacity: 1 !important;
  transform: none !important;
}

/* ── PROOF STRIP ── */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  min-height: 48px;
  padding: 12px var(--px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  position: relative;
  z-index: 10;
}
.proof-strip b { color: var(--text); font-weight: 500; }
.proof-strip a { color: var(--text-2); text-decoration: none; }
.proof-strip a:hover { color: var(--text); }

/* ── INLINE DEMO ── */
.demo-host {
  position: relative;
  margin: var(--s4) auto 0;
  overflow: hidden;
}
.demo-host.is-desktop {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #0A0A0B;
}
.iphone {
  position: relative;
  box-sizing: border-box;
  width: 468px;
  height: 984px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 68px;
  background: linear-gradient(165deg, #5a5a5e 0%, #2a2a2e 18%, #1a1a1c 55%, #3a3a3e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 0 0 3px #0a0a0b,
    0 24px 60px rgba(0,0,0,.45);
}
.iphone-glass {
  width: 440px;
  height: 956px;
  border-radius: 54px;
  overflow: hidden;
  background: #0A0A0B;
  display: flex;
  flex-direction: column;
}
.iphone-status {
  position: relative;
  height: 54px;
  flex: none;
}
.iphone-island {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 126px;
  height: 37px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 20px;
}
.iphone-island::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6aa0d0, #1a3050 55%, #05080e 80%);
}
.demo-host iframe {
  display: block;
  width: 440px;
  height: 874px;
  border: 0;
  flex: none;
  background: #0A0A0B;
}
.iphone-chin {
  height: 28px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iphone-homebar {
  display: block;
  width: 140px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.38);
}
.iphone-btn {
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d0d0d4, #6e6e73);
}
.iphone-action { left: -2px; top: 168px; height: 28px; }
.iphone-vol-up { left: -2px; top: 220px; height: 52px; }
.iphone-vol-down { left: -2px; top: 284px; height: 52px; }
.iphone-power { right: -2px; top: 236px; height: 84px; }
.demo-host.is-desktop .iphone {
  padding: 0;
  border-radius: 16px;
  background: #0A0A0B;
  box-shadow: none;
}
.demo-host.is-desktop .iphone-btn,
.demo-host.is-desktop .iphone-status,
.demo-host.is-desktop .iphone-chin { display: none; }
.demo-host.is-desktop .iphone-glass,
.demo-host.is-desktop iframe {
  width: 1440px;
  height: 900px;
  border-radius: 16px;
}
.demo-note {
  font-family: monospace;
  font-size: var(--t-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.demo-coach {
  display: inline-flex;
  align-items: center;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #0A0A0B;
  background: var(--gold);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  margin: 0 0 var(--s3);
  border: 0;
}
.demo-coach[hidden] { display: none; }

#demo-embed #hz-demo {
  position: relative;
  inset: auto;
  z-index: 1;
  display: flex !important;
  min-height: min(70vh, 680px);
  height: min(70vh, 680px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #0A0A0B;
  box-shadow: var(--e-2);
}
#demo-embed #hz-demo .hzd-exit { display: none; }
body:has(#demo-embed #hz-demo).hz-demo-open { overflow: visible !important; }

/* ── WHAT IT DOES (tabs) ── */
.feat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: var(--s4);
  border-bottom: 1px solid var(--border);
}
.feat-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 18px;
  font-family: 'General Sans', sans-serif;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -.01em;
}
.feat-tab:hover { color: var(--text); }
.feat-tab[aria-selected="true"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.feat-frame {
  margin-top: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.feat-panel {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--s5);
  padding: var(--s4);
  align-items: center;
}
.feat-panel.is-on { display: grid; }
.feat-panel img {
  width: 100%;
  display: block;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: #0A0A0B;
}
.feat-k {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.feat-panel h3 { margin-bottom: 8px; }
.feat-panel p {
  color: var(--text-2);
  font-size: var(--t-sm);
  line-height: 1.6;
  max-width: 48ch;
}
.feat-spec {
  margin-top: var(--s3);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.feat-spec div {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.feat-spec div:last-child { border-bottom: 0; }
.feat-spec b { color: var(--text); font-weight: 500; }
@media (max-width: 720px) {
  .feat-panel, .feat-panel.is-on { grid-template-columns: 1fr; }
}

/* ── GET HAZELINK ── */
.get-stack { margin-top: var(--s3); max-width: 640px; display: grid; gap: var(--s3); }
.init-dl-grid { display: grid; gap: 10px; }
.init-dl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s;
}
.init-dl:hover { border-color: rgba(212,169,77,.4); }
.init-dl-ic {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: .04em;
}
.init-dl-ic.win { background: rgba(255,255,255,.05); }
.init-dl-ic.and { background: rgba(61,186,110,.1); }
.init-dl-body { flex: 1; min-width: 0; }
.init-dl-name { font-size: 13px; font-weight: 600; }
.init-dl-meta { font-size: 10px; color: var(--muted); margin-top: 2px; }
.init-dl-arr { color: var(--muted); font-size: 14px; }
.init-dl-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  flex-shrink: 0;
}
.init-dl-tag.rec { background: rgba(61,186,110,.14); color: var(--green); }
.gplay {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  min-height: 70px;
  padding: 8px 22px 8px 14px;
  background: #000;
  color: #fff;
  border: 1px solid #8a8a8a;
  border-radius: 8px;
  text-decoration: none;
  box-sizing: border-box;
}
.gplay:hover { border-color: #fff; }
.gplay svg { width: 34px; height: 34px; flex: 0 0 34px; display: block; }
.gplay-copy { display: flex; flex-direction: column; line-height: 1; }
.gplay-copy small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .4px;
  color: #fff;
}
.gplay-copy b {
  margin-top: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.3px;
  color: #fff;
}
.ios-pwa {
  padding: var(--s3);
  border-top: 1px solid var(--border);
}
.ios-pwa-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.ios-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
}
.ios-steps b { color: var(--text); }
.get-more {
  border-top: 1px solid var(--border);
  padding-top: var(--s3);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.get-more summary { color: var(--gold); list-style: none; }
.get-more summary::-webkit-details-marker { display: none; }
.get-more[open] summary { margin-bottom: 8px; }
.get-more a { color: var(--gold); text-decoration: none; }
.get-foot { font-size: 13px; color: var(--muted); }
.get-foot a { color: var(--gold); text-decoration: none; font-weight: 600; }

/* ── CAPABILITIES ── */
.cap-wrap { margin-top: var(--s5); }
.cap-cat { border-top: 1px solid var(--border); }
.cap-cat:last-child { border-bottom: 1px solid var(--border); }
.cap-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  background: none;
  border: 0;
  width: 100%;
  color: inherit;
  text-align: left;
  font: inherit;
}
.cap-left { display: flex; align-items: center; gap: 12px; }
.cap-num {
  font-family: monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: .12em;
}
.cap-name { font-size: 15px; font-weight: 500; }
.cap-tog { font-family: monospace; font-size: 13px; color: var(--muted); }
.cap-cat.open .cap-tog { transform: rotate(45deg); }
.cap-items { display: none; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.cap-cat.open .cap-items { display: grid; }
.cap-item {
  padding: 12px var(--s3) 12px 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cap-item:nth-child(even) { border-right: none; padding-left: var(--s3); }
.cap-item:nth-last-child(-n+2) { border-bottom: none; }
.cap-iname { font-size: 13px; margin-bottom: 2px; }
.cap-idesc { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 520px) {
  .cap-items { grid-template-columns: 1fr; }
  .cap-item, .cap-item:nth-child(even) { border-right: none; padding-left: 0; }
}

/* ── PRICING ── */
.periods { display: flex; gap: 8px; flex-wrap: wrap; margin: var(--s3) 0; }
.periods button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
}
.periods button.on {
  border-color: rgba(212,169,77,.45);
  color: var(--gold-s);
  background: rgba(212,169,77,.08);
}
.periods button b {
  color: var(--gold);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-left: 6px;
}

.pricing-grid, .price-compact, .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--s4);
  border-top: 1px solid var(--border);
}
.p-tier, .tier, .p-col {
  background: transparent;
  padding: var(--s4) 20px;
  border-right: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-tier:first-child, .tier:first-child, .p-col:first-child { padding-left: 0; }
.p-tier:last-child, .tier:last-child, .p-col:last-child { border-right: none; }
.p-tier.pro::before, .tier.featured::before, .p-col.featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.p-col.featured .price, .tier.featured .price { color: var(--gold); }
#tab-wake img, #tab-clipboard img { max-width: 260px; }
.tier-name, .name { font-family: 'General Sans', sans-serif; font-size: var(--t-h3); font-weight: 600; }
.tier-amt, .price {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
}
.price span, .tier-curr, .tier-period { font-size: 14px; color: var(--muted); font-weight: 500; }
.permo, .tier-note { color: var(--muted); font-size: 13px; min-height: 18px; }
.tag, .best-for { color: var(--muted); font-size: 15px; line-height: 1.45; }
.plus, .tier-mods-lbl {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.tier-mods { display: flex; flex-direction: column; }
.tier-mod {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.tier-mod:last-child { border-bottom: none; }
.mod-qty { font-family: monospace; font-size: 10px; color: var(--muted); margin-left: auto; }
.tier ul, .p-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--text-2);
}
.tier ul li::before, .p-col ul li::before {
  content: '·';
  color: var(--gold);
  margin-right: 8px;
}
.tier-cta, .cta, .p-col .cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-family: 'General Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.tier-cta.primary, .tier.featured .cta, .p-col.featured .cta {
  background: var(--gold);
  color: #0A0A0B;
  border: none;
}
.price-more {
  margin-top: var(--s4);
  font-family: monospace;
  font-size: 12px;
  text-align: center;
}
.price-more a { color: var(--gold); text-decoration: none; }
.note { margin-top: 28px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.faq { margin-top: 48px; max-width: 62ch; }
.faq h2 { margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--border); padding: 14px 0; }
.faq summary { font-weight: 600; }
.faq p { color: var(--muted); margin-top: 8px; line-height: 1.55; }

@media (max-width: 900px) {
  .pricing-grid, .price-compact, .grid { grid-template-columns: 1fr; }
  .p-tier, .tier, .p-col { border-right: none; border-bottom: 1px solid var(--border); padding-left: 0; }
  .p-tier:last-child, .tier:last-child, .p-col:last-child { border-bottom: none; }
}

/* ── WAITLIST / FEEDBACK ── */
.wl-form, .split-2 { display: flex; gap: 8px; max-width: 440px; }
.wl-form { margin: 16px 0; }
@media (max-width: 500px) { .wl-form { flex-direction: column; max-width: 100%; } }
.wl-input, .fb-input {
  flex: 1;
  width: 100%;
  background: var(--surface);
  color: var(--text);
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}
.wl-input:focus, .fb-input:focus { border-color: var(--b-gold2); }
.wl-btn, .fb-submit {
  background: var(--gold);
  color: #0A0A0B;
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
}
.wl-success, .fb-success {
  display: none;
  color: var(--green);
  font-weight: 500;
  margin-top: 12px;
}
.wl-success.show, .fb-success.show { display: flex; }
.fb-wrap { max-width: 600px; }
.fb-types { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0; }
.fb-type {
  font-family: monospace;
  font-size: 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--r-sm);
  letter-spacing: .06em;
}
.fb-type.active { background: var(--gold-xs); border-color: var(--b-gold); color: var(--gold); }
textarea.fb-input { resize: vertical; min-height: 80px; margin-top: 10px; }
.fb-input + .fb-input, .fb-input { margin-bottom: 10px; display: block; }
.fb-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: var(--s5);
  align-items: start;
  margin-top: var(--s4);
}
@media (max-width: 760px) { .fb-split { grid-template-columns: 1fr; } }
.comm-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comm-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.comm-links a:hover { color: var(--gold); }
.comm-links span {
  color: var(--dim);
  font-family: monospace;
  font-size: 10px;
  letter-spacing: .08em;
  margin-right: 8px;
}
.wl-closed {
  margin-top: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  text-align: left;
}
.wl-closed-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.wl-closed-body { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* ── FINAL ── */
.final {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: calc(var(--sec-y) + var(--safe-b));
}
.final-sub {
  color: var(--text-2);
  font-size: var(--t-body);
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 24px;
}

/* ── FOOTER ── */
footer {
  padding: clamp(36px, 6vw, 60px) var(--px);
  padding-bottom: calc(clamp(28px, 4vw, 48px) + var(--safe-b));
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'General Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.foot-links { display: flex; gap: clamp(14px, 2.5vw, 28px); flex-wrap: wrap; }
.foot-link { font-size: 11px; color: var(--muted); text-decoration: none; }
.foot-link:hover { color: var(--text); }
.foot-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.foot-copy, .foot-ver {
  font-family: monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .04em;
}
.foot-ver { display: flex; align-items: center; gap: 6px; }

/* ── POPUPS ── */
.npop-wrap { position: relative; }
.npop-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  font-family: 'General Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 6px 9px;
  white-space: nowrap;
}
.npop-wrap.open .npop-btn { border-color: var(--b-gold); color: var(--gold); }
.npop-chev { width: 10px; height: 10px; flex-shrink: 0; transition: transform .2s; }
.npop-wrap.open .npop-chev { transform: rotate(180deg); }
.npop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(16,17,20,0.97);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px) scale(.96);
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 3000;
}
.npop-wrap.open .npop { opacity: 1; transform: none; pointer-events: all; }
.npop-header {
  font-family: monospace;
  font-size: 8px;
  color: var(--dim);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 8px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.npop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; width: 280px; }
.npop-curr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 4px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
}
.npop-curr-item:hover { background: rgba(255,255,255,.05); }
.npop-curr-item.selected { background: rgba(212,169,77,.1); border-color: var(--b-gold); }
.npop-curr-flag { font-size: 16px; line-height: 1; }
.npop-curr-code { font-family: monospace; font-size: 8px; color: var(--muted); }
.npop-curr-item.selected .npop-curr-code { color: var(--gold); }
.npop-list { display: flex; flex-direction: column; gap: 2px; width: 180px; }
.npop-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1px solid transparent;
}
.npop-lang-item:hover { background: rgba(255,255,255,.05); }
.npop-lang-item.selected { background: rgba(212,169,77,.1); border-color: var(--b-gold); }
.npop-lang-flag { font-size: 16px; line-height: 1; }
.npop-lang-name { font-family: 'General Sans', sans-serif; font-size: 12px; color: var(--muted); }
.npop-lang-code { font-family: monospace; font-size: 9px; color: var(--dim); margin-left: auto; }
.npop-lang-item.selected .npop-lang-name,
.npop-lang-item.selected .npop-lang-code { color: var(--gold); }

.price-omr { display: inline; }
.price-converted { display: none; }
#rateNote { font-family: monospace; font-size: 9px; color: var(--muted); }

/* ── ABOUT ── */
.timeline { margin-top: var(--s5); }
.tl-item {
  padding: var(--s4) 0 var(--s4) 28px;
  border-top: 1px solid var(--border);
  position: relative;
}
.tl-item:last-child { border-bottom: 1px solid var(--border); }
.tl-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.tl-year { font-family: monospace; font-size: 10px; color: var(--gold); letter-spacing: .14em; margin-bottom: 6px; }
.tl-title { font-size: 16px; font-weight: 500; margin-bottom: 5px; }
.tl-desc { font-size: var(--t-sm); color: var(--text-2); line-height: 1.6; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--s5);
  border-top: 1px solid var(--border);
}
.a-stat { padding: var(--s4) var(--s3) var(--s4) 0; border-right: 1px solid var(--border); }
.a-stat:last-child { border-right: none; }
.a-stat-n {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--gold);
}
.a-stat-l { font-size: 10px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-family: monospace; margin-top: 3px; }
@media (max-width: 520px) {
  .stat-row { grid-template-columns: 1fr; }
  .a-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .a-stat:last-child { border-bottom: none; }
}
.founder-card { margin-top: var(--s5); padding: var(--s4) 0; border-top: 1px solid var(--border); }
.founder-name { font-family: 'General Sans', sans-serif; font-size: clamp(18px, 3vw, 26px); font-weight: 600; margin-bottom: 6px; }
.founder-role { font-family: monospace; font-size: 10px; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.founder-quote { font-size: var(--t-sm); color: var(--text-2); line-height: 1.75; max-width: 62ch; }
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: var(--s5);
  border-top: 1px solid var(--border);
}
.vision-cell {
  padding: var(--s4) var(--s4) var(--s4) 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vision-cell:nth-child(even) { border-right: none; padding-left: var(--s4); }
.vision-cell:nth-last-child(-n+2) { border-bottom: none; }
.vision-icon { font-size: 18px; margin-bottom: 10px; }
.vision-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.vision-desc { font-size: var(--t-sm); color: var(--text-2); line-height: 1.6; }
@media (max-width: 520px) {
  .vision-grid { grid-template-columns: 1fr; }
  .vision-cell, .vision-cell:nth-child(even) { border-right: none; padding-left: 0; }
}
.rm-preview { margin-top: var(--s5); border-top: 1px solid var(--border); }
.rm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.rm-row-title { font-size: 14px; font-weight: 500; }
.rm-pill {
  display: inline-flex;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.rm-pill.released { color: var(--green); }
.rm-pill.progress { color: var(--gold); }
.rm-pill.testing { color: var(--bronze); }
.rm-pill.planned { color: var(--muted); }

/* ── REVEALS ── */
.rev {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.rev.on { opacity: 1; transform: none; }
.rev.d1 { transition-delay: .1s; }
.rev.d2 { transition-delay: .2s; }
.rev.d3 { transition-delay: .32s; }

@keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .18; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: max(72px, calc(52px + var(--safe-t))); }
  .foot-top, .foot-bot { flex-direction: column; align-items: center; text-align: center; }
  .foot-links { justify-content: center; }
  nav { top: max(8px, var(--safe-t)); }
  h1, h2 { text-wrap: balance; }
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: var(--s4);
}
.hot-card {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 18px 16px 16px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .18s, background .18s;
}
.hot-card:hover { border-color: rgba(212,169,77,.55); background: var(--card); }
.hot-tag {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.hot-card h3 { font-size: 16px; font-weight: 600; margin: 10px 0 8px; letter-spacing: -.02em; }
.hot-card p { color: var(--text-2); font-size: 13px; line-height: 1.5; margin: 0; }
@media (max-width: 860px) {
  .hot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rev, .hero-left, .hero-right { opacity: 1 !important; transform: none !important; }
}
