/* =========================================================================
   Cherrie parity mirror — shared design system.
   Colors sampled from frozen screenshots (pricing/about/demo *-top.png).
   Motion timings, radii, and the border-beam are transcribed from the
   authoritative pricing chunk + inline critical CSS. Brand face "cherrie"
   is unavailable offline; a system grotesque stack stands in (metric-adjusted
   like the source's own "cherrie Fallback"). Values the evidence does not
   fix are approximations and are flagged in the writer report.
   ========================================================================= */

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- design tokens ---- */
:root {
  --bg-2: #f8f8f8;          /* page background (bg-2) */
  --bg-1: #ffffff;          /* card / surface (bg-1) */
  --bg-base-2: #ffffff;     /* feature card (bg-base-2) */
  --bg-8: 154, 154, 154;    /* mid gray (bg-8), used with opacity */
  --border: #e7e5e5;        /* hairline (--border) */
  --border-strong: #dcdcdc;
  --fg: #050505;            /* foreground / body text */
  --text-19: #0a0a0a;       /* feature + footer headings (text-19) */
  --text-10: #6f6f6f;       /* muted body (text-10) */
  --muted-foreground: #737373;
  --icon-neutral: #404040;  /* neutral-700 feature icons */

  --accent: #e8536a;                /* coral: color-14 / color-15 */
  --accent-rgb: 232, 83, 106;
  --accent-strong: #e0435c;
  --cherry: #d93a54;                /* color-16 / color-17 */
  --slider-from: #ef6a7e;           /* color-14 (coral top of bar gradient) */
  --slider-to: #d33a54;             /* color-17 (cherry bottom) */
  --display-ink: #0b0f19;           /* deep near-black display (about heading) */
  --ok: #16a34a;

  --radius-xl: 14px;
  --radius-2xl: 16px;
  --nav-max: 896px;

  --shadow-card: 0 0 0 1px rgba(0,0,0,.03), 0 2px 4px rgba(0,0,0,.05), 0 12px 24px rgba(0,0,0,.05);
  --shadow-estimator: 0 0 0 1px rgba(0,0,0,.06), 0 1px 2px -1px rgba(0,0,0,.06), 0 2px 4px 0 rgba(0,0,0,.04);
  --shadow-float: 0 10px 30px rgba(0,0,0,.10), 0 3px 10px rgba(0,0,0,.05);
  --shadow-nav-scrolled: 0 12px 34px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.05);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  --pt-header: 80px;   /* pt-20 mobile clearance */
}
@media (min-width: 768px) {
  :root { --pt-header: 120px; } /* md:pt-30 desktop clearance */
}

/* ---- base ---- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg-2);
  height: 100%;
  overflow: hidden;                 /* the document does NOT scroll (source: body overflow:hidden) */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fixed internal scroll region — the single scroll owner under the floating nav. */
.scroll-container {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg-2);
  padding-top: var(--pt-header);
  scroll-behavior: smooth;
}
.scroll-container::selection, .scroll-container ::selection {
  background: rgba(var(--accent-rgb), 0.10);
  color: var(--accent);
}

.skip-link {
  position: fixed; left: 12px; top: 8px; z-index: 60;
  background: #fff; color: var(--fg); padding: 8px 14px; border-radius: 8px;
  box-shadow: var(--shadow-float); transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

/* ---- display type ---- */
.display {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--display-ink);
}
.display-xl { font-size: clamp(3.2rem, 9.5vw, 6.2rem); }
.display-lg { font-size: clamp(2.6rem, 7vw, 4.5rem); }
.display-md { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
.lead { color: var(--text-10); font-size: clamp(1.05rem, 2.2vw, 1.22rem); line-height: 1.5; }

/* =====================================================================
   Navigation — fixed floating pill
   ===================================================================== */
.nav {
  position: fixed;
  top: 16px; left: 12px; right: 12px;
  max-width: var(--nav-max);
  margin-inline: auto;
  z-index: 50;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  overflow: hidden;                 /* pill clips its own expanding mobile menu */
  transition: max-width .3s ease, background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: slide-down-fade .6s cubic-bezier(.16, 1, .3, 1) both;
}
.nav[data-scrolled="true"] {
  background: #ffffff;
  box-shadow: var(--shadow-nav-scrolled);
  border-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 40px;
}
.nav-left { display: flex; align-items: center; gap: 10px; }
.logo { display: inline-flex; align-items: center; border-radius: 8px; }
.mark { width: 37px; height: 40px; }
.mark-loop-a { stroke: var(--display-ink); }
.mark-loop-b { stroke: var(--accent); }
.nav[data-scrolled="true"] .mark-loop-a { stroke: #7a2130; } /* both loops read reddish on the white scrolled pill */

.palette {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff; border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}
.palette:hover { box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.palette:active { transform: scale(.96); }
.palette-dot { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); }

.nav-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; gap: 34px; }
.nav-center a { font-size: 16px; font-weight: 500; text-decoration: none; color: var(--fg); transition: color .15s ease; }
.nav-center a:hover { color: var(--accent); }
body[data-route="about"] .nav-center a[data-nav="about"],
body[data-route="pricing"] .nav-center a[data-nav="pricing"],
body[data-route="demo"] .nav-center a[data-nav="demo"] { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.get-started { display: none; }
.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: transparent; border: none; border-radius: 10px; cursor: pointer; color: var(--fg);
}
.hamburger:hover { background: rgba(0,0,0,.04); }
.hamburger .icon-close { display: none; }
.hamburger[aria-expanded="true"] .icon-menu { display: none; }
.hamburger[aria-expanded="true"] .icon-close { display: block; }

/* mobile dropdown — grid-rows 0fr -> 1fr, 300ms, source easing */
.mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.16, 1, .3, 1);
}
.mobile-menu[data-open="true"] { grid-template-rows: 1fr; }
.mobile-menu-inner { overflow: hidden; min-height: 0; }
.mobile-menu-inner a {
  display: block; font-size: 18px; font-weight: 500; text-decoration: none; color: var(--fg);
  padding: 12px 6px 12px 6px;
}
.mobile-menu-inner a:first-child { padding-top: 16px; }
.mobile-menu-inner a:hover { color: var(--accent); }

@media (min-width: 768px) {
  .nav-center { display: flex; }
  .get-started { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 9999px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, box-shadow .18s ease, transform .12s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; padding: 7px 20px; font-size: 14px; }
.btn-accent:hover { background: var(--accent-strong); }
.btn-outline { background: #fff; color: var(--fg); border: 1px solid var(--border); padding: 7px 20px; font-size: 14px; }
.btn-outline:hover { border-color: var(--border-strong); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* inert external-social affordance (no live navigation in the local QA build) */
.link-inert {
  background: none; border: none; padding: 0; cursor: pointer; text-align: left;
  font-size: 15px; color: var(--text-10); transition: color .15s ease;
}
.link-inert:hover { color: var(--fg); }

/* =====================================================================
   Footer (shared, all routes except /demo)
   ===================================================================== */
.footer { background: var(--bg-2); border-top: 0; }
.footer-cta {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 80px 20px; gap: 20px;
}
@media (min-width: 640px) { .footer-cta { padding-block: 112px; } }
@media (min-width: 1024px) { .footer-cta { padding-block: 144px; } }
.footer-logo { width: 64px; height: 64px; }
@media (min-width: 768px) { .footer-logo { width: 80px; height: 80px; } }
.footer-tagline { max-width: 30ch; font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 600; color: var(--display-ink); letter-spacing: -0.01em; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.footer-cta-actions .btn { min-height: 48px; padding-inline: 26px; }

.footer-cols {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  max-width: 1200px; margin-inline: auto; padding: 0 24px 40px;
}
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-heading { font-size: 14px; font-weight: 600; line-height: 1.7; color: var(--text-19); margin-bottom: 8px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--text-10); text-decoration: none; }
.footer-col a:hover { color: var(--fg); }
.footer-base {
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  padding: 20px 24px 44px; color: var(--text-10); font-size: 14px;
}
@media (min-width: 640px) { .footer-base { flex-direction: row; justify-content: space-between; max-width: 1200px; margin-inline: auto; } }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }

/* =====================================================================
   Section scaffolding
   ===================================================================== */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--text-10); text-transform: none; }
.kicker { color: var(--accent); font-weight: 600; }
.section-heading { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--display-ink); line-height: 1.08; }
.muted { color: var(--text-10); }

/* keyframes */
@keyframes slide-down-fade { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-up-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes squiggle-drift { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-10px) rotate(var(--rot,0deg)); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* =====================================================================
   Landing
   ===================================================================== */
.hero { position: relative; text-align: center; padding: clamp(40px, 7vw, 90px) 20px clamp(28px, 5vw, 60px); overflow: hidden; }
.hero-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(0,0,0,.10) 1.1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 30%, transparent 72%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1000px; margin-inline: auto; }
.hero h1.display-xl { margin-bottom: 26px; }
.hero .lead { max-width: 34ch; margin: 0 auto 34px; }
.squiggle { position: absolute; z-index: 1; width: 46px; height: 3px; border-radius: 3px; animation: squiggle-drift 6s ease-in-out infinite; }

.email-capture {
  position: relative; z-index: 2; display: flex; gap: 8px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 8px;
  max-width: 460px; margin: 0 auto; box-shadow: var(--shadow-float);
}
.email-capture input {
  flex: 1; border: none; background: transparent; padding: 12px 14px; font-size: 16px; outline: none; min-width: 0;
}
/* F1 (cycle-01 repair): the rule above clears the outline unconditionally, so the
   hero email input had no visible keyboard focus. Reinstate the mirror's standard
   accent ring for keyboard focus only (matches the global :focus-visible at line 18);
   specificity 0,2,1 beats the 0,1,1 base rule. Pointer/capsule appearance unchanged. */
.email-capture input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.email-capture input::placeholder { color: #9a9a9a; }
.email-capture .btn { flex-shrink: 0; }

.demo-brand-card {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 14px; text-align: left;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px 18px 12px 12px;
  margin: 22px auto 0; box-shadow: var(--shadow-float); cursor: pointer;
}
.sauss-tile {
  width: 52px; height: 52px; border-radius: 12px; background: #e0122b; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: -0.02em; font-size: 15px;
}
.demo-brand-card .db-title { font-weight: 700; color: var(--display-ink); }
.demo-brand-card .db-sub { color: var(--text-10); font-size: 14px; }

/* dashboard mockup */
.mockup-wrap { max-width: 1120px; margin: clamp(30px, 5vw, 60px) auto 0; padding-inline: 20px; }
.mockup {
  border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -1px 0 var(--border), 0 30px 60px -20px rgba(0,0,0,.25);
  border: 1px solid var(--border); border-bottom: none; background: #fff;
}
.mockup-chrome { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f1f1f1; border-bottom: 1px solid var(--border); }
.mockup-dots { display: flex; gap: 7px; }
.mockup-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.mockup-dots i:nth-child(1) { background: #ff5f57; } .mockup-dots i:nth-child(2) { background: #febc2e; } .mockup-dots i:nth-child(3) { background: #28c840; }
.mockup-url { flex: 1; max-width: 340px; margin-inline: auto; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 5px 12px; font-size: 13px; color: var(--text-10); text-align: center; }
.mockup-body { display: grid; grid-template-columns: 210px 1fr; min-height: 300px; }
.mockup-side { border-right: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fafafa; }
.mockup-brandrow { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px; }
.mockup-brandrow .glyph { width: 26px; height: 26px; border-radius: 7px; background: #111; }
.mockup-navitem { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; color: var(--text-10); font-size: 14px; }
.mockup-navitem.active { background: #2f6bff; color: #fff; }
.mockup-topbar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 18px 22px; }
.stat .stat-label { font-size: 12px; color: var(--text-10); }
.stat .stat-value { font-size: clamp(15px, 1.4vw, 20px); font-weight: 700; color: var(--display-ink); letter-spacing: -0.01em; }
.stat .stat-value.pos { color: var(--ok); }
.mockup-chartrow { padding: 0 22px 26px; }
.mockup-chart { height: 190px; border: 1px solid var(--border); border-radius: 12px; background:
  linear-gradient(180deg, rgba(47,107,255,.10), transparent 70%); position: relative; overflow: hidden; }
.mockup-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 767px) { .mockup-body { grid-template-columns: 1fr; } .mockup-side { display: none; } .mockup-topbar { grid-template-columns: repeat(4, 1fr); gap: 14px 8px; } }

/* social proof marquee */
.brandrow { border-block: 1px solid var(--border); padding-block: 26px; margin-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.brandrow p { text-align: center; color: var(--text-10); margin-bottom: 20px; font-size: 15px; }
.marquee { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.marquee .brand-logo { height: 42px; display: flex; align-items: center; justify-content: center; color: #b8b8b8; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; opacity: .8; white-space: nowrap; }

/* alternating feature bands */
.band { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; padding-block: clamp(50px, 8vw, 110px); }
.band .band-copy .kicker { display: block; margin-bottom: 12px; }
.band .band-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--display-ink); line-height: 1.1; margin-bottom: 16px; }
.band .band-copy p { color: var(--text-10); max-width: 46ch; font-size: 1.05rem; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr; gap: 60px; } .band.reverse .band-visual { order: -1; } }
.band-visual { border-radius: 18px; min-height: 260px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }

.logo-lockup { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 220px; }
.logo-lockup svg { width: 120px; height: 120px; }

.brandcloud { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; padding: 30px; height: 100%; }
.brandcloud .chip { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.brandcloud .chip .disc { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, #ececec, #d9d9d9); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #8a8a8a; }
.brandcloud .chip .count { font-size: 13px; color: var(--text-10); font-weight: 600; }

.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; height: 100%; }
.beforeafter .ba { border-radius: 12px; display: flex; align-items: flex-end; padding: 12px; min-height: 200px; color: #fff; font-weight: 700; font-size: 13px; }
.beforeafter .ba.before { background: linear-gradient(135deg, #b9c0cc, #8b93a2); }
.beforeafter .ba.after { background: linear-gradient(135deg, var(--accent), var(--cherry)); }

.poolgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 22px; height: 100%; place-content: center; }
.pool-avatar { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pool-avatar .disc { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,#f0d9c9,#d7b49b); }
.pool-avatar .amt { font-size: 12px; font-weight: 700; color: var(--display-ink); }
.pool-total { grid-column: 1 / -1; text-align: center; font-weight: 800; color: var(--accent); margin-top: 6px; }

.support-ui { padding: 20px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.support-ui .support-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-10); }
.support-row { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 8px; padding: 10px 12px; background: #fafafa; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; align-items: center; }
.support-row .plat { color: var(--text-10); } .support-row .stat-pill { justify-self: end; font-size: 12px; font-weight: 600; color: var(--accent); }

.threeup { display: grid; grid-template-columns: 1fr; gap: 26px; padding-block: clamp(40px, 6vw, 80px); }
@media (min-width: 768px) { .threeup { grid-template-columns: repeat(3, 1fr); } }
.threeup .item h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: var(--display-ink); }
.threeup .item p { color: var(--text-10); }

.stattrio { display: grid; grid-template-columns: 1fr; gap: 28px; text-align: center; padding-block: clamp(30px, 5vw, 60px); }
@media (min-width: 768px) { .stattrio { grid-template-columns: repeat(3, 1fr); } }
.stattrio .big { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; color: var(--cherry); }
.stattrio .lbl { color: var(--text-10); margin-top: 4px; }

/* =====================================================================
   About
   ===================================================================== */
.about-hero { text-align: left; max-width: 900px; }
.badge-pill { display: inline-block; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 9999px; margin-bottom: 22px; }
.about-hero h1 { margin-bottom: 18px; }

.collage { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 26px; padding-block: clamp(40px, 6vw, 80px); }
.polaroid {
  background: #fff; border-radius: 10px; padding: 12px 12px 0; box-shadow: 0 14px 30px -12px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.03);
}
.polaroid .photo { border-radius: 6px; aspect-ratio: 4 / 3; overflow: hidden; }
.polaroid .photo svg, .polaroid .photo .ph { width: 100%; height: 100%; display: block; }
.polaroid .cap { text-align: center; padding: 14px 6px 16px; font-size: 15px; color: var(--fg); }
.polaroid:nth-child(1) { transform: rotate(-3deg); } .polaroid:nth-child(2) { transform: rotate(2deg); }
.polaroid:nth-child(3) { transform: rotate(-1.5deg); } .polaroid:nth-child(4) { transform: rotate(2.5deg); }
.polaroid:nth-child(5) { transform: rotate(-2deg); } .polaroid:nth-child(6) { transform: rotate(1.5deg); }
.polaroid .cap.arc { background: linear-gradient(0deg, transparent, transparent); }
.design-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 8px; }
.design-tiles .tile { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(150deg,#e9e9e9,#cfcfcf); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 -6px 14px rgba(0,0,0,.06); color: #fff; }
.design-tiles .tile svg { width: 26px; height: 26px; }
@media (max-width: 767px) {
  .collage { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .polaroid { transform: none !important; }
}

.benefits { display: grid; grid-template-columns: 1fr; gap: 30px 40px; padding-block: clamp(30px, 5vw, 56px); }
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-19); margin-bottom: 8px; }
.benefit p { color: var(--text-10); }

/* =====================================================================
   Legal (privacy / terms)
   ===================================================================== */
.legal { padding-block: clamp(30px, 5vw, 60px); }
.legal-inner { max-width: 760px; margin-inline: auto; padding-inline: 24px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; color: var(--display-ink); margin-bottom: 12px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; color: var(--display-ink); margin-top: 34px; margin-bottom: 12px; }
.legal p { color: #3a3a3a; margin-bottom: 14px; line-height: 1.65; }
.legal ul { color: #3a3a3a; margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; line-height: 1.6; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   Demo
   ===================================================================== */
.demo-head { text-align: center; padding-block: clamp(24px, 4vw, 44px); }
.demo-head h1 { margin-bottom: 12px; }
.demo-head .lead { margin-inline: auto; }
.demo-card {
  max-width: 640px; margin: 20px auto 90px; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow-card);
}
.demo-card h2 { font-size: 1.15rem; font-weight: 700; color: var(--display-ink); }
.demo-card .hint { color: var(--text-10); font-size: 14px; margin-top: 4px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-19); }
.req { color: var(--cherry); margin-left: 2px; }
.field input, .field select {
  border: 1px solid var(--border); background: #f2f2f2; border-radius: 10px; padding: 11px 13px; font-size: 15px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field .subhint { font-weight: 400; color: var(--text-10); font-size: 13px; margin-top: -2px; }
.demo-divider { height: 1px; background: var(--border); margin: 26px 0; }
.demo-time h2 { margin-bottom: 4px; }
.demo-time .hint { margin-bottom: 18px; }
.calendar-wrap { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .calendar-wrap { grid-template-columns: 1.15fr .85fr; } }
.calendar { border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--text-10); }
.cal-title { font-weight: 700; color: var(--display-ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 12px; color: var(--text-10); padding: 6px 0; font-weight: 600; }
.cal-grid .day { padding: 9px 0; border-radius: 8px; font-size: 14px; cursor: pointer; border: 1px solid transparent; }
.cal-grid .day:hover { background: #f2f2f2; }
.cal-grid .day.sel { background: var(--accent); color: #fff; }
.cal-grid .day.empty { cursor: default; }
.slots { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; }
.slots .slots-empty { color: var(--text-10); font-size: 14px; }
.slots .slots-help { color: var(--text-10); font-size: 13px; margin-top: auto; }
.confirm-row { margin-top: 22px; display: flex; justify-content: flex-end; }

/* =====================================================================
   Pricing — hero, estimator, slider, odometer, beam, feature grid
   ===================================================================== */
.pricing-hero { text-align: center; padding: clamp(20px, 4vw, 50px) 20px 10px; animation: slide-up-fade 600ms ease backwards; }
#pricing-title { padding-block: 8px; }
.rate-line { display: inline-flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 4px; }
.rate-num { font-size: clamp(3rem, 8vw, 3.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--cherry); font-variant-numeric: tabular-nums; }
.rate-pct { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 600; line-height: 1; color: var(--cherry); padding-bottom: 2px; }
.rate-suffix { font-size: clamp(1rem, 2vw, 1.125rem); font-weight: 400; color: var(--text-10); padding-bottom: 4px; padding-left: 4px; }
.pricing-sub { margin: 24px auto 0; max-width: 34ch; font-size: 1.125rem; color: var(--text-10); }

.estimator-section { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 16px 80px; }
.beam-card { width: 100%; max-width: 384px; margin-bottom: 40px; }
.est-card {
  background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 18px; box-shadow: var(--shadow-estimator);
}
.est-title { text-align: center; font-size: 14px; font-weight: 500; color: var(--text-10); margin-bottom: 10px; }
.est-list { display: flex; flex-direction: column; gap: 8px; }
.est-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.est-row dt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-10); }
.est-row dt svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.est-row dd { display: inline-flex; align-items: baseline; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--cherry); font-variant-numeric: tabular-nums; }
.est-footer { text-align: center; font-size: 12px; color: var(--muted-foreground); margin-top: 14px; }

/* slider */
.slider { width: 100%; max-width: 576px; user-select: none; }
.slider-track { position: relative; height: 48px; cursor: pointer; touch-action: none; }
.slider-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 10px; }
.slider-tooltip { position: absolute; top: -48px; transform: translateX(-50%); pointer-events: none; }
.slider-tooltip .pill {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 9999px; padding: 8px 16px;
  box-shadow: var(--shadow-float); white-space: nowrap; font-size: 16px; font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums;
}
.slider-tooltip .arrow { position: absolute; left: 50%; transform: translateX(-50%) rotate(45deg); bottom: -6px; width: 12px; height: 12px; background: var(--bg-2); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bars { position: absolute; inset: 0; display: grid; align-items: end; }
.bar-col { display: flex; justify-content: center; }
.bar { width: 2px; border-radius: 9999px; transition: height .15s ease-out, background-color .15s ease-out, opacity .15s ease-out; background: rgba(var(--bg-8), 1); opacity: .3; }
.bar.hot { background: linear-gradient(to bottom, var(--slider-from), var(--slider-to)); opacity: 1; }
.ticks { margin-top: 8px; display: grid; grid-template-columns: repeat(11, 1fr); }
.tick { display: flex; justify-content: center; }
.tick i { width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--bg-8), .4); display: block; }
.slider-labels { display: flex; justify-content: space-between; margin-top: 12px; padding-inline: 4px; }
.slider-labels span { font-size: 14px; color: var(--text-10); }

/* odometer */
.odo { display: inline-flex; align-items: baseline; line-height: 1; }
.odo-digit { position: relative; display: inline-block; width: 1ch; overflow-x: visible; overflow-y: clip; line-height: 1; }
.odo-digit .odo-spacer { visibility: hidden; }
.odo-cell { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; will-change: transform; }
.odo-sep { margin-inline: .02em; }

/* feature bento grid */
.features { max-width: 1160px; margin: 0 auto; padding: 0 16px 80px; }
.feature-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 22rem; gap: 16px; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  position: relative; overflow: hidden; border-radius: var(--radius-2xl); background: var(--bg-base-2);
  box-shadow: var(--shadow-card); transform: translateZ(0);
}
.feature-card .fc-bg { position: absolute; inset: 0; background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-2xl); }
.feature-card .fc-content {
  position: relative; z-index: 1; pointer-events: none; display: flex; flex-direction: column; gap: 4px;
  padding: 24px; height: 100%; justify-content: flex-end; transition: transform .3s ease-in-out;
}
.feature-card .fc-icon { width: 48px; height: 48px; color: var(--icon-neutral); transform-origin: left; transition: transform .3s ease-in-out; margin-bottom: 12px; }
.feature-card .fc-title { font-size: 1.25rem; font-weight: 600; color: var(--text-19); }
.feature-card .fc-desc { color: var(--text-10); max-width: 32rem; }
.feature-card .fc-cta {
  position: absolute; bottom: 0; left: 0; z-index: 2; display: flex; width: 100%; align-items: center;
  padding: 16px; transform: translateY(40px); opacity: 0; transition: transform .3s ease-in-out, opacity .3s ease-in-out; pointer-events: none;
}
.feature-card .fc-cta .btn { pointer-events: auto; }
.feature-card .fc-overlay { position: absolute; inset: 0; z-index: 1; transition: background-color .3s ease-in-out; }
@media (hover: hover) {
  .feature-card:hover .fc-content { transform: translateY(-40px); }
  .feature-card:hover .fc-icon { transform: scale(.75); }
  .feature-card:hover .fc-cta { transform: translateY(0); opacity: 1; }
  .feature-card:hover .fc-overlay { background: rgba(0,0,0,.03); }
}
/* keyboard/focus parity for the reveal (accessibility addition) */
.feature-card:focus-within .fc-content { transform: translateY(-40px); }
.feature-card:focus-within .fc-icon { transform: scale(.75); }
.feature-card:focus-within .fc-cta { transform: translateY(0); opacity: 1; }
.feature-card:focus-within .fc-overlay { background: rgba(0,0,0,.03); }

/* =====================================================================
   Border beam (transcribed from pricing-source-sanitized.html inline CSS)
   ===================================================================== */
@property --beam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: true; }
@property --beam-opacity { syntax: "<number>"; initial-value: 0; inherits: true; }

[data-beam] { position: relative; border-radius: 16px; }
[data-beam][data-active] { animation: beam-spin 1.96s linear infinite, beam-fade-in .6s ease forwards; }
[data-beam][data-fading] { animation: beam-spin 1.96s linear infinite, beam-fade-out .5s ease forwards; }

[data-beam][data-active]::after, [data-beam][data-fading]::after {
  content: ""; position: absolute; inset: 0; border-radius: 15px; padding: 1px;
  background:
    conic-gradient(from var(--beam-angle),
      transparent 0%, transparent 54%,
      rgba(255,255,255,.1) 57%, rgba(255,255,255,.3) 60%, rgba(255,255,255,.6) 63%,
      rgba(255,255,255,.75) 66%, rgba(255,255,255,.6) 69%, rgba(255,255,255,.3) 72%, rgba(255,255,255,.1) 75%,
      transparent 78%, transparent 100%),
    radial-gradient(ellipse 70px 40px at 33% -7.4%, rgb(255,50,100), transparent),
    radial-gradient(ellipse 60px 35px at 12% -5%, rgb(40,140,255), transparent),
    radial-gradient(ellipse 40px 70px at 2.1% 68.3%, rgb(50,200,80), transparent),
    radial-gradient(ellipse 20px 35px at 2.1% 68.3%, rgb(30,185,170), transparent),
    radial-gradient(ellipse 180px 32px at 74.4% 100%, rgb(100,70,255), transparent),
    radial-gradient(ellipse 85px 26px at 55% 100%, rgb(40,140,255), transparent),
    radial-gradient(ellipse 74px 32px at 93.9% 0%, rgb(255,120,40), transparent),
    radial-gradient(ellipse 26px 42px at 100% 27.1%, rgb(240,50,180), transparent),
    radial-gradient(ellipse 52px 48px at 100% 27.1%, rgb(180,40,240), transparent);
  -webkit-mask:
    conic-gradient(from var(--beam-angle),
      transparent 0%, transparent 30%, rgba(255,255,255,.1) 36%, rgba(255,255,255,.35) 44%,
      white 52%, white 80%, rgba(255,255,255,.35) 86%, rgba(255,255,255,.1) 92%, transparent 95%, transparent 100%),
    linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-in, xor;
  mask:
    conic-gradient(from var(--beam-angle),
      transparent 0%, transparent 30%, rgba(255,255,255,.1) 36%, rgba(255,255,255,.35) 44%,
      white 52%, white 80%, rgba(255,255,255,.35) 86%, rgba(255,255,255,.1) 92%, transparent 95%, transparent 100%),
    linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: intersect, exclude;
  pointer-events: none; z-index: 2;
  opacity: calc(var(--beam-opacity) * 0.26);
  animation: beam-hue-shift 12s ease-in-out infinite;
}
[data-beam][data-active]::before, [data-beam][data-fading]::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  background:
    radial-gradient(ellipse 63px 36px at 33% -7.4%, rgba(255,50,100,.45), transparent),
    radial-gradient(ellipse 54px 32px at 12% -5%, rgba(40,140,255,.45), transparent),
    radial-gradient(ellipse 36px 63px at 2.1% 68.3%, rgba(50,200,80,.45), transparent),
    radial-gradient(ellipse 18px 32px at 2.1% 68.3%, rgba(30,185,170,.45), transparent),
    radial-gradient(ellipse 162px 29px at 74.4% 100%, rgba(100,70,255,.45), transparent),
    radial-gradient(ellipse 77px 23px at 55% 100%, rgba(40,140,255,.45), transparent),
    radial-gradient(ellipse 67px 29px at 93.9% 0%, rgba(255,120,40,.45), transparent),
    radial-gradient(ellipse 23px 38px at 100% 27.1%, rgba(240,50,180,.45), transparent),
    radial-gradient(ellipse 47px 43px at 100% 27.1%, rgba(180,40,240,.45), transparent);
  box-shadow: inset 0 0 9px 1px rgba(255,255,255,.27);
  pointer-events: none; z-index: 0;
  opacity: calc(var(--beam-opacity) * 0.42);
  animation: beam-hue-shift 12s ease-in-out infinite;
}
@keyframes beam-spin { to { --beam-angle: 360deg; } }
@keyframes beam-fade-in { to { --beam-opacity: 1; } }
@keyframes beam-fade-out { from { --beam-opacity: 1; } to { --beam-opacity: 0; } }
@keyframes beam-hue-shift {
  0% { filter: hue-rotate(-30deg) brightness(1.30) saturate(1.20); }
  50% { filter: hue-rotate(30deg) brightness(1.30) saturate(1.20); }
  100% { filter: hue-rotate(-30deg) brightness(1.30) saturate(1.20); }
}

/* =====================================================================
   Reduced motion — responsible local addition (source has none)
   Stops infinite beam spin/hue, removes hero translation (fade only),
   snaps transitions; pricing.js snaps the odometer springs to target.
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .nav { animation: none; }
  .pricing-hero { animation: none; }
  .hero .display-xl, .band, .squiggle { animation: none !important; }
  .marquee { animation: none; }
  [data-beam][data-active], [data-beam][data-fading] { animation: none; }
  [data-beam][data-active]::after, [data-beam][data-active]::before,
  [data-beam][data-fading]::after, [data-beam][data-fading]::before {
    animation: none; --beam-opacity: 1;
  }
  .bar { transition: none; }
  .feature-card .fc-content, .feature-card .fc-icon, .feature-card .fc-cta, .feature-card .fc-overlay { transition: none; }
}
