/* =====================================================================
   HAIRSTYLE — Design System
   Evolved dark editorial. One coherent system across all pages.
   Sections: 1 Tokens · 2 Reset/Base · 3 Type · 4 Layout · 5 Header
   6 Buttons · 7 Hero/Slider · 8 Components · 9 Sections · 10 Pricing
   11 FAQ · 12 Footer · 13 Utilities · 14 Motion · 15 Responsive
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ------------------------------------------------------------------ *
 * 1. DESIGN TOKENS
 * ------------------------------------------------------------------ */
:root {
  /* --- Neutral ink ramp (warm-black) --- */
  --ink-900: #0C0B0A;   /* page base */
  --ink-800: #131211;   /* raised base */
  --ink-700: #1A1817;   /* surface */
  --ink-600: #221F1D;   /* surface hover / elevated */
  --ink-500: #2C2825;   /* borders strong */

  /* --- Warm text ramp --- */
  --text-100: #FBF9F6;  /* headings */
  --text-200: #EDE8E1;  /* body strong */
  --text-300: #C9C2B9;  /* body */
  --text-400: #9A938B;  /* secondary body */
  --text-muted: #918A82; /* muted / captions */

  /* --- Brand: gold ramp + rose --- */
  --gold-50:  #F7ECC9;
  --gold-300: #E7CB74;
  --gold-400: #D9B958;
  --gold-500: #D4AF37;  /* primary */
  --gold-600: #B9962A;
  --rose-400: #C98795;
  --rose-500: #B76E79;  /* secondary accent */

  /* --- Semantic --- */
  --bg: var(--ink-900);
  --surface: var(--ink-700);
  --surface-2: var(--ink-800);
  --accent: var(--gold-500);
  --accent-soft: rgba(212,175,55,0.10);
  --accent-line: rgba(212,175,55,0.22);
  --hairline: rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.14);

  /* --- Fonts --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* --- Fluid type scale (1.250 major-third, clamped) --- */
  --fs-display: clamp(2.75rem, 1.6rem + 5.6vw, 5rem);
  --fs-h1:      clamp(2.25rem, 1.5rem + 3.6vw, 3.75rem);
  --fs-h2:      clamp(1.9rem, 1.4rem + 2.4vw, 2.85rem);
  --fs-h3:      clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
  --fs-h4:      1.15rem;
  --fs-lead:    clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      0.9rem;
  --fs-xs:      0.78rem;
  --fs-eyebrow: 0.75rem;

  /* --- Spacing (8pt grid) --- */
  --sp-1: 0.5rem;   /* 8 */
  --sp-2: 1rem;     /* 16 */
  --sp-3: 1.5rem;   /* 24 */
  --sp-4: 2rem;     /* 32 */
  --sp-5: 3rem;     /* 48 */
  --sp-6: 4rem;     /* 64 */
  --sp-7: 6rem;     /* 96 */
  --sp-8: 8rem;     /* 128 */
  --section-y: clamp(4rem, 2.5rem + 7vw, 8rem);

  /* --- Radii --- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  /* --- Shadows (warm, layered, low-opacity) --- */
  --sh-sm: 0 1px 2px rgba(0,0,0,0.4);
  --sh-md: 0 12px 30px -12px rgba(0,0,0,0.55);
  --sh-lg: 0 30px 70px -24px rgba(0,0,0,0.65);
  --sh-gold: 0 14px 40px -12px rgba(212,175,55,0.35);

  /* --- Motion --- */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.18s var(--e-out);
  --t-med: 0.32s var(--e-out);
  --t-slow: 0.6s var(--e-out);

  /* --- Layout --- */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  --header-h: 76px;
}

/* ------------------------------------------------------------------ *
 * 2. RESET & BASE
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-300);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(212,175,55,0.3); color: var(--text-100); }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--gold-500); color: var(--ink-900);
  padding: 10px 18px; border-radius: var(--r-full);
  font-weight: 600; font-size: var(--fs-sm); z-index: 2000;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* Ambient background */
.bg-ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 8% -5%, rgba(212,175,55,0.06), transparent 55%),
    radial-gradient(50vw 50vw at 100% 105%, rgba(183,110,121,0.055), transparent 55%),
    var(--bg);
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1; opacity: 0.025;
  pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ *
 * 3. TYPOGRAPHY
 * ------------------------------------------------------------------ */
h1, h2, h3, h4, h5 { color: var(--text-100); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.font-display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }
p  { margin: 0; }

.display { font-family: var(--font-display); font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.025em; color: var(--text-100); font-weight: 400; }
.lead { font-size: var(--fs-lead); color: var(--text-300); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-400);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent-line); }
.eyebrow.center::before { display: none; }

.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-muted { color: var(--text-muted); }
.text-gold  { color: var(--gold-400); }
.text-serif-italic { font-family: var(--font-display); font-style: italic; }
.balance { text-wrap: balance; }

/* ------------------------------------------------------------------ *
 * 4. LAYOUT
 * ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section-head { max-width: 640px; margin: 0 auto var(--sp-6); text-align: center; }
.section-head .eyebrow { margin-bottom: var(--sp-2); }
.section-head p { margin-top: var(--sp-2); }
.divider { height: 1px; background: var(--hairline); border: 0; }

.grid { display: grid; gap: var(--sp-4); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.stack { display: flex; flex-direction: column; }

/* ------------------------------------------------------------------ *
 * 5. HEADER & NAVIGATION
 * ------------------------------------------------------------------ */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.header.is-scrolled {
  background: rgba(12,11,10,0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--hairline);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--sh-sm); }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--text-100); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav__link {
  position: relative; font-size: var(--fs-sm); font-weight: 500; color: var(--text-300);
  padding: 6px 2px; transition: color var(--t-fast);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold-400); transition: width var(--t-med);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text-100); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--hairline-strong);
  background: transparent; border-radius: var(--r-sm); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 18px; height: 1.6px; background: var(--text-100);
  transition: transform var(--t-med), opacity var(--t-fast); border-radius: 2px;
}
.nav-toggle span { top: 50%; transform: translate(-50%,-50%); }
.nav-toggle span::before { top: -6px; transform: translateX(-50%); }
.nav-toggle span::after  { top: 6px; transform: translateX(-50%); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: rgba(12,11,10,0.98);
  backdrop-filter: blur(8px); padding: calc(var(--header-h) + 24px) var(--gutter) var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-1);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav a.m-link {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--text-100);
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
}
.mobile-nav .btn { margin-top: var(--sp-3); }

/* ------------------------------------------------------------------ *
 * 6. BUTTONS
 * ------------------------------------------------------------------ */
.btn {
  --btn-py: 14px; --btn-px: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--btn-py) var(--btn-px); min-height: 48px;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.01em;
  border-radius: var(--r-full); border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: #241C05; box-shadow: var(--sh-gold); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -12px rgba(212,175,55,0.5); }
.btn--secondary { background: transparent; color: var(--text-100); border-color: var(--hairline-strong); }
.btn--secondary:hover { border-color: var(--gold-400); color: var(--gold-300); background: var(--accent-soft); }
.btn--ghost { background: transparent; color: var(--text-300); min-height: 40px; padding: 10px 14px; }
.btn--ghost:hover { color: var(--text-100); }
.btn--sm { --btn-py: 9px; --btn-px: 20px; min-height: 40px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn__arrow { transition: transform var(--t-fast); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* App store badges */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px;
  border: 1px solid var(--hairline-strong); border-radius: var(--r-sm);
  background: var(--ink-800); transition: border-color var(--t-fast), transform var(--t-fast), background var(--t-fast);
  min-width: 168px;
}
.store-badge:hover { border-color: var(--accent-line); transform: translateY(-2px); background: var(--ink-700); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.store-badge b { display: block; font-size: 1rem; color: var(--text-100); font-weight: 600; }

/* ------------------------------------------------------------------ *
 * 7. HERO & BEFORE/AFTER SLIDER
 * ------------------------------------------------------------------ */
.hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 4vw, 5rem)); padding-bottom: var(--section-y); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-top: var(--sp-3); }
.hero .lead { margin-top: var(--sp-3); max-width: 30rem; }
.hero__cta { display: flex; gap: 14px; margin-top: var(--sp-4); flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text-300); }
.trust-item b { color: var(--text-100); font-weight: 600; }

.stars { display: inline-flex; gap: 2px; color: var(--gold-400); }
.stars svg { width: 16px; height: 16px; }

.avatars { display: inline-flex; }
.avatars img, .avatars span {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink-900);
  margin-left: -8px; object-fit: cover; background: var(--ink-600);
}
.avatars :first-child { margin-left: 0; }

/* Slider */
.reveal-slider {
  position: relative; width: 100%; aspect-ratio: 4/5; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--hairline);
  user-select: none; touch-action: pan-y; isolation: isolate;
}
.reveal-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal-slider__after { z-index: 1; }
.reveal-slider__before { z-index: 2; clip-path: inset(0 50% 0 0); }
.reveal-slider__line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: 3;
  background: rgba(255,255,255,0.85); transform: translateX(-50%);
}
.reveal-slider__handle {
  position: absolute; top: 50%; left: 50%; z-index: 4; width: 46px; height: 46px;
  transform: translate(-50%,-50%); border-radius: 50%; cursor: ew-resize;
  background: var(--gold-500); border: 0; box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  display: grid; place-items: center;
}
.reveal-slider__handle svg { width: 22px; height: 22px; stroke: #241C05; }
.reveal-slider__tag {
  position: absolute; bottom: 16px; z-index: 4; padding: 6px 14px; font-size: var(--fs-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff; border-radius: var(--r-full);
  background: rgba(12,11,10,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.12);
}
.reveal-slider__tag--before { left: 16px; }
.reveal-slider__tag--after { right: 16px; color: var(--gold-300); }
.reveal-slider__float {
  position: absolute; z-index: 5; right: -14px; top: 22px; background: var(--ink-800);
  border: 1px solid var(--accent-line); border-radius: var(--r-md); padding: 12px 16px;
  box-shadow: var(--sh-md); display: flex; align-items: center; gap: 10px;
}
.reveal-slider__float b { color: var(--text-100); font-size: var(--fs-sm); display: block; }
.reveal-slider__float small { color: var(--text-muted); font-size: var(--fs-xs); }

/* ------------------------------------------------------------------ *
 * 8. COMPONENTS
 * ------------------------------------------------------------------ */
/* Marquee trust strip */
.trustbar { border-block: 1px solid var(--hairline); }
.trustbar__row { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem,5vw,4rem); flex-wrap: wrap; padding-block: var(--sp-4); }
.trustbar__item { display: inline-flex; align-items: center; gap: 10px; color: var(--text-300); font-size: var(--fs-sm); }
.trustbar__item b { color: var(--text-100); font-weight: 600; }
.trustbar__item .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-400); line-height: 1; }

/* Step (how it works) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-3); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--accent-line); display: block; margin-bottom: var(--sp-2);
}
.step h4 { margin-bottom: 6px; }
.step__line { position: absolute; top: 40px; left: 62px; right: -20%; height: 1px; background: var(--hairline); }
.steps .step:last-child .step__line { display: none; }

/* Feature row (benefits) */
.feature-media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--sh-md); aspect-ratio: 4/5; background: var(--surface); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { display: flex; flex-direction: column; gap: 4px; }
.feature-item { display: flex; gap: 16px; padding: var(--sp-3) 0; border-bottom: 1px solid var(--hairline); }
.feature-item:last-child { border-bottom: 0; }
.feature-item__icon {
  flex: none; width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--gold-400);
}
.feature-item__icon svg { width: 22px; height: 22px; }
.feature-item h4 { margin-bottom: 4px; }
.feature-item p { font-size: var(--fs-sm); color: var(--text-muted); }

/* Style gallery */
.filter-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.chip {
  padding: 9px 18px; border-radius: var(--r-full); border: 1px solid var(--hairline-strong);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-300); background: transparent; cursor: pointer;
  transition: all var(--t-fast);
}
.chip:hover { color: var(--text-100); border-color: var(--accent-line); }
.chip.is-active { background: var(--gold-500); color: #241C05; border-color: var(--gold-500); font-weight: 600; }

.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-3); }
.style-card {
  position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hairline);
  background: var(--surface); transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.style-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--sh-md); }
.style-card__img { aspect-ratio: 3/4; overflow: hidden; background: var(--ink-600); }
.style-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.style-card:hover .style-card__img img { transform: scale(1.05); }
.style-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-muted); font-size: var(--fs-sm); background: repeating-linear-gradient(135deg, var(--ink-700), var(--ink-700) 12px, var(--ink-600) 12px, var(--ink-600) 24px); }
.style-card__body { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.style-card__body h4 { font-size: 1rem; margin: 0; }
.style-card__body span { font-size: var(--fs-xs); color: var(--text-muted); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; font-size: 0.68rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--r-full);
  background: rgba(12,11,10,0.6); backdrop-filter: blur(6px); color: var(--gold-300); border: 1px solid var(--accent-line);
}
.badge--rose { color: var(--rose-400); border-color: rgba(183,110,121,0.35); }

/* Testimonials */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.tst-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3);
  transition: border-color var(--t-med), transform var(--t-med);
}
.tst-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.tst-card p { color: var(--text-200); font-size: 1.02rem; line-height: 1.6; }
.tst-card .quote-mark { font-family: var(--font-display); font-size: 2.4rem; line-height: 0.4; color: var(--accent-line); height: 22px; }
.tst-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst-author img, .tst-author .ph { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--ink-600); }
.tst-author b { color: var(--text-100); font-size: var(--fs-sm); display: block; font-weight: 600; }
.tst-author small { color: var(--gold-400); font-size: var(--fs-xs); }
.tst-featured { grid-column: 1 / -1; text-align: center; padding: var(--sp-6) var(--sp-4); }
.tst-featured blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2.2vw, 2.4rem); line-height: 1.35; color: var(--text-100); max-width: 20ch; margin: var(--sp-3) auto; }

/* ------------------------------------------------------------------ *
 * 9. CTA BANNER
 * ------------------------------------------------------------------ */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  border: 1px solid var(--accent-line); padding: clamp(2.5rem, 4vw, 5rem);
  text-align: center; background:
    radial-gradient(80% 120% at 50% 0%, rgba(212,175,55,0.12), transparent 60%),
    var(--ink-800);
}
.cta-banner .store-badges { justify-content: center; margin-top: var(--sp-4); }

/* ------------------------------------------------------------------ *
 * 10. PRICING
 * ------------------------------------------------------------------ */
.price-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--hairline-strong); border-radius: var(--r-full); margin: var(--sp-3) auto 0; }
.price-toggle button { border: 0; background: transparent; color: var(--text-300); font-weight: 600; font-size: var(--fs-sm); padding: 8px 20px; border-radius: var(--r-full); cursor: pointer; transition: all var(--t-fast); }
.price-toggle button.is-active { background: var(--gold-500); color: #241C05; }
.price-toggle .save-pill { font-size: var(--fs-xs); color: var(--gold-400); padding-inline: 8px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); align-items: stretch; max-width: 1000px; margin: 0 auto; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--sp-4); transition: border-color var(--t-med), transform var(--t-med);
}
.price-card:hover { border-color: var(--hairline-strong); }
.price-card--featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(212,175,55,0.06), var(--ink-800));
  box-shadow: var(--sh-md);
}
.price-card--featured::before {
  content: "Best value"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: #241C05; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.04em; padding: 5px 16px; border-radius: var(--r-full);
}
.price-card__name { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--text-100); letter-spacing: 0.02em; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; }
.price-card__price .amt { font-family: var(--font-display); font-size: 2.8rem; color: var(--text-100); line-height: 1; }
.price-card__price .per { color: var(--text-muted); font-size: var(--fs-sm); }
.price-card__note { font-size: var(--fs-xs); color: var(--gold-400); min-height: 1em; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: var(--sp-1); }
.price-card li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--text-300); }
.price-card li svg { flex: none; width: 18px; height: 18px; color: var(--gold-400); margin-top: 2px; }
.price-card li.muted { color: var(--text-muted); }
.price-card li.muted svg { color: var(--text-muted); }
.price-card .btn { margin-top: auto; }
.price-fine { text-align: center; font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-4); }

/* ------------------------------------------------------------------ *
 * 11. FAQ
 * ------------------------------------------------------------------ */
.faq { max-width: var(--maxw-narrow); margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item__q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: var(--sp-3) 4px; font-size: 1.1rem; font-weight: 500; color: var(--text-100); font-family: var(--font-body);
}
.faq-item__q:hover { color: var(--gold-300); }
.faq-item__icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold-400); transition: transform var(--t-med); }
.faq-item__icon::before { width: 12px; height: 1.6px; transform: translate(-50%,-50%); }
.faq-item__icon::after  { width: 1.6px; height: 12px; transform: translate(-50%,-50%); }
.faq-item[aria-expanded="true"] .faq-item__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item__a { overflow: hidden; height: 0; transition: height var(--t-med); }
.faq-item__a > div { padding: 0 4px var(--sp-3); color: var(--text-300); font-size: var(--fs-sm); line-height: 1.65; max-width: 62ch; }

/* ------------------------------------------------------------------ *
 * 12. FOOTER
 * ------------------------------------------------------------------ */
.footer { border-top: 1px solid var(--hairline); padding-top: var(--sp-7); margin-top: var(--sp-6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: var(--sp-4); }
.footer__brand { max-width: 300px; }
.footer__brand .brand { margin-bottom: var(--sp-2); }
.footer__brand p { font-size: var(--fs-sm); color: var(--text-muted); }
.footer__social { display: flex; gap: 10px; margin-top: var(--sp-3); }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--hairline-strong); border-radius: 50%; color: var(--text-300); transition: all var(--t-fast); }
.footer__social a:hover { color: var(--gold-300); border-color: var(--accent-line); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col-title { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-2); font-weight: 600; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: var(--fs-sm); color: var(--text-300); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--gold-300); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap;
  border-top: 1px solid var(--hairline); margin-top: var(--sp-6); padding-block: var(--sp-4);
  font-size: var(--fs-xs); color: var(--text-muted);
}
.footer__bottom a:hover { color: var(--text-200); }
/* Footer accordion chevron (mobile only) */
.footer__col-title button { display: none; }

/* ------------------------------------------------------------------ *
 * 13. COOKIE BANNER
 * ------------------------------------------------------------------ */
.cookie {
  position: fixed; bottom: 20px; left: 20px; max-width: 380px; z-index: 1000;
  background: var(--ink-800); border: 1px solid var(--accent-line); border-radius: var(--r-md);
  padding: var(--sp-3); box-shadow: var(--sh-lg);
  transform: translateY(140%); transition: transform var(--t-slow); opacity: 0;
}
.cookie.is-visible { transform: translateY(0); opacity: 1; }
.cookie h4 { margin-bottom: 6px; }
.cookie p { font-size: var(--fs-xs); color: var(--text-muted); }
.cookie__actions { display: flex; gap: 10px; margin-top: var(--sp-2); }

/* ------------------------------------------------------------------ *
 * 13b. LEGAL PAGES
 * ------------------------------------------------------------------ */
.legal-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 4vw, 4rem)); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--hairline); }
.legal-hero h1 { margin-top: 0.75rem; }
.legal-hero .meta { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: var(--sp-6); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc__title { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-2); font-weight: 600; }
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--hairline); }
.legal-toc a { display: block; padding: 7px 14px; font-size: var(--fs-sm); color: var(--text-muted); border-left: 2px solid transparent; margin-left: -1px; transition: color var(--t-fast), border-color var(--t-fast); }
.legal-toc a:hover, .legal-toc a[aria-current="true"] { color: var(--gold-300); border-left-color: var(--gold-400); }
.legal-prose { max-width: 68ch; }
.legal-prose h2 { font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; color: var(--text-100); margin: var(--sp-5) 0 var(--sp-2); scroll-margin-top: calc(var(--header-h) + 24px); letter-spacing: -0.005em; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p, .legal-prose li { color: var(--text-300); font-size: 1rem; line-height: 1.75; }
.legal-prose p { margin-bottom: var(--sp-2); }
.legal-prose ul { padding-left: 1.25rem; margin: 0 0 var(--sp-3); display: flex; flex-direction: column; gap: 10px; }
.legal-prose li::marker { color: var(--gold-500); }
.legal-prose a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); transition: text-decoration-color var(--t-fast); }
.legal-prose a:hover { text-decoration-color: var(--gold-400); }
.legal-prose strong { color: var(--text-200); font-weight: 600; }
.legal-callout { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--sp-3); margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--text-muted); }
.legal-callout a { color: var(--gold-300); }
@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: 1fr; gap: var(--sp-3); }
  .legal-toc { display: none; }
}

/* ------------------------------------------------------------------ *
 * 14. MOTION (reveal on scroll)
 * ------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--e-out), transform 0.7s var(--e-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ *
 * 15. RESPONSIVE
 * ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: var(--sp-5); }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero__visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .grid-2 { grid-template-columns: 1fr; gap: var(--sp-5); }
  .steps { grid-template-columns: 1fr; gap: var(--sp-4); }
  .step__line { display: none; }
  .tst-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .price-card--featured { order: -1; }
  .reveal-slider__float { display: none; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .nav__actions .btn--secondary { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 0; }
  /* Footer becomes accordion */
  .footer__col { border-bottom: 1px solid var(--hairline); }
  .footer__col-title { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: var(--sp-3) 2px; cursor: pointer; }
  .footer__col-title button { display: grid; place-items: center; background: none; border: 0; width: 24px; height: 24px; position: relative; cursor: pointer; }
  .footer__col-title button::before, .footer__col-title button::after { content:""; position:absolute; background: var(--text-muted); transition: transform var(--t-med); }
  .footer__col-title button::before { width: 11px; height: 1.5px; }
  .footer__col-title button::after { width: 1.5px; height: 11px; }
  .footer__col.is-open .footer__col-title button::after { transform: scaleY(0); }
  .footer__col ul { overflow: hidden; height: 0; transition: height var(--t-med); gap: 0; }
  .footer__col ul li { padding-bottom: 14px; }
  .footer__col ul li:first-child { padding-top: 4px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: var(--sp-2); }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .trustbar__row { gap: var(--sp-3) var(--sp-4); }
}
@media (max-width: 420px) {
  .hero__cta .btn { width: 100%; }
  .store-badge { flex: 1; }
}
