/* ============================================
   Hookframe — Design System
   Premium dark, cinematic, mobile-first
   ============================================ */

:root {
  /* Palette */
  --bg: #0A0A0F;
  --surface: #13131A;
  --surface-2: #1B1B24;
  --surface-3: #24242E;
  --line: #2A2A36;
  --text: #F5F5F7;
  --text-muted: #A0A0A8;
  --text-dim: #6B6B75;
  --accent: #FF2E92;
  --accent-2: #C8FF00;
  --accent-3: #7C5CFF;
  --success: #00E0A4;
  --danger: #FF4747;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Scale */
  --fs-display: clamp(2.75rem, 7.5vw, 6rem);
  --fs-h1: clamp(2.25rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.625rem);
  --fs-lg: 1.125rem;
  --fs-md: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing (4-base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,.84,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent); color: #fff; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #fff; padding: 12px 16px;
  border-radius: var(--radius-sm); font-weight: 600; z-index: 9999;
}
.skip-link:focus { top: 16px; }

/* Layout */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }

@media (min-width: 768px) { .wrap, .wrap-narrow { padding: 0 var(--s-6); } }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--s-5); }
h3 { font-size: var(--fs-h3); margin-bottom: var(--s-4); }
.display { font-size: var(--fs-display); line-height: 0.95; letter-spacing: -0.035em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--accent-2);
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent-2);
}
.lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 60ch; line-height: 1.55; }
.mono { font-family: var(--font-mono); font-feature-settings: 'tnum'; }

/* Gradient text (for one accent word) */
.gradient {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-3) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.strike { color: var(--text-dim); text-decoration: line-through; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  padding: 14px 22px;
  font-weight: 600; font-size: var(--fs-md);
  border-radius: 999px;
  transition: transform .2s var(--ease-out), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 0 rgba(255,46,146,0.5);
}
.btn-primary:hover { background: #ff4ea3; transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(255,46,146,0.6); }
.btn-primary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--text-muted); }

.btn-ghost { background: transparent; color: var(--text-muted); padding: 10px 14px; min-height: 0; }
.btn-ghost:hover { color: var(--text); }

.btn-arrow::after {
  content: '→'; transition: transform .2s var(--ease-out);
}
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10,10,15,0.6);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.header.scrolled {
  background: rgba(10,10,15,0.85);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) 0;
}
.logo {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-radius: 8px;
  color: #fff;
}
.nav { display: none; gap: var(--s-6); align-items: center; }
.nav a { color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--text); }
.header-cta { display: none; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Mobile menu */
.menu-btn {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line);
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
  transition: transform .2s var(--ease);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: var(--s-7) var(--s-5);
  transform: translateY(-100%);
  transition: transform .3s var(--ease);
  z-index: 90;
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { transform: translateY(0); }
.mobile-nav a {
  display: block; padding: var(--s-4) 0;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: var(--s-6); width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 140px 0 var(--s-9);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -20% -20% auto -20%; height: 80%;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(255,46,146,0.18), transparent 60%),
    radial-gradient(50% 50% at 80% 30%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(40% 40% at 50% 90%, rgba(200,255,0,0.10), transparent 60%);
  z-index: -1;
  filter: blur(40px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  opacity: 0.25;
  z-index: -1;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  margin-bottom: var(--s-5);
}
.hero .lead { margin-bottom: var(--s-6); font-size: clamp(1.0625rem, 2vw, 1.25rem); max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-7); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center;
  font-size: var(--fs-sm); color: var(--text-muted);
}
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); display: inline-block; margin-right: 8px; }

/* Reel grid in hero */
.hero-reel {
  margin-top: var(--s-8);
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
.hero-reel .reel-tile {
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero-reel .reel-tile:nth-child(3) { display: none; }
.hero-reel .reel-tile:nth-child(4) { display: none; }
@media (min-width: 700px) {
  .hero-reel { grid-template-columns: repeat(4, 1fr); }
  .hero-reel .reel-tile:nth-child(3),
  .hero-reel .reel-tile:nth-child(4) { display: block; }
}

.reel-tile { transition: transform .4s var(--ease-out), border-color .25s; }
.reel-tile:hover { transform: translateY(-6px); border-color: var(--accent); }
.reel-tile-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.reel-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-4);
}
.reel-tile-overlay .label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); color: var(--accent-2); text-transform: uppercase;
  letter-spacing: 0.12em;
}
.reel-tile-overlay .title { font-weight: 600; font-size: var(--fs-sm); margin-top: 4px; }

/* ===== Sections ===== */
section { padding: var(--s-9) 0; position: relative; }
@media (min-width: 768px) { section { padding: var(--s-10) 0; } }
section + section { border-top: 1px solid var(--line); }

.section-head {
  max-width: 720px;
  margin-bottom: var(--s-8);
}

/* ===== Logo Bar ===== */
.logobar {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.logobar p {
  text-align: center; font-size: var(--fs-sm);
  color: var(--text-muted); margin-bottom: var(--s-5);
  text-transform: uppercase; letter-spacing: 0.16em;
  font-family: var(--font-mono);
}
.logobar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  align-items: center; justify-items: center;
  opacity: 0.7;
}
.logobar-grid span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .logobar-grid { grid-template-columns: repeat(6, 1fr); } }

/* ===== Stats / Numbers ===== */
.stat-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
}
.stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent-2), var(--text));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--text-muted); font-size: var(--fs-sm); margin-top: var(--s-3); }

/* ===== Cards ===== */
.cards { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: border-color .2s, transform .25s var(--ease-out);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  margin-bottom: var(--s-5);
  color: var(--accent-2);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--text-muted); }

/* Pain → Promise table */
.pain-promise {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface);
}
.pain-promise-row {
  display: grid; grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}
.pain-promise-row:last-child { border-bottom: 0; }
.pp-cell { padding: var(--s-5) var(--s-5); }
.pp-pain { color: var(--text-muted); font-style: italic; position: relative; }
.pp-pain::before { content: '"'; color: var(--text-dim); margin-right: 4px; }
.pp-pain::after { content: '"'; color: var(--text-dim); margin-left: 2px; }
.pp-promise {
  color: var(--text); font-weight: 600;
  background: var(--surface-2);
  position: relative; padding-left: 40px;
}
.pp-promise::before {
  content: '→';
  position: absolute; left: var(--s-5); color: var(--accent-2);
  font-weight: 700;
}
@media (min-width: 768px) {
  .pain-promise-row { grid-template-columns: 1fr 1fr; }
  .pp-promise { background: transparent; padding-left: var(--s-5); }
  .pp-promise::before { left: 0; }
  .pp-cell { padding: var(--s-5) var(--s-6); }
  .pp-promise { padding-left: 48px; }
  .pp-promise::before { left: var(--s-6); }
}

/* ===== Process timeline (Day 0 → Day 7) ===== */
.timeline {
  position: relative;
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); } }
.tl-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-5);
  position: relative;
}
.tl-day {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); color: var(--accent-2);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.tl-step h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.tl-step p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--s-6);
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: var(--accent);
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(255,46,146,0.4);
}
.price-card.featured::before {
  content: 'Most operators pick this';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: var(--fs-xs); font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.price-card .tier {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-2); margin-bottom: var(--s-3);
}
.price-card h3 { font-size: 1.5rem; margin-bottom: var(--s-3); }
.price-card .price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 3rem; letter-spacing: -0.03em; line-height: 1;
  margin: var(--s-3) 0;
}
.price-card .price small {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-muted);
  font-weight: 500;
}
.price-card .feat {
  list-style: none; margin: var(--s-5) 0; flex: 1;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.price-card .feat li {
  position: relative; padding-left: 28px;
  color: var(--text-muted); font-size: var(--fs-sm);
}
.price-card .feat li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.price-card .btn { width: 100%; }

.compare-anchor {
  margin-top: var(--s-7);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: var(--s-5);
  background: rgba(255,46,146,0.05);
}
.compare-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row .a { color: var(--text-muted); }
.compare-row .b { font-family: var(--font-mono); font-weight: 600; }

/* ===== Testimonials ===== */
.testimonial {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: var(--s-7);
  display: grid; gap: var(--s-5); align-items: center;
}
@media (min-width: 900px) { .testimonial { grid-template-columns: 2fr 1fr; padding: var(--s-9) var(--s-8); } }
.testimonial blockquote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  letter-spacing: -0.02em; line-height: 1.25;
}
.testimonial .author { display: flex; gap: var(--s-3); align-items: center; }
.testimonial .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: grid; place-items: center; font-weight: 700; color: #fff;
}
.testimonial .name { font-weight: 600; }
.testimonial .role { color: var(--text-muted); font-size: var(--fs-sm); }
.testimonial-meta {
  border-left: 1px solid var(--line); padding-left: var(--s-5);
  display: grid; gap: var(--s-3);
}
.testimonial-meta .num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.25rem;
  color: var(--accent-2); line-height: 1;
}
.testimonial-meta .lbl { font-size: var(--fs-xs); color: var(--text-muted); }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: var(--s-4);
  padding-right: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-weight: 400; color: var(--accent-2); font-size: 1.5rem;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: var(--s-4); color: var(--text-muted);
  max-width: 75ch;
}

/* ===== Big CTA ===== */
.cta-block {
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(255,46,146,0.25), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(124,92,255,0.25), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--s-8) var(--s-6);
  text-align: center;
}
@media (min-width: 768px) { .cta-block { padding: var(--s-10) var(--s-9); } }
.cta-block h2 { margin-bottom: var(--s-4); }
.cta-block p { color: var(--text-muted); max-width: 60ch; margin: 0 auto var(--s-6); }
.cta-block .btns { display: inline-flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }

/* ===== Footer ===== */
.footer {
  padding: var(--s-9) 0 var(--s-7);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-grid {
  display: grid; gap: var(--s-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-7);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--text-muted); margin-top: var(--s-4); max-width: 38ch; }
.footer h4 {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-muted); margin-bottom: var(--s-4);
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
.footer ul a { color: var(--text); font-size: var(--fs-sm); }
.footer ul a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  justify-content: space-between; align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--text-muted);
}

/* ===== Sticky mobile CTA bar ===== */
.sticky-mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
  display: flex; gap: var(--s-3);
  z-index: 80;
}
.sticky-mobile-cta .btn { flex: 1; }
@media (min-width: 900px) { .sticky-mobile-cta { display: none; } }

/* ===== Marquee ===== */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
  background: var(--surface);
}
.marquee-track {
  display: flex; gap: var(--s-7);
  animation: marquee 45s linear infinite;
  width: max-content;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--text-muted);
}
.marquee-track span { white-space: nowrap; }
.marquee-track span::before { content: '✦'; color: var(--accent); margin-right: var(--s-7); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Forms ===== */
.field { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.field label { font-size: var(--fs-sm); color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  min-height: 48px;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); background: var(--surface-3);
}
.field textarea { min-height: 120px; resize: vertical; }

/* Tile reel placeholders — gradient backgrounds */
.tile-bg-1 { background: linear-gradient(135deg, #2a1a3e 0%, #ff2e92 100%); }
.tile-bg-2 { background: linear-gradient(135deg, #053e2a 0%, #c8ff00 100%); }
.tile-bg-3 { background: linear-gradient(135deg, #1a1a3e 0%, #7c5cff 100%); }
.tile-bg-4 { background: linear-gradient(135deg, #3e1a1a 0%, #ff6b35 100%); }
.tile-bg-5 { background: linear-gradient(135deg, #0e2a3e 0%, #00e0a4 100%); }
.tile-bg-6 { background: linear-gradient(135deg, #3e2a1a 0%, #ffaa00 100%); }
.tile-bg-7 { background: linear-gradient(135deg, #1a1a1a 0%, #f5f5f7 100%); }

.tile-bg-1::after, .tile-bg-2::after, .tile-bg-3::after, .tile-bg-4::after,
.tile-bg-5::after, .tile-bg-6::after, .tile-bg-7::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 50%);
  mix-blend-mode: overlay;
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: var(--fs-xs); font-family: var(--font-mono);
  color: var(--text-muted); letter-spacing: 0.06em;
}
.badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(200,255,0,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200,255,0,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(200,255,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,255,0,0); }
}

/* ===== Case Study ===== */
.case-hero {
  padding: 140px 0 var(--s-9);
  position: relative; overflow: hidden;
}
.case-hero .badge { margin-bottom: var(--s-4); }
.case-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-6);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.case-meta div { font-size: var(--fs-sm); color: var(--text-muted); }
.case-meta strong { display: block; color: var(--text); font-size: 1rem; }

.metrics {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
  margin: var(--s-7) 0;
}
@media (min-width: 768px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metrics .stat { background: var(--surface-2); }

.case-body { max-width: 720px; margin: 0 auto; }
.case-body p, .case-body li { font-size: 1.0625rem; color: var(--text); margin-bottom: var(--s-4); line-height: 1.7; }
.case-body p { color: var(--text); }
.case-body h2 { margin-top: var(--s-8); margin-bottom: var(--s-4); font-size: 1.875rem; }
.case-body ul { padding-left: 1.5rem; margin-bottom: var(--s-5); }

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

/* No-JS fallback */
.no-js .menu-btn { display: none; }

/* ============================================
   v1.1 — Polish pass
   ============================================ */

/* Hero glow breathes (subtle, infinite) */
@keyframes hero-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}
.hero::before { animation: hero-breathe 8s ease-in-out infinite; transition: transform .4s ease-out; }

/* Hero grid subtle parallax target */
.hero-grid { transition: transform .25s ease-out; }

/* Button shimmer on hover (primary only) */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.25) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(100%); }

/* Card hover lift sharper */
.card { will-change: transform; }
.card:hover { box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }

/* Reel tile subtle shimmer */
.reel-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.reel-tile:hover::after { opacity: 1; }

/* Smooth-scroll-into-view spacing for anchors (header offset) */
:target { scroll-margin-top: 88px; }

/* Better mobile typography fluidity */
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  h1, h2, h3 { letter-spacing: -0.025em; }
  .hero { padding-top: 116px; }
  .lead { font-size: 1.0625rem !important; }
  .stat { padding: 16px; }
  .price-card { padding: 24px; }
  .price-card.featured { transform: scale(1); }
  .testimonial blockquote { font-size: 1.125rem; }
}

/* Print stylesheet (someone always prints the pricing page) */
@media print {
  .header, .sticky-mobile-cta, .footer, video, .marquee, .cta-block .btns { display: none !important; }
  body { background: white; color: black; }
  * { color: black !important; background: transparent !important; box-shadow: none !important; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.85em; color: #666; }
}

/* Focus visible — better keyboard nav */
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
button:focus-visible, a:focus-visible { outline-offset: 4px; }

/* Selection accent */
::selection { background: var(--accent-2); color: var(--bg); }

/* Container query support — work cards adapt */
@supports (container-type: inline-size) {
  .work-grid { container-type: inline-size; }
}

/* Cinematic page-load fade (subtle, fires once) */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
main { animation: page-fade-in .45s var(--ease-out) both; }

