/* ============================================================
   CRWN — base styles
   ============================================================ */

:root {
  --bg:        #fdf9f0;
  --bg-alt:    #f0e6d3;
  --bg-deep:   #e9dcc0;
  --ink:       #1c1712;
  --ink-soft:  #675f52;
  --line:      #e2d5ba;
  --dark:      #263123;
  --accent:    #bf4a26;
  --accent-2:  #c98a2c;
  --maroon:    #6f231b;
  --olive:     #8a7440;
  --brown-dark: #3c2417;
  --brick:      #7a4432;

  --braids: #6f2725;
  --locs:   #c06a2b;
  --silk:   #e0a021;
  --wash:   #2f4c37;
  --color:  #a07a56;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1140px;
  --pad:  24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0.33 0.33 0.33 0 0  0.33 0.33 0.33 0 0  0.33 0.33 0.33 0 0  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  /* Grain stays put on the body itself; the color blooms live in the
     .bg-glow layer below so they can slowly "breathe" without the grain
     appearing to move with them. */
  position: relative;
  background-color: var(--bg);
  background-image: var(--grain);
  background-repeat: repeat;
  background-blend-mode: overlay;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* A handful of soft, low-opacity color blooms scattered down the full
   page height (not just the hero) — maroon, gold, ochre-brown, olive —
   that drift and pulse gently, like the page is breathing. This is a
   real element (not body::before) with its own overflow:hidden, so the
   animated bleed clips against itself rather than needing overflow
   hidden on body/html — which would break the sticky header. */
.bg-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image:
    radial-gradient(1100px 520px at 50% -6%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 60%),
    radial-gradient(900px 900px at 10% 20%, color-mix(in srgb, var(--maroon) 10%, transparent), transparent 65%),
    radial-gradient(1000px 750px at 92% 42%, color-mix(in srgb, var(--color) 14%, transparent), transparent 65%),
    radial-gradient(1100px 850px at 15% 68%, color-mix(in srgb, var(--olive) 11%, transparent), transparent 65%),
    radial-gradient(950px 650px at 85% 88%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%);
  background-repeat: no-repeat;
  animation: breathe 18s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 1; }
  50% { transform: scale(1.06) translate(-1%, 1%); opacity: 0.85; }
}

@keyframes phoneCycle {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.45rem; }

h2 em, h1 em {
  font-style: italic;
  color: var(--accent);
}

/* A rough, hand-stamped edge on the hero headline and every section
   title — the glyph outlines themselves are warped (via the #rough-edge
   SVG filter in index.html), not textured with an overlay. Section
   titles (h2) use a lighter displacement than the larger hero h1, since
   the same strength gets illegible at their smaller size. */
.hero h1,
h2 {
  color: var(--brick);
}
.hero h1 { filter: url(#rough-edge); }
h2 { filter: url(#rough-edge-sm); }

p { color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow--wordmark {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}
/* ===== Buttons & links ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--maroon {
  background: #5d1f1f;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn--maroon:hover { box-shadow: 0 14px 30px -12px rgba(93, 31, 31, 0.5); }
.btn--outline { background: var(--bg); border: 1px solid #8e683b; color: #8e683b; }
.btn--outline:hover { background: #8e683b; color: #e8ddd0; }

/* Pill CTA — the same rounded, uppercase, colored-chip language as the
   .tag pills, but sized and interactive as a link. Used everywhere a
   section takes someone somewhere, instead of a bare underlined link. */
.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pill-cta:hover { transform: translateY(-2px); }
.pill-cta--rust   { background: var(--accent); color: #fff; }
.pill-cta--olive  { background: var(--olive); color: #fff; }
.pill-cta--maroon { background: var(--maroon); color: #fff; }
.pill-cta--cream  { background: var(--bg); color: var(--ink); }
.pill-cta--tan    { background: #8a6a3a; color: #fff; }

/* ===== Tabs =====
   Clickable pills that swap the phone mockup content beside them. Each
   pill keeps its own fixed brand color at all times (like the app's own
   tag palette); the active one is lifted with a shadow and a light ring
   so selection reads clearly without losing that color identity. */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 0.4rem;
}
.tab-pill {
  font-family: var(--sans);
  cursor: pointer;
  border: 0;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
  box-shadow: none;
  transition: opacity 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.tab-pill:hover { opacity: 0.85; }
.tab-pill:focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 3px;
}
.tab-pill.is-active {
  opacity: 1;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}
.tab-pill--cream  { background: var(--bg); color: var(--ink); }
.tab-pill--olive  { background: var(--olive); color: #fff; }
.tab-pill--rust   { background: var(--accent); color: #fff; }
.tab-pill--maroon { background: var(--maroon); color: #fff; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ===== Header =====
   Same light ground as the rest of the page, just with the bolder wordmark
   and more generously spaced nav labels. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 16px -8px rgba(255, 253, 247, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brown-dark);
}
.logo span { color: var(--brown-dark); }
.logo--footer { display: inline-block; font-size: 2.2rem; }

.nav { display: flex; gap: 2.5rem; }
.nav a { font-size: 0.95rem; color: var(--ink-soft); position: relative; }
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 1.25rem; }
.header__actions .btn { padding: 0.65rem 1.25rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Fuzzy gradient + grain texture =====
   Grain is a continuous layer on <body> (see above), so it reads the same
   everywhere. This utility adds an extra local dose of it on top for a few
   bounded, card-shaped surfaces (the style swatches) where a richer close-up
   texture suits the smaller shape without risking a seam at its edges. */
.texture-grain {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.texture-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--grain);
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.texture-grain > .container {
  position: relative;
  z-index: 1;
}

/* ===== Hero =====
   A soft radial bloom, not a hard-edged rectangle — it fades to fully
   transparent well before the section's edges, so it blends into the page's
   base tone (and grain) instead of cutting a visible line against whatever
   comes next. Same approach on .cta and .feature--alt below. */
.hero {
  padding: clamp(4rem, 9vw, 6.5rem) 0 4.5rem;
  background: radial-gradient(farthest-side at 50% 15%, color-mix(in srgb, var(--accent-2) 24%, transparent) 0%, transparent 68%);
}
.hero__inner { text-align: center; max-width: 760px; margin: 0 auto 3.75rem; }
.hero__sub { font-size: 1rem; margin: 1.5rem auto 2.1rem; max-width: none; white-space: nowrap; color: var(--maroon); }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta .hero__cta { margin-top: 2rem; }
.cta .btn { padding: 0.65rem 1.25rem; }

/* ===== Palette strip =====
   Each card is a fixed 174x232 per the Figma spec (not stretched to fill
   the row), so the strip centers and wraps rather than using a fluid grid. */
.palette {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Same photo, used twice: a blurred copy sits behind and bleeds a soft
   glow past the card's edges, and the sharp copy sits on top, clipped
   tight to its own rounded corners with a colored drop shadow — the
   color is set per card below. */
.style-card {
  position: relative;
  width: 174px;
  aspect-ratio: 3 / 4;
  transition: transform 0.3s var(--ease);
}
.style-card:hover { transform: translateY(-6px); }
.style-card .texture,
.style-card .style-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.style-card .texture {
  z-index: 0;
  filter: blur(18px) saturate(1.3);
  transform: scale(1.08);
}
.style-card .style-image { z-index: 1; }

/* A soft dark scrim fading up from the bottom edge so the label pill
   stays readable over any photo, plus the pill itself. */
.style-card__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 45%);
  pointer-events: none;
}
.style-card__label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  padding: 3px 7px;
  align-items: flex-start;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
}

.style-card--honey  .style-image { box-shadow: 0 4px 50px 0 rgba(248, 180, 48, 0.53); }
.style-card--green  .style-image { box-shadow: 0 4px 50px 0 rgba(63, 82, 63, 0.53); }
.style-card--rust   .style-image { box-shadow: 0 4px 50px 0 rgba(127, 105, 77, 0.53); }
.style-card--ochre  .style-image { box-shadow: 0 4px 50px 0 rgba(179, 93, 43, 0.53); }
.style-card--maroon .style-image { box-shadow: 0 4px 50px 0 rgba(93, 31, 31, 0.53); }

/* ===== Sections ===== */
.section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }

.section__head { max-width: 640px; margin-bottom: 3.25rem; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { margin-bottom: 0.9rem; }

/* ===== Reveal-on-scroll =====
   Hidden only once main.js confirms it can reveal them (.js-reveal on <html>),
   so content stays visible by default if JS fails to load or run. */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ===== Tag pills =====
   Reusable colored chips echoing the app's tag/topic palette — used as
   the category tags on the audience cards and the feature-section pills. */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag--cream       { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.tag--rust        { background: var(--accent); color: #fff; }
.tag--olive       { background: var(--olive); color: #fff; }
.tag--maroon      { background: var(--maroon); color: #fff; }
.tag--profile     { background: #b35d2b; color: #fff; }
.tag--maroon-deep { background: #5d1f1f; color: #fff; }
.tag--tan         { background: #8a6a3a; color: #fff; }
.tag--champagne   { background: #e8ddd0; color: var(--ink); }

/* ===== Audiences =====
   No visible card surface at all — an organic, grainy honey-to-rust
   blob (a separate SVG, feTurbulence-distorted) sits behind the pair,
   the card itself carries only the drop-shadow, and the icon/label/
   title sit centered on top. The whole card is the link. */
.audiences__grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.audiences__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 130%);
  aspect-ratio: 1052 / 531;
  background-image: url("images/audience-glow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.card {
  position: relative;
  z-index: 1;
  display: flex;
  width: 216px;
  height: 208px;
  padding: 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  color: inherit;
  border-radius: 16px;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-14px) scale(1.04);
  filter:
    drop-shadow(0 8px 10px rgba(110, 54, 53, 0.55))
    drop-shadow(0 24px 34px rgba(110, 54, 53, 0.5));
}
.card--providers { margin-left: 20px; }
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: #6e3635;
}
.card__label {
  font-family: "Figtree", var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e3635;
  margin: 0;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b35d2b;
}
.card__icon--user { width: 36px; height: 36px; }
.card__icon--user svg { width: 36px; height: 36px; }
.card__icon--scissors { width: 44px; height: 44px; }
.card__icon--scissors svg { width: 44px; height: 44px; }

/* ===== Feature rows ===== */
.feature--alt {
  background: radial-gradient(farthest-side at 50% 50%, color-mix(in srgb, var(--accent-2) 13%, transparent) 0%, transparent 74%);
}
.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature__text { max-width: 430px; }
.feature__text h2 { margin-bottom: 1rem; }
.feature__media { display: flex; justify-content: center; }

/* ===== Explore panel: two raw app screenshots, no phone bezel =====
   Two screenshot cards (rounded corners + shadow only, no dark device
   frame) set apart diagonally, with floating callout pills around them,
   standing in for real app screenshots. */
.phone-stack {
  position: relative;
  width: 448px;
  height: 552px;
}
.phone-shot {
  position: absolute;
  width: 212px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 55px -22px rgba(179, 93, 43, 0.24);
  transition: transform 0.4s var(--ease);
}
.phone-shot img { width: 100%; display: block; }
.phone-shot--back {
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-5deg);
}
.phone-shot--front {
  top: 78px;
  left: 236px;
  z-index: 2;
  transform: rotate(4deg);
  box-shadow: 0 40px 70px -24px rgba(179, 93, 43, 0.27);
}
@media (hover: hover) and (pointer: fine) {
  .phone-stack:hover .phone-shot--back { transform: rotate(-7deg) translateY(-4px); }
  .phone-stack:hover .phone-shot--front { transform: rotate(6deg) translateY(-4px); }
}

.phone-callout {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-family: "Inter", var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 16px 32px -14px rgba(179, 93, 43, 0.2);
}
.phone-callout svg { width: 18px; height: 18px; flex: none; }
.phone-callout--engage {
  top: -66px;
  left: -50px;
  color: var(--maroon);
  transform: rotate(-4deg);
}
.phone-callout--save {
  top: 4px;
  right: -50px;
  color: var(--accent-2);
  transform: rotate(3deg);
}
.phone-callout--discover {
  bottom: 32px;
  left: -76px;
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 400;
  transform: rotate(-3deg);
}

/* ===== Your Business panel: real provider-app screenshots, layered ===== */
.business-cards {
  position: relative;
  width: 500px;
  height: 620px;
}
.business-shot {
  position: absolute;
  width: 212px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 55px -22px rgba(179, 93, 43, 0.24);
  transition: transform 0.4s var(--ease);
}
.business-shot img,
.business-shot { display: block; }
.business-shot--portfolio {
  top: 30px;
  left: 0;
  z-index: 1;
  transform: rotate(-4deg);
}
.business-shot--profile {
  top: 0;
  left: 268px;
  z-index: 2;
  transform: rotate(4deg);
  box-shadow: 0 40px 70px -24px rgba(179, 93, 43, 0.27);
}
.business-reviews {
  position: absolute;
  top: 512px;
  left: 20px;
  width: 220px;
  z-index: 3;
  filter: drop-shadow(0 18px 30px rgba(179, 93, 43, 0.24));
  transition: transform 0.4s var(--ease);
}
.phone-callout--work {
  top: -34px;
  left: -20px;
  color: var(--accent);
  transform: rotate(-4deg);
}
.phone-callout--discovered {
  top: -46px;
  right: -20px;
  color: var(--accent-2);
  transform: rotate(3deg);
}
.phone-callout--reviews {
  top: 600px;
  left: 256px;
  color: var(--maroon);
  transform: rotate(-2deg);
}
@media (hover: hover) and (pointer: fine) {
  .business-cards:hover .business-shot--portfolio { transform: rotate(-7deg) translateY(-4px); }
  .business-cards:hover .business-shot--profile { transform: rotate(6deg) translateY(-4px); }
  .business-cards:hover .business-reviews { transform: translateY(-6px); }
}

/* ===== Community panel: real post-card screenshots, cascading ===== */
.community-cards {
  position: relative;
  width: 470px;
  height: 480px;
}
.community-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 4;
  width: 240px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
  transform: translateX(-50%) rotate(0deg);
  filter: drop-shadow(0 16px 28px rgba(179, 93, 43, 0.2));
}
.community-card {
  position: absolute;
  width: 280px;
  transition: transform 0.4s var(--ease);
  filter: drop-shadow(0 18px 30px rgba(179, 93, 43, 0.24));
}
.community-card--1 { top: 50px;  left: 0px;   z-index: 1; transform: rotate(-2deg); }
.community-card--2 { top: 170px; left: 190px; z-index: 3; transform: rotate(2deg); }
.community-card--3 { top: 310px; left: 30px;  z-index: 2; transform: rotate(-1.5deg); }
@media (hover: hover) and (pointer: fine) {
  .community-cards:hover .community-badge { transform: translateX(-50%) translateY(-8px) rotate(-3deg); }
  .community-cards:hover .community-card--1 { transform: rotate(-6deg) translateY(-10px); }
  .community-cards:hover .community-card--2 { transform: rotate(6deg) translateY(-10px); }
  .community-cards:hover .community-card--3 { transform: rotate(-5deg) translateY(-10px); }
}

/* ===== Providers panel: real profile/review screenshots, scattered ===== */
.provider-cards {
  position: relative;
  width: 470px;
  height: 515px;
}
.provider-card {
  position: absolute;
  transition: transform 0.4s var(--ease);
  filter: drop-shadow(0 18px 30px rgba(179, 93, 43, 0.24));
}
.provider-card--crowns { filter: drop-shadow(0 8px 14px rgba(179, 93, 43, 0.15)); }
.provider-card--book    { top: 0px;   left: 0px;   width: 110px; z-index: 5; }
.provider-card--profile { top: 44px;  left: 0px;   width: 270px; z-index: 1; }
.provider-card--photo1  { top: 68px;  left: 316px; width: 140px; z-index: 2; }
.provider-card--photo2  { top: 275px; left: 5px;   width: 150px; z-index: 2; }
.provider-card--pill    { top: 268px; left: 170px; width: 175px; z-index: 4; }
.provider-card--review  { top: 335px; left: 195px; width: 270px; z-index: 3; }
.provider-card--crowns  { top: 470px; left: 175px; width: 95px;  z-index: 3; }

@media (hover: hover) and (pointer: fine) {
  .provider-cards:hover .provider-card--book    { transform: translateY(-6px); }
  .provider-cards:hover .provider-card--profile { transform: translateY(-6px); }
  .provider-cards:hover .provider-card--photo1  { transform: rotate(3deg) translateY(-8px); }
  .provider-cards:hover .provider-card--photo2  { transform: rotate(-3deg) translateY(-8px); }
  .provider-cards:hover .provider-card--pill    { transform: translateY(-8px); }
  .provider-cards:hover .provider-card--review  { transform: translateY(-8px); }
  .provider-cards:hover .provider-card--crowns  { transform: translateY(-6px); }
}

/* ===== Your Hair panel: hair-element flashcards ===== */
.tab-panel.hairel-cards.is-active {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 540px;
  padding-top: 76px;
}
.hairel-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-2.45deg);
  transition: transform 0.4s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent-2);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-family: "Figtree", var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(254, 190, 90, 0.4);
}
.hairel-badge svg { width: 19px; height: 19px; flex: none; }
.hairel-row { display: flex; gap: 44px; justify-content: center; }
.hairel-col { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.hairel-label {
  background: var(--maroon);
  color: var(--bg);
  font-family: "Figtree", var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 34px rgba(93, 31, 31, 0.25);
  transition: transform 0.4s var(--ease);
}
.hairel-col--1 .hairel-label { transform: rotate(-5.64deg); }
.hairel-col--2 .hairel-label { transform: rotate(0deg); }
.hairel-col--3 .hairel-label { transform: rotate(6.43deg); }
.hairel-card-wrap { position: relative; width: 150px; height: 186px; }
.hairel-card__peek {
  position: absolute;
  inset: 0;
  background: #b0a173;
  border-radius: 16px;
  box-shadow: 0 4px 34px rgba(93, 31, 31, 0.25);
  transform: translate(9px, 9px);
}
.hairel-card {
  position: absolute;
  inset: 0;
  background: #f6f6f5;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
  box-shadow: 0 4px 34px rgba(93, 31, 31, 0.25);
  transition: transform 0.4s var(--ease);
}
.hairel-col--1 .hairel-card { transform: rotate(-5.79deg); }
.hairel-col--2 .hairel-card { transform: rotate(0deg); }
.hairel-col--3 .hairel-card { transform: rotate(6.43deg); }
.hairel-card__title {
  font-family: "Figtree", var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.hairel-card__circle {
  margin-top: 10px;
  width: 74%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #f5ede0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hairel-card__circle img { width: 56%; height: auto; display: block; }
.hairel-col--2 .hairel-card__circle img { width: 34%; }
.hairel-col--3 .hairel-card__circle img { width: 62%; }
@media (hover: hover) and (pointer: fine) {
  .tab-panel.hairel-cards.is-active:hover .hairel-badge { transform: translateX(-50%) rotate(-2.45deg) translateY(-6px); }
  .tab-panel.hairel-cards.is-active:hover .hairel-col--1 .hairel-label { transform: rotate(-5.64deg) translateY(-6px); }
  .tab-panel.hairel-cards.is-active:hover .hairel-col--2 .hairel-label { transform: translateY(-6px); }
  .tab-panel.hairel-cards.is-active:hover .hairel-col--3 .hairel-label { transform: rotate(6.43deg) translateY(-6px); }
  .tab-panel.hairel-cards.is-active:hover .hairel-col--1 .hairel-card { transform: rotate(-9deg) translateY(-8px); }
  .tab-panel.hairel-cards.is-active:hover .hairel-col--2 .hairel-card { transform: rotate(-3deg) translateY(-8px); }
  .tab-panel.hairel-cards.is-active:hover .hairel-col--3 .hairel-card { transform: rotate(10deg) translateY(-8px); }
}

/* ===== Payment tab: standalone "connect with Stripe" card ===== */
.payout-panel.is-active { display: flex; justify-content: center; width: 100%; }
.payout {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 460px;
  padding: 44px 34px 42px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 34px 64px -26px rgba(179, 93, 43, 0.28);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.payout::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(201, 138, 44, 0.28), transparent 75%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .payout-panel:hover .payout { transform: translateY(-6px); }
}
.payout__logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #635bff;
}
.payout__logo svg { width: 24px; height: 24px; }
.payout__logo span {
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 800;
  font-style: italic;
  color: #635bff;
  letter-spacing: -0.01em;
}
.payout__eyebrow { position: relative; margin-bottom: 0.5rem; }
.payout__title {
  position: relative;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brick);
  margin-bottom: 26px;
}
.payout__card {
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--bg-alt), #f6ecd8);
  padding: 22px 14px;
  margin-bottom: 24px;
}
.payout__stats { display: flex; align-items: center; justify-content: center; gap: 28px; }
.payout__stat { display: flex; flex-direction: column; align-items: center; }
.payout__divider { width: 1px; height: 38px; background: var(--line); }
.payout__stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}
.payout__stat-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}
.payout__note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ===== Calendar tab: real availability-calendar screenshot ===== */
.calendar-panel.is-active {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.calendar-panel.is-active::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 260px;
  background: radial-gradient(closest-side, rgba(179, 93, 43, 0.22), transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.calendar-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #b35d2b;
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 32px -14px rgba(179, 93, 43, 0.4);
}
.calendar-pill svg { width: 15px; height: 15px; flex: none; }
.cal__image {
  display: block;
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  filter: drop-shadow(0 24px 44px -20px rgba(179, 93, 43, 0.35));
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .calendar-panel:hover .cal__image { transform: translateY(-6px); }
}
.cal__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
.cal__link svg { width: 20px; height: 20px; flex: none; }
.payout__note svg { width: 15px; height: 15px; flex: none; color: var(--accent-2); }

/* ===== Bookings tab: real appointments-list screenshot ===== */
.bookings-panel.is-active {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.bookings-panel.is-active::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 260px;
  background: radial-gradient(closest-side, rgba(111, 35, 27, 0.18), transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.bookings-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.bookings-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(179, 93, 43, 0.25);
}
.bookings-pill--maroon { background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--brown-dark); }
.bookings-pill--cream { background: color-mix(in srgb, var(--maroon) 10%, #fff); color: var(--maroon); }
.bookings-pill--olive { background: color-mix(in srgb, var(--olive) 14%, #fff); color: var(--olive); }
.bookings-panel__image {
  display: block;
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  filter: drop-shadow(0 24px 44px -20px rgba(179, 93, 43, 0.35));
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .bookings-panel:hover .bookings-panel__image { transform: translateY(-6px); }
}

/* ===== Community ===== */
.community { text-align: center; }
.community h2 { margin-bottom: 1.4rem; }
.community p:not(.eyebrow):not(.community__quote) { color: var(--maroon); }
.community__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  color: var(--ink);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Final CTA ===== */
.cta {
  text-align: center;
  background: radial-gradient(farthest-side at 55% 50%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 68%);
}
.cta h2 { margin-bottom: 0.9rem; color: var(--maroon); }
.cta p:not(.cta__note) { color: var(--maroon); }
.cta__note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  margin-top: 2rem;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer__socials {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.footer__socials a { color: var(--ink-soft); }
.footer__socials a:hover { color: var(--accent); }
.footer__socials svg { width: 20px; height: 20px; }

/* ===== Store badges ===== */
.store-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  background: var(--brown-dark);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.store-badge:hover {
  background: color-mix(in srgb, var(--brown-dark) 65%, #fff 35%);
  transform: translateY(-2px);
}
.store-badge svg { width: 16px; height: 16px; flex: none; }

/* ===== Mobile app banner =====
   Only shown on iOS/Android (via main.js), dismissible, remembers the
   dismissal in localStorage. */
.app-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: #fff;
}
.app-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 0.85rem;
}
.app-banner__text { flex: 1; text-align: right; }
.app-banner__cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.78rem;
}
.app-banner__close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.app-banner__close:hover { opacity: 1; }

.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.footer__col a { font-size: 0.88rem; color: var(--ink-soft); }
.footer__col a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

/* ===== Toast: brief "coming soon" style confirmations ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 200;
  transform: translate(-50%, 12px);
  background: var(--brown-dark);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.footer__bottom p { font-size: 0.8rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav, .header__actions { display: none; }
  .nav-toggle { display: flex; }
  .hero__sub { white-space: normal; max-width: 460px; }
  .audiences__glow { width: min(420px, 94%); }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }
  .site-header.is-open .nav a { padding: 0.85rem var(--pad); }

  .steps,
  .audiences__grid,
  .feature__inner,
  .feature__inner--reverse,
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .feature__inner--reverse .feature__media { order: 2; }

  .feature__text { max-width: none; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .hero h1 br { display: none; }

  .palette { gap: 8px; }
  .style-card { width: calc(33.333% - 6px); }
  .style-card__label { font-size: 0.62rem; padding: 2px 5px; }

  .audiences__grid { gap: 14px; flex-wrap: nowrap; }
  .audiences__glow { display: none; }
  .card {
    position: relative;
    width: 150px;
    height: 150px;
    padding: 10px;
    gap: 6px;
  }
  .card h3 { font-size: 1.3rem; }
  .card__label { font-size: 0.58rem; letter-spacing: 0.12em; }
  .card__icon--user { width: 26px; height: 26px; }
  .card__icon--user svg { width: 26px; height: 26px; }
  .card__icon--scissors { width: 30px; height: 30px; }
  .card__icon--scissors svg { width: 30px; height: 30px; }
  .card::before {
    content: "";
    position: absolute;
    inset: -20px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 138, 44, 0.4), transparent 70%);
    filter: blur(6px);
  }
  .card--providers::before {
    background: radial-gradient(circle, rgba(179, 93, 43, 0.4), transparent 70%);
  }
  .card--providers { margin-left: 0; }

  .phone-stack { width: 280px; height: 560px; }
  .phone-shot { width: 210px; }
  .phone-shot--back, .phone-shot--front {
    top: 44px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
  }
  .phone-shot--front { opacity: 0; }
  .phone-callout { font-size: 0.6rem; padding: 0.36rem 0.65rem; gap: 5px; }
  .phone-callout svg { width: 12px; height: 12px; }
  .phone-callout--engage { top: 0px; left: 0px; }
  .phone-callout--save { top: 0px; right: 0px; }
  .phone-callout--discover { bottom: 28px; left: 0px; }

  .business-cards { width: 280px; height: 480px; }
  .business-shot { width: 210px; }
  .business-shot--portfolio, .business-shot--profile {
    top: 44px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
  }
  .business-shot--profile { opacity: 0; }
  .phone-callout--work { top: 0px; left: 0px; }
  .phone-callout--discovered { top: 0px; right: 0px; }
  .phone-callout--reviews { top: auto; bottom: 4px; left: 50%; transform: translateX(-50%) rotate(-2deg); }
  .business-reviews { top: auto; bottom: -64px; left: 50%; transform: translateX(-50%); width: 200px; }

  .community-cards { width: 330px; height: 337px; }
  .community-card { width: 197px; }
  .community-card--1 { top: 35px;  left: 0px; }
  .community-card--2 { top: 119px; left: 133px; }
  .community-card--3 { top: 218px; left: 21px; }
  .community-badge { width: 200px; }

  .provider-cards { width: 330px; height: 362px; }
  .provider-card--book    { width: 77px; }
  .provider-card--profile { top: 31px;  left: 0px;   width: 190px; }
  .provider-card--photo1  { top: 48px;  left: 222px; width: 98px; }
  .provider-card--photo2  { top: 193px; left: 4px;   width: 105px; }
  .provider-card--pill    { top: 188px; left: 119px; width: 123px; }
  .provider-card--review  { top: 235px; left: 137px; width: 190px; }
  .provider-card--crowns  { top: 330px; left: 123px; width: 67px; }

  .tab-panel.hairel-cards.is-active { width: 336px; gap: 30px; padding-top: 56px; }
  .hairel-badge { font-size: 0.66rem; padding: 0.5rem 0.8rem; gap: 6px; }
  .hairel-badge svg { width: 14px; height: 14px; }
  .hairel-row { gap: 20px; }
  .hairel-col { gap: 22px; }
  .hairel-label { font-size: 0.7rem; padding: 0.45rem 0.85rem; }
  .hairel-card-wrap { width: 96px; height: 118px; }
  .hairel-card { border-radius: 12px; padding-top: 10px; }
  .hairel-card__peek { border-radius: 12px; }
  .hairel-card__title { font-size: 0.78rem; }
  .hairel-card__circle { margin-top: 7px; }
}

@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .phone-shot--back { animation: phoneCycle 7s infinite; }
  .phone-shot--front { animation: phoneCycle 7s infinite; animation-delay: 3.5s; }
  .business-shot--portfolio { animation: phoneCycle 7s infinite; }
  .business-shot--profile { animation: phoneCycle 7s infinite; animation-delay: 3.5s; }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .phone-shot--front { opacity: 0; }
  .business-shot--profile { opacity: 0; }
}

/* ===== Legal pages (Privacy, Terms) ===== */
.legal { padding: 3.5rem 0 2rem; }
.legal__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.legal__head h1 {
  color: var(--brick);
  font-family: var(--serif);
  filter: url(#rough-edge-sm);
  margin: 0.5rem 0 0.25rem;
}
.legal__meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.legal__body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 5rem;
}
.legal__toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.legal__toc-heading {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.legal__toc a {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 0.32rem 0 0.32rem 0.75rem;
  border-left: 2px solid var(--line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.legal__toc a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}
.legal__content { max-width: 680px; }
.legal__content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 2.75rem 0 1rem;
  scroll-margin-top: 96px;
}
.legal__content h2:first-of-type { margin-top: 0; }
.legal__content h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.75rem 0 0.75rem;
  scroll-margin-top: 96px;
}
.legal__content p {
  margin-bottom: 1.1rem;
  line-height: 1.7;
}
.legal__content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.legal__content li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 860px) {
  .legal__body { grid-template-columns: 1fr; gap: 2rem; }
  .legal__toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .legal__toc a {
    border-left: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    white-space: nowrap;
    font-size: 0.78rem;
  }
  .legal__toc a:hover { border-color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .style-card, .card, .pill-cta { transition: none; }
  .bg-glow::before { animation: none; }
}
