/* Zoneception design system — ported byte-for-byte from the Claude Design
   handoff (Zoneception Landing.dc.html). Tokens first, then the shared
   components. Sibling of subception-web/system.css; where the two share a
   primitive the structure matches so fixes can be diffed across. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/Geist-Variable.ttf") format("truetype-variations"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/GeistMono-Variable.ttf") format("truetype-variations"); }

/* ---------- TOKENS : DARK (default) ---------- */
:root {
  --bg: #080C0A; --bg-2: #0D1411; --panel: #111A16;
  --glass-1: rgba(255, 255, 255, .06); --glass-2: rgba(255, 255, 255, .10); --glass-3: rgba(255, 255, 255, .14);
  --line-1: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .22); --hi: rgba(255, 255, 255, .40);
  --accent: #16C97A; --accent-2: #52E0A0; --accent-grad: linear-gradient(135deg, #16C97A, #52E0A0);
  --accent-ink: #16C97A;
  --pop: #FFB020; --pop-ink: #FFB020; --pop-tint: rgba(255, 176, 32, .14);
  --ok: #16C97A; --ok-tint: rgba(22, 201, 122, .14);
  --soon: #FFB020; --soon-tint: rgba(255, 176, 32, .14);
  --late: #FF6B63; --late-tint: rgba(255, 107, 99, .16);
  --tx: #F5F6FA; --tx-mut: #A0A3B1; --tx-faint: #6C6F7E;
  --on-accent: #04140C;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 18px 50px -12px rgba(0, 0, 0, .65);
  --sh-3: 0 48px 120px -40px rgba(0, 0, 0, .9); --glow: 0 10px 30px -8px rgba(22, 201, 122, .55);
}

/* ---------- TOKENS : LIGHT ---------- */
[data-theme="light"] {
  --bg: #F4F7F5; --bg-2: #EAF0EC; --panel: #FFFFFF;
  --glass-1: rgba(255, 255, 255, .70); --glass-2: rgba(255, 255, 255, .85); --glass-3: rgba(255, 255, 255, .95);
  --line-1: rgba(9, 26, 19, .10); --line-2: rgba(9, 26, 19, .16); --hi: rgba(255, 255, 255, .9);
  --accent: #0E9E5E; --accent-2: #0C8B54; --accent-grad: linear-gradient(135deg, #0E9E5E, #12B26B);
  --accent-ink: #076B41;
  --pop-ink: #B77400; --pop-tint: rgba(183, 116, 0, .12);
  --ok: #0B7A4A; --ok-tint: rgba(11, 122, 74, .12);
  --soon: #B77400; --soon-tint: rgba(183, 116, 0, .12);
  --late: #C4272C; --late-tint: rgba(196, 39, 44, .10);
  --tx: #0A1410; --tx-mut: #4B5A53; --tx-faint: #77857D;
  --sh-1: 0 1px 2px rgba(9, 26, 19, .06); --sh-2: 0 18px 40px -16px rgba(9, 26, 19, .18);
  --sh-3: 0 40px 90px -40px rgba(9, 26, 19, .25); --glow: 0 10px 26px -10px rgba(14, 158, 94, .45);
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: "Geist", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
a { color: var(--accent-2); text-decoration: none; }
[data-theme="light"] a { color: var(--accent); }
a:hover { color: var(--pop-ink); }
/* Gradient-filled and structural links keep their own ink in BOTH themes —
   the light-theme `a` rule above out-specifies bare classes, so re-assert. */
[data-theme] a.btn-primary, [data-theme] a.badge-store, [data-theme] .price-card a.cta,
[data-theme] a.skip-link { color: var(--on-accent); }
[data-theme] a.brand, [data-theme] a.btn-secondary { color: var(--tx); }
:focus-visible { outline: 2px solid var(--pop-ink); outline-offset: 3px; border-radius: 6px; }
details summary::-webkit-details-marker { display: none; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.num { font-variant-numeric: tabular-nums; }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 99; padding: 10px 16px;
  border-radius: 999px; background: var(--accent-grad); color: var(--on-accent);
  font-weight: 600; font-size: 14px; transition: top .15s ease;
}
.skip-link:focus-visible { top: 16px; color: var(--on-accent); }

/* ---------- AURORA ---------- */
.aurora { position: absolute; inset: 0; height: 1500px; overflow: hidden; pointer-events: none; }
.aurora--short { height: 500px; }
.aurora .blob {
  position: absolute; border-radius: 50%; filter: blur(40px);
}
.aurora .blob-1 {
  width: 1100px; height: 820px; left: -260px; top: -320px;
  background: radial-gradient(closest-side, rgba(22, 201, 122, .34), rgba(22, 201, 122, 0));
  animation: drift 22s ease-in-out infinite;
}
.aurora .blob-2 {
  width: 900px; height: 760px; right: -220px; top: -180px;
  background: radial-gradient(closest-side, rgba(82, 224, 160, .24), rgba(82, 224, 160, 0));
  animation: drift 28s ease-in-out infinite reverse;
}
.aurora .blob-3 {
  width: 520px; height: 420px; left: 46%; top: 420px;
  background: radial-gradient(closest-side, rgba(255, 176, 32, .16), rgba(255, 176, 32, 0));
}
.aurora .grain {
  position: absolute; inset: 0; opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* ---------- PILL NAV ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 40; padding: 20px 24px; display: flex; justify-content: center; }
.nav {
  width: 100%; max-width: 1200px; display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: var(--glass-2); border: 1px solid var(--line-1);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--hi), var(--sh-2);
}
.nav--narrow { max-width: 820px; gap: 16px; padding-right: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--tx); }
.brand:hover { color: var(--tx); }
.brand .mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-grad); box-shadow: var(--glow);
}
.brand .mark .zone { display: block; width: 14px; height: 14px; border-radius: 4px; border: 2px solid rgba(4, 20, 12, .85); }
.brand .mark .core { display: block; width: 4px; height: 4px; margin: 3px; border-radius: 1px; background: rgba(4, 20, 12, .85); }
.brand .name { font-weight: 600; letter-spacing: -.02em; font-size: 17px; }
.nav-links { display: flex; gap: 4px; margin-left: 6px; font-size: 14.5px; flex-wrap: wrap; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--tx-mut); }
.nav-links a:hover { background: var(--glass-1); color: var(--tx); }
.nav .spacer { flex: 1; }
.theme-toggle {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--glass-1); border: 1px solid var(--line-1); color: var(--tx-mut);
  font: inherit; font-size: 13.5px; cursor: pointer;
}
.theme-toggle:hover { color: var(--tx); border-color: var(--line-2); }
.theme-toggle .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-grad); box-shadow: inset -4px 0 0 var(--bg); }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 11px; padding: 13px 22px; border-radius: 14px;
  border: 0; background: var(--accent-grad); color: var(--on-accent); font: inherit; font-weight: 600;
  font-size: 15.5px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), var(--glow);
}
.btn-primary:hover { filter: brightness(1.06); color: var(--on-accent); }
.btn-nav { padding: 10px 18px; border-radius: 14px; font-size: 14.5px; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), var(--glow); }
.btn-secondary {
  display: inline-flex; align-items: center; padding: 16px 24px; border-radius: 14px;
  background: var(--glass-1); border: 1px solid var(--line-1); color: var(--tx);
  font-weight: 500; font-size: 16.5px; backdrop-filter: blur(18px);
}
.btn-secondary:hover { background: var(--glass-2); border-color: var(--line-2); color: var(--tx); }

/* App Store badge (generic recreation) */
.badge-store { display: inline-flex; align-items: center; gap: 11px; padding: 13px 22px; border-radius: 14px; background: var(--accent-grad); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), var(--glow); }
.badge-store:hover { filter: brightness(1.06); color: var(--on-accent); }
.badge-store .lines { display: grid; line-height: 1.1; text-align: left; }
.badge-store .pre { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.badge-store .main { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }

/* ---------- GLASS SURFACES ---------- */
.glass {
  border-radius: 24px; background: linear-gradient(180deg, var(--glass-2), var(--glass-1));
  border: 1px solid var(--line-1);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--hi), var(--sh-2);
}
.glass--xl { border-radius: 28px; }
.glass--flat { background: var(--glass-1); border-radius: 16px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- CHIPS & LABELS ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px;
  background: var(--glass-1); border: 1px solid var(--line-1); font-size: 13.5px; color: var(--tx-mut);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pop-ink); }
.eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); }
.ph-tag {
  display: inline-flex; padding: 5px 9px; border-radius: 8px; background: rgba(255, 176, 32, .14);
  color: #FFB020; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- STATUS BADGES (never colour alone) ---------- */
.status-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.status-badge.ok { background: rgba(22, 201, 122, .14); color: #16C97A; }
.status-badge.soon { background: rgba(255, 176, 32, .14); color: #FFB020; }
.status-badge.late { background: rgba(255, 107, 99, .16); color: #FF6B63; }

/* ---------- TYPE SCALE ---------- */
h1, h2, h3 { text-wrap: balance; }
.display { margin: 0; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.h2 { margin: 0; font-size: 38px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.lede { font-size: 19px; line-height: 1.6; color: var(--tx-mut); text-wrap: pretty; }
.sub { font-size: 17px; line-height: 1.6; color: var(--tx-mut); }
.faint { color: var(--tx-faint); }

/* ---------- FOOTER ---------- */
.site-footer {
  margin: 80px 0 0; padding: 28px 0 48px; border-top: 1px solid var(--line-1);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--tx-faint);
}
.site-footer .netsmiths { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .seal {
  display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 10px; font-weight: 700;
}
