/* Copied verbatim from docs/design/design-brief.md section 10 ("CSS :root tokens"). Change the brief first, then this file. */
:root {
  color-scheme: light dark;

  /* color, light */
  --bg: #FAF8F6;
  --surface: #FFFFFF;
  --surface-2: #F1EEEB;
  --border: #E4E0DC;
  --text: #1F1D24;
  --muted: #5F5A66;
  --disabled: #8A8590;
  --accent: #B0225A;
  --on-accent: #FFFFFF;
  --accent-2: #5446C9;
  --highlight: #006F5F;
  --success: #1A6F44;
  --error: #B3261E;
  --scrim: rgba(31, 29, 36, 0.56);
  --canvas: #E9E6E3;
  --tint-berry: #F8E9EF;
  --tint-violet: #ECEAFA;
  --tint-teal: #E3F3F0;
  --cta-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);

  /* type */
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(42px, 4vw + 26px, 64px);
  --fs-h1: clamp(34px, 2vw + 26px, 48px);
  --fs-h2: clamp(28px, 1.5vw + 22px, 36px);
  --fs-h3: clamp(22px, 0.5vw + 18px, 24px);
  --fs-title: clamp(18px, 0.5vw + 15px, 20px);
  --fs-label: 13px;
  --fs-body-lg: clamp(17px, 0.25vw + 16px, 18px);
  --fs-body: 16px;
  --fs-caption: 14px;
  --lh-display: 1.05;
  --lh-h1: 1.1;
  --lh-h2: 1.15;
  --lh-tight: 1.25;
  --lh-body: 1.6;
  --ls-display: -0.01em;
  --ls-h1: -0.01em;
  --ls-label: 0.12em;

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --section-y: var(--space-9);
  --gutter: 24px;
  --nav-h: 64px;
  --hit: 44px;

  /* layout */
  --container: 1200px;
  --container-narrow: 720px;

  /* radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 24px 24px;

  /* elevation */
  --elev-1: 0 1px 2px rgba(31, 29, 36, 0.06), 0 2px 8px rgba(31, 29, 36, 0.06);
  --elev-2: 0 8px 24px rgba(31, 29, 36, 0.10);
  --elev-3: 0 16px 48px rgba(31, 29, 36, 0.16);
  --glow-accent: 0 8px 24px rgba(176, 34, 90, 0.28);

  /* motion */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
  --dur-reveal: 480ms;
  --reveal-y: 16px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 639px) {
  :root {
    --section-y: var(--space-8);
    --gutter: 16px;
    --nav-h: 56px;
    --fs-label: 12px;
  }
}

/* dark: follows the OS unless the visitor forced light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141317;
    --surface: #1E1C22;
    --surface-2: #28262D;
    --border: #3A3740;
    --text: #F3F0EC;
    --muted: #B3ADB8;
    --disabled: #6F6A75;
    --accent: #FF7AA2;
    --on-accent: #141317;
    --accent-2: #A99CFF;
    --highlight: #3FE0C5;
    --success: #4FD6A0;
    --error: #FF8A80;
    --scrim: rgba(0, 0, 0, 0.64);
    --tint-berry: #2A1E24;
    --tint-violet: #221F33;
    --tint-teal: #18282A;
    --elev-1: 0 1px 2px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.2);
    --elev-2: 0 8px 24px rgba(0, 0, 0, 0.3);
    --elev-3: 0 16px 48px rgba(0, 0, 0, 0.4);
    --glow-accent: 0 8px 24px rgba(255, 122, 162, 0.2);
  }
}

/* dark: forced by a manual theme toggle (same values as above) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141317;
  --surface: #1E1C22;
  --surface-2: #28262D;
  --border: #3A3740;
  --text: #F3F0EC;
  --muted: #B3ADB8;
  --disabled: #6F6A75;
  --accent: #FF7AA2;
  --on-accent: #141317;
  --accent-2: #A99CFF;
  --highlight: #3FE0C5;
  --success: #4FD6A0;
  --error: #FF8A80;
  --scrim: rgba(0, 0, 0, 0.64);
  --tint-berry: #2A1E24;
  --tint-violet: #221F33;
  --tint-teal: #18282A;
  --elev-1: 0 1px 2px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.2);
  --elev-2: 0 8px 24px rgba(0, 0, 0, 0.3);
  --elev-3: 0 16px 48px rgba(0, 0, 0, 0.4);
  --glow-accent: 0 8px 24px rgba(255, 122, 162, 0.2);
}
:root[data-theme="light"] { color-scheme: light; }

/* reduced motion: opacity-only reveals, no hint sweep, no lift, no smooth scroll */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-slow: 0ms;
    --dur-reveal: 120ms;
    --reveal-y: 0px;
  }
  html { scroll-behavior: auto; }
  .btn-primary:hover, .btn-primary:active { transform: none; }
  .ba-hint { animation: none; }
}

body {
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body) / var(--lh-body) var(--font-body);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, .display { font-family: var(--font-display); font-weight: 400; }
h1 em, h2 em, .display em { font-style: italic; color: var(--accent); } /* the one emphasis word */

/* solid fallbacks where blur is unavailable or unwanted */
@supports not (backdrop-filter: blur(1px)) {
  .nav.is-scrolled { background: var(--surface); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled { background: var(--surface); backdrop-filter: none; }
}

/* the gradient disappears in forced-colors mode, so keep a visible edge */
@media (forced-colors: active) {
  .btn-primary { border: 2px solid ButtonText; }
}

/* Reset, type scale, components and the landing page, from docs/design/design-brief.md sections 3-8.
   Tokens live in tokens.css; /assets/site.css serves both as one file. */

/* fonts: self-hosted Latin subsets (OFL, licences in static/fonts) */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/InstrumentSerif-Regular.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/static/fonts/InstrumentSerif-Italic.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/Poppins-Medium.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/static/fonts/Poppins-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/static/fonts/OpenSans-Variable.woff2) format("woff2"); }

/* reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* base.css loads after tokens.css, so smooth scroll must opt in here or it overrides the reduced-motion reset */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
:target { scroll-margin-top: var(--nav-h); }
[id] { scroll-margin-top: var(--nav-h); }

/* type scale (section 3) */
.display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2, .h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3, .h3 { font: 600 var(--fs-h3) / var(--lh-tight) var(--font-ui); }
.title { font: 600 var(--fs-title) / 1.3 var(--font-ui); }
.label {
  font: 600 var(--fs-label) / 1.4 var(--font-ui);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--muted);
}
.body-lg { font-size: var(--fs-body-lg); line-height: var(--lh-body); }
.caption { font-size: var(--fs-caption); line-height: 1.5; letter-spacing: 0.005em; color: var(--muted); }
p + p { margin-top: var(--space-4); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p a { text-decoration: underline; text-underline-offset: 0.15em; }

/* layout (section 5) */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-5); }

/* buttons (section 6) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 14px 32px; border-radius: var(--radius-pill); border: 0;
  font: 600 16px / 1 var(--font-ui); letter-spacing: 0.01em; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--cta-gradient); color: var(--on-accent); box-shadow: var(--glow-accent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(176, 34, 90, 0.34); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--glow-accent); }
.btn-secondary { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }

/* accessibility (section 8) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--surface); color: var(--text); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--space-4); }

.prose h1 { margin-bottom: var(--space-5); }
.prose h2 { margin-top: var(--space-7); margin-bottom: var(--space-3); }
.prose h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); }
.prose ul, .prose ol { padding-left: var(--space-5); margin-top: var(--space-3); }
.prose li + li { margin-top: var(--space-2); }


/* shared components */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; }
.btn-block { width: 100%; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-5); box-shadow: var(--elev-1); }
.card > * + * { margin-top: var(--space-2); }
.matte { width: fit-content; max-width: 100%; background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-4); }
.tint-berry { background: var(--tint-berry); }
.tint-violet { background: var(--tint-violet); }
.tint-teal { background: var(--tint-teal); }
.wordmark { display: inline-flex; align-items: center; min-height: var(--hit);
  font: 400 30px / 1 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.wordmark:hover { text-decoration: none; }

/* nav (section 6) */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.nav.is-scrolled { background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: var(--space-3); }
.nav-inner .wordmark { margin-right: auto; }
.nav-links { display: none; gap: var(--space-5); }
.nav-links a, .menu-sheet a { display: inline-flex; align-items: center; min-height: var(--hit);
  font: 500 15px / 1 var(--font-ui); color: var(--text); border-bottom: 2px solid transparent; }
.nav-links a { min-width: var(--hit); justify-content: center; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a[aria-current="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta { gap: 0; min-height: var(--hit); padding: 12px 20px; }
.menu { position: static; }
.menu-btn { list-style: none; display: grid; place-items: center; width: var(--hit); height: var(--hit);
  border-radius: var(--radius-pill); color: var(--text); cursor: pointer; }
.menu-btn::-webkit-details-marker { display: none; }
.menu[open] .menu-btn { background: var(--surface-2); }
.menu-sheet { position: absolute; left: 0; right: 0; top: var(--nav-h); display: grid;
  padding: var(--space-2) var(--gutter) var(--space-4); background: var(--surface);
  border-bottom: 1px solid var(--border); box-shadow: var(--elev-2); }
.menu-sheet a { min-height: 48px; font-size: 16px; }
@media (max-width: 379px) {
  .nav-cta .nav-cta-long { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-cta { padding: 12px 16px; }
  .wordmark { font-size: 26px; }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; margin-right: var(--space-5); }
  .menu { display: none; }
}

/* hero */
.hero { padding-block: var(--space-6) var(--section-y); }
.hero-grid { display: grid; gap: var(--space-5);
  grid-template-areas: "copy" "media" "cta"; }
.hero-copy { grid-area: copy; }
.hero-copy > * + * { margin-top: var(--space-4); }
.hero-sub { color: var(--muted); max-width: 34em; }
.hero-media { grid-area: media; justify-self: center; width: min(100%, 300px); }
.hero-media figcaption { margin-top: var(--space-3); text-align: center; }
.hero-cta { grid-area: cta; }
.hero-cta .btn { width: 100%; }
.arch { position: relative; background: var(--surface); border-radius: var(--radius-arch); padding: var(--space-3); }
.arch::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1.5px solid var(--accent-2);
  border-radius: var(--radius-arch); pointer-events: none; z-index: -1; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 999px 999px 16px 16px; }
@media (forced-colors: active) { .arch::before { display: none; } }
@media (min-width: 640px) {
  .hero-cta .btn { width: auto; }
  .hero-media { width: 360px; }
}
@media (min-width: 1024px) {
  .hero { padding-top: var(--space-8); }
  .hero-grid { grid-template-columns: 6fr 6fr; column-gap: var(--space-8); align-items: center;
    grid-template-areas: "copy media" "cta media"; grid-template-rows: auto 1fr; }
  .hero-copy { align-self: end; }
  .hero-cta { align-self: start; }
  .hero-media { width: min(100%, 460px); }
}

/* chips (section 6) */
.chips { border: 0; padding: 0; min-width: 0; display: flex; gap: var(--space-2); }
.chips legend { padding: 0; margin-bottom: var(--space-3); float: left; width: 100%; }
.chips-wrap { flex-wrap: wrap; }
.chips-scroll { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter) var(--space-2); scrollbar-width: none; flex-wrap: nowrap; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chip-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip { display: inline-flex; align-items: center; gap: var(--space-1); flex: none; scroll-snap-align: start;
  min-height: var(--hit); padding: 0 var(--space-4); border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--text); font: 500 14px / 1 var(--font-ui); letter-spacing: 0.01em;
  cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.chip .icon { display: none; width: 18px; height: 18px; stroke-width: 2; }
.chip-input:checked + .chip { background: var(--accent); color: var(--on-accent); }
.chip-input:checked + .chip .icon { display: block; }
.chip-input:focus-visible + .chip { outline: 2px solid var(--accent); outline-offset: 2px; }
.tint-berry .chip, .tint-violet .chip, .tint-teal .chip { background: var(--surface); }
.tint-berry .chip-input:checked + .chip, .tint-violet .chip-input:checked + .chip { background: var(--accent); }
@media (min-width: 1024px) {
  .chips-scroll { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (forced-colors: active) { .chip { border: 1px solid ButtonText; } }

/* before/after module (section 6) */
.looks-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.looks-copy > * + * { margin-top: var(--space-5); }
.look-caption { font: 600 var(--fs-title) / 1.3 var(--font-ui); }
.ba-buttons { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.btn-chip { min-height: var(--hit); padding: 0 var(--space-4); border-radius: var(--radius-pill);
  border: 1.5px solid var(--muted); background: transparent; font: 500 14px / 1 var(--font-ui); }
.btn-chip:hover { border-color: var(--text); }
.disclosure { max-width: 36em; }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden;
  background: var(--canvas); width: 100%; max-width: 560px; justify-self: center; isolation: isolate; }
.ba-layer, .ba-look { position: absolute; inset: 0; }
.ba img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ba-look { opacity: 0; transition: opacity var(--dur-slow) var(--ease-in-out); }
.ba-look.is-active { opacity: 1; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-pill { position: absolute; top: var(--space-3); z-index: 2; padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--surface); color: var(--text); font: 600 12px / 1.2 var(--font-ui); letter-spacing: var(--ls-label);
  text-transform: uppercase; }
.ba-pill-before { left: var(--space-3); }
.ba-pill-after { right: var(--space-3); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px;
  background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 40%, transparent); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--text);
  box-shadow: 0 0 0 2px var(--text), var(--elev-2); }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.ba-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ba:has(.ba-range:focus-visible) .ba-handle { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent), var(--elev-2); }
.ba.is-stepping .ba-before { transition: clip-path var(--dur-fast) var(--ease-out); }
.ba.is-stepping .ba-divider { transition: left var(--dur-fast) var(--ease-out); }
@media (min-width: 1024px) {
  .looks-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-8); align-items: center; }
  .ba { justify-self: end; }
}

/* value props (section 5) */
.vp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.vp-grid > *, .looks-grid > *, .hero-grid > * { min-width: 0; }
.vp-rail { color: var(--text); }
.vp-num { font: italic 400 22px / 1 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--accent); }
.vp-body { max-width: 680px; }
.vp-body > * + * { margin-top: var(--space-5); }
.example-card { max-width: 420px; }
.occ-figure { max-width: 380px; }
.occ-stack { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--canvas); }
.occ-img { position: absolute; inset: 0; opacity: 0; transition: opacity var(--dur-slow) var(--ease-in-out); }
.occ-img.is-active { opacity: 1; }
.occ-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.occ-figure figcaption { margin-top: var(--space-3); }
.salon-card { max-width: 380px; aspect-ratio: 4 / 5; display: flex; flex-direction: column; gap: var(--space-3);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); background: var(--surface); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.specs dt { font-size: var(--fs-caption); color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.swatches { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.swatches li { display: flex; align-items: center; gap: var(--space-3); }
.swatch { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(31, 29, 36, 0.12); }
.swatch::after { content: ""; position: absolute; left: 8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  border-top: 3px solid rgba(255, 255, 255, 0.6); transform: rotate(-30deg); }
.swatch-sage { background: #B7C4A9; }
.swatch-gold { background: #C8A24A; }
.swatch-name { font: 600 12px / 1.4 var(--font-ui); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.salon-mark { margin-top: auto; font: 400 20px / 1 var(--font-display); }
@media (min-width: 1024px) {
  .vp-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-7); align-items: start; }
  .vp-rail { position: sticky; top: 96px; }
}

/* how it works */
.how h2 { margin-bottom: var(--space-6); }
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
.step .icon { color: var(--accent); width: 32px; height: 32px; }
.step .title { margin-top: var(--space-4); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

/* pricing (section 6) */
.pricing h2 { margin: var(--space-2) 0 var(--space-6); }
.plans { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--elev-1); overflow: hidden; }
.plan-head { min-height: 96px; display: flex; align-items: flex-end; padding: var(--space-5); }
.plan-body { flex: 1; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); }
.plan-price { display: flex; align-items: baseline; gap: var(--space-2); }
.price { font: 400 48px / 1 var(--font-display); }
.plan-feats { list-style: none; padding: 0; flex: 1; }
.plan-feats li { display: flex; gap: var(--space-2); }
.plan-feats .icon { color: var(--success); }
.fine-print { margin-top: var(--space-5); max-width: 40em; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(4, 1fr); } }

/* waitlist form (section 6) */
.wl-card { padding: var(--space-6) var(--space-5); }
.wl-card > * + * { margin-top: var(--space-4); }
.wl-form { display: grid; gap: var(--space-4); }
.field-label { display: block; margin-bottom: var(--space-2); font: 600 15px / 1.3 var(--font-ui); }
.field-input { width: 100%; height: 52px; padding: 0 var(--space-4); border-radius: var(--radius-sm);
  background: var(--surface); border: 1.5px solid var(--muted); font-size: 16px; }
.field-input::placeholder { color: var(--muted); opacity: 1; }
.field-input:focus { border-color: var(--accent); }
.field-input[aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-caption); line-height: 1.5; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.check label { cursor: pointer; padding-block: 2px; }
.field-error { color: var(--error); font-size: var(--fs-caption); min-height: 0; }
.field-error-body { display: flex; gap: var(--space-2); align-items: flex-start; }
.field-error-body[hidden] { display: none; }
.field-error .icon { width: 20px; height: 20px; }
.wl-success { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--success); font-weight: 600; }
.wl-success[hidden] { display: none; }
.wl-success:focus { outline: none; }
.wl-success:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: 0.7; cursor: progress; }

/* dialog (section 6) */
.wl-dialog { width: min(100% - 2 * var(--space-4), 480px); max-height: calc(100% - 2 * var(--space-4)); margin: auto;
  padding: var(--space-6) var(--space-5) var(--space-5); border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text); box-shadow: var(--elev-3); }
.wl-dialog > * + * { margin-top: var(--space-4); }
.wl-dialog::backdrop { background: var(--scrim); }
.wl-dialog[open] { animation: dlg-in var(--dur-slow) var(--ease-out); }
.wl-dialog[open]::backdrop { animation: fade-in var(--dur-base) var(--ease-out); }
.dlg-close { position: absolute; top: var(--space-2); right: var(--space-2); width: var(--hit); height: var(--hit);
  display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.dlg-close:hover { background: var(--surface-2); color: var(--text); }
.dlg-plan { color: var(--muted); }
.dlg-plan[hidden] { display: none; }
@keyframes dlg-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } }

/* FAQ */
.faq h2 { margin-bottom: var(--space-5); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  min-height: 56px; padding-block: var(--space-3); cursor: pointer; font: 600 var(--fs-title) / 1.3 var(--font-ui); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 400 28px / 1 var(--font-ui); color: var(--accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: var(--space-5); max-width: 40em; }

/* footer (section 6) */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding-block: var(--space-7); }
.footer-inner { display: grid; gap: var(--space-5); }
.footer-line { margin-top: var(--space-2); }
.footer-inner .caption { margin-top: var(--space-1); }
.site-footer nav { display: flex; flex-wrap: wrap; column-gap: var(--space-5); }
.site-footer nav a { display: inline-flex; align-items: center; min-height: var(--hit); color: var(--muted); }
.site-footer nav a:hover { color: var(--accent); }
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-copy { grid-column: 1 / -1; }
}

/* entrance reveals (section 7); hidden only once JS has run, so content never depends on it */
.js .reveal { opacity: 0; transform: translateY(var(--reveal-y));
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn, .chip, .nav, .ba-look, .occ-img { transition: none; }
  .ba.is-stepping .ba-before, .ba.is-stepping .ba-divider { transition: none; }
  .wl-dialog[open], .wl-dialog[open]::backdrop { animation: fade-in 120ms linear; }
  .chips-scroll { scroll-snap-type: none; }
  .js .reveal { transition-delay: 0ms; }
}
