/* ============================================================================
   Creatorstaq — marketing site
   Static, zero-dependency. One shared stylesheet for all pages.

   Color tokens are lifted verbatim from the product's design system
   (frontend/app/globals.css, .dark theme) so the landing reads as the same
   brand as the app. Marketing-only tokens (fonts, atmosphere, spacing scale)
   are added on top. No raw hex in rules — everything goes through var().
   ============================================================================ */

/* ---- Tokens --------------------------------------------------------------- */
:root {
  /* Brand palette — from globals.css .dark (source of truth) */
  --background: #030712;        /* page bg (gray-950) */
  --card: #090e1a;              /* raised surface */
  --card-2: #0c1322;            /* second surface step */
  --muted: #050814;
  --foreground: #ffffff;
  --muted-foreground: #9ca3af;  /* gray-400 */
  --subtle-foreground: #6b7280; /* gray-500 */
  --primary: #8b5cf6;           /* violet-500 — brand accent */
  --primary-bright: #a78bfa;    /* violet-400 — hover */
  --primary-deep: #6d28d9;      /* violet-700 */
  --indigo: #6366f1;            /* chart-1 */
  --indigo-soft: #818cf8;       /* chart-2 */
  --border: #1f2937;            /* gray-800 hairline */
  --border-soft: #131c2e;
  --success: #10b981;
  --warning: #f97316;
  --danger: #ef4444;

  /* Glows / overlays derived from brand */
  --glow-violet: rgba(139, 92, 246, 0.45);
  --glow-violet-soft: rgba(139, 92, 246, 0.16);
  --glow-indigo-soft: rgba(99, 102, 241, 0.12);
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.1);

  /* Type — dataviz ships Inter only: no serif, no mono */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-sans);

  /* Geometry */
  --radius: 0.5rem;             /* product --radius */
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --container: 1140px;
  --container-narrow: 760px;

  /* Spacing rhythm */
  --section-y: clamp(3rem, 6vw, 5rem);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Ambient page texture: a faint violet aurora pinned to the top, plus a
   barely-there grid so the near-black never reads as a flat void. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60rem 40rem at 70% -10%, var(--glow-violet-soft), transparent 60%),
    radial-gradient(45rem 35rem at 10% 0%, var(--glow-indigo-soft), transparent 55%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Layout primitives ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2rem, 4vw, 3.25rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-bright);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

/* ---- Typography ----------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted-foreground);
  line-height: 1.55;
  max-width: 46ch;
}
.section-head { max-width: 56ch; margin-bottom: 2rem; }
.section-head .lead { margin-top: 1rem; max-width: 60ch; }
.text-muted { color: var(--muted-foreground); }
.text-grad {
  background: linear-gradient(120deg, #fff 20%, var(--primary-bright) 60%, var(--indigo-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 30px -12px var(--glow-violet);
}
.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 14px 40px -10px var(--glow-violet);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--foreground);
}
.btn-ghost:hover { border-color: var(--hairline-strong); background: rgba(255, 255, 255, 0.05); }

.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--background) 78%, transparent);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.brand .mark { filter: drop-shadow(0 4px 12px var(--glow-violet)); }
.brand b { font-weight: 700; }
.brand span { color: var(--primary-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--muted-foreground);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-links a:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--foreground); }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta .link-quiet {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  padding: 0.5rem 0.5rem;
}
.nav-cta .link-quiet:hover { color: var(--foreground); }

/* CSS-only mobile menu (checkbox hack — no JS) */
.nav-toggle, .nav-toggle-label { display: none; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-top: 0.9rem; }
.hero h1 em { font-style: italic; color: var(--primary-bright); }
.hero .lead { margin-top: 1.1rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--subtle-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-note b { color: var(--muted-foreground); font-weight: 600; }

/* Hero visual: an abstract, illustrative "dashboard panel" built in pure CSS.
   Figures are representative, not a customer's real data. */
.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--card);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(30rem 14rem at 80% -10%, var(--glow-violet-soft), transparent 70%);
  pointer-events: none;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--border); }
.panel-bar .label {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--subtle-foreground);
  letter-spacing: 0.04em;
}
.panel-body { padding: 1.25rem; display: grid; gap: 1.1rem; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.kpi {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.015);
}
.kpi .k-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle-foreground);
}
.kpi .k-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 0.3rem;}
.kpi .k-delta { font-size: 0.72rem; margin-top: 0.15rem; }
.k-delta.up { color: var(--success); }
.k-delta.down { color: var(--danger); }

/* Mini bar chart */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
  padding: 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(0deg, var(--hairline) 1px, transparent 1px) 0 100% / 100% 25% repeat-y;
}
.chart .bar {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--primary-bright), var(--primary-deep));
  box-shadow: 0 0 18px -6px var(--glow-violet);
  transform-origin: bottom;
  animation: grow 0.9s var(--ease) both;
}
.chart .bar.muted { background: linear-gradient(180deg, #2a3450, #1a2238); box-shadow: none; }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* Floating attribution tag on the panel */
.tag-float {
  position: absolute;
  right: -0.75rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  background: var(--card-2);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  font-size: 0.8rem;
}
.tag-float .pill {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--primary-bright);
  border: 1px solid var(--primary-deep);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}

/* ---- Logo / trust strip --------------------------------------------------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
  padding-block: 2.5rem;
  border-block: 1px solid var(--border-soft);
}
.trust span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--subtle-foreground);
}
.trust b { color: var(--muted-foreground); font-weight: 600; }

/* ---- Feature grid --------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.1rem;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%), var(--card);
  padding: 1.5rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
}
.card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}
.card .ico {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--primary-deep);
  background: radial-gradient(circle at 30% 20%, var(--glow-violet-soft), transparent 70%);
  color: var(--primary-bright);
  margin-bottom: 1.1rem;
}
.card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.card p { color: var(--muted-foreground); font-size: 0.94rem; margin-top: 0.5rem; }

/* spanning feature card */
.card.feature-wide { grid-column: span 2; }

/* ---- How it works --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-deep);
}
.step h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.12rem; }
.step p { color: var(--muted-foreground); font-size: 0.94rem; margin-top: 0.5rem; }

/* ---- Showcase split block ------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split.reverse .split-media { order: -1; }
.feature-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.feature-list .chk {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--glow-violet-soft);
  color: var(--primary-bright);
  margin-top: 0.1rem;
}
.feature-list b { font-weight: 600; }
.feature-list span { color: var(--muted-foreground); }

/* Matrix mock (cross-pollination) */
.matrix {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: var(--card);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.matrix .cell { aspect-ratio: 1; border-radius: 6px; background: var(--border-soft); }

/* ---- Stat band ------------------------------------------------------------ */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);  background: linear-gradient(120deg, #fff, var(--primary-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .cap { color: var(--muted-foreground); font-size: 0.92rem; margin-top: 0.35rem; }

/* ---- Pricing -------------------------------------------------------------- */
.price-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 50%), var(--card);
  padding: 2rem;
}
.price-card.highlight {
  border-color: var(--primary-deep);
  box-shadow: 0 30px 80px -40px var(--glow-violet);
}
.price-amount { display: flex; align-items: baseline; gap: 0.4rem; margin: 1rem 0; }
.price-amount .cur { font-size: 1.4rem; color: var(--muted-foreground); }
.price-amount .val {
  font-family: var(--font-display);
  font-size: 3.4rem;  line-height: 1;
}
.price-amount .per { color: var(--muted-foreground); font-size: 0.95rem; }

.tier-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.tier-table th, .tier-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}
.tier-table th {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle-foreground);
  font-weight: 500;
}
.tier-table td.price { font-family: var(--font-display); }
.tier-table tr:last-child td { border-bottom: none; }

/* Seat calculator */
.calc { display: grid; gap: 1rem; }
.calc .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.calc output { font-family: var(--font-display); font-size: 2rem; }
.calc .seat-out { font-family: var(--font-sans); color: var(--primary-bright); }
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-deep));
  outline: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--glow-violet-soft);
  cursor: pointer;
}
.calc input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  cursor: pointer;
}
.calc .blended { color: var(--subtle-foreground); font-size: 0.85rem; }

/* ---- FAQ (CSS-only details) ----------------------------------------------- */
.faq { display: grid; gap: 0.75rem; max-width: var(--container-narrow); margin-inline: auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0 1.25rem;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: var(--hairline-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--primary-bright);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted-foreground); padding-bottom: 1.2rem; font-size: 0.95rem; }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative;
  border: 1px solid var(--primary-deep);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(40rem 20rem at 50% -20%, var(--glow-violet-soft), transparent 70%),
    var(--card);
}
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin: 1rem auto 0; text-align: center; }
.cta-band .hero-actions { justify-content: center; }

/* ---- Forms (contact) ------------------------------------------------------ */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--muted-foreground); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  color: var(--foreground);
  font: inherit;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow-violet-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: 0.8rem; color: var(--subtle-foreground); }
.form-status { font-size: 0.92rem; min-height: 1.2em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

/* ---- Prose (legal pages) -------------------------------------------------- */
.prose { max-width: var(--container-narrow); margin-inline: auto; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prose .updated {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--subtle-foreground);
  margin-top: 1rem;
}
.prose h2 { font-size: 1.4rem; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.prose h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--muted-foreground); margin-bottom: 0.9rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--primary-bright); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--foreground); }
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--warning);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.callout strong { color: var(--warning); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  margin-top: var(--section-y);
  padding-block: 2.75rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
}
.footer-brand p { color: var(--muted-foreground); font-size: 0.9rem; margin-top: 0.85rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle-foreground);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.92rem;
  padding: 0.3rem 0;
  transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: var(--foreground); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-soft);
  color: var(--subtle-foreground);
  font-size: 0.82rem;
}

/* ---- Entrance animation --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal 0.7s var(--ease) forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
.reveal.d4 { animation-delay: 0.32s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .split, .price-wrap { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid.cols-3, .grid.cols-2, .steps, .stat-band { grid-template-columns: 1fr 1fr; }
  .card.feature-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { margin-top: 1rem; }
}

@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-2, .steps, .stat-band, .kpi-row,
  .form-row, .footer-grid { grid-template-columns: 1fr; }

  /* Mobile nav: collapse links behind a checkbox toggle */
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    background: color-mix(in srgb, var(--background) 96%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav-links a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle:checked ~ .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle-label {
    display: inline-grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
  }
  .nav-cta .link-quiet { display: none; }
  .tag-float { display: none; }
}

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
