/* =====================================================================
   CoreBusinessFlow — Claude Workshop landing page (v2, booking-first flow)
   Vanilla CSS, CBF design tokens. Mobile-first. One block per section.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --primary: #9B72CF;
  --primary-text: #7B52AF;
  --secondary: #E8A0BF;
  --accent: #F5C6A0;
  --highlight: #FDF0D5;
  --bg: #FDF6F0;
  --paper: #FBF5FA;
  --text: #2D1B42;
  --text-mid: #4A3660;
  --text-soft: #6E5F82;
  --ink: #1D1130;
  --glass: rgba(255, 255, 255, 0.55);
  --line: rgba(45, 27, 66, 0.1);
  --grad-purple: #7B52AF;
  --grad-rose: #964F78;
  --danger: #C9453A;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'Outfit', system-ui, -apple-system, sans-serif;

  --radius-xl: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 20px 60px rgba(45, 27, 66, 0.1);
  --shadow-deep: 0 20px 50px rgba(45, 27, 66, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1120px;
  --gutter: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-text); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 2.2vw + 1.2rem, 3.2rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }
strong { font-weight: 600; }
.center { text-align: center; }
.sub { color: var(--text-soft); margin-top: 10px; font-size: 1.05rem; }
.kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-text); }
.kicker-soft { color: var(--text-soft); }
.fineprint { font-size: 0.8rem; color: var(--text-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.svg-defs { position: absolute; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 720px; }
.section { padding: 64px 0; }
.section-paper { background: var(--bg); }
.section-tint { background: linear-gradient(180deg, #F6EEF7, #FBF0EC); }
.section-white { background: #fff; }
@media (min-width: 640px) { .section { padding: 96px 0; } :root { --gutter: 32px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 0; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), filter 200ms; }
.btn-main { display: inline-flex; align-items: center; gap: 8px; }
.btn-sub { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 500; opacity: 0.9; }
.btn-primary { background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); color: #fff; box-shadow: 0 14px 34px rgba(123, 82, 175, 0.38); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-white { background: #fff; color: var(--primary-text); box-shadow: 0 8px 24px rgba(0,0,0,0.15); flex-direction: row; gap: 8px; }
.btn-xl { min-height: 64px; padding: 12px 36px; font-size: 1.15rem; }
.btn-block { width: 100%; flex-direction: row; gap: 8px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; transform: none; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--text-soft); cursor: pointer; }
.icon-btn:hover { background: rgba(45, 27, 66, 0.06); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Top bar ---------- */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top)) 16px 0; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 600; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--primary); color: #fff; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; }
.brand-word { font-family: var(--font-head); font-size: 1.05rem; display: none; }
.date-pill { margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.7); color: var(--ink); font-weight: 700; font-size: 0.85rem; box-shadow: 0 12px 40px rgba(30,16,80,0.3); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
@media (min-width: 640px) { .brand-word { display: inline; } .topbar { padding: 24px 32px 0; } .date-pill { font-size: 0.95rem; padding: 10px 20px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: #fff; }
/* Workshop photos (site-wide, in /assets/photos) sit under a dark scrim and a faint brand glow; the SVG art is the fallback if a photo fails to load. */
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(29,17,48,0.5) 0%, rgba(29,17,48,0.3) 35%, rgba(29,17,48,0.4) 60%, rgba(29,17,48,0.92) 100%),
  radial-gradient(60% 50% at 20% 25%, rgba(155,114,207,0.22), transparent 70%),
  radial-gradient(50% 45% at 80% 20%, rgba(232,160,191,0.16), transparent 70%),
  url('/assets/photos/asad-explaining.webp') 55% 30% / cover no-repeat,
  url('assets/hero.svg') center / cover no-repeat,
  var(--ink); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 900px; margin: 0 auto; padding: 72px 16px max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.hero-card { border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); box-shadow: 0 1px 0 0 rgba(255,255,255,0.45) inset, 0 30px 80px rgba(10,6,30,0.35); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); padding: 24px 20px; text-align: center; }
.hero-card h1 { font-size: clamp(2rem, 4.5vw + 0.6rem, 3.6rem); line-height: 1; max-width: 18ch; margin: 0 auto; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-rule { width: 96px; height: 1px; background: rgba(255,255,255,0.3); margin: 20px auto; }
.hero-list { list-style: none; margin: 0 auto; padding: 0; max-width: 46ch; display: grid; gap: 10px; text-align: left; }
.hero-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; color: rgba(255,255,255,0.9); text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.hero-list strong { color: #fff; }
.tick { margin-top: 3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; flex: 0 0 auto; }
.tick svg { width: 12px; height: 12px; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-cta .btn-xl { width: min(100%, 420px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 0.85rem; font-weight: 600; text-decoration: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (min-width: 640px) {
  .hero { align-items: center; }
  .hero-inner { padding: 100px 32px 40px; gap: 22px; }
  .hero-card { padding: 40px; }
  .hero-list li { font-size: 1.18rem; }
}

/* ---------- Dates ---------- */
.updated { margin-top: 8px; font-size: 0.82rem; font-weight: 500; color: var(--text-soft); }
.date-list { list-style: none; margin: 32px 0 0; padding: 0 20px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden; }
.date-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.date-row:last-child { border-bottom: 0; }
.fill-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fill-row[hidden] { display: none; }
.fill { position: relative; flex: 1; height: 8px; border-radius: 999px; background: rgba(45,27,66,0.07); overflow: hidden; }
.fill-bar { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--grad-purple), var(--grad-rose)); transition: width 1400ms var(--ease); }
.fill-label { flex: 0 0 auto; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grad-rose); }
.date-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 1.05rem; }
.date-when { font-weight: 600; }
.date-city { font-weight: 700; }
.date-time { font-weight: 500; } /* the session's time from CourseOwl, after the city (2026-11-29) */
.dot { margin-right: 6px; color: var(--text-soft); }
.stamp { margin-left: auto; padding: 6px 12px; border: 2px solid var(--danger); border-radius: 8px; color: var(--danger); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(-3deg); }
.stamp-soft { border-color: var(--primary); color: var(--primary-text); }
.date-alt { margin-top: 24px; font-size: 0.95rem; color: var(--text-mid); }
@media (min-width: 640px) { .date-list { padding: 0 32px; } .date-main { font-size: 1.15rem; } }

/* ---------- How it works ---------- */
.how-grid { display: grid; gap: 20px; margin-top: 40px; }
.how-card { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 480px; margin: 0 auto; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-deep); background: var(--ink); color: #fff; }
.how-photo-1 { background: radial-gradient(70% 60% at 30% 20%, rgba(155,114,207,0.18), transparent 70%), url('/assets/photos/asad-with-owners.webp') 50% 30% / cover no-repeat, url('assets/how-1.svg') center / cover no-repeat, var(--ink); }
.how-photo-3 { background: radial-gradient(70% 60% at 70% 20%, rgba(245,198,160,0.16), transparent 70%), url('/assets/photos/owner-thinking-blazer.webp') 50% 25% / cover no-repeat, url('assets/how-3.svg') center / cover no-repeat, var(--ink); }
.how-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to bottom, transparent, rgba(29,17,48,0.5) 40%, rgba(29,17,48,0.88)); }
.how-caption { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.14); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.how-caption h3 { margin-top: 12px; font-size: 1.6rem; line-height: 1.05; }
.how-caption p { margin-top: 8px; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.how-caption strong { color: #fff; }
.how-orbit-card { background: radial-gradient(circle at 50% 35%, #3A2766 0%, #1D1130 70%); }
.orbit { position: absolute; left: 8%; right: 8%; top: 5%; aspect-ratio: 1; }
.orbit::before { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-lines line { stroke: #B9A2EE; stroke-width: 0.7; stroke-linecap: round; stroke-dasharray: 2 4; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.orbit-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--primary), var(--grad-purple)); box-shadow: 0 0 0 10px rgba(155,114,207,0.18), 0 0 40px rgba(155,114,207,0.6); display: grid; place-content: center; justify-items: center; gap: 2px; font-size: 0.72rem; font-weight: 600; }
.orbit-centre svg { width: 22px; height: 22px; }
.orbit-tile { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap; }
.orbit-tile .tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.35); font-weight: 800; font-size: 1.1rem; }
.orbit-tile .tile svg { width: 26px; height: 26px; }
.tile-xero { color: #13B5EA; }
.tile-ms { color: #4285F4; }
.tile-crm { color: #FF7A59; }
.tile-msg { color: #34C759; }
.tile-mail { color: var(--primary-text); }
.t1 { left: 50%; top: 11%; } .t2 { left: 87%; top: 38%; } .t3 { left: 73%; top: 82%; } .t4 { left: 27%; top: 82%; } .t5 { left: 13%; top: 38%; }
.how-cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .orbit-lines line { animation: none; } }

/* ---------- Proof wall ---------- */
.proof-grid { display: grid; gap: 14px; }
.proof { margin: 0; display: flex; flex-direction: column; border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(45,27,66,0.1); border: 1px solid var(--line); overflow: hidden; }
.proof blockquote { margin: 0; padding: 22px 22px 18px; font-size: 1.02rem; line-height: 1.45; color: var(--text); position: relative; }
.proof blockquote::before { content: "\201C"; display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 0.6; color: var(--primary); margin-bottom: 12px; }
.proof figcaption { margin-top: auto; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--highlight); font-weight: 700; font-size: 0.9rem; }
.proof figcaption span { font-weight: 500; color: var(--text-soft); }
@media (min-width: 700px) { .proof-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; box-shadow: 0 6px 20px rgba(45,27,66,0.05); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; font-size: 1rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--highlight); color: var(--primary-text); font-weight: 700; transition: transform 220ms var(--ease), background 220ms; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--primary-text); color: #fff; }
.faq details p { margin: 0 0 18px; color: var(--text-mid); font-size: 0.97rem; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; gap: 28px; align-items: start; }
.founder-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; max-width: 420px; margin: 0 auto; width: 100%; }
.founder-photo { aspect-ratio: 4 / 5; min-width: 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-deep); background: linear-gradient(160deg, var(--secondary), var(--accent)); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.1rem; color: var(--text); text-align: center; padding: 8px; }
.founder-photo span { overflow-wrap: anywhere; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy { text-align: center; }
.founder-copy h2 { margin-top: 8px; font-size: clamp(1.9rem, 2vw + 1rem, 2.8rem); }
.founder-role { margin-top: 8px; font-weight: 600; color: var(--text-soft); font-size: 0.95rem; }
.founder-copy > p:not(.kicker):not(.founder-role):not(.fineprint) { margin-top: 18px; color: var(--text-mid); font-size: 1.05rem; line-height: 1.55; }
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin: 24px 0 0; }
.stats div { padding: 14px 10px; border-radius: 16px; background: var(--highlight); }
.stats dd { margin: 0; }
.stat { font-family: var(--font-head); font-size: 1.7rem; line-height: 1; color: var(--text); }
.stat-label { margin-top: 4px !important; font-size: 0.78rem; font-weight: 600; color: var(--text-soft); }
.founder-copy .kicker-soft { margin-top: 24px; }
.logo-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 10px 0 0; }
.logo-row li { padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.85rem; color: var(--text-mid); }
.founder-copy .fineprint { margin-top: 18px; }
@media (min-width: 820px) {
  .founder-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .founder-copy, .logo-row { text-align: left; justify-content: flex-start; }
  .stats div { text-align: left; }
}

/* ---------- Apply form (inline + inside modal) ---------- */
.apply-form { margin-top: 28px; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 20px; position: relative; }
.form-band { position: relative; margin: -20px -20px 0; padding: 20px 20px 18px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: linear-gradient(135deg, #F3ECFA, #FBEFF4); }
.form-band .icon-btn { position: absolute; left: 14px; top: 14px; }
.form-band [hidden] { display: none; }
.step-pill { margin: 0 auto; width: max-content; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.8); background: rgba(255,255,255,0.6); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-text); }
.form-progress { height: 6px; border-radius: 999px; background: rgba(123,82,175,0.14); overflow: hidden; margin-top: 16px; }
.form-progress-bar { height: 100%; width: 12%; border-radius: 999px; background: var(--primary-text); transition: width 300ms var(--ease); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
fieldset.step { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
fieldset.step[hidden] { display: none; }
legend { padding: 0; margin: 0 0 16px; display: block; width: 100%; text-align: center; }
.q-title { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.45rem; line-height: 1.12; text-wrap: balance; }
.q-help { display: block; margin-top: 6px; color: var(--text-soft); font-size: 0.92rem; }
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 13px 16px; border-radius: 14px; background: var(--paper); border: 1.5px solid transparent; cursor: pointer; font-weight: 600; font-size: 0.98rem; transition: background 160ms, border-color 160ms; }
.option:hover { background: #F3ECFA; }
.option:has(input:checked) { border-color: var(--primary-text); background: #F3ECFA; }
.option:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-meta { margin-left: auto; font-size: 0.82rem; font-weight: 500; color: var(--text-soft); white-space: nowrap; }
@media (min-width: 640px) { .options-2col { grid-template-columns: 1fr 1fr; } }
.field-grid { display: grid; gap: 10px; }
.field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.field input { width: 100%; min-height: 50px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-weight: 500; color: var(--text); }
.field input:focus { outline: none; border-color: var(--primary-text); box-shadow: 0 0 0 3px rgba(155,114,207,0.25); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.consent-note { margin-top: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 0.85rem; color: var(--text-mid); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--primary-text); }
.turnstile-slot:not(:empty) { margin-top: 16px; min-height: 70px; }
.form-errors { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(201,69,58,0.08); border: 1px solid rgba(201,69,58,0.3); color: #8a2f27; font-size: 0.92rem; }
.form-errors[hidden] { display: none; }
.form-errors ul { margin: 0; padding-left: 18px; }
.form-nav { margin-top: 18px; }
.form-nav [hidden] { display: none; }
.form-nav:not(.show-next) [data-next] { display: none; }
html:not(.js) .form-band, html:not(.js) [data-next] { display: none; }
html:not(.js) fieldset.step[hidden] { display: block; }
html:not(.js) fieldset.step { padding-top: 18px; border-top: 1px solid var(--line); }
html.js #apply { display: none; }

.apply-result { margin-top: 28px; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 24px; text-align: center; }
.apply-result[hidden] { display: none; }
.apply-result h3 { font-size: clamp(1.5rem, 2vw + 0.8rem, 2rem); font-weight: 500; margin-top: 8px; }
.apply-result > p { margin-top: 12px; color: var(--text-mid); }
.apply-result .result-build { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--highlight); color: var(--text-mid); text-align: left; font-size: 0.95rem; }
.apply-result .result-build strong { color: var(--text); display: block; margin-bottom: 4px; }
.apply-result .next-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--text-mid); counter-reset: ns; text-align: left; font-size: 0.95rem; }
.apply-result .next-steps li { counter-increment: ns; padding-left: 32px; position: relative; }
.apply-result .next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-text); color: #fff; font-size: 0.72rem; font-weight: 700; }
.apply-result .cta-row { margin-top: 20px; display: flex; justify-content: center; }
.apply-result .cta-row .btn { flex-direction: row; gap: 8px; width: 100%; }
.apply-result .result-redo { margin-top: 16px; }

/* ---------- Modal ---------- */
.apply-dialog { border: 0; padding: 16px; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; display: none; }
.apply-dialog[open] { display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; }
.apply-dialog::backdrop { background: rgba(29,17,48,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-card { position: relative; width: 100%; max-width: 560px; margin: auto; background: #fff; border-radius: var(--radius-xl); box-shadow: 0 30px 90px rgba(20,12,60,0.35); padding: 20px; }
.dialog-close { position: absolute; right: 12px; top: 12px; z-index: 3; }
.dialog-card .apply-form { margin: 0; box-shadow: none; padding: 0; }
.dialog-card .form-band { margin: 0 0 0; padding: 20px 20px 18px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.dialog-card .apply-result { margin: 0; box-shadow: none; padding: 8px 4px; }
@media (min-width: 640px) { .apply-dialog { padding: 32px; } .dialog-card { padding: 28px; } .dialog-card .form-band { margin: -28px -28px 0; padding: 24px 28px 20px; } }

/* ---------- Sticky bar ---------- */
.sticky-bar { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 90; width: min(calc(100% - 24px), 700px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); color: #fff; box-shadow: 0 20px 50px rgba(45,27,66,0.4); transition: transform 320ms var(--ease), opacity 320ms; opacity: 0; }
.sticky-bar.show { transform: translate(-50%, 0); opacity: 1; }
.sticky-text { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sticky-text div { display: flex; flex-direction: column; min-width: 0; }
.sticky-text strong { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-text span:not(.pulse) { font-size: 0.72rem; opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite; opacity: 0.7; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
.sticky-bar .btn { min-height: 44px; padding: 8px 18px; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 560px) {
  .sticky-bar { left: 0; right: 0; bottom: 0; width: 100%; transform: translate(0, 110%); border-radius: 18px 18px 0 0; padding: 10px 10px 10px 14px; gap: 8px; background: var(--grad-purple); }
  .sticky-bar.show { transform: translate(0, 0); }
  .sticky-text strong { white-space: normal; font-size: 0.86rem; line-height: 1.2; }
  .sticky-text span:not(.pulse) { display: none; }
  .sticky-bar .btn { background: #fff; padding: 8px 14px; font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }

/* ---------- Footer ----------
   The site's shared footer (templates/partials/footer.html, injected by build.js), styled
   to match the dark footer on every other page (styles/styles.css, dark theme v3). */
.site-footer { position: relative; padding: 64px clamp(24px, 5vw, 80px) 120px; color: rgba(253, 246, 240, 0.8);
  background: radial-gradient(50% 80% at 10% 0%, rgba(155, 114, 207, 0.32), transparent 70%), radial-gradient(40% 70% at 95% 100%, rgba(245, 198, 160, 0.16), transparent 70%), var(--ink); }
.site-footer .footer-inner { max-width: 1100px; margin: 0 auto 44px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .nav-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.site-footer .nav-logo-mark { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.site-footer .nav-logo-text { font-family: var(--font-head); font-size: 19px; font-weight: 500; letter-spacing: -0.3px; color: #FDF6F0; }
.site-footer .nav-logo-text em { font-style: italic; }
.site-footer .footer-brand p { max-width: 260px; font-size: 14px; line-height: 1.65; color: rgba(253, 246, 240, 0.8); }
.site-footer .footer-location { margin-top: 10px; font-size: 11px; letter-spacing: 0.5px; color: rgba(253, 246, 240, 0.62); }
.site-footer .footer-social { display: flex; gap: 12px; margin-top: 16px; }
.site-footer .footer-social a { display: flex; color: rgba(253, 246, 240, 0.8); transition: opacity 0.25s; }
.site-footer .footer-social a:hover { opacity: 0.6; }
.site-footer .footer-col .footer-heading { margin-bottom: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.site-footer .footer-col a { display: block; margin-bottom: 11px; font-size: 14px; color: rgba(253, 246, 240, 0.8); text-decoration: none; transition: color 0.25s; }
.site-footer .footer-col a:hover, .site-footer .footer-bottom-links a:hover { color: #fff; }
.site-footer .footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(253, 246, 240, 0.14); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer .footer-bottom p, .site-footer .footer-bottom-links a { font-size: 13px; color: rgba(253, 246, 240, 0.62); text-decoration: none; }
.site-footer .footer-bottom-links { display: flex; gap: 20px; }
.site-footer .footer-disclaimer { max-width: 1100px; margin: 18px auto 0; font-size: 12px; color: rgba(253, 246, 240, 0.5); }
.site-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 1024px) { .site-footer .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .site-footer .footer-inner { gap: 28px; } .site-footer .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */
html.js .reveal, html.js .reveal-left, html.js .reveal-right { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
html.js .reveal-left { transform: translateX(-24px); }
html.js .reveal-right { transform: translateX(24px); }
html.js .reveal.visible, html.js .reveal-left.visible, html.js .reveal-right.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal, html.js .reveal-left, html.js .reveal-right { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   Dark theme (2026-11-25), matching the homepage's v3 theme: ink surfaces with
   purple / pink / peach glows, cream text, glass cards, gradient pills, peach
   eyebrows. The layout above is unchanged; this block only recolours it.
   ===================================================================== */
:root {
  --bg: #120A1F;
  --paper: rgba(253, 246, 240, 0.05);
  --highlight: rgba(245, 198, 160, 0.1);
  --text: #FDF6F0;
  --text-mid: rgba(253, 246, 240, 0.8);
  --text-soft: rgba(253, 246, 240, 0.62);
  --line: rgba(253, 246, 240, 0.12);
  --primary-text: #7B52AF;
  --link: #F0BDD4;
  --card: radial-gradient(70% 60% at 20% 0%, rgba(123, 82, 175, 0.18), transparent 70%), #160D26;
  --card-line: rgba(253, 246, 240, 0.1);
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
body { background: var(--bg); }
a { color: var(--link); }
.kicker { color: var(--accent); }
h2 em, h3 em { font-style: italic; background: linear-gradient(120deg, #F0BDD4 10%, #F5C6A0 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Sections: ink with a soft glow, like the homepage's night sections. */
.section-paper { background: var(--bg); }
.section-tint { background: radial-gradient(55% 60% at 10% 0%, rgba(155, 114, 207, 0.22), transparent 70%), radial-gradient(45% 50% at 95% 100%, rgba(245, 198, 160, 0.12), transparent 70%), #1D1130; }
.section-white, .section:not([class*="section-"]) { background: #160D26; }
/* The hero's photo fades into the first section with no seam. */
.hero-bg { background:
  linear-gradient(180deg, rgba(29,17,48,0.5) 0%, rgba(29,17,48,0.3) 35%, rgba(29,17,48,0.45) 60%, #120A1F 100%),
  radial-gradient(60% 50% at 20% 25%, rgba(155,114,207,0.22), transparent 70%),
  radial-gradient(50% 45% at 80% 20%, rgba(232,160,191,0.16), transparent 70%),
  url('/assets/photos/asad-explaining.webp') 55% 30% / cover no-repeat,
  url('assets/hero.svg') center / cover no-repeat,
  var(--ink); }

/* Cards: dark glass with a hairline, like the homepage's glow cards. */
.date-list, .proof, .faq details, .apply-form, .apply-result, .dialog-card { background: var(--card); border: 1px solid var(--card-line); }
.fill { background: rgba(253, 246, 240, 0.08); }
.fill-label { color: var(--secondary); }
.stamp-soft { border-color: var(--secondary); color: var(--secondary); }
.proof blockquote::before { color: var(--secondary); }
.proof figcaption { background: rgba(253, 246, 240, 0.04); }
.faq summary::after { background: rgba(253, 246, 240, 0.08); color: var(--accent); }
.faq details[open] summary::after { background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); color: #fff; }
.stats div { background: rgba(253, 246, 240, 0.05); border: 1px solid var(--card-line); }
.logo-row li { background: rgba(253, 246, 240, 0.06); border-color: var(--card-line); }
.founder-photo { color: var(--ink); }

/* The application form and its modal. */
.form-band { background: radial-gradient(80% 120% at 0% 0%, rgba(155, 114, 207, 0.35), transparent 70%), radial-gradient(60% 100% at 100% 0%, rgba(232, 160, 191, 0.2), transparent 70%), #1D1130; }
.step-pill { background: rgba(253, 246, 240, 0.08); border-color: rgba(253, 246, 240, 0.18); color: var(--accent); }
.form-progress { background: rgba(253, 246, 240, 0.1); }
.form-progress-bar { background: linear-gradient(90deg, var(--grad-purple), var(--secondary)); }
.option:hover { background: rgba(155, 114, 207, 0.14); }
.option:has(input:checked) { border-color: var(--secondary); background: rgba(155, 114, 207, 0.2); }
.field input { color: var(--text); }
.field input::placeholder { color: rgba(253, 246, 240, 0.45); }
.field input:focus { background: rgba(253, 246, 240, 0.08); border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(232, 160, 191, 0.22); }
.form-errors { background: rgba(201, 69, 58, 0.14); color: #FFB4AB; }
.consent input { accent-color: var(--secondary); }
.apply-dialog::backdrop { background: rgba(8, 4, 16, 0.7); }
.apply-result .next-steps li::before { background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); }
.icon-btn { color: var(--text); }
.skip-link { background: var(--grad-purple); }

/* Multi-answer questions (2026-11-25): tick boxes, so it reads as "pick as many as you like".
   Each option shows a rounded box on the right that fills with the gradient and a tick. */
.options-multi .option { position: relative; padding-right: 54px; }
.options-multi .option::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; border: 1.5px solid rgba(253, 246, 240, 0.35); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; transition: background 160ms, border-color 160ms; }
.options-multi .option:has(input:checked)::after { content: "\2713"; border-color: transparent; background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); }
/* Inside the apply dialog the form and result sit straight on the dialog card: no second border or panel. */
.dialog-card .apply-form, .dialog-card .apply-result { border: 0; background: transparent; }

/* --- Founder photo (2026-11-25): one workshop photo replaces the two AQ / ZQ placeholder cards. */
.founder-photos-single { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
.founder-photos-single .founder-photo { aspect-ratio: 880 / 1168; padding: 0; display: block; background: var(--ink); }
.founder-photos-single .founder-photo img { display: block; }

/* --- Builds filter (2026-11-25): "What owners walk out with" is one grid of 18 typical builds with industry filter
   pills (All first). The old tabs never filtered: `.proof-grid { display: grid }` beat the `hidden` attribute.
   Cards are outcome cards, not quote cards: these are examples, not testimonials, so no quote marks. */
.builds { margin-top: 36px; }
.build-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 28px; max-width: 900px; }
.build-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--card-line); background: rgba(253, 246, 240, 0.05); color: var(--text-mid); font: 600 0.9rem/1 var(--font-body); cursor: pointer; transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.build-filters button:hover { color: #fff; border-color: rgba(253, 246, 240, 0.25); }
.build-filters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.build-filters button[aria-pressed="true"] { background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); border-color: transparent; color: #fff; }
.build-filters .count { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: rgba(253, 246, 240, 0.1); font-size: 0.72rem; font-weight: 700; text-align: center; }
.build-filters button[aria-pressed="true"] .count { background: rgba(255, 255, 255, 0.22); }
html:not(.js) .build-filters { display: none; }

.build-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.build { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); transition: border-color 200ms var(--ease), transform 300ms var(--ease); }
.build:hover { border-color: rgba(232, 160, 191, 0.35); transform: translateY(-2px); }
.build[hidden] { display: none; }
.build-job { margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.build-what { margin: 0; font-size: 1.05rem; line-height: 1.45; color: var(--text); }
.build-who { margin: auto 0 0; padding-top: 6px; font-size: 0.85rem; color: var(--text-soft); }
.build-in { animation: buildIn 420ms var(--ease) both; }
@keyframes buildIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.build-more { display: block; margin: 24px auto 0; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(253, 246, 240, 0.25); background: transparent; color: var(--text); font: 600 0.95rem/1 var(--font-body); cursor: pointer; transition: background 200ms var(--ease); }
.build-more:hover { background: rgba(253, 246, 240, 0.08); }
.build-more[hidden] { display: none; }
@media (min-width: 640px) { .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .build-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
/* Phones: one scrolling row of pills instead of four wrapped rows. */
@media (max-width: 639px) {
  .build-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .build-filters::-webkit-scrollbar { display: none; }
  .build-filters button { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .build-in { animation: none; } .build, .build:hover { transition: none; transform: none; } }

/* --- How the day runs (2026-11-25): a timeline of the day (9:00am → 11:00am → 3:30pm) that ends on the promise
   the owner wants instead of a money-back guarantee: an automation running in their business. Card 3 swaps the
   stock photo for a live "run" widget in the neutral product style (white, one blue accent), its steps ticking
   through on a loop. An "after the day" strip carries support, no coding and data safety. */
.how-grid { list-style: none; padding: 0; }
.how-time { position: absolute; top: 18px; left: 18px; z-index: 3; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: #fff; }
.how-time-live { background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); border-color: transparent; }
.how-orbit-card .orbit { top: 9%; }

.how-run-card { background: radial-gradient(80% 60% at 70% 20%, rgba(232, 160, 191, 0.22), transparent 70%), radial-gradient(circle at 50% 35%, #3A2766 0%, #1D1130 70%); }
.run { position: absolute; left: 9%; right: 9%; top: 15%; padding: 16px; border-radius: 18px; background: #fff; color: #0F172A; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); font-family: var(--font-body); animation: hpBob 6s ease-in-out infinite; }
.run-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #E5E7EB; }
.run-name { font-size: 0.82rem; font-weight: 700; }
.run-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #EFF6FF; color: #2563EB; font-size: 0.7rem; font-weight: 700; }
.run-status i { width: 7px; height: 7px; border-radius: 50%; background: #2563EB; animation: runPulse 1.6s ease-in-out infinite; }
.run-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.run-steps li { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #334155; animation: runStep 8s var(--ease) infinite both; }
.run-steps li:nth-child(2) { animation-delay: 0.9s; }
.run-steps li:nth-child(3) { animation-delay: 1.8s; }
.run-steps li:nth-child(4) { animation-delay: 2.7s; }
.run-dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #F1F5F9; color: #2563EB; }
.run-dot svg { width: 14px; height: 14px; }
.run-steps li:last-child .run-dot { background: #2563EB; color: #fff; }
.run-foot { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #E5E7EB; font-size: 0.7rem; color: #64748B; }
@keyframes runStep { 0% { opacity: 0.25; transform: translateX(-4px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0.25; } }
@keyframes runPulse { 50% { opacity: 0.3; } }
@keyframes hpBob { 50% { transform: translateY(-6px); } }

.how-after { list-style: none; margin: 28px auto 0; padding: 0; display: grid; gap: 12px; max-width: 1040px; }
.how-after li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: rgba(253, 246, 240, 0.05); border: 1px solid var(--card-line); }
.how-after .ico { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.how-after strong { display: block; font-size: 1rem; color: var(--text); }
.how-after span { display: block; margin-top: 3px; font-size: 0.9rem; line-height: 1.45; color: var(--text-soft); }
@media (min-width: 760px) { .how-after { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .run, .run-status i, .run-steps li { animation: none; } }
/* Cards 2 and 3 stack their visual above the caption, so nothing overlaps; all three share one height. */
.how-grid { align-items: stretch; }
.how-card { aspect-ratio: auto; min-height: 520px; height: 100%; }
.how-orbit-card, .how-run-card { display: flex; flex-direction: column; }
.how-orbit-card::after, .how-run-card::after { display: none; }
.how-orbit-card .how-caption, .how-run-card .how-caption { position: relative; inset: auto; margin-top: auto; }
.how-orbit-card .orbit { position: relative; left: auto; right: auto; top: auto; width: min(78%, 300px); margin: 64px auto 0; }
.how-run-card .run { position: relative; left: auto; right: auto; top: auto; margin: 72px 22px 8px; }
@media (min-width: 1000px) { .how-card { min-height: 560px; } }
.how-orbit-card .orbit { margin: 64px auto 12px; }
.how-run-card .run { margin: auto 22px; top: -8px; }
.how-run-card .how-caption { margin-top: 0; }
.how-run-card { padding-top: 60px; }
.how-run-card .run { top: 0; }

/* --- How the day runs: scroll timeline (2026-11-25). The track above the cards fills with the scroll (--p, set by
   script.js); each card lights in turn: its time chip turns to the gradient and glows, and card 3's automation starts
   ticking. Cards rise in one after another. Without JS or with reduced motion everything shows lit and still. */
.how-track { display: none; }
@media (min-width: 1000px) {
  .how-track { display: block; position: relative; height: 12px; margin: 40px 0 -16px; }
  .how-track::before, .how-track-fill { content: ""; position: absolute; top: 5px; left: 16.667%; width: 66.667%; height: 2px; border-radius: 2px; background: rgba(253, 246, 240, 0.12); }
  .how-track-fill { background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(232, 160, 191, 0.5); }
  .how-track i { position: absolute; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #2A1C44; border: 2px solid rgba(253, 246, 240, 0.25); transition: background 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease), transform 400ms var(--ease); }
  .how-track i:nth-of-type(1) { left: 16.667%; } .how-track i:nth-of-type(2) { left: 50%; } .how-track i:nth-of-type(3) { left: 83.333%; }
  .how-track i.lit { background: var(--secondary); border-color: #fff; box-shadow: 0 0 0 6px rgba(232, 160, 191, 0.18), 0 0 18px rgba(232, 160, 191, 0.7); transform: scale(1.15); }
  .how-track + .how-grid { margin-top: 40px; }
  html.js .how-grid > li.reveal:nth-child(2) { transition-delay: 140ms !important; }
  html.js .how-grid > li.reveal:nth-child(3) { transition-delay: 280ms !important; }
}
html.js .how-time { transition: background 500ms var(--ease), border-color 500ms var(--ease), box-shadow 500ms var(--ease), opacity 500ms var(--ease); }
html.js .how-card:not(.lit) .how-time { opacity: 0.6; }
html.js .how-card.lit .how-time { background: linear-gradient(135deg, var(--grad-purple), var(--grad-rose)); border-color: transparent; box-shadow: 0 0 0 4px rgba(232, 160, 191, 0.16), 0 8px 24px rgba(150, 79, 120, 0.45); }
html.js .how-card:not(.lit) .run-steps li, html.js .how-card:not(.lit) .run-status i { animation-play-state: paused; }
html.js .how-card .num { transition: background 500ms var(--ease), border-color 500ms var(--ease); }
html.js .how-card.lit .num { background: rgba(232, 160, 191, 0.22); border-color: rgba(232, 160, 191, 0.6); }

/* --- What you'll automate (2026-11-26): for people arriving from an ad. A heading in the homepage's "Built around your
   business, not a syllabus." style (left, large, gradient italic second phrase), then three cards of the jobs owners
   automate on the day, each with its own small live widget in the neutral product style (white, one blue accent).
   Different from the 5pm "enquiry → CRM" card further down, so nothing repeats. Cards start slightly tilted and
   straighten as they reveal, like the homepage's stat cards. */
.auto-head { max-width: 760px; }
.auto-head h2 { margin-top: 10px; font-size: clamp(2.3rem, 3.2vw + 1rem, 4rem); line-height: 1.04; letter-spacing: -0.025em; }
.auto-head h2 em { display: block; }
.auto-head .sub { max-width: 620px; margin-top: 18px; font-size: 1.1rem; line-height: 1.55; }
.auto-cards { display: grid; gap: 18px; margin-top: 40px; }
.auto-card { position: relative; display: flex; flex-direction: column; padding: 22px 22px 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--card-line); box-shadow: 0 24px 60px rgba(10, 6, 30, 0.35); }
.auto-card h3 { margin-top: 22px; font-size: 1.7rem; line-height: 1.08; font-weight: 500; color: #fff; }
.auto-card h3 em { font-style: italic; background: linear-gradient(120deg, #F0BDD4 10%, #F5C6A0 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auto-card > p { margin-top: 10px; color: var(--text-soft); font-size: 1rem; line-height: 1.55; }
html.js .auto-card.reveal { transform: translateY(26px) rotate(var(--tilt, -3deg)); }
html.js .auto-card.reveal.visible { transform: none; }
.auto-card:nth-child(2) { --tilt: 2.5deg; }
.auto-card:nth-child(3) { --tilt: -2deg; }

.auto-ui { padding: 14px 16px; border-radius: 16px; background: #fff; color: #0F172A; font-size: 0.82rem; line-height: 1.35; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); animation: autoBob 7s ease-in-out infinite; }
.auto-card:nth-child(2) .auto-ui { animation-delay: -2.3s; }
.auto-card:nth-child(3) .auto-ui { animation-delay: -4.6s; }
.auto-ui ul { list-style: none; margin: 0; padding: 0; }
.auto-ui-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-weight: 700; }
.auto-ui-badge { padding: 3px 9px; border-radius: 999px; background: #EFF6FF; color: #2563EB; font-size: 0.7rem; font-weight: 700; }
.auto-inbox li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid #E2E8F0; }
.auto-inbox b, .auto-quote b { font-weight: 600; }
.tag { padding: 2px 8px; border-radius: 6px; background: #F1F5F9; color: #334155; font-size: 0.7rem; font-weight: 600; white-space: nowrap; }
.tag-blue { background: #DBEAFE; color: #1D4ED8; }
.tag-muted { color: #94A3B8; }
.auto-quote li, .auto-quote-total { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid #E2E8F0; color: #475569; }
.auto-quote li b { color: #0F172A; }
.auto-quote-total { margin: 4px 0 0; border-top: 2px solid #0F172A; color: #0F172A; font-weight: 700; }
.auto-quote-total b { color: #2563EB; font-size: 1rem; }
.auto-follow li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #E2E8F0; color: #94A3B8; }
.auto-follow li.done { color: #0F172A; }
.auto-follow i { flex: none; position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #CBD5E1; }
.auto-follow li.done i { background: #2563EB; border-color: #2563EB; }
.auto-follow li.done i::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.auto-follow li:not(.done) i { border-style: dashed; animation: autoSpin 6s linear infinite; }
@keyframes autoBob { 50% { transform: translateY(-6px); } }
@keyframes autoSpin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .auto-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .auto-ui, .auto-follow i { animation: none; }
  html.js .auto-card.reveal { transform: none; }
}

/* --- Landing page review fixes (2026-11-26). Keyword line above the hero heading, a line of proof under the bullets,
   pure-white button text, a phone crop that doesn't slice faces, the dates block as the booking moment (facts + Apply),
   a shorter FAQ with "More questions", and a closing call to action. */
.hero-eyebrow { margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hero-proof { max-width: 520px; margin: 18px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.btn-primary, .btn-primary .btn-main, .btn-primary .btn-sub { color: #fff; }
@media (max-width: 640px) { .hero-bg { background-position: center, center, center, 30% 20%, center, center; } }

.date-facts { margin-top: 18px; font-size: 0.95rem; color: var(--text-soft); }
.date-cta { margin-top: 22px; display: flex; justify-content: center; }
.date-cta .btn-xl { width: min(100%, 420px); flex-direction: column; }

.faq-more { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.faq-more > summary { justify-content: center; color: var(--accent); font-weight: 600; }
.faq-more > summary::after { display: none; }
.faq-more[open] > summary { margin-bottom: 10px; }

.final-cta h2 em { display: block; }
.final-cta .sub { margin-top: 14px; }
/* Gradient-clipped text only paints inside its own box: give descenders (the "g" of "running") room. */
.final-cta h2 em, .auto-head h2 em { padding-bottom: 0.12em; line-height: 1.12; }

/* --- More than a prompt (2026-11-26): the dark version of the homepage section. A chat draft and its failure modes beside
   a production automation (status panel, run log), then six engineering practices taught on the day. */
.sys-compare { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.sys-side { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 26px; }
.sys-side-label { margin: 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.sys-chat { display: grid; gap: 10px; }
.sys-bubble { margin: 0; justify-self: end; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #E2E8F0; color: #334155; font-size: 0.9rem; }
.sys-bubble-ai { justify-self: start; border-radius: 16px 16px 16px 4px; background: #F8FAFC; border: 1px solid #E2E8F0; color: #64748B; }
.sys-risks, .sys-wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.sys-risks li, .sys-wins li { position: relative; padding-left: 26px; line-height: 1.45; }
.sys-risks li::before { content: "×"; position: absolute; left: 0; top: -1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; background: rgba(201, 69, 58, 0.12); color: #C9453A; }
.sys-wins li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #2563EB; }
.sys-wins li::after { content: ""; position: absolute; left: 6.5px; top: 5.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sys-panel { padding: 14px 16px; border-radius: 16px; background: #fff; color: #0F172A; font-size: 0.85rem; box-shadow: 0 22px 50px rgba(10, 6, 30, 0.35); animation: sysBob 7s ease-in-out infinite; }
.sys-panel p { margin: 0; }
.sys-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; font-weight: 700; }
.sys-ok { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #DCFCE7; color: #15803D; font-size: 0.72rem; font-weight: 700; }
.sys-ok i { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; animation: sysPulse 1.8s ease-in-out infinite; }
.sys-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #E2E8F0; color: #475569; }
.sys-row b { color: #0F172A; font-weight: 700; text-align: right; }
.sys-panel-foot { padding-top: 9px; border-top: 1px solid #E2E8F0; font-size: 0.75rem; color: #2563EB; font-weight: 600; }
.sys-practices { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sys-practices li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 20px; }
.sys-practices svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(135deg, #7B52AF, #964F78); box-shadow: 0 8px 20px rgba(123, 82, 175, 0.3); }
.sys-practices strong { display: block; margin-bottom: 3px; font-size: 1rem; font-weight: 600; }
.sys-practices span { display: block; font-size: 0.9rem; line-height: 1.45; }
@keyframes sysBob { 50% { transform: translateY(-6px); } }
@keyframes sysPulse { 50% { opacity: 0.35; } }
@media (max-width: 900px) { .sys-compare { grid-template-columns: 1fr; } .sys-practices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sys-practices { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sys-panel, .sys-ok i { animation: none; } }
#system .sys-compare { margin-top: 36px; }
#system .sys-prompt { background: rgba(253, 246, 240, 0.04); border: 1px solid var(--card-line); color: var(--text-soft); }
#system .sys-prompt .sys-side-label { color: var(--text-soft); }
#system .sys-system { background: radial-gradient(70% 60% at 80% 10%, rgba(155, 114, 207, 0.45), transparent 70%), radial-gradient(60% 50% at 10% 90%, rgba(232, 160, 191, 0.22), transparent 70%), #24163A; border: 1px solid rgba(232, 160, 191, 0.25); color: rgba(253, 246, 240, 0.9); box-shadow: 0 26px 60px rgba(10, 6, 30, 0.45); }
#system .sys-system .sys-side-label { color: var(--accent); }
#system .sys-practices li { background: var(--card); border: 1px solid var(--card-line); }
#system .sys-practices strong { color: #fff; }
#system .sys-practices span { color: var(--text-soft); }
#system .auto-head h2 em { display: block; }
#system .auto-head { max-width: 920px; }
.sys-verdict { margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--card-line); font-family: var(--font-head); font-size: 1.25rem; font-style: italic; color: #fff; }

/* "Other" text box under the first question (shown when Other is ticked) */
.other-field { margin-top: 10px; }
.other-field[hidden] { display: none; }
