/* ==========================================================================
   OnlyOffline — "The Vault" Design System (v2 — with light/dark mode)
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------- Dark Theme (default) ---------- */
:root,
[data-theme="dark"] {
  --ink: #050505;
  --ink-light: #0c0c0c;
  --ink-raised: #141414;
  --ink-elevated: #1c1c1c;
  --ink-border: rgba(255,255,255,0.06);
  --ink-border-hover: rgba(255,255,255,0.12);

  --cream: #F5EDE4;
  --cream-dim: #B8B0A6;
  --cream-muted: #787068;
  --cream-faint: #4A443E;

  --rose: #E8A0A0;
  --rose-bright: #F0B8B8;
  --rose-dark: #C07070;
  --rose-glow: rgba(232,160,160,0.12);

  --safe: #7DB88F;
  --danger: #D87D7D;

  --grain-opacity: 0.035;
  --watermark-opacity: 0.015;
  --selection-bg: rgba(232,160,160,0.25);
}

/* ---------- Light Theme ---------- */
[data-theme="light"] {
  --ink: #FAFAF8;
  --ink-light: #F2F0EC;
  --ink-raised: #EDEAE4;
  --ink-elevated: #E5E2DC;
  --ink-border: rgba(0,0,0,0.08);
  --ink-border-hover: rgba(0,0,0,0.15);

  --cream: #1A1714;
  --cream-dim: #3D3832;
  --cream-muted: #7A7268;
  --cream-faint: #B0A89E;

  --rose: #B85050;
  --rose-bright: #D06060;
  --rose-dark: #8C3838;
  --rose-glow: rgba(184,80,80,0.1);

  --safe: #3D8B55;
  --danger: #C05050;

  --grain-opacity: 0.02;
  --watermark-opacity: 0.03;
  --selection-bg: rgba(184,80,80,0.2);
}

/* ---------- Fonts ---------- */
:root {
  --font-display: 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-ui: 'Syne', 'Helvetica Neue', Helvetica, sans-serif;
  --font-brand: 'Macondo', cursive;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
  --nav-h: 64px;
  --page-pad: max(24px, 5vw);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-ui);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
  transition: background 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--selection-bg); color: var(--cream); }

/* ---------- Film Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  transition: opacity 0.4s ease;
}

/* ---------- OO Watermark ---------- */
.oo-watermark {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0; pointer-events: none;
  opacity: var(--watermark-opacity);
  transition: opacity 0.4s ease;
}
.oo-watermark svg {
  width: 70vw; max-width: 900px; height: auto;
  color: var(--cream);
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Entrance Orchestration ---------- */
[data-entrance] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-entrance].entered { opacity: 1; transform: none; }

/* ---------- Source Links ---------- */
.source-link {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--cream-muted);
  text-decoration: underline;
  text-decoration-color: var(--ink-border-hover);
  transition: color 0.3s;
}
.source-link:hover { color: var(--rose); }

/* ---------- Common ---------- */
.tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rose);
  border: 1px solid rgba(232,160,160,0.2);
  background: rgba(232,160,160,0.04);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

[data-theme="light"] .tag {
  border-color: rgba(184,80,80,0.25);
  background: rgba(184,80,80,0.06);
}

h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
}
h2 em { font-style: italic; color: var(--rose); }

.pill {
  font-family: var(--font-ui);
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 4px 12px; border-radius: 100px;
}
.pill-danger { color: var(--danger); background: rgba(216,125,125,0.1); border: 1px solid rgba(216,125,125,0.15); }
.pill-safe { color: var(--safe); background: rgba(125,184,143,0.1); border: 1px solid rgba(125,184,143,0.15); }

[data-theme="light"] .pill-danger { background: rgba(192,80,80,0.08); border-color: rgba(192,80,80,0.2); }
[data-theme="light"] .pill-safe { background: rgba(61,139,85,0.08); border-color: rgba(61,139,85,0.2); }

.domain-tag {
  font-size: 0.6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--cream-muted);
  padding: 3px 8px;
  border: 1px solid var(--ink-border);
  border-radius: 4px;
}

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: none; border: 1px solid var(--ink-border);
  border-radius: 8px; cursor: pointer;
  color: var(--cream-muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.theme-toggle:hover {
  color: var(--cream);
  border-color: var(--ink-border-hover);
  background: var(--ink-raised);
}

[data-theme="dark"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: block; }
[data-theme="light"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: none; }

.nav-right {
  display: flex; align-items: center; gap: 0.75rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-h);
  transition: background 0.5s, backdrop-filter 0.5s, box-shadow 0.5s;
}
.nav.is-scrolled {
  background: rgba(5,5,5,0.8);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 1px 0 var(--ink-border);
}
[data-theme="light"] .nav.is-scrolled {
  background: rgba(250,250,248,0.85);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 100%; display: flex;
  align-items: center; justify-content: space-between;
}
.nav-wordmark {
  font-family: var(--font-brand);
  font-size: 1.15rem; letter-spacing: 0.03em;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cream-muted); transition: color 0.3s;
}
.nav-links a:hover { color: var(--cream); }

.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-mobile-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--cream); border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-mobile-toggle.is-active span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-mobile-toggle.is-active span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem var(--page-pad);
  flex-direction: column; gap: 1rem;
  border-bottom: 1px solid var(--ink-border);
  transform: translateY(-8px); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}
[data-theme="light"] .mobile-menu { background: rgba(250,250,248,0.95); }
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--cream-muted); transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--cream); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 4rem) var(--page-pad) 3rem;
  overflow: hidden;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 15% 45%, rgba(232,160,160,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 85% 35%, rgba(125,168,216,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(125,184,143,0.04) 0%, transparent 70%);
}
[data-theme="light"] .hero-mesh {
  background:
    radial-gradient(ellipse 55% 50% at 15% 45%, rgba(184,80,80,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 85% 35%, rgba(80,120,184,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(61,139,85,0.04) 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-label {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--cream-muted); margin-bottom: 2rem;
}
.hero-headline {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem); line-height: 1.0;
  letter-spacing: -0.03em; margin-bottom: 2rem;
}
.hero-line { display: block; }
.hero-line-accent { color: var(--rose); font-style: italic; }
.hero-body {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--cream-dim); line-height: 1.8;
  max-width: 520px; margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-explore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; background: var(--cream); color: var(--ink);
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 6px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,237,228,0.12);
}
[data-theme="light"] .btn-explore:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.btn-explore svg { transition: transform 0.3s var(--ease); }
.btn-explore:hover svg { transform: translate(3px, -3px); }

.btn-read {
  display: inline-flex; align-items: center;
  padding: 14px 28px; color: var(--cream-dim);
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--ink-border); border-radius: 6px;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.btn-read:hover { border-color: var(--ink-border-hover); color: var(--cream); transform: translateY(-2px); }

.hero-zeros {
  position: absolute; bottom: 4rem; right: var(--page-pad);
  display: flex; gap: 3rem; z-index: 1;
}
.zero-stat { text-align: right; }
.zero-number {
  display: block; font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem); font-weight: 300;
  line-height: 0.85; color: transparent;
  -webkit-text-stroke: 1px var(--cream-faint);
  transition: -webkit-text-stroke-color 0.6s;
}
.zero-stat:hover .zero-number { -webkit-text-stroke-color: var(--rose); }
.zero-label {
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--cream-muted);
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { padding: 8rem 0; border-top: 1px solid var(--ink-border); }
.manifesto-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.manifesto-heading {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.2;
  letter-spacing: -0.02em;
}
.manifesto-heading em { color: var(--rose); font-style: italic; }

.manifesto-stats { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }
.manifesto-stat { padding-bottom: 2rem; border-bottom: 1px solid var(--ink-border); }
.manifesto-stat-num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300;
  color: var(--rose); line-height: 1; margin-bottom: 0.5rem;
}
.manifesto-stat-desc { font-size: 0.85rem; color: var(--cream-dim); line-height: 1.6; }

.manifesto-quote {
  position: relative; padding: 2rem 0 2rem 2rem;
  border-left: 2px solid var(--rose-dark);
}
.manifesto-quote p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 400;
  font-style: italic; line-height: 1.7;
  color: var(--cream); margin-bottom: 1rem;
}
.manifesto-quote em { color: var(--rose); font-style: italic; }
.manifesto-quote footer {
  font-family: var(--font-ui); font-size: 0.75rem;
  font-weight: 600; color: var(--cream-muted); line-height: 1.6;
}

/* ==========================================================================
   ARCHITECTURE
   ========================================================================== */
.architecture {
  padding: 8rem 0; background: var(--ink-light);
  border-top: 1px solid var(--ink-border);
  transition: background 0.4s ease;
}
.architecture-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--page-pad); }
.architecture-header { margin-bottom: 4rem; }

.arch-split {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 0; margin-bottom: 5rem;
  border: 1px solid var(--ink-border); border-radius: 16px; overflow: hidden;
}
.arch-side { padding: 3rem 2.5rem; }
.arch-danger { background: linear-gradient(180deg, rgba(216,125,125,0.03) 0%, transparent 100%); }
.arch-safe { background: linear-gradient(180deg, rgba(125,184,143,0.04) 0%, transparent 100%); }
[data-theme="light"] .arch-danger { background: linear-gradient(180deg, rgba(192,80,80,0.04) 0%, transparent 100%); }
[data-theme="light"] .arch-safe { background: linear-gradient(180deg, rgba(61,139,85,0.05) 0%, transparent 100%); }

.arch-divider {
  display: flex; align-items: center; justify-content: center;
  width: 1px; background: var(--ink-border); position: relative;
}
.arch-divider span {
  position: absolute; font-family: var(--font-display);
  font-size: 0.85rem; font-style: italic;
  color: var(--cream-muted); background: var(--ink-light);
  padding: 0.5rem; transition: background 0.4s ease;
}
.arch-side-label {
  font-family: var(--font-ui); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--cream-muted); margin-bottom: 2rem;
}

.arch-flow-chain {
  display: flex; align-items: center; gap: 0.6rem;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.arch-step {
  font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  background: var(--ink-elevated); border: 1px solid var(--ink-border);
  color: var(--cream-dim); transition: background 0.4s ease;
}
.arch-step-highlight {
  border-color: rgba(125,184,143,0.25);
  color: var(--safe); background: rgba(125,184,143,0.06);
}
[data-theme="light"] .arch-step-highlight {
  border-color: rgba(61,139,85,0.3);
  background: rgba(61,139,85,0.08);
}
.arch-step-faded { opacity: 0.3; text-decoration: line-through; }

.arch-connector { font-size: 0.9rem; color: var(--cream-muted); flex-shrink: 0; }
.arch-danger .arch-connector { color: var(--danger); }
.arch-safe .arch-connector { color: var(--safe); }
.arch-connector-blocked { color: var(--danger); font-weight: 700; font-size: 1.1rem; }
.arch-tags-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Guarantees */
.guarantees {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--ink-border);
  border: 1px solid var(--ink-border); border-radius: 12px; overflow: hidden;
}
.guarantee {
  padding: 2.5rem 2rem; background: var(--ink-light);
  transition: background 0.4s;
}
.guarantee:hover { background: var(--ink-raised); }
.guarantee-num {
  font-family: var(--font-display); font-size: 0.85rem;
  color: var(--rose); font-style: italic; margin-bottom: 1rem;
}
.guarantee h4 { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; }
.guarantee p { font-size: 0.8rem; color: var(--cream-dim); line-height: 1.65; }

/* ==========================================================================
   SAFETY FEATURES
   ========================================================================== */
.safety { padding: 8rem 0; border-top: 1px solid var(--ink-border); }
.safety-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--page-pad); }
.safety-header { margin-bottom: 4rem; }
.safety-sub {
  font-size: 1rem; color: var(--cream-dim);
  max-width: 520px; margin-top: 1rem; line-height: 1.7;
}

.feature-hero {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 3rem; padding: 3rem;
  background: var(--ink-raised); border: 1px solid var(--ink-border);
  border-radius: 20px; margin-bottom: 1.5rem;
  position: relative; overflow: hidden;
  transition: border-color 0.4s, background 0.4s ease;
}
.feature-hero:hover { border-color: var(--ink-border-hover); }
.feature-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
  opacity: 0.4;
}
.feature-hero-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.55rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--safe); padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(125,184,143,0.2);
  background: rgba(125,184,143,0.06);
}
[data-theme="light"] .feature-hero-badge {
  border-color: rgba(61,139,85,0.25);
  background: rgba(61,139,85,0.08);
}
.feature-hero-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400; margin-bottom: 1rem;
}
.feature-hero-content p {
  font-size: 0.9rem; color: var(--cream-dim);
  line-height: 1.75; margin-bottom: 1.5rem;
}

/* PIN Demo */
.pin-demo { display: flex; flex-direction: column; gap: 0.75rem; }
.pin-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--ink); border: 1px solid var(--ink-border);
  border-radius: 10px; transition: background 0.4s ease;
}
.pin-dots { display: flex; gap: 6px; }
.pin-dots i {
  display: block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--cream-dim);
}
.pin-dots-alt i { background: var(--cream-muted); }
.pin-arrow { color: var(--cream-muted); font-size: 0.85rem; }
.pin-result {
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.pin-result-real { color: var(--safe); }
.pin-result-decoy { color: var(--cream-muted); }

.feature-hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.shield-icon {
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,184,143,0.08), transparent 70%);
  border: 1px solid rgba(125,184,143,0.1);
  animation: shield-pulse 3s ease-in-out infinite;
}
.shield-icon svg { width: 64px; height: 64px; color: var(--safe); }

@keyframes shield-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(125,184,143,0.1); }
  50% { transform: scale(1.03); box-shadow: 0 0 40px 10px rgba(125,184,143,0.06); }
}

/* Feature cards — FIXED: larger icon container to prevent clipping */
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  padding: 2.5rem 2rem;
  background: var(--ink-raised); border: 1px solid var(--ink-border);
  border-radius: 16px;
  transition: border-color 0.4s, transform 0.3s var(--ease), background 0.4s ease;
}
.feature-card:hover { border-color: var(--ink-border-hover); transform: translateY(-4px); }

.feature-card-num {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--ink-elevated); border: 1px solid var(--ink-border);
  overflow: visible;
  transition: background 0.4s ease;
}
.feature-card-num svg { width: 22px; height: 22px; color: var(--rose); flex-shrink: 0; }
.feature-card h4 { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: var(--cream-dim); line-height: 1.7; }

/* ==========================================================================
   APP SUITE
   ========================================================================== */
.suite {
  padding: 8rem 0; background: var(--ink-light);
  border-top: 1px solid var(--ink-border);
  transition: background 0.4s ease;
}
.suite-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--page-pad); }
.suite-header { margin-bottom: 4rem; }
.suite-sub { font-size: 1rem; color: var(--cream-dim); margin-top: 1rem; line-height: 1.7; }

.app-featured {
  position: relative; padding: 3rem;
  background: var(--ink-raised);
  border: 1px solid rgba(232,160,160,0.1);
  border-radius: 20px; margin-bottom: 1.5rem;
  overflow: hidden; transition: border-color 0.4s, background 0.4s ease;
}
[data-theme="light"] .app-featured { border-color: rgba(184,80,80,0.15); }
.app-featured::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at 100% 50%, rgba(232,160,160,0.04), transparent 70%);
  pointer-events: none;
}
.app-featured:hover { border-color: rgba(232,160,160,0.2); }
[data-theme="light"] .app-featured:hover { border-color: rgba(184,80,80,0.3); }

.app-featured-flag {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.55rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--rose); padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(232,160,160,0.2);
  background: rgba(232,160,160,0.06);
  z-index: 1;
}
[data-theme="light"] .app-featured-flag {
  border-color: rgba(184,80,80,0.25);
  background: rgba(184,80,80,0.08);
}

.app-featured-body {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: 2rem;
}
.app-featured-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,160,160,0.08);
  border: 1px solid rgba(232,160,160,0.12);
}
.app-featured-icon svg { width: 28px; height: 28px; color: var(--hue, var(--rose)); }

.app-featured-body h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 400; margin-bottom: 0.5rem;
}
.app-featured-body p {
  font-size: 0.9rem; color: var(--cream-dim);
  line-height: 1.7; max-width: 500px; margin-bottom: 0.75rem;
}

/* Suite Groups */
.suite-group { margin-bottom: 3rem; }
.suite-group:last-child { margin-bottom: 0; }
.suite-group-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ink-border);
}
.suite-group-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream-dim);
}

/* Beta Badge (inline on tiles) */
.app-beta-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose);
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid rgba(232,160,160,0.2);
  background: rgba(232,160,160,0.06);
  z-index: 1;
}
[data-theme="light"] .app-beta-badge {
  border-color: rgba(184,80,80,0.25);
  background: rgba(184,80,80,0.08);
}

.apps-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.apps-scroll-single { grid-template-columns: 1fr; max-width: 380px; }

.app-tile {
  padding: 2rem; background: var(--ink-raised);
  border: 1px solid var(--ink-border); border-radius: 16px;
  transition: border-color 0.4s, transform 0.3s var(--ease), background 0.4s ease;
  position: relative; overflow: hidden;
}
.app-tile::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top left, var(--hue, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.app-tile:hover { border-color: var(--hue, var(--ink-border-hover)); transform: translateY(-4px); }
.app-tile:hover::after { opacity: 0.04; }
[data-theme="light"] .app-tile:hover::after { opacity: 0.06; }

.app-tile svg { width: 28px; height: 28px; color: var(--hue, var(--cream)); margin-bottom: 1.25rem; }
.app-tile h4 { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.app-tile p { font-size: 0.8rem; color: var(--cream-dim); line-height: 1.6; margin-bottom: 0.75rem; }

/* ==========================================================================
   TRUST / NEVER
   ========================================================================== */
.trust { padding: 8rem 0; border-top: 1px solid var(--ink-border); }
.trust-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--page-pad); }
.trust-header { margin-bottom: 4rem; }

.never-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border: 1px solid var(--ink-border);
  border-radius: 16px; overflow: hidden; margin-bottom: 4rem;
}
.never-row {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--ink-border);
  transition: background 0.3s;
}
.never-row:nth-child(odd) { border-right: 1px solid var(--ink-border); }
.never-row:nth-last-child(-n+2) { border-bottom: none; }
.never-row:hover { background: var(--ink-raised); }

.never-cross {
  flex-shrink: 0; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  color: var(--danger);
  background: rgba(216,125,125,0.08);
  border-radius: 6px;
}
[data-theme="light"] .never-cross { background: rgba(192,80,80,0.1); }
.never-row span:last-child { font-size: 0.85rem; color: var(--cream-dim); }

.trust-proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--ink-border);
  border: 1px solid var(--ink-border); border-radius: 12px; overflow: hidden;
}
.proof-item {
  padding: 2.5rem 2rem; background: var(--ink);
  transition: background 0.4s;
}
.proof-item:hover { background: var(--ink-raised); }
.proof-num {
  font-family: var(--font-display); font-size: 0.85rem;
  font-style: italic; color: var(--safe);
  margin-bottom: 0.75rem; display: block;
}
.proof-item h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.3rem; }
.proof-item p { font-size: 0.75rem; color: var(--cream-muted); line-height: 1.5; }

/* ==========================================================================
   PRIVACY
   ========================================================================== */
.privacy { padding: 5rem 0; }
.privacy-inner {
  max-width: 700px; margin: 0 auto;
  padding: 0 var(--page-pad); text-align: center;
}
.privacy-rule {
  width: 60px; height: 1px;
  background: var(--ink-border); margin: 0 auto 2.5rem;
}
.privacy-inner .privacy-rule:last-child { margin: 2.5rem auto 0; }
.privacy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.privacy-statement {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300; font-style: italic;
  color: var(--rose); line-height: 1.4; margin-bottom: 1.5rem;
}
.privacy-body { font-size: 0.9rem; color: var(--cream-dim); line-height: 1.8; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--ink-border); padding: 4rem 0 2rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--page-pad); }
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 4rem;
}
.footer-wordmark {
  font-family: var(--font-brand); font-size: 1.15rem;
  display: block; margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.8rem; color: var(--cream-muted); }
.footer-cols { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col h5 {
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--cream-muted); margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.8rem; color: var(--cream-dim); transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid var(--ink-border);
  font-size: 0.7rem; color: var(--cream-muted);
}

.footer-sources {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--ink-border);
}
.footer-sources h5 {
  font-size: 0.55rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--cream-muted); margin-bottom: 0.5rem;
}
.footer-sources span {
  font-size: 0.65rem; color: var(--cream-muted);
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .guarantees, .trust-proof { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: 1fr 1fr; }
  .apps-scroll { grid-template-columns: repeat(2, 1fr); }
  .apps-scroll-single { grid-template-columns: 1fr; }
  .feature-hero { grid-template-columns: 1fr; }
  .feature-hero-visual { display: none; }
  .hero-zeros { position: static; margin-top: 5rem; justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .arch-split { grid-template-columns: 1fr; }
  .arch-divider {
    width: 100%; height: 1px; flex-direction: row;
  }
  .arch-divider span { position: static; padding: 0.5rem 1rem; }
  .never-row:nth-child(odd) { border-right: none; }
  .never-list { grid-template-columns: 1fr; }
  .never-row:nth-last-child(2) { border-bottom: 1px solid var(--ink-border); }
  .features-row { grid-template-columns: 1fr; }
  .apps-scroll { grid-template-columns: 1fr; }
  .apps-scroll-single { max-width: 100%; }
  .guarantees, .trust-proof { grid-template-columns: 1fr; }
  .hero-zeros { flex-direction: column; gap: 2rem; }
  .zero-stat { text-align: left; }
  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-cols { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .app-featured-body { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-explore, .btn-read { width: 100%; justify-content: center; }
}
