/* Hallie website — shared styles
   Palette: white, plum ink, dark purple, a pale lilac tint, and a lilac
   highlight reserved for booking confirmations.
   Type: Newsreader (display), Nunito (text). */

:root {
  --ink: #1D1631;
  --ink-2: #5A5370;
  --accent: #3D1A6E;
  --accent-deep: #26104A;
  --accent-mid: #6A3BB5;
  --tint: #F6F2FC;
  --line: #E7E1F1;
  --mark: #E4D7FB;
  --ok: #1E8E5A;
  --white: #FFFFFF;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mark); color: var(--ink); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--sans); text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand span { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--line); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-links .btn { padding: 11px 18px; font-size: 15px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; border-bottom: 2px solid transparent; }
.nav-links .btn[aria-current="page"] { border-color: var(--accent-deep); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }

@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .nav-links li:last-child { margin-top: 14px; }
  .nav-links .btn { width: 100%; padding: 15px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-deep { background: var(--accent-deep); color: #EEE8F8; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .lede, .section-deep .muted { color: #CDBFE6; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 + p { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 92px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { max-width: 11em; }
.hero .lede { margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- The script: Hallie's signature element ---------- */
.script {
  margin: 0;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 28px 30px;
  box-shadow: 0 30px 60px -30px rgba(38, 16, 74, .35);
}
.script-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.script-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.script-head strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.1; }
.script-head span { font-size: 13.5px; color: var(--ink-2); }
.script-lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 13px 0; }
.line + .line { border-top: 1px dashed #ECE6F5; }
.who { font-size: 13px; font-weight: 700; color: var(--ink-2); padding-top: 4px; }
.line-hallie .who { color: var(--accent); }
.said { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink); }
.line-visitor .said { color: var(--ink-2); }

/* The yellow appointment stub */
.stub {
  position: relative;
  margin: 16px 0 0 88px;
  background: var(--mark);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 18px 14px 22px;
  display: grid; gap: 2px;
}
.stub::before {
  content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px;
  border-left: 2px dashed rgba(61, 26, 110, .35);
}
.stub b { font-size: 13px; font-weight: 800; }
.stub span { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.stub small { font-size: 13px; color: #4A3A6B; }
.script-caption { margin-top: 14px; font-size: 13px; color: var(--ink-2); text-align: right; }
@media (max-width: 560px) {
  .script { padding: 20px 18px 24px; }
  .line { grid-template-columns: 1fr; gap: 2px; }
  .stub { margin-left: 0; }
  .said { font-size: 18px; }
}

/* One orchestrated entrance: the script plays once on load. */
.js .script.will-play .line, .js .script.will-play .stub { opacity: 0; transform: translateY(6px); }
.js .script.is-playing .line, .js .script.is-playing .stub {
  animation: line-in .5s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes line-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .script.will-play .line, .js .script.will-play .stub { opacity: 1; transform: none; }
  .js .script.is-playing .line, .js .script.is-playing .stub { animation: none; }
}

/* ---------- Three capabilities (ruled columns, not cards) ---------- */
.ruled { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.ruled > div { border-top: 2px solid var(--ink); padding-top: 22px; }
.ruled h3 { margin-bottom: 12px; }
.ruled p { color: var(--ink-2); }
@media (max-width: 860px) { .ruled { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  margin-bottom: 18px;
}
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Industry index ---------- */
.industry-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.industry-index li { border-top: 1px solid var(--line); }
.industry-index li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.industry-index a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 20px 0; text-decoration: none; color: var(--ink); }
.industry-index strong { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; }
.industry-index em { font-style: normal; font-size: 14.5px; color: var(--ink-2); grid-column: 1 / -1; }
.industry-index .go { font-size: 14px; font-weight: 700; color: var(--accent); }
.industry-index a:hover strong { color: var(--accent); }
@media (max-width: 760px) {
  .industry-index { grid-template-columns: 1fr; }
  .industry-index li:nth-last-child(2) { border-bottom: 0; }
}

/* ---------- Voice band ---------- */
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.recbar-illus {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 18px; padding: 12px; max-width: 460px;
}
.recbar-illus .rb-btn { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.recbar-illus .rb-x { background: var(--tint); color: var(--ink); }
.recbar-illus .rb-ok { background: var(--accent); color: #fff; }
.recbar-illus .rb-mid { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--tint); border-radius: 14px; height: 46px; padding: 0 14px; color: var(--ink); font-weight: 700; font-size: 14px; }
.recbar-illus .rb-dot { width: 8px; height: 8px; border-radius: 50%; background: #C2412D; }
.recbar-illus .rb-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.recbar-illus .rb-wave i { width: 3px; border-radius: 2px; background: var(--accent); display: block; }
.voice-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.voice-points li { padding-left: 26px; position: relative; color: #E2D8F3; }
.voice-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--mark); }
@media (max-width: 860px) { .voice-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.cta h2 { max-width: 14em; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Product page ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature.flip > :first-child { order: 2; }
.feature h2 { margin-bottom: 18px; }
.feature .prose { color: var(--ink-2); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

.portrait-frame { position: relative; max-width: 440px; }
.portrait-frame img { border-radius: 220px 220px 24px 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.portrait-tag {
  position: absolute; left: -18px; bottom: 34px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px -22px rgba(38,16,74,.45); max-width: 250px;
}
.portrait-tag strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.portrait-tag span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 560px) { .portrait-tag { left: 12px; } }

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.spec div { padding: 20px 0; border-top: 1px solid var(--line); }
.spec dt { font-weight: 800; margin-bottom: 4px; }
.spec dd { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) { .spec { grid-template-columns: 1fr; } }

.roadmap { border: 1.5px dashed var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }
.roadmap ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; }
@media (max-width: 720px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- Use cases ---------- */
.uc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.uc-nav { position: sticky; top: 96px; }
.uc-nav ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.uc-nav a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.uc-nav a:hover, .uc-nav a.is-active { color: var(--accent); border-left-color: var(--accent); }
.uc { padding: 0 0 clamp(48px, 7vw, 80px); scroll-margin-top: 96px; }
.uc + .uc { border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 64px); }
.uc h2 { font-size: clamp(28px, 3vw, 38px); }
.uc .types { margin-top: 10px; color: var(--ink-2); }
.uc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.uc-cols h3 { font-family: var(--sans); font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.uc-cols p, .uc-cols li { color: var(--ink-2); font-size: 16px; }
.uc-cols ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.uc-quote { margin-top: 26px; padding: 18px 22px; background: var(--tint); border-radius: 14px; display: grid; grid-template-columns: 74px 1fr; gap: 6px 14px; }
.uc-quote .who { padding-top: 3px; }
.uc-quote .said { font-size: 18px; }
.uc .btn { margin-top: 24px; }
@media (max-width: 960px) { .uc-layout { grid-template-columns: 1fr; } .uc-nav { display: none; } }
@media (max-width: 760px) { .uc-cols { grid-template-columns: 1fr; } .uc-quote { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "intro form" "steps form"; column-gap: clamp(36px, 6vw, 88px); row-gap: 0; align-items: start;
}
.contact-intro { grid-area: intro; }
.contact-grid .form-card { grid-area: form; }
.contact-steps { grid-area: steps; }
.contact-grid h1 { font-size: clamp(38px, 5vw, 60px); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 60px -34px rgba(38,16,74,.4); }
.form-card h2 { font-size: 28px; margin-bottom: 6px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-weight: 700; font-size: 15px; }
.field input {
  font: 400 17px/1.4 var(--sans); color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.field input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61,26,110,.15); }
.field input[aria-invalid="true"] { border-color: #B3452F; }
.field-error { color: #B3452F; font-size: 14px; min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 24px; }
.form-card .btn[disabled] { opacity: .6; cursor: progress; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.form-done { display: none; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-done { display: block; }
.form-done .stub { margin: 18px 0 0; }
.form-status { margin-top: 12px; font-size: 14.5px; color: #B3452F; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "steps"; row-gap: 28px; } .contact-steps .steps-compact { margin-top: 8px; } }

/* ---------- Demo page ---------- */
.demo-hero { padding: clamp(32px, 5vw, 60px) 0 24px; }
.demo-hero h1 { font-size: clamp(36px, 5vw, 58px); max-width: 15em; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.picker { display: grid; gap: 8px; margin-bottom: 18px; }
.picker label { font-weight: 800; font-size: 15px; }
.picker select {
  appearance: none; -webkit-appearance: none;
  font: 600 17px/1.3 var(--sans); color: var(--ink);
  padding: 14px 46px 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231D1631' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}
.picker select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61,26,110,.15); }
.demo-stage { height: min(680px, calc(100vh - 140px)); min-height: 520px; }
.demo-side { position: sticky; top: 96px; }
.demo-side h2 { font-size: 30px; }
.demo-side .biz-type { margin-top: 6px; color: var(--ink-2); }
.demo-side h3 { font-family: var(--sans); font-size: 15px; font-weight: 800; margin: 26px 0 8px; }
.demo-side ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; font-size: 16px; }
.demo-side .notice { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: var(--tint); font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr; } .demo-side { position: static; } }

.steps-compact { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
.steps-compact li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; }
.steps-compact li::before { margin: 0; grid-row: span 2; }
.steps-compact h3 { margin: 6px 0 2px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: start; }
.plan { border-top: 2px solid var(--ink); padding: 26px 4px 8px; }
.plan-feature { background: var(--tint); border-top-color: var(--accent); border-radius: 0 0 18px 18px; padding: 26px 24px 24px; }
.plan h2 { font-size: 34px; }
.plan-for { margin-top: 8px; color: var(--ink-2); min-height: 3.2em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0; }
.plan-price strong { font-family: var(--serif); font-weight: 500; font-size: 54px; line-height: 1; letter-spacing: -0.02em; }
.plan-price span { color: var(--ink-2); font-size: 15px; }
.plan .btn { width: 100%; }
.plan .ticks { margin-top: 24px; }
.ticks li.soon { color: var(--ink-2); }
.ticks li.soon::before { border-color: var(--line); }
.ticks li.soon span { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 800; background: var(--mark); color: var(--ink); padding: 2px 8px; border-radius: 999px; }
.plans-note { margin-top: 28px; color: var(--ink-2); font-size: 15px; max-width: 46em; }
.alt-plan { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); padding: 30px 0; border-top: 1px solid var(--line); }
.alt-plan:last-child { border-bottom: 1px solid var(--line); }
.alt-plan h3 { font-size: 28px; }
.alt-plan .plan-price { margin: 14px 0 0; }
.alt-plan .plan-price strong { font-size: 44px; }
.alt-plan .ticks { margin: 16px 0 20px; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); margin: 0; }
.faq div { padding: 22px 0; border-top: 1px solid var(--line); }
.faq dt { font-family: var(--serif); font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.faq dd { margin: 0; color: var(--ink-2); }
.plan-chosen { margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: var(--tint); font-size: 15px; }
.plan-chosen[hidden] { display: none; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; } .plan-for { min-height: 0; } }
@media (max-width: 720px) { .alt-plan, .faq { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer-links a:hover { color: var(--accent); }
.site-footer small { color: var(--ink-2); font-size: 14px; }

/* =================================================================
   Home page, purple edition: the console, the statement, the flow
   ================================================================= */
.section-tint { background: var(--tint); }
.section-deep { background: var(--accent-deep); }
.hero { background:
  radial-gradient(1200px 520px at 85% -10%, #EFE7FB 0%, rgba(239,231,251,0) 60%), #fff; }
.tag {
  display: inline-block; font: 800 11.5px/1 var(--sans); letter-spacing: .01em;
  padding: 5px 8px; border-radius: 999px; background: var(--tint); color: var(--accent);
  border: 1px solid var(--line); white-space: nowrap;
}
.tag-booked { background: #E6F4EC; color: #17704A; border-color: #CBE7D7; }
.tag-handoff { background: #FFF4E5; color: #8A4B0F; border-color: #F4DDBE; }

/* ---- The console (hero) ---- */
.console {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 1px 0 rgba(38,16,74,.04), 0 40px 80px -40px rgba(38,16,74,.45);
  padding: 18px; display: grid; gap: 14px;
}
.console-bar { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; border-bottom: 1px solid var(--line); }
.console-bar img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.console-bar strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.1; }
.console-bar span { font-size: 12.5px; color: var(--ink-2); }
.console-chip { margin-left: auto; font: 700 12px/1 var(--sans); font-style: normal; color: var(--accent); background: var(--tint); padding: 7px 10px; border-radius: 8px; }
.console-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi span { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.25; min-height: 2.5em; }
.kpi strong { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; color: var(--ink); }
.console-chart { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 8px; }
.bars { height: 86px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; }
.bars i { display: block; height: var(--h); background: var(--accent-mid); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.bars i:nth-child(4) { background: var(--accent); }
.bar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 6px; }
.bar-days span { font-size: 11px; color: var(--ink-2); text-align: center; }
.console-feed { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.console-feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
.console-feed li + li { border-top: 1px solid var(--line); }
.console-feed p { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-feed small { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.console figcaption { font-size: 12.5px; color: var(--ink-2); text-align: right; margin-top: -4px; }
@media (max-width: 560px) {
  .console { padding: 14px; border-radius: 16px; }
  .kpi strong { font-size: 24px; }
  .console-feed li { grid-template-columns: auto minmax(0, 1fr); }
  .console-feed small { display: none; }
}
/* One orchestrated entrance: the console assembles on load. */
.js .console .console-bar, .js .console .kpi, .js .console .console-chart, .js .console .console-feed li, .js .console figcaption { opacity: 0; transform: translateY(8px); }
.js .console .bars i { transform: scaleY(0); }
.js .console.is-on .console-bar, .js .console.is-on .kpi, .js .console.is-on .console-chart,
.js .console.is-on .console-feed li, .js .console.is-on figcaption { animation: line-in .55s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
.js .console.is-on .bars i { animation: grow .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes grow { to { transform: scaleY(1); } }

/* ---- Statement: words darken as you scroll ---- */
.statement { padding: clamp(64px, 10vw, 140px) 0; }
.reveal-words { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.22; letter-spacing: -0.012em; max-width: 26em; color: var(--ink); }
.js .reveal-words .w { color: #D9D1E8; transition: color .25s ease; }
.js .reveal-words .w.on { color: var(--ink); }

/* ---- How it works: sticky stage that builds per step ---- */
.flow-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.flow-steps { list-style: none; margin: 0; padding: 0; counter-reset: fs; }
.flow-steps li { counter-increment: fs; min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding-left: 64px; position: relative; opacity: .35; transition: opacity .35s ease; }
.flow-steps li:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 6vh; }
.flow-steps li:last-child { min-height: 78vh; }
.flow-steps li::before {
  content: counter(fs); position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--ink-2); font-family: var(--serif); font-size: 21px; font-weight: 600;
  transition: background-color .3s, color .3s, border-color .3s;
}
.flow-steps li:first-child::before { top: calc(6vh + 22px); }
.flow-steps li.is-active { opacity: 1; }
.flow-steps li.is-active::before, .flow-steps li.is-done::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow-steps li.is-done { opacity: .6; }
.flow-steps h3 { margin-bottom: 10px; }
.flow-steps p { color: var(--ink-2); max-width: 30em; }

.flow-stage {
  position: sticky; top: 104px; min-height: 560px; padding: 26px 26px 26px 54px;
  border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(circle, #E5DDF2 1px, transparent 1.2px) 0 0 / 18px 18px, #FBF9FE;
  display: flex; flex-direction: column; gap: 14px;
}
.flow-track { position: absolute; left: 30px; top: 44px; bottom: 44px; width: 2px; background: #E2D9F0; border-radius: 2px; }
.flow-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--accent-mid); border-radius: 2px; transition: height .6s cubic-bezier(.2,.7,.2,1); }
.fx { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 30px -24px rgba(38,16,74,.5); position: relative; }
.fx::before { content: ""; position: absolute; left: -30px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent-mid); }
.fx small { display: block; font-size: 11.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 2px; }
.fx p { font-size: 14.5px; line-height: 1.45; }
.fx-visitor { align-self: flex-end; max-width: 78%; background: var(--accent); border-color: var(--accent); color: #fff; }
.fx-visitor small { color: #D9CCF2; }
.fx-hallie { display: grid; grid-template-columns: 30px 1fr; gap: 10px; max-width: 88%; }
.fx-hallie img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.fx-hallie small { color: var(--accent); }
.fx-doc { max-width: 82%; }
.fx-doc-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; margin-bottom: 8px; }
.fx-doc-head em { font-style: normal; font-weight: 600; color: var(--ink-2); }
.fx-doc-head .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--accent-mid); }
.fx-doc i { display: block; height: 6px; border-radius: 3px; background: #EEE9F6; margin: 6px 0; }
.fx-doc i.short { width: 60%; }
.fx-doc .hit { font-size: 13px; background: var(--mark); border-radius: 6px; padding: 6px 8px; margin: 6px 0; }
.fx-cal { max-width: 82%; }
.fx-cal-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.fx-cal-head span { color: var(--ink-2); }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slots span { font-size: 13px; font-weight: 700; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); }
.slots .picked { background: var(--accent); border-color: var(--accent); color: #fff; }
.fx-confirm { margin-top: 10px; font-size: 13px; background: #E6F4EC; color: #17704A; border-radius: 8px; padding: 7px 10px; }
.fx-dash { display: grid; gap: 8px; }
.fx-dash-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13.5px; }
.fx-dash-row .tag { text-align: center; }

/* hidden until their step */
.js .fx { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.js .flow-stage[data-stage="1"] .fx-1,
.js .flow-stage[data-stage="2"] :is(.fx-1,.fx-2),
.js .flow-stage[data-stage="3"] :is(.fx-1,.fx-2,.fx-3),
.js .flow-stage[data-stage="4"] :is(.fx-1,.fx-2,.fx-3,.fx-4),
.js .flow-stage[data-stage="5"] .fx { opacity: 1; transform: none; }
.js .fx-doc .hit { background: transparent; transition: background-color .5s ease .35s; }
.js .flow-stage:not([data-stage="0"]):not([data-stage="1"]) .fx-doc .hit { background: var(--mark); }
.js .slots .picked { background: transparent; color: var(--ink); border-color: var(--line); transition: all .35s ease .4s; }
.js .flow-stage:is([data-stage="4"],[data-stage="5"]) .slots .picked { background: var(--accent); color: #fff; border-color: var(--accent); }
.js .fx-confirm { opacity: 0; transition: opacity .35s ease .8s; }
.js .flow-stage:is([data-stage="4"],[data-stage="5"]) .fx-confirm { opacity: 1; }

@media (max-width: 900px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-stage { display: none; }
  .flow-steps li, .flow-steps li:first-child, .flow-steps li:last-child { min-height: 0; padding: 0 0 36px 60px; opacity: 1; justify-content: flex-start; }
  .flow-steps li::before, .flow-steps li:first-child::before { top: 0; transform: none; background: var(--accent); border-color: var(--accent); color: #fff; }
  .flow-steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 6px; width: 2px; background: #E2D9F0; }
  .fx-inline { margin-top: 16px; max-width: 100%; }
  .fx-inline::before { display: none; }
  .js .fx-inline { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
  .js .fx-inline.is-in { opacity: 1; transform: none; }
  .fx-inline .hit, .js .fx-inline .hit { background: var(--mark); }
  .js .fx-inline .slots .picked { background: var(--accent); color: #fff; border-color: var(--accent); }
  .js .fx-inline .fx-confirm { opacity: 1; }
  .fx-inline.fx-visitor { margin-left: auto; max-width: 92%; }
  .fx-inline.fx-hallie { display: grid; }
  .fx-inline.fx-dash { display: grid; }
  .fx-dash-row { grid-template-columns: 88px minmax(0, 1fr); font-size: 13px; }
}

/* ---- Insight panel ---- */
.insight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.insight .lede { margin-top: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -40px rgba(38,16,74,.45); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 12px; border-bottom: 1px solid var(--line); }
.panel-head strong { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.panel-head span { font-size: 12.5px; color: var(--ink-2); }
.gaps { list-style: none; margin: 0; padding: 0; }
.gaps li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
.gaps li:last-child { border-bottom: 0; }
.gaps li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--w); background: var(--accent-mid); transform-origin: left; }
.gaps em { font-style: normal; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.js .build .gaps li { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; transition-delay: var(--d, 0s); }
.js .build .gaps li::after { transform: scaleX(0); transition: transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0s) + .2s); }
.js .build.is-in .gaps li { opacity: 1; transform: none; }
.js .build.is-in .gaps li::after { transform: scaleX(1); }
@media (max-width: 880px) { .insight { grid-template-columns: 1fr; } }

/* setup steps build in on reveal */
.js .build-steps li { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--d, 0s); }
.js .build-steps.is-in li { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .console *, .js .console .bars i { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .reveal-words .w { color: var(--ink); }
  .js .fx, .js .fx-inline, .js .fx-confirm, .js .build .gaps li, .js .build-steps li { opacity: 1; transform: none; transition: none; }
  .js .build .gaps li::after { transform: none; }
  .flow-fill { transition: none; }
}
.flow-steps .fx p { color: var(--ink); max-width: none; }
.flow-steps .fx-visitor p { color: #fff; }

/* Admin heatmap preview: same as reduced motion, everything visible. */
html.heatmap-preview .js .script.will-play .line, html.heatmap-preview .js .script.will-play .stub,
.heatmap-preview.js .script.will-play .line, .heatmap-preview.js .script.will-play .stub { opacity: 1; transform: none; animation: none; }
.heatmap-preview.js .console *, .heatmap-preview.js .console .bars i { opacity: 1 !important; transform: none !important; animation: none !important; }
.heatmap-preview.js .reveal-words .w { color: var(--ink); }
.heatmap-preview.js .fx, .heatmap-preview.js .fx-inline, .heatmap-preview.js .fx-confirm, .heatmap-preview.js .build .gaps li, .heatmap-preview.js .build-steps li { opacity: 1; transform: none; transition: none; }
.heatmap-preview.js .build .gaps li::after { transform: none; }
.heatmap-preview .flow-fill { transition: none; }
/* The preview frame is as tall as the whole page, so viewport units are pinned to a typical 900px screen. */
.heatmap-preview .flow-steps li { min-height: 522px; opacity: 1; }
.heatmap-preview .flow-steps li:first-child { min-height: 414px; padding-top: 54px; }
.heatmap-preview .flow-steps li:last-child { min-height: 702px; }
.heatmap-preview .flow-steps li:first-child::before { top: 76px; }
.heatmap-preview .demo-stage { height: 680px; }

/* ---------- Privacy policy ---------- */
.legal-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.legal-hero .updated { margin-top: 18px; color: var(--ink-3); font-size: 15px; }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: 15px; }
.legal-toc p { color: var(--ink-3); font-size: 13px; margin-bottom: 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); text-decoration: underline; }
.legal-body { max-width: 44em; }
.legal-body h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 56px 0 14px; scroll-margin-top: 96px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 20px; margin: 28px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); line-height: 1.7; }
.legal-body p + p { margin-top: 1em; }
.legal-body ul { margin: 10px 0 0; padding-left: 1.2em; }
.legal-body li + li { margin-top: 6px; }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a { color: var(--accent); }
.glance { background: var(--tint); border-radius: 16px; padding: clamp(20px, 3vw, 28px); margin-bottom: 8px; }
.glance h2 { margin-top: 0 !important; font-size: 24px; }
.glance dl { display: grid; grid-template-columns: minmax(130px, 180px) minmax(0, 1fr); gap: 12px 20px; margin: 14px 0 0; }
.glance dt { font-weight: 700; color: var(--ink); }
.glance dd { margin: 0; color: var(--ink-2); line-height: 1.6; }
.store-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.store-table th, .store-table td { text-align: left; padding: 10px 10px 10px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.store-table th { color: var(--ink); font-weight: 700; border-top: 0; font-size: 14px; }
.store-table code { font-size: 13px; color: var(--ink); word-break: break-all; }
.table-scroll { overflow-x: auto; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
  .glance dl { grid-template-columns: 1fr; gap: 2px; }
  .glance dd { margin-bottom: 10px; }
}
