/* =========================================================
   Rando — modern redesign (2026)
   Archive of previous stylesheet: /archive/v1-opus41-2026-04/
   ========================================================= */

:root {
  /* Legacy compat (mapped to dark theme for existing subpages) */
  --white: #13151d;              /* was #fff — now dark panel */
  --dark: #eef0f4;               /* was #0b0c10 — now light text */
  --gray: #aab0bd;
  --gray-dark: #cfd3db;          /* text-on-dark */
  --gray-light: rgba(255, 255, 255, 0.14);
  --gray-lighter: #0f1117;       /* was very light — now bg-soft */
  --primary-color: #e8a54b;
  --primary-dark: #c98934;
  --success-color: #7dc68a;
  --danger-color: #ff6b7a;
  --warning-color: #ffb454;
  --bg-primary: #0b0c10;
  --text-secondary: #aab0bd;
  --font-main: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --vp-c-bg: #0b0c10;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);

  --bg: #0b0c10;
  --bg-soft: #0f1117;
  --panel: #13151d;
  --panel-2: #181a24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f4;
  --text-dim: #cdd2dc;
  --text-soft: #9aa0ae;
  --accent: #e8a54b;          /* warm amber */
  --accent-2: #d06750;        /* terracotta coral */
  --accent-3: #c9896a;        /* muted rose-brown */
  --warn: #f0b35e;

  --gradient-primary: linear-gradient(135deg, #e8a54b 0%, #d06750 100%);
  --gradient-warm: linear-gradient(135deg, #f2c66b 0%, #c96048 100%);
  --gradient-dark: radial-gradient(ellipse at top, #1a1c2a 0%, #0b0c10 60%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 20px 48px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}
/* Subtle film-grain texture for warmth — sits above content */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Text selection */
::selection { background: rgba(232, 165, 75, 0.35); color: #fff; }

/* Focus-visible accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--text); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #fff; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: #fff;
  line-height: 1.1;
}
em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  background: linear-gradient(105deg, #fff 0%, #ffe0b8 40%, #f5c29a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
p { margin: 0 0 1em; color: var(--text); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0b0c10;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.08);
}
.btn-primary::after {
  content: "→";
  display: inline-block;
  font-weight: 500;
  transition: transform 0.25s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-1px);
  color: #0b0c10;
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.22);
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
/* Suppress arrow when an explicit svg/icon already follows the label */
.btn-primary:has(svg)::after { display: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-ghost::after {
  content: "→";
  opacity: 0.6;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.btn-ghost:hover::after { transform: translateX(3px); opacity: 1; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 12, 16, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.navbar.scrolled {
  background: rgba(11, 12, 16, 0.8);
  border-bottom-color: var(--border);
}
.navbar .container,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.nav-brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: 1.05rem;
}
.nav-brand .logo { width: 28px; height: 28px; border-radius: 7px; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; }
.nav-menu li a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-menu li a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-menu li a.active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-download-btn {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-primary);
  color: #0b0c10;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(232, 165, 75, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-download-btn:hover {
  color: #0b0c10;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(232, 165, 75, 0.5);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Announce bar ---------- */
.announce-bar {
  background: linear-gradient(90deg, rgba(232, 165, 75, 0.18), rgba(208, 103, 80, 0.18));
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  padding: 10px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.announce-bar strong { color: #fff; font-weight: 600; }
.announce-bar .announce-sep { opacity: 0.4; }
.announce-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announce-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(208, 103, 80, 0.2);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(208, 103, 80, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(208, 103, 80, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 40px;
  background: var(--gradient-dark);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb-1 { width: 520px; height: 520px; background: #e8a54b; top: -140px; left: -140px; }
.orb-2 { width: 480px; height: 480px; background: #d06750; top: 20%; right: -160px; opacity: 0.4; }
.orb-3 { width: 360px; height: 360px; background: #c9896a; bottom: -120px; left: 35%; opacity: 0.35; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  opacity: 0.4;
}
.hero-inner { position: relative; text-align: center; }
.hero-eyebrow { margin-bottom: 22px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 165, 75, 0.2);
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 auto 20px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-meta { color: var(--text-soft); font-size: 0.88rem; margin-bottom: 56px; }
.hero-shot { position: relative; max-width: 1040px; margin: 0 auto; }
.hero-shot-frame {
  position: relative;
  background: linear-gradient(180deg, #1b1d27, #0f1117);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-2), 0 0 0 8px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.hero-shot-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(232, 165, 75, 0.5), transparent 35%, transparent 70%, rgba(208, 103, 80, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero-shot:hover .hero-shot-frame { transform: translateY(-4px); }
.hero-shot-chrome { display: flex; gap: 6px; padding: 6px 6px 12px; }
.hero-shot-chrome span { width: 11px; height: 11px; border-radius: 50%; background: #40444f; }
.hero-shot-chrome span:nth-child(1) { background: #ff5f56; }
.hero-shot-chrome span:nth-child(2) { background: #ffbd2e; }
.hero-shot-chrome span:nth-child(3) { background: #27c93f; }
.hero-shot-frame img {
  border-radius: 14px;
  width: 100%;
  border: 1px solid var(--border);
}
.hero-shot-glow {
  position: absolute;
  inset: auto 10% -30px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(232, 165, 75, 0.6), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 60px auto 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.scroll-hint-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, transparent, var(--text-soft), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -50%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scroll-hint-drop 2.4s var(--ease) infinite;
}
@keyframes scroll-hint-drop {
  0% { top: -50%; opacity: 0; }
  20% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- Trust ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px;
  flex-wrap: wrap;
}
.trust-item { text-align: center; flex: 1 1 150px; }
.trust-num {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-lbl { color: var(--text-soft); font-size: 0.86rem; }
.trust-sep { width: 1px; height: 28px; background: var(--border); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-kicker {
  color: var(--accent-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin: 0;
}

/* ---------- Bento ---------- */
.bento { padding: 110px 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
}
.bento-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 165, 75, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-3px);
  background: var(--panel-2);
}
.bento-card:hover::before { opacity: 1; }
.bento-card h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.bento-card p { color: var(--text-dim); margin: 0; }
.bento-icon {
  font-size: 1.6rem;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 165, 75, 0.2), rgba(208, 103, 80, 0.2));
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
}
.bento-lg { grid-column: span 4; grid-row: span 2; }
.bento-md { grid-column: span 3; }
.bento-feature-b,
.bento-feature-c { grid-column: span 2; }
.bento-feature-d { grid-column: span 3; }
.bento-feature-e,
.bento-feature-f { grid-column: span 3; }
.bento-feature-a { display: flex; flex-direction: column; justify-content: space-between; }
.bento-copy { max-width: 44ch; }
.bento-art-monitors { margin-top: 28px; }
.bento-art-monitors img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.bento-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.bento-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ---------- Gallery ---------- */
.gallery { padding: 110px 0; border-top: 1px solid var(--border); background: var(--bg-soft); }
.gallery-stage {
  border: 1px solid var(--border);
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  max-width: 980px;
  margin: 0 auto 22px;
}
.gallery-stage img { width: 100%; display: block; }
.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
}
.gallery-thumb {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-thumb img {
  width: 100%;
  max-width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.gallery-thumb span { font-size: 0.78rem; color: var(--text-dim); }
.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.gallery-thumb.active img,
.gallery-thumb:hover img { opacity: 1; }

/* ---------- Quote ---------- */
.quote { padding: 120px 0; text-align: center; }
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.4;
  color: #fff;
  max-width: 28ch;
  margin: 0 auto 18px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.quote-mark { color: var(--accent-2); font-size: 1.5em; line-height: 0; }
.quote-attrib { color: var(--text-soft); font-size: 0.92rem; letter-spacing: 0.02em; }

/* ---------- How it works ---------- */
.how { padding: 110px 0; border-top: 1px solid var(--border); background: var(--bg-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 165, 75, 0.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.step:hover { transform: translateY(-3px); background: var(--panel-2); }
.step:hover::before { opacity: 1; }
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); margin: 0; }

/* ---------- Audiences ---------- */
.audiences { padding: 110px 0; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.audience-card {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 165, 75, 0.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.audience-card:hover {
  transform: translateY(-3px);
  background: var(--panel-2);
  color: var(--text);
}
.audience-card:hover::before { opacity: 1; }
.audience-emoji { font-size: 1.6rem; margin-bottom: 10px; }
.audience-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.audience-card p { color: var(--text-dim); margin-bottom: 14px; }
.link-arrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}
.audience-card:hover .link-arrow { gap: 10px; color: var(--accent); }

/* ---------- Mystery ---------- */
.mystery { padding: 110px 0; border-top: 1px solid var(--border); background: var(--bg-soft); }
.mystery-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 60px;
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 165, 75, 0.25), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(208, 103, 80, 0.22), transparent 50%),
    var(--panel);
  border: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.mystery-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.mystery-lede { color: var(--text-dim); font-size: 1.05rem; max-width: 52ch; margin: 0; }
.mystery-lede em { color: #fff; }
.mystery-list { display: grid; gap: 10px; }
.mystery-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
}
.mystery-list li span { font-size: 1.25rem; }

/* ---------- Email signup ---------- */
.email-signup { padding: 100px 0; }
.email-signup-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 30% 0%, rgba(232, 165, 75, 0.2), transparent 60%),
    var(--panel);
}
.email-signup-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}
.email-signup-card p { color: var(--text-dim); margin-bottom: 24px; }
.signup-form,
.modal-signup-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input[type="email"],
.modal-signup-form input[type="email"] {
  flex: 1 1 220px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-form input[type="email"]:focus,
.modal-signup-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 165, 75, 0.2);
}
.privacy-note,
.modal-privacy-note {
  color: var(--text-soft);
  font-size: 0.82rem;
  margin-top: 12px;
}
.signup-message,
.modal-message {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.signup-message.success,
.modal-message.success {
  background: rgba(208, 103, 80, 0.12);
  border: 1px solid rgba(208, 103, 80, 0.3);
  color: var(--accent-2);
}
.signup-message.error,
.modal-message.error {
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.3);
  color: #ff8080;
}

/* ---------- Modal ---------- */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.email-modal.show { opacity: 1; }
.email-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.email-modal-content {
  position: relative;
  max-width: 480px;
  margin: 10vh auto 0;
  padding: 36px 32px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  color: var(--text);
  box-shadow: var(--shadow-2);
  text-align: center;
}
.email-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font-size: 1.6rem;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.email-modal-close:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

/* ---------- CTA ---------- */
.cta {
  padding: 130px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 80%, rgba(232, 165, 75, 0.3), transparent 60%),
    radial-gradient(circle at 50% 20%, rgba(208, 103, 80, 0.2), transparent 55%);
}
.cta h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.cta p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 28px; }
.cta-note { color: var(--text-soft); font-size: 0.86rem; margin-top: 18px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 70px 0 32px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand .nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand .logo { width: 28px; height: 28px; border-radius: 7px; }
.footer-tag { color: var(--text-soft); max-width: 28ch; font-size: 0.92rem; }
.footer-section h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a { color: var(--text-dim); font-size: 0.94rem; }
.footer-section ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-soft);
  font-size: 0.86rem;
  text-align: center;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   Subpage-compat classes (about / download / faq / etc.)
   ========================================================= */

.page-hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  background: var(--gradient-dark);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(232, 165, 75, 0.2), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(208, 103, 80, 0.18), transparent 55%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: 0.35;
}
.page-hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  letter-spacing: -0.035em;
  max-width: 20ch;
  margin: 0 auto 18px;
}
.page-hero .subtitle,
.page-hero > .container > p:not(.pill) {
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.55;
}
.page-hero .hero-note,
.page-hero .hero-meta {
  display: inline-block;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.page-hero .hero-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Pricing cards (shared across download, events, etc.) */
.dl-pricing { padding: 90px 0; border-top: 1px solid var(--border); background: var(--bg-soft); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 40px auto 0;
}
.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.price-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.price-card.featured {
  border-color: rgba(232, 165, 75, 0.55);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 165, 75, 0.12), transparent 60%),
    var(--panel);
}
.price-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #0b0c10;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-name {
  color: var(--text-soft);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-amount strong {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.price-amount span { color: var(--text-soft); font-size: 0.92rem; }
.price-note { color: var(--text-dim); font-size: 0.92rem; margin: 12px 0 0; line-height: 1.5; }
.price-save {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(232, 165, 75, 0.12);
  color: var(--accent);
  border: 1px solid rgba(232, 165, 75, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
}
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Narrative content — comfortable long-form reading column */
.narrative {
  max-width: 720px;
  margin: 0 auto;
}
.narrative h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 56px 0 14px;
}
.narrative h2:first-child { margin-top: 0; }
.narrative p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.narrative p strong { color: #fff; font-weight: 600; }
.narrative ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 24px;
  padding: 0;
}
.narrative ul li {
  color: var(--text);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  line-height: 1.55;
}
.narrative ul li strong { color: #fff; font-weight: 600; }
.narrative blockquote,
.narrative .story-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: #fff;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: var(--radius);
  margin: 28px 0;
  font-style: italic;
}

.content-section { padding: 70px 0; }
.content-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 18px; }
.content-section h3 { font-size: 1.2rem; margin-bottom: 8px; }
.content-section p, .content-section li { color: var(--text); }
.content-section ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }
.content-section a { color: var(--accent-2); }

.highlight-box,
.requirement-box,
.cta-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 20px 0;
}
.requirements { padding: 70px 0; }
.requirements h2 { text-align: center; margin-bottom: 28px; }
.requirement-box ul { list-style: disc; padding-left: 20px; color: var(--text-dim); }

.pricing-info { color: var(--text-dim); }

/* Download */
.download-section { padding: 70px 0; }
.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.download-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.download-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.download-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.download-header .icon { font-size: 1.8rem; }
.platform-name { font-weight: 700; color: #fff; font-size: 1.15rem; }
.platform-requirements { color: var(--text-soft); font-size: 0.86rem; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0b0c10;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 14px;
  transition: transform 0.2s;
}
.download-btn:hover { color: #0b0c10; transform: translateY(-1px); }
.download-details { color: var(--text-dim); font-size: 0.9rem; }

/* FAQ */
.faq-container { max-width: 860px; margin: 0 auto; }
.faq-intro { color: var(--text-dim); text-align: center; margin-bottom: 36px; }
.faq-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 36px;
}
.faq-toc-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-weight: 500;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}
.faq-toc-card:hover { border-color: var(--accent); color: #fff; }
.faq-category { margin-bottom: 40px; }
.faq-category h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px 6px;
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
}
.faq-answer { padding: 0 22px 18px; color: var(--text-dim); }
.faq-answer p, .faq-answer ul, .faq-answer li { color: var(--text-dim); }
.faq-answer ul { list-style: disc; padding-left: 20px; margin: 8px 0; }
.back-to-menu { display: inline-block; margin: 10px 0; color: var(--accent-2); font-size: 0.88rem; }

/* Story (About) */
.story-content { max-width: 720px; margin: 0 auto; }
.story-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: #fff;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: var(--radius);
  margin: 28px 0;
  font-style: italic;
}

/* Free-text containers used across subpages — give them card treatment */
.use-case-personal,
.use-case,
.feature-detail,
.intro-box,
.quote-box,
.benefit-card,
.parent-benefits,
.stats-box,
.contact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 14px 0;
  transition: border-color 0.25s var(--ease);
}
.use-case-personal:hover,
.use-case:hover,
.feature-detail:hover,
.benefit-card:hover,
.parent-benefits:hover {
  border-color: var(--border-strong);
}
.use-case-personal h3,
.use-case h3,
.feature-detail h3,
.intro-box h3,
.benefit-card h3,
.parent-benefits h3,
.contact-box h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.use-case-personal p,
.use-case p,
.feature-detail p,
.intro-box p,
.benefit-card p,
.parent-benefits p,
.contact-box p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* Important notice — accent border + tint */
.important-notice {
  background:
    linear-gradient(0deg, rgba(255, 180, 84, 0.06), rgba(255, 180, 84, 0.06)),
    var(--panel);
  border: 1px solid rgba(255, 180, 84, 0.4);
  border-left: 3px solid var(--warn);
}
.important-notice h3 { color: var(--warn); }

/* Intro box gets a gentle gradient tint */
.intro-box {
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 165, 75, 0.15), transparent 60%),
    var(--panel);
  border-color: var(--border-strong);
}
.intro-box.emotional {
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 137, 106, 0.15), transparent 60%),
    var(--panel);
}

/* Use case grid */
.use-case-grid,
.parent-benefits,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.use-case-grid > *,
.benefit-grid > * {
  margin: 0; /* grid handles gaps */
}

/* Stats */
.stats-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
  padding: 32px 28px;
}
.stat { padding: 8px; }
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label {
  color: var(--text-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Quote box */
.quote-box {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: #fff;
  font-style: italic;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
}
.quote-box cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Section headings inside content-section get more breathing room */
.content-section h2 {
  margin-top: 52px;
  margin-bottom: 18px;
}
.content-section h2:first-child { margin-top: 0; }

/* Screenshot gallery (photo-collectors, content-creators, early-digital-parents, etc.) */
.screenshots { padding: 80px 0; }
.screenshots > .container > h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 40px;
}
.screenshot-gallery {
  max-width: 980px;
  margin: 0 auto;
}
.screenshot-main {
  border: 1px solid var(--border);
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  margin-bottom: 18px;
}
.screenshot-main img { width: 100%; display: block; }
.screenshot-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.screenshot-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s var(--ease), border-color 0.2s, transform 0.2s;
}
.screenshot-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.screenshot-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(232, 165, 75, 0.25);
}

/* Memory/use-case grids used on subpages */
.memory-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.memory-card,
.testimonial-grid > blockquote,
.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.memory-card:hover,
.testimonial-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.memory-card h3 { color: #fff; margin-bottom: 8px; }
.memory-card p { color: var(--text-dim); margin: 0; }
.testimonial-grid > blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text);
  margin: 0;
}
.testimonial-grid > blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--text-soft);
  font-size: 0.88rem;
}

/* Subpage shared patterns */
.features { padding: 80px 0; }
.features > .container > h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 36px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 165, 75, 0.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-3px);
  background: var(--panel-2);
}
.feature-card:hover::before { opacity: 1; }
.feature-card h3, .feature-card h4 { color: #fff; margin-bottom: 10px; letter-spacing: -0.015em; }
.feature-card p { color: var(--text-dim); margin: 0; }
.feature-card ul { margin: 0; padding-left: 0; }
.feature-card ul li { color: var(--text-dim); padding: 4px 0; line-height: 1.5; }

/* Centered variant — keeps an orphaned last row centered instead of left-aligned */
.feature-grid-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-grid-center .feature-card { flex: 1 1 240px; max-width: 300px; }

/* Collage showcase — image grid reused on Events (and elsewhere) */
.collage-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto 40px;
}
@media (max-width: 640px) {
  .collage-showcase { grid-template-columns: 1fr; }
}
.collage-showcase figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.collage-showcase figure:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.collage-showcase img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.collage-showcase figcaption {
  padding: 16px 18px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}
.collage-showcase figcaption strong { color: #fff; display: block; margin-bottom: 4px; }
.collage-showcase-lead { grid-column: 1 / -1; }
.collage-showcase-lead img { aspect-ratio: 16 / 7; }

.user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.user-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.user-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.user-card h3 { color: #fff; }
.user-card p { color: var(--text-dim); }

.fact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 14px 0;
}
.fact-box h3, .fact-box h4 { color: #fff; margin-bottom: 8px; }
.fact-box p, .fact-box li { color: var(--text-dim); }

.lead-text {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.6;
}

.testimonial {
  padding: 80px 0;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.45;
  color: #fff;
  max-width: 30ch;
  margin: 0 auto 14px;
  font-style: italic;
  padding: 0;
  border: 0;
}
.testimonial cite {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-style: normal;
}

.comparison-section { padding: 80px 0; }
.comparison-section table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison-section th,
.comparison-section td {
  padding: 14px 18px;
  text-align: left;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.comparison-section thead th { color: #fff; font-weight: 600; }
.comparison-section tr:last-child td { border-bottom: 0; }
.comparison-section td { color: var(--text-dim); }

.how-it-works { padding: 80px 0; }
.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.step-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .how-it-works .steps { grid-template-columns: 1fr; }
}

/* Tables inside content-section */
.content-section table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}
.content-section th,
.content-section td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.content-section thead th { color: #fff; background: rgba(232, 165, 75, 0.12); }

/* Form inputs */
form input[type="text"],
form input[type="email"],
form textarea,
form select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus,
form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 165, 75, 0.2);
}
form label {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 6px;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px 22px;
  background: rgba(19, 21, 29, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
  color: var(--text);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1 1 280px;
  min-width: 0;
}
.cookie-text p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}
.cookie-text strong {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 4px;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.cookie-text a:hover {
  color: #fff;
}
.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.cookie-btn-decline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-dim);
}
.cookie-btn-decline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.cookie-btn-accept {
  background: #fff;
  color: #0b0c10;
  border-color: #fff;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08);
}
.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.18);
}
@media (max-width: 560px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
  }
  .cookie-buttons {
    width: 100%;
    flex-direction: row-reverse;
  }
  .cookie-buttons .cookie-btn {
    flex: 1;
  }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .nav-toggle { display: flex; }
  .nav-download-btn { display: none; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg, .bento-md,
  .bento-feature-b, .bento-feature-c,
  .bento-feature-d, .bento-feature-e, .bento-feature-f {
    grid-column: span 2; grid-row: auto;
  }
  .steps { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .mystery-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 60px 0 30px; }
  .trust-inner { gap: 14px 0; }
  .trust-sep { display: none; }
  .footer-content { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
