/* ─── Design Tokens ──────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  /* Core palette */
  --ink: #0f1c18;
  --ink-soft: #2b3d35;
  --muted: #5c6e65;
  --paper: #f3f7f0;
  --surface: #ffffff;
  --soft: #eaf2e5;
  --line: #d6e5ce;

  /* Brand accent */
  --teal: #0f8080;
  --teal-dark: #0a5555;
  --teal-glow: rgba(15, 128, 128, 0.22);
  --coral: #e05a3a;
  --coral-glow: rgba(224, 90, 58, 0.24);
  --amber: #cc8f12;
  --green: #5f9948;
  --blue: #3b6ea8;
  --rose: #b54d70;
  --charcoal: #0d1a15;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(15, 28, 24, 0.07);
  --shadow: 0 14px 48px rgba(15, 28, 24, 0.11);
  --shadow-lg: 0 28px 72px rgba(15, 28, 24, 0.16);
  --radius: 12px;
  --radius-sm: 8px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}



/* ─── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; }

a { color: inherit; text-decoration: none; }

button, input { font: inherit; }

button { cursor: pointer; }

/* ─── Layout ─────────────────────────────────────────────────────────── */
.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* ─── Skip Link ──────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 180ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ─── Scroll-reveal animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ─── Navigation ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 26, 21, 0.4);
  color: #fff;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 4px 24px rgba(15, 28, 24, 0.08);
}

:root.dark .site-header.is-scrolled {
  background: rgba(18, 29, 24, 0.95);
  border-color: var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 4px 14px var(--teal-glow);
  transition: transform 200ms var(--ease-spring), box-shadow 200ms var(--ease);
}
.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 20px var(--teal-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:not(.nav-cta) {
  opacity: 0.82;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: opacity 150ms, background 150ms, color 150ms;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta):focus-visible,
.nav-links a:not(.nav-cta).is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-links a:not(.nav-cta):hover,
.site-header.is-scrolled .nav-links a:not(.nav-cta).is-active {
  background: var(--soft);
  color: var(--teal);
}

/* Dark mode nav active */
:root.dark .site-header.is-scrolled .nav-links a:not(.nav-cta).is-active {
  background: rgba(41, 184, 184, 0.12);
  color: var(--teal);
}

/* ─── Dark mode toggle ───────────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  transition: background 180ms, border-color 180ms, transform 200ms var(--ease-spring);
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}
.site-header.is-scrolled .theme-toggle {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 350ms var(--ease-spring), opacity 200ms;
}

/* Nav CTA */
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 170ms var(--ease-spring), box-shadow 170ms var(--ease), background 150ms, border-color 150ms, filter 150ms;
}

.nav-cta {
  padding: 10px 16px;
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  box-shadow: 0 8px 22px var(--coral-glow);
}
.nav-cta:hover, .nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--coral-glow);
}

.nav-cta svg, .button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  transition: background 160ms, border-color 160ms;
}
.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 200ms var(--ease), opacity 200ms;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.button {
  min-width: 168px;
  padding: 14px 20px;
}

.button-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  box-shadow: 0 10px 28px var(--coral-glow);
}
.button-primary:hover, .button-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px var(--coral-glow);
  filter: brightness(1.06);
}
.button-primary:active { transform: translateY(-1px); }

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}
.button-secondary:hover, .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.button-light {
  background: var(--surface);
  color: var(--charcoal);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
:root.dark .button-light { color: var(--ink); }
.button-light:hover, .button-light:focus-visible {
  background: var(--soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  color: #fff;
  overflow: hidden;
}

/* Gradient orbs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 600px;
  height: 600px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle at center, rgba(15, 128, 128, 0.25) 0%, transparent 70%);
  animation: orb-drift 8s ease-in-out infinite alternate;
}
.hero::after {
  width: 400px;
  height: 400px;
  bottom: 20px;
  right: 30%;
  background: radial-gradient(circle at center, rgba(224, 90, 58, 0.15) 0%, transparent 70%);
  animation: orb-drift 11s 2s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.08); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 14, 12, 0.94) 0%, rgba(8, 14, 12, 0.76) 42%, rgba(8, 14, 12, 0.22) 80%),
    url("assets/decipler-hero.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 64px;
}

.hero-copy { max-width: 700px; }

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #7ddfd4; }

/* Animated badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(125, 223, 212, 0.3);
  border-radius: 999px;
  background: rgba(125, 223, 212, 0.08);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7ddfd4;
  animation: badge-pulse 3s ease-in-out infinite;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ddfd4;
  box-shadow: 0 0 0 0 rgba(125, 223, 212, 0.5);
  animation: ping 2s ease-in-out infinite;
}
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 223, 212, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(125, 223, 212, 0); }
}
@keyframes badge-pulse {
  0%, 100% { border-color: rgba(125, 223, 212, 0.3); }
  50% { border-color: rgba(125, 223, 212, 0.55); }
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: 82px;
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #a8d8d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 850;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 750;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* Hero stats — glassmorphism */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.hero-stats div {
  min-height: 110px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  transition: background 200ms, border-color 200ms, transform 200ms var(--ease-spring);
}
.hero-stats div:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-stats dt {
  margin-bottom: 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  line-height: 1.4;
}

/* ─── Status Band ────────────────────────────────────────────────────── */
.status-band {
  background: var(--charcoal);
  color: #fff;
}

:root.dark .status-band { background: #060d09; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.status-grid > div {
  min-height: 130px;
  padding: 28px 30px;
  background: var(--charcoal);
  transition: background 200ms;
}
:root.dark .status-grid > div { background: #060d09; }
.status-grid > div:hover { background: rgba(15, 128, 128, 0.12); }

.status-label {
  display: block;
  margin-bottom: 8px;
  color: #7ddfd4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-grid strong {
  display: block;
  max-width: 300px;
  font-size: 18px;
  line-height: 1.35;
}

/* ─── Sections ───────────────────────────────────────────────────────── */
.section { padding: 96px 0; }

.section-intro {
  padding-top: 60px;
  background: var(--surface);
}

.intro-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 60px;
  align-items: start;
}

.intro-grid p:last-child,
.section-heading p,
.feature-copy p,
.product-copy p,
.privacy-points p,
.download-option p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading { margin-bottom: 40px; }

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: end;
}

.split-heading h2 { max-width: 700px; }
.split-heading p { margin-bottom: 6px; }

/* ─── Category Cards ─────────────────────────────────────────────────── */
.section-protection {
  background: linear-gradient(160deg, var(--charcoal) 0%, #0a150f 100%);
  color: #fff;
}

.section-protection h2,
.section-protection h3 {
  color: #fff;
}

.section-protection .split-heading p,
.section-protection .section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-height: 256px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  color: #fff;
  transition:
    transform 220ms var(--ease-spring),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease);
  cursor: default;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* Accent card hover glow */
.category-card.accent-teal:hover { border-color: rgba(15, 128, 128, 0.35); box-shadow: 0 14px 44px rgba(15,128,128,0.12); }
.category-card.accent-coral:hover { border-color: rgba(224,90,58,0.3); box-shadow: 0 14px 44px rgba(224,90,58,0.1); }
.category-card.accent-amber:hover { border-color: rgba(204,143,18,0.3); box-shadow: 0 14px 44px rgba(204,143,18,0.1); }
.category-card.accent-green:hover { border-color: rgba(95,153,72,0.3); box-shadow: 0 14px 44px rgba(95,153,72,0.1); }
.category-card.accent-blue:hover { border-color: rgba(59,110,168,0.3); box-shadow: 0 14px 44px rgba(59,110,168,0.1); }
.category-card.accent-rose:hover { border-color: rgba(181,77,112,0.3); box-shadow: 0 14px 44px rgba(181,77,112,0.1); }

.category-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.55;
}

.card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  transition: transform 220ms var(--ease-spring);
}
.category-card:hover .card-icon { transform: scale(1.1) rotate(-4deg); }

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accent-teal .card-icon { background: rgba(15, 128, 128, 0.12); color: var(--teal); }
.accent-coral .card-icon { background: rgba(224, 90, 58, 0.12); color: var(--coral); }
.accent-amber .card-icon { background: rgba(204, 143, 18, 0.14); color: #9b6a0d; }
.accent-green .card-icon { background: rgba(95, 153, 72, 0.14); color: #4a7236; }
.accent-blue .card-icon { background: rgba(59, 110, 168, 0.14); color: var(--blue); }
.accent-rose .card-icon { background: rgba(181, 77, 112, 0.14); color: var(--rose); }

:root.dark .accent-amber .card-icon { color: #e0b050; }
:root.dark .accent-green .card-icon { color: #82cf67; }

/* ─── Feature Band / Flow Steps ─────────────────────────────────────── */
.feature-band {
  background: linear-gradient(160deg, var(--charcoal) 0%, #0a150f 100%);
  color: #fff;
}

.feature-band h2,
.feature-band .section-kicker,
.feature-band h3 {
  color: #fff;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 60px;
  align-items: center;
}

.feature-copy,
.product-copy { max-width: 540px; }

.flow-steps { display: grid; gap: 12px; }

.flow-steps article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  min-height: 110px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms var(--ease-spring),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}
.flow-steps article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 128, 128, 0.3);
}

.flow-step-num {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 6px 18px var(--teal-glow);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms var(--ease);
  flex-shrink: 0;
  align-self: start;
}
.flow-steps article:hover .flow-step-num {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 10px 26px var(--teal-glow);
}

.flow-steps h3,
.flow-steps p { margin-bottom: 0; }

.flow-steps h3 { color: #fff; }
.flow-steps p { color: rgba(255, 255, 255, 0.75); font-size: 15px; }

/* ─── App Preview ────────────────────────────────────────────────────── */
.product-section { background: var(--surface); }

.app-preview {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #f6fbf2 0%, #eef5e8 100%);
  box-shadow: var(--shadow);
  transition: box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
:root.dark .app-preview {
  background: linear-gradient(160deg, #131f10 0%, #0f1a0c 100%);
}
.app-preview:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.preview-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.preview-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c8d8c2;
}
.preview-topbar span:nth-child(1) { background: #f87171; }
.preview-topbar span:nth-child(2) { background: #fbbf24; }
.preview-topbar span:nth-child(3) { background: #4ade80; }

.preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.preview-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-header strong {
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.preview-metrics div {
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: transform 180ms var(--ease-spring), box-shadow 180ms var(--ease);
}
.preview-metrics div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.preview-metrics strong,
.preview-metrics span { display: block; }

.preview-metrics strong {
  margin-bottom: 5px;
  color: var(--charcoal);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}
:root.dark .preview-metrics strong { color: var(--ink); }

.preview-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-list { display: grid; gap: 9px; }

.preview-list span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  transition: background 150ms, border-color 150ms;
}

.preview-list span::after {
  content: "Off";
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  background: var(--soft);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-list .is-on { color: var(--ink); }
.preview-list .is-on::after {
  content: "On";
  color: var(--teal-dark);
  background: rgba(15, 128, 128, 0.1);
}
:root.dark .preview-list .is-on::after { color: var(--teal); }

/* Check list */
.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 700;
  font-size: 16px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  box-shadow: inset 0 0 0 4px rgba(125, 223, 212, 0.4);
}

/* ─── Privacy Section ────────────────────────────────────────────────── */
.privacy-section {
  background: linear-gradient(160deg, var(--charcoal) 0%, #0a150f 100%);
  color: #fff;
}

.privacy-section h2,
.privacy-section .section-kicker {
  color: #fff;
}

.privacy-points { display: grid; gap: 24px; }

.privacy-points article {
  padding: 20px 24px;
  padding-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: transform 200ms var(--ease-spring), box-shadow 200ms var(--ease);
}
.privacy-points article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.privacy-points h3 { margin-bottom: 6px; color: #fff; }
.privacy-points p { margin-bottom: 0; color: rgba(255, 255, 255, 0.75); }

/* ─── Download Section ───────────────────────────────────────────────── */
.download-section { background: var(--paper); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-option {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 220ms var(--ease-spring),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

/* Subtle glow spot */
.download-option::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 300ms;
}
.download-option:hover::before { opacity: 1; }

.download-option:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 128, 128, 0.25);
}

.download-platform {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-glow);
}

.download-option strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.18;
  font-weight: 850;
}

.download-option p {
  margin-bottom: 0;
  font-size: 15px;
}

.download-option .button { width: 100%; }

.download-status {
  min-height: 24px;
  margin: 20px 0 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, var(--charcoal) 0%, #0a150f 100%);
  color: #fff;
}

.footer-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner p { margin: 0; text-align: center; font-size: 14px; }
.footer-year { font-weight: 850; color: rgba(255, 255, 255, 0.6); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px;
    border-radius: var(--radius-sm);
    opacity: 1;
  }

  .nav-cta {
    margin-top: 6px;
    background: var(--charcoal);
    color: #fff;
  }

  h1 { font-size: 58px; }
  h2 { font-size: 36px; }

  .intro-grid,
  .split-heading,
  .feature-grid,
  .product-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .status-grid,
  .category-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }

  .nav { min-height: 66px; }
  .nav-links { top: 66px; right: 14px; left: 14px; }

  .hero, .hero-inner { min-height: 94svh; }

  .hero-bg {
    background:
      linear-gradient(190deg, rgba(8, 14, 12, 0.96) 0%, rgba(8, 14, 12, 0.85) 55%, rgba(8, 14, 12, 0.45) 100%),
      url("assets/decipler-hero.png");
    background-position: 62% center;
    background-size: cover;
  }

  .hero-inner {
    align-items: end;
    padding-top: 90px;
    padding-bottom: 36px;
  }

  h1 { font-size: 46px; }
  h2 { font-size: 30px; }
  .hero-lede { font-size: 17px; }

  .hero-actions,
  .footer-inner { display: grid; grid-template-columns: 1fr; }

  .button, .nav-cta { width: 100%; }

  .hero-stats,
  .status-grid,
  .category-grid,
  .download-grid,
  .preview-metrics { grid-template-columns: 1fr; }

  .hero-stats div,
  .status-grid > div,
  .preview-metrics div { min-height: 0; }

  .section { padding: 70px 0; }
  .section-intro { padding-top: 44px; }

  .category-card,
  .flow-steps article,
  .app-preview,
  .download-option { padding: 22px; }

  .flow-steps article { grid-template-columns: 1fr; }
  .download-option { min-height: 0; }

  .footer-inner { justify-items: start; }
  .footer-inner p { text-align: left; }
}
