/*
Theme Name: Trend Up Dental
Theme URI: https://thetrendup.com
Author: The Trend Up
Description: Aligner growth site: the 60-second check, the 3-step guide, success story and consultation pages.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: trendup-dental
*/
:root {
    --ink: #24123F; --ink-2: #3A2A5C; --violet: #6D3FE0; --violet-deep: #4B23B5;
    --lavender: #E9E1FB; --mist: #F6F2FD; --paper: #FCFBFE; --white: #FFFFFF;
    --amber: #E8962B; --amber-ink: #8A4B00; --muted: #5E5277; --line: #DCD2F2;
    --on-dark: #E4DCF7; --on-dark-muted: #B9ADD6;
    --display: "Bricolage Grotesque", system-ui, sans-serif;
    --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
    --header-h: 72px;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, h4 { font-family: var(--display); color: inherit; margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
  h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 800; }
  h2 { font-size: clamp(1.8rem, 2.7vw, 2.35rem); font-weight: 800; }
  h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
  p { margin: 0 0 1em; }
  a { color: var(--violet-deep); text-underline-offset: 3px; }
  img { max-width: 100%; display: block; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }
  @media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }
  .lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 52ch; }
  .muted { color: var(--muted); }
  .small { font-size: 0.88rem; }

  /* Buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 14px 26px; background: var(--violet); color: #fff; white-space: nowrap; transition: background .15s ease, box-shadow .15s ease; }
  .btn:hover { background: var(--violet-deep); }
  .btn-lg { padding: 17px 30px; font-size: 1.05rem; }
  .btn-block { width: 100%; }
  .btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
  .btn-quiet:hover { background: var(--lavender); }
  .btn-light { background: #fff; color: var(--ink); }
  .btn-light:hover { background: var(--lavender); }
  .btn-ghost-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.32); }
  .btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
  .linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

  /* Header */
  .site-header { position: sticky; top: 0; z-index: 20; height: var(--header-h); background: rgba(252,251,254,0.92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
  .site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .brand { display: inline-flex; align-items: center; text-decoration: none; }
  .brand img { display: block; height: 46px; width: auto; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 0.95rem; }
  .site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 4px; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .2s ease; }
  .site-nav a.is-current { color: var(--violet-deep); border-bottom-color: var(--violet); }
  .site-nav a:not(.btn):hover { color: var(--violet-deep); }
  .site-nav .btn { padding: 11px 20px; font-size: 0.95rem; }
  .brand { white-space: nowrap; }
  .menu-btn { display: none; font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--ink); background: transparent; border: 0; padding: 10px 6px 10px 10px; cursor: pointer; }
  .menu-btn[aria-expanded="true"] { color: var(--violet-deep); }
  .menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(36,18,63,0.4); padding: 8px 0 10px; display: grid; }
  .menu-panel a { display: block; padding: 14px 24px; font-weight: 600; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
  .menu-panel a:first-child { border-top: 0; }
  .menu-panel a:hover { color: var(--violet-deep); background: var(--mist); }
  @media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } .menu-btn { display: inline-block; } .site-nav { gap: 6px; } }
  /* ---------- Inner pages on phones: the homepage system ---------- */
  @media (max-width: 600px) {
    .page-head { padding: 36px 0 40px; }
    .page-head h1 { font-size: 1.9rem; line-height: 1.1; }
    .page-head:has(.readif) .lede { display: none; }
    .page-head .readif { margin-bottom: 14px; }
    .page-head .head-meta { margin-top: 4px; }
    .wrap { width: calc(100% - 40px); }
    .prose h2, .hub-head h2, .split h2 { font-size: 1.5rem; }
    .prose h3, .cover h3, .steps h3 { font-size: 1.1rem; }
  }
  .prose .pull { margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--violet); background: var(--mist); font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); line-height: 1.35; }
  @media (max-width: 600px) {
    .howto { padding: 14px 16px; }
    .page-head + .article-grid, .page-head + .wrap { padding-top: 28px; }
    .section { padding: 56px 0; }
    .band { padding: 56px 0; }
  }
  @media (max-width: 600px) { :root { --header-h: 60px; } .site-header .wrap { gap: 12px; } .site-nav .btn { padding: 9px 11px; font-size: 0.86rem; } .menu-btn { padding: 10px 0 10px 8px; } }
  @media (max-width: 520px) { .brand img { height: 38px; } .site-nav .btn { padding: 10px 16px; } }

  /* Forms */
  .field { display: grid; gap: 6px; margin-bottom: 14px; }
  .field label, .label { font-weight: 600; font-size: 0.88rem; }
  .field .hint { font-size: 0.88rem; color: var(--muted); font-weight: 400; }
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select {
    width: 100%; height: 50px; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  input:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109,63,224,0.18); }
  input[aria-invalid="true"] { border-color: #C2410C; }
  .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  @media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
  .consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.88rem; line-height: 1.45; color: var(--muted); margin: 4px 0 18px; cursor: pointer; }
  .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet); }
  .form-note { font-size: 0.88rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
  .form-error { font-size: 0.88rem; color: #C2410C; margin: 0 0 12px; font-weight: 600; }
  .form-done { display: none; padding: 14px 16px; border-radius: var(--r-sm); background: var(--lavender); color: var(--violet-deep); font-weight: 700; margin-top: 14px; }
  form.sent .form-done { display: block; }

  /* Avatar + byline */
  .avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lavender); color: var(--violet-deep); font-family: var(--display); font-weight: 800; flex: none; object-fit: cover; }
  .avatar-lg { width: 56px; height: 56px; font-size: 1.2rem; }
  .byline { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--muted); }
  .byline strong { color: var(--ink); }

  /* Sections */
  .section { padding: clamp(56px, 6.5vw, 84px) 0; }
  .section-mist { background: var(--mist); }
  .section-head { max-width: 640px; margin-bottom: 36px; }
  .section-head p { margin: 14px 0 0; }
  .eyebrow { display: block; margin: 0 0 14px !important; font-size: 0.78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--violet-deep); line-height: 1.4; }
  .eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 22px; height: 3px; border-radius: 2px; background: var(--violet); margin: 0 10px 2px 0; }
  .hero-dark .eyebrow::before, .page-head .eyebrow::before { background: #B9A3FF; }
  .hero-dark .eyebrow { color: #CDBDFF; }

  /* ---------- Homepage hero ---------- */
  .hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "copy calc" "proof calc"; grid-template-rows: auto 1fr; column-gap: clamp(40px, 5vw, 80px); align-items: start; }
  .hero-copy { grid-area: copy; } .hero-proof { grid-area: proof; } .hero-grid .calc { grid-area: calc; }
  .hero-grid > * { min-width: 0; }
  .hero h1 { margin: 24px 0 20px; max-width: 14ch; }
  .hero .lede { margin-bottom: 28px; }
  .stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 40px 0 32px; }
  .stats div { display: grid; gap: 2px; }
  .stats b { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.03em; color: var(--violet); }
  .stats span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
  @media (max-width: 980px) { .stats { margin: 8px 0 24px; } }
  @media (max-width: 520px) { .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .stats b { font-size: 2rem; } .stats span { font-size: 0.88rem; } }
  .tier-time { margin-left: 6px; font-family: var(--display); font-weight: 800; color: var(--violet); }
  .hero .lede { font-size: 1.3rem; }
  .proof-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
  .proof-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 500; }
  .proof-list svg { width: 24px; height: 24px; color: var(--violet); }
  .hello { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 52ch; }
  .hello p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
  .hero-alt { margin: 20px 0 0; font-size: 0.95rem; color: var(--muted); }
  @media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "proof" "calc"; row-gap: 28px; } .pipe { margin-top: 0; } .hero h1 { max-width: 18ch; } .hero .lede { margin-bottom: 0; } }

  /* Dark hero + live pipeline (the page's signature) */
  .hero-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
  .hero-dark::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(109,63,224,0.38), transparent); z-index: -1; pointer-events: none; }
  .hero-dark h1 { color: #fff; }
  .hero-dark .lede { color: var(--on-dark); max-width: 34ch; }
  .hero-dark .byline { color: var(--on-dark-muted); margin-top: 20px; }
  .hero-dark .byline strong { color: #fff; }
  .hero-dark .avatar { background: rgba(255,255,255,0.1); color: #fff; }
  .hero-dark .calc { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6); }
  .pipe { margin: 32px 0 0; border-radius: 20px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.1); padding: 18px 18px 16px; }
  .pipe-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 4px; }
  .pipe-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff; letter-spacing: -0.01em; }
  .pipe-tag { font-size: 0.78rem; color: var(--on-dark-muted); }
  .pipe-svg { display: block; width: 100%; height: auto; overflow: hidden; }
  .pipe-svg .funnel { transition: d .6s cubic-bezier(.2,.8,.2,1); }
  .pipe-svg .seg-hi { fill: rgba(232,150,43,0.10); stroke: rgba(232,150,43,0.45); stroke-dasharray: 4 4; transition: x .4s ease, width .4s ease; }
  .pipe-svg .funnel-edge { fill: none; stroke: rgba(185,163,255,0.5); stroke-width: 1.5; transition: d .6s cubic-bezier(.2,.8,.2,1); }
  .pipe-svg .stage-line { stroke: rgba(255,255,255,0.18); stroke-width: 1; stroke-dasharray: 3 4; }
  .pipe-svg .rate { font-family: var(--display); font-weight: 800; font-size: 20px; fill: #fff; text-anchor: middle; }
  .pipe-svg .rate.low { fill: #F5B25C; }
  .pipe-svg .rate-t { font-family: var(--body); font-size: 11px; fill: var(--on-dark-muted); text-anchor: middle; }
  #pipe-journey .rate-t { display: none; }
  .pipe-svg .leak-ring { fill: none; stroke: var(--amber); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 1.8s ease-out infinite; }
  .pipe-svg .leak-dot { fill: var(--amber); }
  .pipe-svg .leak-txt { font-family: var(--display); font-weight: 700; font-size: 12px; fill: #F5B25C; text-anchor: middle; }
  @media (max-width: 600px) { .pipe-svg .rate { font-size: 32px; } .pipe-svg .rate-t { display: none; } .pipe-svg .leak-txt { font-size: 22px; } .pipe-tag { display: none; } }
  @keyframes ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
  .pipe-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; margin-top: 2px; }
  .pipe-stages > div { min-width: 0; }
  .pipe-stages b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.1; color: #fff; letter-spacing: -0.02em; transition: color .3s; }
  .pipe-stages span { font-size: 0.78rem; color: var(--on-dark-muted); }
  .pipe-stages .ghost b { color: rgba(255,255,255,0.35); }

  /* Applewood journey */
  .journey-bar { margin: 28px 0 8px; }
  .journey-ends { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 700; }
  .journey-track { height: 12px; border-radius: 999px; background: var(--lavender); overflow: hidden; }
  .journey-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #B9A3FF, var(--violet)); transition: width 1.8s cubic-bezier(.3,.7,.2,1); }
  .journey-bar.in .journey-fill { width: 100%; }
  .journey-bar .tier.to { transition: transform .4s ease 1.7s, box-shadow .4s ease 1.7s; }
  .journey-bar.in .tier.to { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(109,63,224,0.18); }
  .journey-ticks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); font-size: 0.88rem; font-weight: 600; color: var(--muted); }
  .journey-ticks li { min-width: 0; }
  .journey-ticks li:last-child { text-align: right; }
  .journey-ticks li:not(:first-child):not(:last-child) { text-align: center; }
  .journey-ticks small { display: block; font-weight: 500; color: var(--violet-deep); }

  /* Pipeline check (the page's one bold element) */
  .calc { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 24px 60px -24px rgba(36,18,63,0.45); }
  .calc h2 { font-size: 1.6rem; color: #fff; line-height: 1.15; }
  .calc-sub { color: var(--on-dark-muted); font-size: 0.95rem; margin: 8px 0 20px; }
  .steps-ind { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
  .steps-ind li { flex: 1; font-size: 0.78rem; font-weight: 600; color: var(--on-dark-muted); padding-top: 10px; border-top: 3px solid rgba(255,255,255,0.14); }
  .steps-ind li.is-on { color: #fff; border-top-color: var(--violet); }
  .steps-ind li.is-done { color: var(--on-dark); border-top-color: #B9A3FF; }
  .calc .field label, .calc .label { color: var(--on-dark); }
  .calc .hint { color: var(--on-dark-muted); }
  .calc input[type="number"], .calc select { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); color: #fff; font-weight: 600; font-size: 1.1rem; }
  .calc select { font-size: 1rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E4DCF7' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
  .calc select option { color: var(--ink); background: #fff; }
  .calc input::placeholder { color: rgba(228,220,247,0.45); font-weight: 500; }
  .calc input:focus, .calc select:focus { border-color: #B9A3FF; box-shadow: 0 0 0 4px rgba(185,163,255,0.22); }
  .calc input[type="text"], .calc input[type="tel"] { background: #fff; border-color: #fff; }
  .num-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .num-row .field { margin-bottom: 6px; grid-template-rows: 1fr auto; }
  .num-row .field label { align-self: end; line-height: 1.3; }
  .num-row .field label { font-size: 0.88rem; }
  .calc-hint { font-size: 0.88rem; margin: 0 0 18px; }
  @media (max-width: 340px) { .num-row { grid-template-columns: 1fr; } }
  @media (max-width: 520px) { .num-row { gap: 8px; } .num-row input { padding: 0 10px; } }
  .calc .form-error { color: #FDBA74; }
  .calc .form-note { color: var(--on-dark-muted); }
  .calc .consent { color: var(--on-dark-muted); }
  .calc .consent a { color: var(--on-dark); }

  .diag { border-radius: var(--r-md); padding: 20px 22px; background: rgba(232,150,43,0.12); border: 1px solid rgba(232,150,43,0.7); margin-bottom: 18px; }
  .diag.ok { background: rgba(185,163,255,0.12); border-color: rgba(185,163,255,0.7); }
  .diag-label { font-size: 0.78rem; font-weight: 700; color: var(--amber); margin: 0 0 6px; }
  .diag.ok .diag-label { color: #B9A3FF; }
  .diag-title { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: 1.15; color: #fff; margin: 0 0 8px; letter-spacing: -0.02em; }
  .diag-rate { color: var(--on-dark); margin: 0 0 10px; font-weight: 500; }
  .diag-worth { color: var(--amber); font-weight: 700; margin: 0 0 10px; }
  .diag-fix { color: var(--on-dark); margin: 0; font-size: 0.95rem; }
  .diag-fix::before { content: "Quick fix: "; font-weight: 700; color: #fff; }
  .diag-note { color: var(--on-dark-muted); margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.88rem; }
  .meters { display: grid; gap: 12px; margin-bottom: 18px; }
  .meter-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; margin-bottom: 6px; color: var(--on-dark); }
  .meter-head span:last-child { color: var(--on-dark-muted); white-space: nowrap; }
  .meter { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.1); }
  .meter i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: #B9A3FF; }
  .meter.leak i { background: var(--amber); }
  .meter b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #fff; border-radius: 2px; }
  .year-line { font-size: 0.88rem; color: var(--on-dark-muted); margin: 0 0 22px; }
  .fix-cta { padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); }
  .fix-cta h3 { color: #fff; font-size: 1.2rem; margin-bottom: 16px; }
  .fix-cta > p { color: var(--on-dark-muted); font-size: 0.95rem; margin: 0 0 16px; }
  .calc .form-done { background: rgba(185,163,255,0.16); color: #fff; }
  .edit-row { margin: 16px 0 0; text-align: center; font-size: 0.88rem; color: var(--on-dark-muted); }

  /* ---------- Homepage training ---------- */
  .training-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .training-grid > * { min-width: 0; }
  .pillars { list-style: none; padding: 0; margin: 0; counter-reset: p; }
  .pillars li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
  .pillars li:last-child { border-bottom: 1px solid var(--line); }
  .pillars li::before { content: counter(p); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lavender); color: var(--violet-deep); font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
  .pillars h3 { margin-bottom: 8px; font-size: 1.35rem; }
  .pillars .tool-tag { margin: 0 6px 4px 0; }
  .stage-d { margin: 0 0 4px !important; color: var(--muted); }
  .pillars p { margin: 0 0 10px; color: var(--muted); }
  .tool-tag { display: inline-block; line-height: 1.4; border-radius: 12px !important; font-size: 0.88rem; font-weight: 600; color: var(--violet-deep); background: var(--lavender); border-radius: 999px; padding: 4px 12px; }
  .signup { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); box-shadow: 0 20px 50px -30px rgba(36,18,63,0.35); }
  .signup h3 { font-size: 1.45rem; margin-bottom: 20px; }
  .signup > p { color: var(--muted); margin-bottom: 18px; }
  .gets { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
  .gets li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.95rem; }
  .gets svg { width: 20px; height: 20px; color: var(--violet); margin-top: 2px; }
  @media (max-width: 980px) { .training-grid { grid-template-columns: 1fr; } .signup { position: static; } }

  /* Hero (video-led) */
  .top-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); align-items: center; padding: clamp(8px, 1.5vw, 20px) 0; }
  .top-grid > * { min-width: 0; }
  .top-grid h1 { max-width: 14ch; margin-bottom: 18px; }
  .top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
  .textlink-light { color: #fff; font-weight: 600; text-underline-offset: 4px; display: inline-block; padding: 10px 0; }
  .hero-video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: linear-gradient(140deg, #3A2A5C, #24123F 60%); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7); text-decoration: none; }
  .hero-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hv-ph { position: absolute; top: 18px; left: 20px; color: var(--on-dark-muted); font-size: 0.88rem; font-weight: 600; }
  .hero-video svg { width: 88px; height: 88px; position: relative; transition: transform .2s ease; }
  .hero-video:hover svg { transform: scale(1.06); }
  .hv-cap { position: absolute; left: 20px; bottom: 18px; color: #fff; font-weight: 700; font-size: 0.95rem; background: rgba(36,18,63,0.6); padding: 6px 12px; border-radius: 999px; }
  @media (max-width: 900px) { .top-grid { grid-template-columns: 1fr; } }

  /* Reasons to believe */
  .rtb { background: #fff; border-bottom: 1px solid var(--line); }
  .rtb-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: 32px 0; }
  .rtb-stat { display: flex; align-items: center; gap: 24px; }
  .rtb-stat b { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; color: var(--violet); }
  .rtb-stat p { margin: 0; max-width: 30ch; font-weight: 600; line-height: 1.4; }
  .rtb-clinics { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
  .rtb-clinics small { margin-left: 8px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
  .gem { width: 18px; height: 18px; transform: rotate(45deg); border-radius: 5px; box-shadow: inset 0 0 0 2px var(--line); }
  .gem.on { background: var(--violet); box-shadow: none; }
  .rtb-ex p { margin: 0 0 2px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
  .rtb-ex a { display: grid; text-decoration: none; color: var(--ink); }
  .rtb-ex strong { font-family: var(--display); font-size: 1.15rem; }
  .rtb-ex span { color: var(--violet-deep); font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 900px) { .rtb-grid { grid-template-columns: 1fr; justify-items: start; } .rtb-clinics { justify-content: flex-start; } }

  /* Journey (scroll story) */
  .journey-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .journey-grid > * { min-width: 0; }
  .journey-pin { position: sticky; top: calc(var(--header-h) + 32px); }
  .journey-pin .pipe { margin: 0; background: var(--ink); border-color: var(--ink); }
  .jsteps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
  @media (max-width: 900px) { .jsteps { gap: 20px; padding-bottom: 0; } }
  .jstep { padding: 0; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); opacity: .62; transition: opacity .3s ease, border-color .3s ease, box-shadow .3s ease; }
  .jstep.is-active { opacity: 1; border-color: var(--violet); box-shadow: 0 18px 40px -28px rgba(36,18,63,0.45); }
  .jstep .slip-vis { margin: 0; border-radius: 0; height: 160px; border-bottom: 1px solid var(--line); }
  .jstep .pdots { max-width: 330px; gap: 8px; }
  .jbody { padding: 20px 24px 20px; }
  .jstep-k { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 0.88rem; font-weight: 700; letter-spacing: .02em; color: var(--violet-deep); }
  .jnum { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; font-family: var(--display); font-size: 0.88rem; }
  .jstep h3 { font-size: 1.35rem; margin: 0 0 8px; }
  .jbody > p { margin: 0; color: var(--muted); }
  .jcost { margin-top: 10px !important; color: var(--ink) !important; font-weight: 600; }
  .jcost b { color: var(--amber-ink); }
  .jgoal { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
  .jgoal span { font-size: 0.78rem; font-weight: 700; color: var(--violet-deep); text-transform: uppercase; letter-spacing: .06em; }
  .jgoal b { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: -0.03em; color: var(--violet); }
  .jgoal small { font-size: 0.88rem; color: var(--muted); }
  .jfix { margin-left: auto; display: inline-block; font-weight: 700; font-size: 0.88rem; color: var(--violet-deep); text-decoration: none; padding: 10px 0; white-space: nowrap; }
  .jfix::after { content: " \2192"; }
  .jfix:hover { text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 420px) { .jgoal { flex-wrap: wrap; } .jfix { margin-left: 0; width: 100%; padding-top: 2px; } }
  @media (max-width: 900px) {
    .journey-grid { grid-template-columns: 1fr; }
    .journey-pin { position: static; }
    .journey-pin .pipe { padding: 10px 12px 8px; }
    .jstep { min-height: 0; opacity: 1; }
  }

  /* Success */
  .outcomes { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .outcomes li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); background: var(--mist); }
  .outcomes h3 { font-size: 1.02rem; margin: 0; }
  .oc-ico { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; }
  .oc-ico svg { width: 26px; height: 26px; fill: var(--violet); }
  .oc-ico .ok { fill: var(--lavender); }
  .oc-ico .tick, .oc-ico .ring, .oc-ico .arrow { fill: none; stroke: var(--violet); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
  .oc-ico .tick { stroke-width: 3; }
  .outcomes h3 { font-size: 1.3rem; margin-bottom: 6px; }
  .outcomes p { margin: 0; color: var(--muted); }
  @media (max-width: 860px) { .outcomes { grid-template-columns: 1fr; } }
  .aw { padding-top: 48px; border-top: 1px solid var(--line); }
  .case-head { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; margin-bottom: 24px; }
  .case-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--lavender); display: grid; place-items: center; text-align: center; padding: 12px; font-size: 0.78rem; font-weight: 600; color: var(--violet-deep); object-fit: cover; }
  .pill.pill-case { margin-bottom: 10px; background: var(--amber); color: #fff; }
  @media (max-width: 520px) { .case-head { grid-template-columns: 1fr; } .case-photo { max-width: 260px; } }
  .aw-title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }

  /* Check section */
  .check { padding: clamp(64px, 8vw, 104px) 0; }
  .check h2 { color: #fff; margin: 0 0 16px; }

  /* ---------- Homepage problem ---------- */
  #problem .section-head { max-width: 700px; }
  .slips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .slips li { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 28px 24px 24px; display: flex; flex-direction: column; }
  .slip-goal { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .slips li::before { content: ""; position: absolute; left: 24px; top: 0; width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--amber); }
  .slip-n { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; color: var(--violet); }
  .slips h3 { margin: 2px 0 6px; font-size: 1.35rem; }
  .stage-k { margin: 0 !important; font-size: 0.78rem; font-weight: 700; color: var(--violet-deep) !important; }
  .slips p { margin: 0 0 20px; color: var(--muted); }
  .slip-t { font-size: 0.88rem; font-weight: 600; color: var(--violet-deep); }
  .slips-foot { margin: 28px 0 0; font-size: 1.1rem; font-weight: 500; }
  @media (max-width: 860px) { .slips { grid-template-columns: 1fr; } }
  .guide-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0 !important; }
  .guide-links a { display: inline-block; font-size: 0.88rem; font-weight: 600; color: var(--violet-deep); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
  .guide-links a:hover { border-color: var(--violet); }
  .signup > p { color: var(--muted); margin: -8px 0 18px; }

  /* Problem visuals */
  .slip-vis { height: 172px; margin: -4px 0 20px; border-radius: var(--r-md); background: var(--mist); padding: 16px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
  .sms { gap: 8px; justify-content: center; }
  .bubble { max-width: 86%; border-radius: 14px; padding: 8px 12px; font-size: 0.78rem; line-height: 1.35; display: grid; gap: 2px; }
  .bubble small { font-size: 0.7rem; opacity: 0.7; }
  .bubble.in { background: #fff; border: 1px solid var(--line); align-self: flex-start; font-weight: 600; }
  .bubble.out { background: var(--violet); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
  .sms-chip { position: absolute; top: 12px; right: 12px; font-family: var(--display); font-size: 0.88rem; color: var(--violet-deep); background: #fff; border-radius: 999px; padding: 3px 10px; box-shadow: 0 0 0 1px var(--line); }
  .pdots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
  .pd { aspect-ratio: 1; border-radius: 50%; background: var(--lavender); transform: scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .25s, background .3s; transition-delay: calc(var(--i) * 70ms); }
  .slips.in .pd, .jsteps.in .pd { transform: scale(1); opacity: 1; }
  .pd.on { background: var(--violet); }
  .pd.lost { background: transparent; box-shadow: inset 0 0 0 2px var(--amber); }
  .pd-cap { margin: 14px 0 0 !important; font-size: 0.88rem; color: var(--muted); }
  .pd-cap b { color: var(--ink); }
  .mdash { gap: 9px; justify-content: center; }
  .md-h { margin: 0 0 2px !important; font-size: 0.78rem !important; font-weight: 700; color: var(--muted) !important; text-transform: uppercase; letter-spacing: .06em; }
  .md-row { display: grid; grid-template-columns: 64px 1fr 34px; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
  .md-row b { font-family: var(--display); color: var(--ink); text-align: right; }
  .md-bar { height: 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
  .md-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--violet); transition: width .8s cubic-bezier(.2,.8,.2,1); }
  .md-row:nth-of-type(3) .md-bar i { transition-delay: .12s; } .md-row:nth-of-type(4) .md-bar i { transition-delay: .24s; } .md-row:nth-of-type(5) .md-bar i { transition-delay: .36s; }
  .slips.in .md-bar i, .jsteps.in .md-bar i { width: var(--w); }
  @media (prefers-reduced-motion: reduce) { .md-bar i { width: var(--w); transition: none; } }

  /* Fix stage icons */
  .stages li { grid-template-columns: 112px 1fr; gap: 24px; }
  .stages li::before { content: none; }
  .stage-ico { display: grid; gap: 6px; justify-items: start; }
  .stage-ico small { font-size: 0.78rem; font-weight: 700; color: var(--violet-deep); }
  .mini-f { width: 112px; height: 56px; }
  .mf-base { fill: var(--lavender); }
  .mf-on { fill: var(--violet); }
  @media (max-width: 520px) { .stages li { grid-template-columns: 80px 1fr; gap: 16px; } .mini-f { width: 80px; height: 40px; } }

  /* Applewood bars */
  .pm-list { display: grid; gap: 20px; margin: 18px 0 20px; }
  .pm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-weight: 600; }
  .pm-v { font-family: var(--display); font-size: 1.5rem; color: var(--violet-deep); }
  .pm-bar { position: relative; height: 12px; border-radius: 999px; background: var(--lavender); }
  .pm-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--violet); transition: width 1.2s cubic-bezier(.3,.7,.2,1); }
  .pm-bar em { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); border-radius: 2px; }
  .pm small { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
  .pm-starts { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; }
  .pm-starts b { font-family: var(--display); font-size: 1.5rem; color: var(--violet-deep); }
  figure.quote { margin: 24px 0 0; }
  figure.quote blockquote { margin: 0; }
  figure.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--body); font-size: 0.88rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

  /* ---------- Homepage case study ---------- */
  .case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .case-grid > * { min-width: 0; }
  .tier-line { display: flex; align-items: center; gap: 12px; margin: 24px 0; font-weight: 700; }
  .tier { padding: 8px 18px; border-radius: 999px; }
  .tier.from { background: var(--lavender); color: var(--ink); }
  .tier.to { background: var(--ink); color: #fff; }
  .tier-gap { width: 72px; height: 2px; background: repeating-linear-gradient(90deg, var(--violet) 0 8px, transparent 8px 14px); }
  .setup { list-style: none; padding: 0; margin: 28px 0 0; }
  .setup li { padding: 18px 0; border-top: 1px solid var(--line); }
  .setup li:last-child { border-bottom: 1px solid var(--line); }
  .setup li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; }
  .setup h3 { font-size: 1.05rem; color: var(--violet-deep); }
  .setup p { margin: 0; color: var(--muted); }
  .now-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); }
  .now-card h3 { margin-bottom: 4px; }
  .now-card > p { color: var(--muted); font-size: 0.95rem; }
  table { width: 100%; border-collapse: collapse; }
  @media (max-width: 600px) { table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
  th, td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
  td.num, th.num { text-align: right; white-space: nowrap; }
  td.you { color: var(--violet-deep); font-weight: 700; }
  .prose table td:first-child { white-space: nowrap; font-weight: 600; }
  .quote { margin: 24px 0 0; padding: 22px 24px; background: var(--mist); border-radius: var(--r-md); font-family: var(--display); font-size: 1.2rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
  .quote cite { display: block; margin-top: 12px; font-family: var(--body); font-style: normal; font-size: 0.88rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
  @media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

  /* ---------- Homepage team ---------- */
  .team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
  .team-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--lavender); display: grid; place-items: center; color: var(--muted); font-weight: 600; object-fit: cover; }
  .bios { list-style: none; padding: 0; margin: 28px 0 0; }
  .bios li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .bios h3 { font-size: 1.25rem; }
  .bios p { margin: 0; color: var(--muted); }
  @media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
  .team-strip { background: var(--mist); padding: clamp(40px, 5vw, 56px) 0; }
  .team-row { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
  .team-row .team-photo { aspect-ratio: 3 / 2; font-size: 0.88rem; }
  .team-row h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
  .team-names { margin: 0; color: var(--muted); }
  .team-names strong { color: var(--ink); }
  .team-names span { margin: 0 8px; color: var(--line); }
  @media (max-width: 640px) { .team-row { grid-template-columns: 1fr; } }

  /* ---------- Closing band (all pages) ---------- */
  .band { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 96px) 0; text-align: center; }
  .band h2 { color: #fff; max-width: 24ch; margin: 0 auto 14px; }
  .band p { color: var(--on-dark); max-width: 52ch; margin: 0 auto; }
  .band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
  .band-alt { margin: 18px auto 0 !important; text-align: center; }

  /* ---------- Article pages ---------- */
  .page-head { padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 56px); background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
  .page-head::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(109,63,224,0.38), transparent); z-index: -1; pointer-events: none; }
  .page-head-inner { max-width: 760px; }
  .page-head h1 { margin: 0 0 16px; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); max-width: 18ch; }
  .page-head .lede { margin-bottom: 22px; color: var(--on-dark); }
  .page-head .byline { color: var(--on-dark-muted); } .page-head .byline strong { color: #fff; }
  .page-head .avatar { background: rgba(255,255,255,0.12); color: #fff; }
  .page-head .eyebrow { color: #CDBDFF; }
  .head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .page-head .pill { margin: 0; background: rgba(255,255,255,0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
  .page-head .pill b { color: #F5B25C; }
  .page-head + .article-grid, .page-head + .wrap { padding-top: clamp(32px, 4vw, 48px); }
  .page-head-inner.center { max-width: 720px; margin-inline: auto; text-align: center; }
  .page-head-inner.center .eyebrow, .page-head-inner.center .head-meta { justify-content: center; }
  .page-head-inner.center h1 { margin-inline: auto; }
  .page-head-inner.center .lede { margin-inline: auto; }
  .cal-section { padding: clamp(32px, 4vw, 48px) 0 clamp(28px, 3vw, 40px); }
  .pill-stage { background: var(--violet) !important; color: #fff !important; }
  .pill { display: inline-block; font-weight: 700; font-size: 0.88rem; color: var(--violet-deep); background: var(--lavender); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
  .article-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 24vw, 300px); gap: clamp(40px, 6vw, 88px); align-items: start; padding-bottom: clamp(64px, 8vw, 96px); }
  .article-grid > * { min-width: 0; }
  .prose { max-width: 720px; }
  .prose > section + section { margin-top: 56px; }
  .prose h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 0 0 16px; }
  .prose h3 { font-size: 1.15rem; }
  .prose > section > p { font-size: 1.08rem; line-height: 1.7; }
  .rail { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; min-width: 0; }
  .rail > * { min-width: 0; }
  .toc { border-left: 2px solid var(--line); padding-left: 18px; }
  .toc h2 { font-family: var(--body); font-size: 0.88rem; font-weight: 700; letter-spacing: 0; color: var(--muted); margin: 0 0 10px; }
  .toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .toc a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; line-height: 1.35; display: block; }
  .toc a:hover { color: var(--violet-deep); }
  .rail-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 24px; }
  .rail-card h2 { font-size: 1.3rem; color: #fff; margin: 0 0 8px; }
  .rail-card p { color: var(--on-dark); font-size: 0.95rem; margin: 0 0 18px; }
  .rail-card .btn { width: 100%; }
  .rail-card .sub { display: block; text-align: center; margin-top: 14px; color: var(--on-dark); font-size: 0.88rem; }
  @media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .rail { position: static; } .toc { display: none; } }

  .yours { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 32px; }
  .yours-label { font-size: 0.88rem; font-weight: 700; color: var(--amber); margin: 0 0 6px; }
  .yours-main { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }
  .yours-sub { color: var(--on-dark); margin: 0; }
  .video { aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark-muted); display: grid; place-items: center; text-align: center; padding: 20px; font-weight: 600; position: relative; overflow: hidden; }
  .video > div { display: grid; justify-items: center; gap: 14px; }
  .video svg { width: 72px; height: 72px; }
  .video span { display: block; max-width: 34ch; }
  .video-wrap { margin-bottom: 8px; }
  .video-cap { font-size: 0.88rem; color: var(--muted); margin: 10px 0 0; }

  .steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 1px solid var(--line); }
  .steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lavender); color: var(--violet-deep); font-family: var(--display); font-weight: 800; }
  .steps h3 { margin: 4px 0 4px; }
  .steps p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }

  .templates { display: grid; gap: 14px; }
  .tpl { border: 1px solid var(--line); background: #fff; border-radius: var(--r-md); overflow: hidden; }
  .tpl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 12px 20px; background: var(--mist); border-bottom: 1px solid var(--line); }
  .tpl-head h3 { font-size: 1rem; }
  .copy { font: inherit; font-weight: 700; font-size: 0.88rem; border: 0; cursor: pointer; border-radius: 999px; padding: 7px 14px; background: #fff; color: var(--violet-deep); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
  .copy:hover { background: var(--lavender); }
  .tpl-body { margin: 0; padding: 16px 20px 18px; font-size: 1.02rem; line-height: 1.6; }
  .note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
  .callout { padding: 18px 22px; border-left: 4px solid var(--amber); background: var(--mist); border-radius: 0 var(--r-md) var(--r-md) 0; }
  .callout p { margin: 0; }
  .next-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hub-group { margin-bottom: 40px; }
  .hub-head { margin-bottom: 16px; }
  .hub-head .lede { margin: 0; font-size: 1.05rem; }
  .next-list a { display: block; height: 100%; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
  .next-list a:hover { border-color: var(--violet); }
  .next-list .k { display: block; font-size: 0.88rem; font-weight: 700; color: var(--violet-deep); margin-bottom: 4px; }
  .next-list .t { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
  @media (max-width: 640px) { .next-list { grid-template-columns: 1fr; } }

  /* Guide calendar */
  .year { margin: 8px 0 0; }
  .months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
  .month { border-radius: 12px; padding: 14px 6px 12px; text-align: center; }
  .month b { display: block; font-family: var(--display); font-size: 1.05rem; }
  .month span { display: block; font-size: 0.75rem; line-height: 1.3; margin-top: 4px; }
  .busy { background: var(--ink); color: #fff; }
  .busy span { color: var(--on-dark-muted); }
  .peak { box-shadow: inset 0 0 0 2px var(--amber); }
  .high { background: var(--lavender); color: var(--ink); }
  .high span { color: var(--muted); }
  .seo-band { margin-top: 6px; border-radius: 12px; background: var(--mist); border: 1px dashed var(--violet); padding: 10px 14px; font-size: 0.88rem; font-weight: 600; color: var(--violet-deep); text-align: center; }
  .key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
  .key span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
  .key .k-busy::before { background: var(--ink); }
  .key .k-high::before { background: var(--lavender); }
  .key .k-peak::before { box-shadow: inset 0 0 0 2px var(--amber); }
  .key .k-seo::before { background: var(--mist); border: 1px dashed var(--violet); }
  @media (max-width: 760px) { .months { grid-template-columns: repeat(4, 1fr); } }

  /* Booking + thank-you */
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 88px); align-items: start; padding: clamp(32px, 4vw, 48px) 0 clamp(64px, 8vw, 96px); }
  .split > * { min-width: 0; }
  .split h1 { margin-bottom: 18px; }
  .cover { list-style: none; padding: 0; margin: 28px 0 0; }
  .cover li { padding: 16px 0; border-top: 1px solid var(--line); }
  .cover li:last-child { border-bottom: 1px solid var(--line); }
  .cover h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .cover p { margin: 0; color: var(--muted); }
  .cal-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 20px 50px -30px rgba(36,18,63,0.35); }
  .cal-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
  .cal-card > p { color: var(--muted); font-size: 0.95rem; }
  .cal-embed { min-height: 560px; border-radius: var(--r-md); background: var(--mist); border: 1px dashed var(--violet); display: grid; place-items: center; color: var(--muted); font-weight: 600; text-align: center; padding: 20px; }
  @media (max-width: 900px) { .split { grid-template-columns: 1fr; } .cal-card { position: static; } }
  .done { padding: clamp(56px, 8vw, 96px) 0; }
  .done-inner { max-width: 680px; margin-inline: auto; text-align: center; }
  .done-check { width: 64px; height: 64px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 0 0 10px rgba(109,63,224,0.18); animation: fadeScale .6s cubic-bezier(.2,.8,.2,1) both; }
  .done-check svg { width: 30px; height: 30px; }
  .done .actions .btn-quiet { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.32); } .done .actions .btn-quiet:hover { background: rgba(255,255,255,0.08); }
  .after { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 80px); }
  .after .vstrip { margin-top: 0; }
  .after .vstrip a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
  .after .vstrip a:hover { transform: translateY(-1px); border-color: var(--violet); }
  @media (max-width: 600px) { .after .vstrip a { flex-direction: column; align-items: flex-start; gap: 6px; } }
  .done h1 { margin: 0 auto 14px; font-size: clamp(2.2rem, 4vw, 3.2rem); max-width: 20ch; }
  .done .lede { margin: 0 auto; max-width: 52ch; }
  .done .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
  .done .next-list a { color: var(--ink); }
  .done .next-list { margin-top: 40px; text-align: left; }

  /* Legal */
  .legal { max-width: 760px; padding-bottom: clamp(64px, 8vw, 96px); }
  .legal h2 { font-size: 1.35rem; margin: 40px 0 10px; }
  .legal p, .legal li { font-size: 1.02rem; line-height: 1.7; }
  .legal ul { padding-left: 1.2em; margin: 0 0 1em; }

  /* Footer */
  .site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 56px 0 40px; color: var(--muted); font-size: 0.95rem; }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
  .footer-brand { display: inline-block; text-decoration: none; } .footer-brand img { display: block; height: 48px; width: auto; }
  .footer-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .footer-about p { margin: 10px 0 0; max-width: 30ch; }
  .site-footer h2 { font-family: var(--body); font-size: 0.88rem; font-weight: 700; letter-spacing: 0; color: var(--ink); margin: 0 0 12px; }
  .site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .site-footer nav a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
  .site-footer nav a:hover { color: var(--violet-deep); text-decoration: underline; }
  .footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; }
  .footer-legal p { margin: 0; max-width: 70ch; }
  @media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }


  /* ---------- Struggle ---------- */
  #struggle .section-head { max-width: 720px; }
  .ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .ledger > div { padding: 22px 24px 22px 0; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; }
  .ledger > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
  .ledger .eff-ico { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; margin: 0; background: var(--mist); }
  .ledger .eff-ico svg { width: 26px; height: 26px; }
  .ledger h3 { margin: 0; font-size: 1.05rem; align-self: end; }
  .ledger p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
  .ledger p b { color: var(--amber-ink); }
  @media (max-width: 860px) { .ledger { grid-template-columns: 1fr; } .ledger > div { padding: 16px 0; } .ledger > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
  .efforts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .efforts li { position: relative; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid transparent; }
  .eff-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; margin-bottom: 16px; }
  .eff-ico svg { width: 30px; height: 30px; fill: var(--violet); }
  .eff-ico .ln { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .efforts h3 { font-size: 1.2rem; margin: 0 0 14px; }
  .efforts dl { margin: 0; display: grid; gap: 12px; }
  .efforts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .efforts dd { margin: 3px 0 0; color: var(--muted); line-height: 1.5; }
  .efforts .got dt { color: var(--amber-ink); }
  .efforts .got dd { color: var(--ink); font-weight: 600; }
  .efforts-turn { margin: 28px 0 0; max-width: 60ch; font-size: 1.15rem; line-height: 1.5; color: var(--muted); padding-left: 18px; border-left: 3px solid var(--amber); }
  .efforts-turn strong { color: var(--ink); }
  @media (max-width: 860px) { .efforts { grid-template-columns: 1fr; } }


  /* ---------- Success story (decluttered) ---------- */
  #success .section-head { max-width: 760px; }
  .aw2 { align-items: start; }
  .case-fig { margin: 0; }
  .case-photo-lg { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--lavender); display: grid; place-items: center; padding: 16px; text-align: center; color: var(--violet-deep); font-weight: 600; font-size: 0.88rem; object-fit: cover; }
  .case-quote { margin: 14px 0 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); }
  .case-quote blockquote { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
  .case-quote .who { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
  .case-quote .avatar { width: 36px; height: 36px; font-size: 0.88rem; }
  .aw2 .journey-bar { margin-top: 4px; }
  .aw2 .setup { margin-top: 22px; }
  .aw2 .setup li { padding: 14px 0; }
  .case-stats { margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .case-stats > div { padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); }
  .case-stats dt { font-size: 0.78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .case-stats dd { margin: 4px 0 0; }
  .case-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; color: var(--violet-deep); letter-spacing: -0.02em; }
  .case-stats small { font-size: 0.78rem; color: var(--muted); }
  @media (max-width: 520px) { .case-stats { grid-template-columns: 1fr 1fr; } }
  .m-only { display: none; }
  @media (max-width: 600px) { .d-only { display: none; } .m-only { display: inline; } .m-cap { display: inline-block; } .m-cap::first-letter { text-transform: uppercase; } .setup li { grid-template-columns: 1fr; gap: 4px; } .case-photo-lg { aspect-ratio: 16 / 10; } }

  /* ---------- Video preview ---------- */
  #fix .section-head { margin-bottom: 32px; }
  .vframe { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #30195F 0%, #24123F 55%, #190C30 100%); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 70px -36px rgba(36,18,63,0.65); color: #fff; isolation: isolate; }
  .vframe::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
  .vframe::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(109,63,224,0.45), transparent); pointer-events: none; }
  .vf-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
  .vf-copy { position: absolute; left: 6%; top: 9%; max-width: 62%; z-index: 1; }
  .vf-k { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #CDBDFF; }
  .vf-t { margin: 8px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.9rem); color: #fff; letter-spacing: -0.02em; transition: opacity .25s ease, transform .25s ease; }
  .vframe.swap .vf-t, .vframe.swap .vf-k, .vframe.swap .vf-ch li { opacity: 0; transform: translateY(6px); }
  .vf-k, .vf-ch li { transition: opacity .25s ease, transform .25s ease; }
  .vf-play { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 84px; height: 84px; z-index: 1; transition: transform .2s ease; }
  .prose .vframe { margin: 0 0 8px; }
  .prose .vframe .vf-t { margin-top: 8px; }
  .vf-play svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 26px rgba(109,63,224,0.6)); }
  .vf-play:hover { transform: translate(-50%, -50%) scale(1.06); }
  .vf-who { position: absolute; left: 6%; bottom: 21%; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: #E4DCF7; }
  .vf-who .avatar { width: 32px; height: 32px; font-size: 0.78rem; background: rgba(255,255,255,0.14); color: #fff; }
  .vf-ch { position: absolute; left: 6%; right: 6%; bottom: 7%; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .vf-ch li { font-size: 0.78rem; font-weight: 600; color: #CDBDFF; }
  .vf-ch li::before { content: ""; display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.28); margin-bottom: 7px; }
  .vf-ch li:first-child::before { background: #B9A3FF; }
  .vstrip { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .vstrip li { min-width: 0; }
  .vstrip button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
  .vstrip button:hover { transform: translateY(-1px); border-color: var(--violet); }
  .vstrip li.is-on button { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(109,63,224,0.14); }
  .vs-thumb { width: 56px; height: 36px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; flex: none; }
  .vs-thumb svg { width: 40px; height: 20px; }
  .vs-thumb .mf-base { fill: rgba(255,255,255,0.2); }
  .vs-thumb .mf-on { clip-path: none; fill: #B9A3FF; }
  .vs-txt small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
  .vs-txt b { font-family: var(--display); font-weight: 700; }
  .guide-row { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); }
  .guide-row span { margin-right: 4px; }
  .guide-row a { display: inline-block; font-size: 0.88rem; font-weight: 600; color: var(--violet-deep); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; text-decoration: none; }
  .guide-row .all { background: var(--lavender); border-color: var(--lavender); }
  .guide-row a:hover { border-color: var(--violet); }
  @media (max-width: 600px) { .vf-copy { max-width: 80%; } .vf-ch { display: none; } .vf-who { bottom: 9%; } .vf-play { width: 60px; height: 60px; top: 60%; } .vstrip button { flex-direction: column; align-items: flex-start; gap: 6px; } }


  /* ---------- Story: read-this-if, how-to strips, this-month box ---------- */
  .readif { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); max-width: 640px; }
  .readif b { flex: none; font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #F5B25C; padding-top: 3px; }
  .readif span { color: #fff; font-weight: 600; line-height: 1.4; }
  .howto { list-style: none; margin: 0 0 28px; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line); }
  .howto-t { font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-deep); margin-right: 4px; }
  .howto li:not(.howto-t) { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ink); }
  .howto li b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--violet); color: #fff; font-family: var(--display); font-size: 0.78rem; flex: none; }
  .page-head + .wrap.article-grid > .prose > .howto:first-child { margin-top: 0; }
  .watchif { margin: 14px 0 12px !important; display: flex; gap: 10px; align-items: baseline; }
  .watchif b { flex: none; font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); }
  .watchif span { font-weight: 600; color: var(--ink); }
  .hub-head .lede { margin: 0; font-size: 1.05rem; }
  .hub-if { margin: 6px 0 0; font-size: 0.95rem; color: var(--muted); }
  .hub-if b { color: var(--amber-ink); font-weight: 700; font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; }
  .now-box { margin: 0 0 32px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; }
  .now-box .nb-m { grid-row: 1 / 4; display: grid; place-items: center; min-width: 96px; padding: 12px 10px; border-radius: var(--r-md); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); text-align: center; }
  .now-box .nb-m b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; }
  .now-box .nb-m small { font-size: 0.78rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .06em; }
  .now-box .nb-k { font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #F5B25C; }
  .now-box h3 { color: #fff; font-size: 1.25rem; margin: 0; }
  .now-box p { margin: 0; color: var(--on-dark); }
  .now-box p a { color: #fff; }
  .cover-why { margin: 0 0 22px; color: var(--muted); }
  .bring { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); font-size: 0.95rem; }
  .bring b { color: var(--violet-deep); }
  .done .next-note { margin: 14px auto 0; max-width: 46ch; color: var(--on-dark-muted); font-size: 0.95rem; }
  @media (max-width: 600px) { .howto { flex-direction: column; align-items: flex-start; } .now-box { grid-template-columns: 1fr; } .now-box .nb-m { grid-row: auto; justify-self: start; } }

  /* ---------- Effects ---------- */
  .btn { transition: background .15s ease, box-shadow .2s ease, transform .2s ease; }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(109,63,224,0.7); }
  .btn-quiet:hover, .btn-light:hover, .btn-ghost-dark:hover { box-shadow: 0 12px 26px -14px rgba(36,18,63,0.5); }
  .site-header { transition: box-shadow .25s ease; }
  .site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(36,18,63,0.45); }

  /* grain on dark surfaces */
  .hero-dark::after, .band::after, .page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
  .band { position: relative; overflow: hidden; isolation: isolate; }
  .band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(109,63,224,0.35), transparent); z-index: -1; pointer-events: none; }
  .hero-glow { position: absolute; left: -10%; bottom: -40%; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232,150,43,0.16), transparent); z-index: -1; pointer-events: none; }
  .hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
  .hero .wrap { position: relative; z-index: 1; }
  .check::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }

  /* hero entrance */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes fadeScale { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
  .is-home .hero .eyebrow, .is-home .hero h1, .is-home .hero .lede, .is-home .hero .top-actions, .page-head .eyebrow, .page-head h1, .page-head .lede, .page-head .head-meta, .page-head .pill { animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) both; }
  .is-home .hero h1, .page-head h1 { animation-delay: .08s; } .is-home .hero .lede, .page-head .lede { animation-delay: .18s; } .is-home .hero .top-actions, .page-head .head-meta { animation-delay: .28s; }
  .is-home .hero-video { animation: fadeScale .9s cubic-bezier(.2,.8,.2,1) .2s both; }
  .hero-video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(109,63,224,0.25), transparent); pointer-events: none; }
  .hero-video svg { filter: drop-shadow(0 10px 24px rgba(109,63,224,0.55)); }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(109,63,224,0.45); } 70% { box-shadow: 0 0 0 18px rgba(109,63,224,0); } }
  .hero-video .hv-ring { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; animation: pulse 2.4s ease-out infinite; pointer-events: none; }

  /* scroll reveal (home only; JS adds .in) */
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
  .rv.in { opacity: 1; transform: none; }

  /* RTB: count-up and gems lighting in sequence */
  .rtb-clinics .gem { transition: background .3s ease, box-shadow .3s ease, transform .35s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i, 0) * 160ms + .3s); }
  .rtb-clinics .gem.on { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
  .rtb.in .rtb-clinics .gem.on { background: var(--violet); box-shadow: none; transform: rotate(45deg) scale(1.08); }

  /* SMS: the conversation plays out */
  .sms .bubble, .sms .sms-gap { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
  .jsteps.in .sms .b1 { opacity: 1; transform: none; transition-delay: .25s; }
  .jsteps.in .sms .b2 { opacity: 1; transform: none; transition-delay: 2s; }
  .jsteps.in .sms .sms-gap { opacity: 1; transform: none; transition-delay: 3s; }
  .jsteps.in .sms .b3 { opacity: 1; transform: none; transition-delay: 3.7s; }
  .sms-gap { align-self: center; font-size: 0.7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); }
  .jstep .slip-vis.sms { height: auto; min-height: 160px; padding: 14px 16px; gap: 6px; }
  .sms .bubble { font-size: 0.78rem; }
  .typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--violet); opacity: 0; }
  .typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.85); animation: tdot 1s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
  @keyframes tdot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
  @keyframes typingShow { 0% { opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; display: none; } }
  .jsteps.in .typing { animation: typingShow 1.2s ease .9s both; }
  .jsteps.in .typing.done { display: none; }

  /* Mini funnels wipe in; pillar rows lift on hover */
  .mf-on { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.2,.8,.2,1) .15s; }
  .pillars li.in .mf-on { clip-path: inset(0 0 0 0); }
  .pillars.stages li { border-radius: var(--r-md); padding-inline: 12px; margin-inline: -12px; transition: background .2s ease; }
  .pillars.stages li:hover { background: rgba(255,255,255,0.7); }

  /* Applewood: Diamond gets its gem */
  .journey-ends .tier.to::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, #CDBDFF, #6D3FE0); vertical-align: 0; }
  .journey-ends .tier { display: inline-flex; align-items: center; }

  @media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
    .is-home .hero .eyebrow, .is-home .hero h1, .is-home .hero .lede, .is-home .hero .top-actions, .is-home .hero-video, .hero-video .hv-ring, .page-head .eyebrow, .page-head h1, .page-head .lede, .page-head .head-meta, .page-head .pill { animation: none; }
    .sms .bubble, .sms .sms-gap { opacity: 1; transform: none; transition: none; }
    .typing { display: none; }
    .mf-on { clip-path: none; transition: none; }
    .rtb-clinics .gem.on { background: var(--violet); box-shadow: none; }
  }
