/* =========================================================================
   Vraie — vraieskin.com
   Tokens lifted verbatim from the app:
   lib/core/theme/app_colors.dart · app_typography.dart · app_gradients.dart
   ========================================================================= */

:root {
  /* Canvas / surfaces — warm porcelain */
  --canvas:        #FBF8F5;
  --surface:       #FFFFFF;
  --surface-sand:  #F5EDE5;
  --surface-muted: #EFE6DD;

  /* Ink */
  --ink:        #211B17;
  --ink-soft:   #6E6359;
  --ink-faint:  #A99E94;

  /* Brand */
  --bronze:      #B5764F;
  --bronze-deep: #8A5436;
  --bronze-lite: #C4895F;
  --plum:        #34232F;
  --plum-deep:   #241620;
  --glow:        #F2C9A6;
  --glow-soft:   #F8E2CE;

  /* Functional accents */
  --sage:  #6E8B6B;
  --coral: #D98A7A;
  --gold:  #CBA15A;
  --sky:   #7FA1B0;

  /* Lines & overlays */
  --hairline:        rgba(0,0,0,0.08);
  --hairline-strong: rgba(0,0,0,0.13);
  --scrim:           rgba(0,0,0,0.40);

  /* On-dark text */
  --on-dark:      #F6EFEA;
  --on-dark-soft: rgba(246,239,234,0.60);

  /* Gradients */
  --grad-glow-hero:  linear-gradient(135deg, #FBEFE4 0%, #F6DCC6 55%, #EFC8AE 100%);
  --grad-bronze:     linear-gradient(135deg, #C4895F 0%, #B5764F 50%, #8A5436 100%);
  --grad-bronze-hov: linear-gradient(135deg, #B5764F 0%, #8A5436 50%, #6F4226 100%);
  --grad-scan-stage: linear-gradient(180deg, #34232F 0%, #241620 100%);
  --grad-scan-glow:  radial-gradient(circle at center, rgba(242,201,166,0.33) 0%, rgba(242,201,166,0) 70%);
  --grad-card-sheen: linear-gradient(135deg, #FFFFFF 0%, #F5EDE5 100%);

  /* Elevation */
  --shadow-card: 0 1px 2px rgba(33,27,23,.04), 0 12px 32px rgba(33,27,23,.06);
  --shadow-cta:  0 8px 24px rgba(138,84,54,.28);
  --shadow-float: 0 24px 64px rgba(33,27,23,.18), 0 4px 16px rgba(33,27,23,.10);

  /* Radius */
  --r-card: 24px;
  --r-pill: 999px;
  --r-media: 28px;
  --r-chip: 12px;

  /* Layout */
  --container: 1200px;
  --prose: 720px;
  --gutter: 24px;

  /* Fonts */
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Palatino", "Times New Roman", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Motion */
  --ease-keynote: cubic-bezier(.2,.8,.2,1);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--bronze-deep); }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -56px;
  z-index: 200;
  background: var(--ink);
  color: var(--on-dark);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: top .2s var(--ease-keynote);
}
.skip-link:focus { top: 16px; color: var(--on-dark); }

/* ------------------------------------------------------------- Typography */
.fraunces { font-family: var(--font-serif); font-optical-sizing: auto; }

.overline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 16px;
  display: block;
}

.display-xl {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.display {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.serif-numeral {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: 0;
}

.body {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.45;
  color: var(--ink);
}
.body-soft {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.caption { font-size: 13px; line-height: 1.35; font-weight: 500; color: var(--ink-soft); }
.small   { font-size: 11.5px; line-height: 1.4; color: var(--ink-faint); }
.label   { font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--ink); }

/* ----------------------------------------------------------------- Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }
.section-pad { padding-block: 128px; }
.prose { max-width: var(--prose); }
.center { text-align: center; margin-inline: auto; }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head .display { margin-bottom: 20px; }
.section-head p.lead { margin: 0; max-width: 620px; }
.section-head.center p.lead { margin-inline: auto; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: transform .2s var(--ease-keynote), box-shadow .2s var(--ease-keynote),
              background .2s var(--ease-keynote), color .2s var(--ease-keynote),
              border-color .2s var(--ease-keynote);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-bronze);
  color: var(--on-dark);
  box-shadow: 0 4px 14px rgba(138,84,54,.18);
}
.btn-primary:hover {
  background: var(--grad-bronze-hov);
  color: var(--on-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-secondary:hover {
  background: var(--surface-sand);
  color: var(--ink);
  transform: translateY(-1px);
}

/* on-dark variants */
.on-dark .btn-secondary,
.btn-secondary.on-dark {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(246,239,234,.3);
}
.on-dark .btn-secondary:hover,
.btn-secondary.on-dark:hover {
  background: rgba(246,239,234,.08);
  color: var(--on-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--bronze-deep); background: rgba(181,118,79,.08); }

/* ------------------------------------------------------------------- Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease-keynote), border-color .35s var(--ease-keynote),
              backdrop-filter .35s var(--ease-keynote);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.nav.scrolled {
  background: rgba(251,248,245,.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .wordmark {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s var(--ease-keynote);
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  background: transparent;
  border: none;
  padding: 12px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-keynote), opacity .2s var(--ease-keynote);
}

/* mobile overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  padding: 96px 24px 32px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s var(--ease-keynote), opacity .3s var(--ease-keynote), visibility .3s;
}
.nav-overlay.open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-overlay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav-overlay a {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 12px 0;
  display: block;
}
.nav-overlay .overlay-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.nav-overlay .overlay-cta .btn { width: 100%; }

body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------- HERO */
.hero {
  position: relative;
  background: var(--grad-glow-hero);
  padding-top: 132px;
  padding-bottom: 96px;
  overflow: hidden;
}
.hero::after {
  /* soft fade into canvas at the bottom */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(251,248,245,0) 0%, var(--canvas) 100%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy .display-xl { margin-bottom: 22px; }
.hero-copy .lead { max-width: 540px; margin: 0 0 32px; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13px; }
.hero-trust .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft); display: inline-block; }

.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

/* --------------------------------------------------------- Phone mockup */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  background: #0d0a0c;
  padding: 11px;
  box-shadow: var(--shadow-float);
}
.phone::before { /* side button */
  content: "";
  position: absolute;
  right: -2px; top: 150px;
  width: 3px; height: 56px;
  background: #2a2228;
  border-radius: 2px;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--grad-scan-stage);
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #0d0a0c;
  border-radius: 14px;
  z-index: 5;
}
.scan-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 44px 18px 18px;
}
.scan-glow {
  position: absolute; inset: -10%;
  background: var(--grad-scan-glow);
  pointer-events: none;
}
.scan-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.scan-top .scan-eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--glow);
}
.scan-top .scan-pct { font-family: var(--font-serif); font-weight: 600; font-size: 15px; color: var(--on-dark); }

.face-frame {
  position: relative;
  flex: 1;
  margin: 14px 0;
  display: flex; align-items: center; justify-content: center;
}
.face-oval {
  position: relative;
  width: 168px; height: 210px;
  border-radius: 50% 50% 48% 48%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(246,239,234,.10);
}
.face-photo { width: 100%; height: 100%; object-fit: cover; }
.face-mesh {
  position: absolute; inset: 0;
  z-index: 3; pointer-events: none; opacity: .8;
}
/* framing reticle corners */
.reticle { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.reticle span {
  position: absolute; width: 22px; height: 22px;
  border: 2px solid rgba(242,201,166,.85);
}
.reticle .tl { top: 6px; left: 14px; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.reticle .tr { top: 6px; right: 14px; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.reticle .bl { bottom: 6px; left: 14px; border-right: none; border-top: none; border-radius: 0 0 0 6px; }
.reticle .br { bottom: 6px; right: 14px; border-left: none; border-top: none; border-radius: 0 0 6px 0; }

/* live scan-line inside the phone */
.scanline {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(242,201,166,0) 0%, rgba(242,201,166,.55) 70%, rgba(242,201,166,.9) 100%);
  border-bottom: 2px solid rgba(242,201,166,.95);
  z-index: 5; opacity: .9;
  animation: scanloop 3.4s var(--ease-keynote) infinite;
}
@keyframes scanloop {
  0%   { transform: translateY(-64px); opacity: 0; }
  12%  { opacity: .95; }
  88%  { opacity: .95; }
  100% { transform: translateY(210px); opacity: 0; }
}

.scan-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 2; }
.scan-metric {
  background: rgba(246,239,234,.07);
  border: 1px solid rgba(246,239,234,.12);
  border-radius: 14px;
  padding: 9px 10px;
}
.scan-metric .m-label { font-size: 9px; letter-spacing: .4px; color: var(--on-dark-soft); display: flex; align-items: center; gap: 5px; }
.scan-metric .m-dot { width: 7px; height: 7px; border-radius: 50%; }
.scan-metric .m-val { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--on-dark); margin-top: 2px; }

/* ------------------------------------------------------- Moat (white) */
.moat { background: var(--surface); }

.swatch-band {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin: 44px 0 14px;
}
.swatch {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.swatch::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 42%);
}
.swatch-caption { text-align: center; color: var(--ink-soft); font-size: 13px; font-weight: 500; margin-top: 4px; }

/* Built for every shade — real-face row */
.shade-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 48px 0 14px;
}
.shade-card {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-media);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--surface-sand);
  position: relative;
}
.shade-card::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  border-radius: inherit;
  pointer-events: none;
}
.shade-card img { width: 100%; height: 100%; object-fit: cover; }
.shade-caption { text-align: center; color: var(--ink-soft); font-size: 13px; font-weight: 500; margin: 0; }

.moat-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.moat-point .pt-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--surface-sand);
  color: var(--bronze);
  margin-bottom: 16px;
}
.moat-point .pt-icon svg { width: 24px; height: 24px; }
.moat-point .label { margin: 0 0 6px; font-size: 17px; }
.moat-point .caption { margin: 0; }

/* ---------------------------------------------------- Scan story (dark) */
.scan-story {
  background: var(--grad-scan-stage);
  color: var(--on-dark);
  overflow: hidden;
}
.scan-story .overline { color: var(--bronze-lite); }
.scan-story .display { color: var(--on-dark); }
.scan-story .lead { color: var(--on-dark-soft); }
.scan-story .glow-orb {
  position: absolute;
  width: 720px; height: 720px;
  top: -180px; right: -160px;
  background: var(--grad-scan-glow);
  pointer-events: none;
}
.scan-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}
.steps { display: flex; flex-direction: column; gap: 32px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.step .num {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(44px, 5vw, 60px);
  line-height: .9;
  color: var(--glow);
  min-width: 56px;
}
.step .step-label { margin: 4px 0 6px; color: var(--on-dark); font-size: 19px; font-family: var(--font-sans); font-weight: 600; }
.step .step-caption { margin: 0; color: var(--on-dark-soft); font-size: 15px; line-height: 1.5; }

.scan-preview { display: flex; justify-content: center; }
.preview-card {
  width: 100%;
  max-width: 360px;
  background: rgba(246,239,234,.05);
  border: 1px solid rgba(246,239,234,.12);
  border-radius: var(--r-media);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.preview-card .pc-face {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 18px;
}
.preview-card .pc-face img { width: 100%; height: 100%; object-fit: cover; }
.preview-card .pc-mesh {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 3; pointer-events: none;
}
.preview-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 56px;
  background: linear-gradient(180deg, rgba(242,201,166,0), rgba(242,201,166,.85));
  border-bottom: 2px solid var(--glow);
  z-index: 4;
}
.metric-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  background: rgba(246,239,234,.08);
  border: 1px solid rgba(246,239,234,.14);
  color: var(--on-dark);
  font-size: 13px; font-weight: 500;
}
.chip .c-dot { width: 8px; height: 8px; border-radius: 50%; }
.chip .c-val { color: var(--on-dark-soft); font-size: 12px; }

/* --------------------------------------------------- Value trio cards */
.value { background: var(--canvas); }
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.v-card {
  background: var(--grad-card-sheen);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-keynote), box-shadow .3s var(--ease-keynote);
}
.v-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(33,27,23,.05), 0 22px 48px rgba(33,27,23,.10); }
.v-card .v-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--grad-bronze);
  color: var(--on-dark);
  margin-bottom: 22px;
}
.v-card .v-icon svg { width: 26px; height: 26px; }
.v-card .v-kicker { color: var(--bronze); font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 10px; }
.v-card .title { margin: 0 0 12px; }
.v-card .body-soft { margin: 0; }

/* ------------------------------------------- Potential / portrait */
.potential { background: var(--surface-sand); }
.potential-wrap {
  max-width: 520px;
  margin: 48px auto 0;
}
.potential-figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-media);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  aspect-ratio: 4 / 5;
  background: var(--surface-muted);
}
.potential-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.potential-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242,201,166,0) 55%, rgba(33,27,23,.28) 100%);
  pointer-events: none;
}
.potential-tag {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(33,27,23,.45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.ba-disclaimer {
  max-width: 620px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.5;
}

/* --------------------------------------------------- Social proof */
.proof { max-width: 1000px; margin: 72px auto 0; }
.proof-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 44px;
}
.proof-avatars { display: flex; }
.proof-avatars img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface-sand);
  box-shadow: 0 2px 6px rgba(33,27,23,.12);
  margin-left: -12px;
}
.proof-avatars img:first-child { margin-left: 0; }
.proof-text {
  margin: 0;
  max-width: 360px;
  color: var(--ink-soft);
  font-size: 14px; line-height: 1.5; font-weight: 500;
  text-align: left;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-optical-sizing: auto; font-weight: 500;
  font-size: 18px; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink);
}
.testimonial figcaption {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.testimonial figcaption img {
  width: 40px; height: 40px;
  border-radius: 50%; object-fit: cover; flex: none;
}
.testimonial figcaption span {
  display: flex; flex-direction: column; line-height: 1.3;
}
.testimonial figcaption strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial .t-city { font-size: 12.5px; color: var(--ink-soft); }
.proof-fine {
  max-width: 620px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 11.5px; line-height: 1.5;
}

/* ------------------------------------------------------------ Pricing */
.pricing { background: var(--canvas); }
.price-cards {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.price-card.highlight {
  background:
    linear-gradient(135deg, rgba(251,239,228,.9) 0%, rgba(246,220,198,.6) 55%, rgba(239,200,174,.45) 100%),
    var(--surface);
  border: 1.5px solid var(--bronze);
  box-shadow: 0 2px 6px rgba(138,84,54,.10), 0 24px 56px rgba(138,84,54,.14);
}
.price-badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--grad-bronze);
  color: var(--on-dark);
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta);
}
.price-name { font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: -0.2px; color: var(--ink); margin: 0 0 8px; }
.price-amount {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px;
}
.price-amount .num {
  font-family: var(--font-serif); font-optical-sizing: auto; font-weight: 600;
  font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; color: var(--ink);
}
.price-amount .per { color: var(--ink-soft); font-size: 16px; font-weight: 500; }
.price-sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 22px; }
.price-features { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.4; }
.price-features li svg { width: 18px; height: 18px; flex: none; color: var(--bronze); margin-top: 2px; }
.price-card .btn { width: 100%; }
.price-fine { color: var(--ink-soft); font-size: 11.5px; line-height: 1.5; margin: 16px 0 0; }
.price-spacer { flex: 1; }

.price-reassure {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 32px;
  color: var(--ink-soft); font-size: 13px; font-weight: 500;
}
.price-reassure .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft); align-self: center; }

/* ---------------------------------------------------------------- FAQ */
.faq { background: var(--surface); }
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: transparent; border: none;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-serif); font-optical-sizing: auto; font-weight: 600;
  font-size: clamp(19px, 2vw, 23px); line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; color: var(--bronze); transition: transform .3s var(--ease-keynote); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  left: 50%; top: 50%;
}
.faq-icon::before { width: 16px; height: 2px; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 2px; height: 16px; transform: translate(-50%,-50%); transition: transform .3s var(--ease-keynote); }
.faq-item[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease-keynote);
}
.faq-a-inner {
  padding: 0 4px 26px;
  color: var(--ink-soft);
  font-size: 16px; line-height: 1.6;
  max-width: 640px;
}

/* ----------------------------------------------------------- CTA band */
.cta-band {
  background: var(--grad-bronze);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(246,239,234,.18), transparent 55%);
  pointer-events: none;
}
.cta-band .display { color: var(--on-dark); max-width: 640px; margin: 0 auto 16px; position: relative; }
.cta-band .cta-sub { color: rgba(246,239,234,.85); font-size: 14px; margin: 0 0 28px; position: relative; }
.cta-band .btn-light {
  background: var(--on-dark);
  color: var(--bronze-deep);
  position: relative;
  box-shadow: 0 8px 24px rgba(33,27,23,.22);
}
.cta-band .btn-light:hover { background: #fff; color: var(--bronze-deep); transform: translateY(-1px); }

/* -------------------------------------------------------------- Footer */
.footer {
  background: var(--grad-scan-stage);
  color: var(--on-dark);
  padding-top: 80px;
}
.footer .overline { color: var(--bronze-lite); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand .wordmark { color: var(--on-dark); }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { color: var(--on-dark-soft); font-size: 15px; max-width: 280px; margin: 16px 0 0; line-height: 1.5; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--on-dark-soft); margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--on-dark); font-size: 15px; transition: color .2s var(--ease-keynote); }
.footer-col a:hover { color: var(--glow); }

.disclaimer-strip {
  border: 1px solid rgba(246,239,234,.16);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 28px;
}
.disclaimer-strip p {
  margin: 0;
  color: var(--on-dark-soft);
  font-size: 12.5px;
  line-height: 1.6;
}
.disclaimer-strip strong { color: var(--on-dark); font-weight: 700; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 0 36px;
  border-top: 1px solid rgba(246,239,234,.12);
  color: var(--on-dark-soft);
  font-size: 12px;
}
.footer-bottom .fb-links { display: flex; gap: 18px; }
.footer-bottom a { color: var(--on-dark-soft); }
.footer-bottom a:hover { color: var(--glow); }

/* --------------------------------------------------- Legal sub-pages */
.legal {
  padding-top: 132px;
  padding-bottom: 96px;
}
.legal .container { max-width: 760px; }
.legal h1 { margin: 0 0 8px; }
.legal .updated { color: var(--ink-soft); font-size: 13px; margin: 0 0 40px; }
.legal h2 {
  font-family: var(--font-serif); font-optical-sizing: auto; font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink); margin: 40px 0 12px;
}
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { font-weight: 500; }
.legal .legal-disclaimer {
  background: var(--surface-sand);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 32px 0;
}
.legal .legal-disclaimer p { margin: 0; color: var(--ink); }
.legal .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; font-weight: 500; }

/* ------------------------------------------------------- Scroll-reveal */
/* Progressive enhancement: hidden state only applies when JS is on.
   With JS off (no html.js), .reveal renders fully visible. */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease-keynote), transform .55s var(--ease-keynote);
  will-change: opacity, transform;
}
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }

/* ----------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .section-pad { padding-block: 80px; }
  .hero { padding-top: 116px; }
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-actions .nav-toggle { display: flex; }
  .nav-actions { gap: 8px; }

  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-copy { max-width: 620px; margin-inline: auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .section-head { margin-inline: auto; text-align: center; }
  .section-head p.lead { margin-inline: auto; }

  .swatch-band { grid-template-columns: repeat(4, 1fr); }
  .swatch-band .swatch:nth-child(n+5) { grid-column: span 1; }

  .moat-points { grid-template-columns: 1fr; gap: 22px; max-width: 480px; margin-inline: auto; }
  .moat-point { text-align: center; }
  .moat-point .pt-icon { margin-inline: auto; }

  .scan-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .scan-preview { order: -1; }

  .value-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .shade-row { gap: 12px; }
  .testimonials { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .proof-row { flex-direction: column; }
  .proof-text { text-align: center; }

  .price-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section-pad { padding-block: 64px; }
  .container { padding-inline: 20px; }
  .hero { padding-top: 104px; padding-bottom: 64px; }
  .legal { padding-top: 104px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .swatch-band {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -20px;
    padding: 8px 20px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .swatch-band .swatch {
    flex: 0 0 116px;
    scroll-snap-align: center;
    aspect-ratio: 3 / 4;
  }

  .shade-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -20px;
    padding: 8px 20px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .shade-card {
    flex: 0 0 150px;
    scroll-snap-align: center;
    aspect-ratio: 3 / 4;
  }

  .step { grid-template-columns: 1fr; gap: 6px; }
  .step .num { font-size: 44px; }

  .price-card { padding: 28px 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .phone { width: 264px; }
}

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