/* ============================================================
   BBXLABS v3 — Cinematic Dark, premium
   Inter Tight + Fraunces italic · soft indigo glow · modular
   ============================================================ */

:root {
  --bg: #07080B;
  --bg-2: #0B0C10;
  --surface: #101218;
  --surface-2: #161922;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.12);
  --text: #EDEDEF;
  --muted: #8B8D94;
  --dim: #56575D;
  --accent: #7C8CF8;
  --accent-2: #A9B5FF;
  --accent-ink: #07080B;
  --glow: rgba(124,140,248,0.18);
  --glow-soft: rgba(124,140,248,0.08);
  --display: "Inter Tight", "Inter", -apple-system, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --serif: "Fraunces", Georgia, serif;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-pepza {
  --accent: #7DD3A0;
  --accent-2: #B6E8C8;
  --glow: rgba(125,211,160,0.16);
  --glow-soft: rgba(125,211,160,0.07);
}
.theme-steddy {
  --accent: #10B981;
  --accent-2: #06B6D4;
  --glow: rgba(16,185,129,0.18);
  --glow-soft: rgba(16,185,129,0.08);
}
.theme-smokza {
  --accent: #7CC22D;
  --accent-2: #A8E05F;
  --glow: rgba(124,194,45,0.18);
  --glow-soft: rgba(124,194,45,0.08);
}
.theme-cigless {
  --accent: #4DBF6E;
  --accent-2: #7DD99A;
  --glow: rgba(77,191,110,0.18);
  --glow-soft: rgba(77,191,110,0.08);
}
.theme-ampy {
  --accent: #F29E2E;
  --accent-2: #F5C24E;
  --glow: rgba(242,158,46,0.18);
  --glow-soft: rgba(242,158,46,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200; transition: width .1s linear;
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 24px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 20px; border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--text) !important; font-size: 13px; font-weight: 500;
  transition: all .25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink) !important; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 100px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-bg::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, var(--glow), transparent 60%);
  filter: blur(40px);
}
.hero-bg::after {
  content: ""; position: absolute; bottom: -30%; left: -10%;
  width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, var(--glow-soft), transparent 60%);
  filter: blur(60px);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%);
  opacity: 0.4;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 100px;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  margin-bottom: 40px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-eyebrow span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 8.5vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin-bottom: 32px;
}
.hero h1 .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-sub {
  max-width: 520px; color: var(--muted); font-size: 19px; line-height: 1.55;
  margin-bottom: 48px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  padding: 15px 28px; border-radius: 100px;
  border: 1px solid var(--line-2); color: var(--text);
  transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-solid {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  font-weight: 600;
}
.btn-solid:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 8px 30px var(--glow); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.magnetic { display: inline-block; transition: transform .2s var(--ease); }

/* ---------- section ---------- */
.section { padding: 140px 0; position: relative; }
.section-head { margin-bottom: 80px; max-width: 720px; }
.section-head .label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.section-head .label .ln { width: 32px; height: 1px; background: var(--accent); }
.section-head .label span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em;
}
.section-head h2 .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 24px; max-width: 560px; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}
.stat { padding: 44px 40px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--display); font-weight: 800;
  font-size: 64px; line-height: 1; letter-spacing: -0.04em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--text), var(--muted));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .num .plus, .stat .num .suf { color: var(--accent); -webkit-text-fill-color: var(--accent); background: none; }
.stat .lbl { font-size: 14px; color: var(--muted); }

/* ---------- manifesto ---------- */
.manifesto {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 4vw, 52px); line-height: 1.25; letter-spacing: -0.025em;
  max-width: 22ch;
}
.manifesto .muted { color: var(--dim); }
.manifesto .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.manifesto-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; }
.manifesto-side { border-left: 1px solid var(--line); padding-left: 40px; }
.manifesto-side p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.manifesto-side .sig { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.08em; }

/* ---------- principles (modular) ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.principle { padding: 48px 44px; background: var(--bg); transition: background .3s; }
.principle:hover { background: var(--surface); }
.principle .p-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 24px; }
.principle h3 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin-bottom: 14px; }
.principle p { color: var(--muted); font-size: 15px; max-width: 38ch; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  padding: 44px 36px; border: 1px solid var(--line); border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  transition: border-color .3s, transform .3s var(--ease);
}
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step .step-i { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); margin-bottom: 28px; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- app showcase ---------- */
.apps { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--surface) 30%, transparent); }
.app-item {
  display: grid; grid-template-columns: 60px 200px 1fr auto; gap: 32px; align-items: center;
  padding: 36px 44px; border-bottom: 1px solid var(--line);
  transition: background .3s; position: relative;
}
.app-item:last-child { border-bottom: none; }
.app-item:hover { background: color-mix(in srgb, var(--accent) 4%, var(--bg)); }
.app-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.app-item:hover::before { transform: scaleY(1); }
.app-item .n { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.app-item .name { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.03em; }
.app-item .name .go { color: var(--dim); transition: color .25s, transform .25s; display: inline-block; }
.app-item:hover .name .go { color: var(--accent); transform: translate(4px, -4px); }
.app-item .desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 52ch; }
.app-item .stores { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.app-item .stores a {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  text-decoration: none; white-space: nowrap;
  transition: color .2s, transform .2s;
}
.app-item .stores a:hover { color: var(--accent); transform: translateX(2px); }
.app-item .stores a .go { font-size: 11px; opacity: 0.6; }
.app-item .stores a:hover .go { opacity: 1; }

/* ---------- feature list (pepza) ---------- */
.features { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--surface) 30%, transparent); }
.feature-row {
  display: grid; grid-template-columns: 80px 280px 1fr; gap: 32px; align-items: start;
  padding: 32px 44px; border-bottom: 1px solid var(--line); transition: background .25s;
}
.feature-row:last-child { border-bottom: none; }
.feature-row:hover { background: color-mix(in srgb, var(--accent) 3%, var(--bg)); }
.feature-row .n { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 6px; }
.feature-row h4 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.feature-row p { color: var(--muted); font-size: 15px; max-width: 56ch; }

/* ---------- app hero (pepza) ---------- */
.app-hero { position: relative; padding: 160px 0 100px; overflow: hidden; border-bottom: 1px solid var(--line); }
.app-hero .hero-bg { position: absolute; inset: 0; }
.app-hero .hero-bg::before { content: ""; position: absolute; top: 10%; right: -5%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; background: radial-gradient(circle, var(--glow), transparent 60%); filter: blur(40px); }
.app-preview {
  margin-top: 80px; position: relative; display: flex; justify-content: center;
}
.device {
  width: 100%; max-width: 320px; aspect-ratio: 9/19.2;
  border: 1px solid var(--line-2); border-radius: 36px;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  padding: 12px; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px var(--glow-soft), inset 0 1px 0 rgba(255,255,255,0.06);
}
.device::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #000; border-radius: 14px; z-index: 3; }
.device .screen {
  width: 100%; height: 100%; border-radius: 26px; background: var(--bg);
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--dim); font-family: var(--mono); font-size: 11px; text-align: center; padding: 20px;
}
.device .screen .ph { max-width: 200px; }
.device .screen .ph .ico { font-size: 32px; margin-bottom: 12px; color: var(--accent); }

/* ---------- privacy block (pepza) ---------- */
.privacy-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.privacy-block .lead { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -0.025em; max-width: 18ch; }
.privacy-block .lead .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.privacy-list { display: flex; flex-direction: column; gap: 28px; }
.privacy-item { padding-left: 24px; border-left: 2px solid var(--line); transition: border-color .25s; }
.privacy-item:hover { border-left-color: var(--accent); }
.privacy-item h5 { font-family: var(--display); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.privacy-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- disclaimer ---------- */
.disclaimer {
  border: 1px solid var(--line-2); border-radius: 20px; padding: 36px 40px;
  background: color-mix(in srgb, var(--surface) 50%, transparent);
  border-left: 3px solid var(--accent);
}
.disclaimer .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.disclaimer p { color: var(--muted); font-size: 15px; max-width: 72ch; }

/* ---------- faq ---------- */
.faq { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--surface) 30%, transparent); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 44px;
  font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em;
  transition: color .2s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { color: var(--accent); font-size: 22px; transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .body { padding: 0 44px 32px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* ---------- contact ---------- */
.contacts { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--surface) 30%, transparent); }
.contact-row {
  display: grid; grid-template-columns: 60px 280px 1fr auto; gap: 32px; align-items: center;
  padding: 36px 44px; border-bottom: 1px solid var(--line); transition: background .25s;
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: color-mix(in srgb, var(--accent) 3%, var(--bg)); }
.contact-row .n { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.contact-row h4 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.contact-row p { color: var(--muted); font-size: 14.5px; }
.contact-row .mail { font-family: var(--mono); font-size: 13px; color: var(--accent); }

/* ---------- prose (legal) ---------- */
.page-head { padding: 180px 0 80px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .hero-bg { position: absolute; inset: 0; }
.page-head .hero-bg::before { content: ""; position: absolute; top: 0; right: -10%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: radial-gradient(circle, var(--glow-soft), transparent 60%); filter: blur(40px); }
.page-head .container { position: relative; z-index: 2; }
.page-head .label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.page-head .label .ln { width: 32px; height: 1px; background: var(--accent); }
.page-head .label span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 20px; }
.page-head h1 .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.page-head .meta { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.08em; }
.prose { max-width: 740px; padding: 90px 0 50px; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; margin: 56px 0 18px; }
.prose h2 .n { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); margin-right: 14px; font-size: 22px; }
.prose h3 { font-size: 17px; margin: 28px 0 10px; font-weight: 600; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.prose ul { color: var(--muted); margin: 0 0 16px 22px; font-size: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- outro ---------- */
.outro { padding: 160px 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.outro .hero-bg { position: absolute; inset: 0; }
.outro .hero-bg::before { content: ""; position: absolute; bottom: -20%; left: 50%; transform: translateX(-50%); width: 80vw; height: 60vw; max-width: 900px; max-height: 700px; background: radial-gradient(ellipse, var(--glow), transparent 60%); filter: blur(40px); }
.outro .container { position: relative; z-index: 2; }
.outro .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; display: block; }
.outro h2 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 48px; }
.outro h2 .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }

/* ---------- footer ---------- */
.footer { padding: 100px 0 48px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-brand p { color: var(--dim); font-size: 14px; max-width: 280px; margin-top: 18px; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.08em; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }
.reveal.d6 { transition-delay: .48s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .principles { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-side { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .app-item { grid-template-columns: 1fr; gap: 14px; padding: 32px 28px; }
  .app-item .n, .app-item .stores { text-align: left; }
  .app-item .stores { flex-wrap: wrap; gap: 14px; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 28px; }
  .feature-row .n { display: none; }
  .privacy-block { grid-template-columns: 1fr; gap: 40px; }
  .contact-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 28px; }
  .contact-row .n { display: none; }
  .faq-item summary { padding: 24px 28px; font-size: 17px; }
  .faq-item .body { padding: 0 28px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 120px 0 80px; }
  .section { padding: 90px 0; }
}

/* ---------- mobile nav (<=640) ---------- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .app-preview { margin-top: 48px; }
  .device { max-width: 240px; }
  .section-head h2 { font-size: 32px; }
  .outro h2 { font-size: 36px; }
}

/* ---------- print ---------- */
@media print {
  .nav, .progress, .hero-bg, .app-preview { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 40px 0; }
}

/* ---------- featured apps ---------- */
.featured-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.featured-card {
      padding: 10px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 30%, transparent);
  text-decoration: none; color: inherit;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.featured-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 24px 70px rgba(0,0,0,0.45), 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent);
}
.featured-img { overflow: hidden; aspect-ratio: 16/9; background: var(--bg-2); position: relative; }
.featured-img img { display: block; width: 100%; height: 100%; object-fit: fill; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.featured-card:hover .featured-img img { transform: scale(1.05); }
.featured-body { padding: 36px 40px 40px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.featured-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.featured-num {
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.05em;
}
.featured-tag {
  font-family: var(--mono); font-size: 10px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border: 1px solid var(--line); border-radius: 100px;
}
.featured-status {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 100px;
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
}
.featured-status.live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
.featured-status.live {
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.featured-status.soon {
  color: var(--dim); border: 1px solid var(--line);
}
.featured-title { display: flex; flex-direction: column; gap: 4px; }
.featured-body h3 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.025em; line-height: 1.1; }
.featured-sub {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  letter-spacing: 0.03em;
}
.featured-body p { color: var(--muted); font-size: 15px; line-height: 1.7; flex: 1; }
.featured-links { display: flex; gap: 28px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.featured-links a {
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  text-decoration: none; transition: opacity .2s, transform .2s;
}
.featured-links a:hover { opacity: 0.8; transform: translateX(2px); }
.featured-links span {
  font-family: var(--mono); font-size: 13px; color: var(--dim);
  transition: color .2s, transform .2s;
}
.featured-card:hover .featured-links span { color: var(--muted); transform: translateX(2px); }
.featured-more {
  margin-top: 48px; text-align: center;
}
.featured-more a {
  font-family: var(--mono); font-size: 14px; color: var(--dim);
  text-decoration: none; transition: color .2s;
}
.featured-more a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .featured-apps { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 28px 32px; gap: 18px; }
  .featured-body h3 { font-size: 28px; }
  .featured-links { gap: 20px; }
}

/* Subscription table (terms.html) */
.sub-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 15px; }
.sub-table th { text-align: left; padding: 10px 14px; background: rgba(255,255,255,.04); color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.08); }
.sub-table td { padding: 12px 14px; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.05); }
.sub-table tbody tr:last-child td { border-bottom: none; }
.sub-table strong { color: var(--text); }
