@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap');

/* ============================================================
   Cale — pitch site v3 (scrollytelling)
   Light theme. Scroll-scrubbed story built with GSAP ScrollTrigger.
   Palette: #0D7BFF blue, #C3B9FF purple, light lavender field
   Type: Sora (display) + Inter (body)
   ============================================================ */
:root {
  --blue: #0D7BFF;
  --blue-deep: #0A63D4;
  --purple: #C3B9FF;
  --purple-deep: #9F8FFF;
  --ink: #0B1526;
  --ink-soft: #22304A;
  --muted: #5A6B8C;
  --muted-2: #8A97B5;
  --bg: #FAFBFF;
  --card: rgba(255, 255, 255, 0.66);
  --card-solid: #FFFFFF;
  --card-border: rgba(16, 32, 64, 0.08);
  --app-bg: #EEF1F8;
  --app-panel: #FFFFFF;
  --app-border: rgba(16,32,64,0.08);
  --app-text: #1A2540;
  --app-muted: #7A88A8;
  --p-blue: #5B8FD9;
  --p-green: #47A878;
  --p-orange: #DD9A3F;
  --p-purple: #9B82D4;
  --p-red: #D9595B;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --maxw: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  overflow-x: hidden;
}
/* soft ambient field */
.field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.field::before, .field::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); }
.field::before {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(195,185,255,0.35), transparent 65%);
  top: -22vw; right: -18vw;
  animation: breathe1 18s var(--ease) infinite alternate;
}
.field::after {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(13,123,255,0.12), transparent 65%);
  bottom: -20vw; left: -16vw;
  animation: breathe2 22s var(--ease) infinite alternate;
}
@keyframes breathe1 { to { transform: translate(-6vw, 8vw) scale(1.12); } }
@keyframes breathe2 { to { transform: translate(7vw, -6vw) scale(1.18); } }
.wrap { position: relative; z-index: 2; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--blue), var(--purple-deep));
  width: var(--p, 0%);
  border-radius: 0 3px 3px 0;
}
/* auto-scroll guided-tour toggle */
.autoscroll-toggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 18px 0 15px;
  border-radius: 100px;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 30px rgba(13,40,90,0.16);
  color: var(--ink); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.autoscroll-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(13,40,90,0.22); }
.autoscroll-toggle svg { color: var(--blue-deep); }
.autoscroll-toggle .ic-pause { display: none; }
.autoscroll-toggle.playing .ic-play { display: none; }
.autoscroll-toggle.playing .ic-pause { display: block; }
.autoscroll-toggle .autoscroll-label::after { content: 'Play'; }
.autoscroll-toggle.playing .autoscroll-label::after { content: 'Pause'; }
.autoscroll-label { font-size: 0; }
.autoscroll-label::after { font-size: 13.5px; }
@media (max-width: 620px) {
  .autoscroll-toggle { bottom: 16px; right: 16px; padding: 0 15px 0 13px; height: 42px; }
}
/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: min(var(--maxw), calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
  border-radius: 16px;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-color: var(--card-border);
  box-shadow: 0 10px 40px rgba(13,123,255,0.08);
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Sora'; font-weight: 700; font-size: 19px;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.brand img { width: 28px; height: 28px; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.25s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 17px; border-radius: 11px;
  background: linear-gradient(270deg, #0D7BFF, #6E77E8, #9F8FFF, #C3B9FF, #0D7BFF);
  background-size: 300% 300%;
  color: #fff !important;
  font-weight: 600 !important; font-size: 14px !important;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  animation: ctaFlow 7s ease infinite;
}
@keyframes ctaFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(13,123,255,0.4); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }
/* ---------- Hero (Act 1 — pinned) ---------- */
.hero { height: 100vh; height: 100svh; position: relative; overflow: hidden; }
.hero-inner {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 96px 28px 48px;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--blue-deep);
  padding: 7px 15px; border-radius: 100px;
  background: rgba(13,123,255,0.07);
  border: 1px solid rgba(13,123,255,0.16);
  margin-bottom: 26px;
}
.hero h1 {
  font-family: 'Sora'; font-weight: 800;
  font-size: clamp(52px, 8.4vw, 96px);
  line-height: 1.0; letter-spacing: -0.045em;
  max-width: 900px; margin: 0 auto 22px;
}
.hero h1 .shimmer {
  background: linear-gradient(110deg, var(--blue) 20%, var(--purple-deep) 45%, var(--blue) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.hero .lead { font-size: 19.5px; color: var(--muted); max-width: 580px; margin: 0 auto 4px; }
/* three-step "how it works" strip — builds itself in on load */
.how-eyebrow {
  margin-top: 34px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  opacity: 0; transform: translateY(10px);
  animation: howIn 0.7s var(--ease) 0.35s forwards;
}
.how-strip {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-top: 18px;
}
.how-step {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  width: 132px;
  opacity: 0; transform: translateY(16px) scale(0.94);
  animation: howIn 0.7s var(--ease) forwards;
}
.how-ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(13,123,255,0.12), rgba(195,185,255,0.30));
  border: 1px solid rgba(13,123,255,0.16);
  color: var(--blue-deep);
  box-shadow: 0 12px 30px rgba(13,123,255,0.14);
}
.how-label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
.how-arrow {
  display: inline-flex; align-items: center;
  margin-top: 16px;
  opacity: 0; transform: translateX(-8px);
  animation: arrowIn 0.55s var(--ease) forwards;
}
/* build order: step → arrow → step → arrow → step */
.how-step:nth-child(1) { animation-delay: 0.55s; }
.how-arrow:nth-child(2) { animation-delay: 0.85s; }
.how-step:nth-child(3) { animation-delay: 1.05s; }
.how-arrow:nth-child(4) { animation-delay: 1.35s; }
.how-step:nth-child(5) { animation-delay: 1.55s; }
@keyframes howIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes arrowIn { to { opacity: 1; transform: translateX(0); } }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--muted-2); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  animation: hint 2.2s var(--ease) infinite;
}
@keyframes hint { 0%,100% { transform: translate(-50%, 0); opacity: .7; } 50% { transform: translate(-50%, 6px); opacity: 1; } }
.rise { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
/* ---------- App window chrome ---------- */
.window {
  background: var(--app-bg);
  border: 1px solid rgba(16,32,64,0.14);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(13, 40, 90, 0.22), 0 4px 18px rgba(13,40,90,0.10);
  overflow: hidden;
  text-align: left;
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--app-border);
}
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.window-bar .dot:nth-child(1) { background: #FF5F57; }
.window-bar .dot:nth-child(2) { background: #FEBC2E; }
.window-bar .dot:nth-child(3) { background: #28C840; }
.window-bar .url {
  margin-left: 12px;
  font-size: 12px; color: var(--app-muted);
  background: rgba(16,32,64,0.06);
  padding: 4px 14px; border-radius: 7px;
}
/* ---------- Schedule mock (shared by hero + story) ---------- */
.body-wrap { position: relative; }
.sched-body { padding: 18px; background: var(--app-bg); }
.sched-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 12px; }
.sched-top-left { display: flex; align-items: center; gap: 12px; }
.sched-h { font-family: 'Sora'; font-weight: 600; font-size: 15px; color: var(--app-text); }
.pill-connected {
  font-size: 11px; font-weight: 600; color: #1A9E5C;
  border: 1px solid rgba(26,158,92,0.3);
  padding: 3px 11px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pill-connected::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1A9E5C; }
.sched-top-right { display: flex; gap: 9px; }
.mini-btn { font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 9px; border: 1px solid var(--app-border); }
.mini-btn.outline { color: var(--app-text); background: #fff; }
.mini-btn.blue { color: #fff; background: var(--blue); border-color: transparent; }
.cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.col { border: 1px solid var(--app-border); border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 2px 8px rgba(16,32,64,0.06); }
.col-head {
  background: var(--blue); color: #fff; text-align: center;
  font-family: 'Sora'; font-weight: 700; font-size: 11.5px; letter-spacing: 0.04em;
  padding: 7px 4px;
}
.col-head span { opacity: 0.75; font-weight: 600; margin-left: 5px; }
.col-range {
  text-align: center; font-size: 10px; color: var(--app-muted);
  padding: 5px 4px; border-bottom: 1px solid var(--app-border);
  background: #FAFBFF;
}
.col-grid { position: relative; height: 190px; display: grid; grid-template-columns: 24px 1fr; }
.axis { display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0 6px 6px; }
.axis span { font-size: 8.5px; color: var(--app-muted); line-height: 1; }
.lane { position: relative; border-left: 1px solid var(--app-border); }
.lane .gridline { position: absolute; left: 0; right: 0; height: 1px; background: rgba(16,32,64,0.06); }
.blk {
  position: absolute;
  width: 42%;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transform-origin: 50% 100%; /* rises from the bottom of its day */
}
.blk span {
  writing-mode: vertical-rl;
  font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}
.blk.b { background: var(--p-blue); }
.blk.g { background: var(--p-green); }
.blk.o { background: var(--p-orange); }
.blk.r { background: var(--p-red); }
.hours-panel {
  margin-top: 13px;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  padding: 12px 16px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(16,32,64,0.06);
}
.hours-panel h4 { font-family: 'Sora'; font-size: 12.5px; font-weight: 600; color: var(--app-text); margin-bottom: 7px; }
.hours-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; padding: 4px 0;
  border-bottom: 1px solid rgba(16,32,64,0.05);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .who { display: flex; align-items: center; gap: 8px; color: var(--app-text); }
.hours-row .dot { width: 8px; height: 8px; border-radius: 50%; }
.hours-row .dot.b { background: var(--p-blue); }
.hours-row .dot.g { background: var(--p-green); }
.hours-row .dot.o { background: var(--p-orange); }
.hours-row .dot.r { background: var(--p-red); }
.hours-row .val { font-weight: 700; color: var(--app-text); font-variant-numeric: tabular-nums; }
/* ---------- booking calendar overlay (GCal-style, no branding) ---------- */
.cal-body {
  position: absolute; inset: 0;
  background: var(--app-panel);
  padding: 14px 16px 16px;
  display: grid; grid-template-columns: 40px 1fr;
  gap: 8px;
  will-change: clip-path;
}
.cal-gutter { display: flex; flex-direction: column; justify-content: space-between; padding: 26px 0 8px; }
.cal-gutter span { font-size: 8.5px; color: var(--app-muted); line-height: 1; text-align: right; padding-right: 4px; }
.cal-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal-col { display: flex; flex-direction: column; }
.cal-day {
  text-align: center; font-size: 10.5px; color: var(--app-muted);
  padding-bottom: 6px; font-weight: 600;
  border-bottom: 1px solid var(--app-border);
}
.cal-day b { color: var(--app-text); font-family: 'Sora'; font-weight: 700; margin-left: 3px; }
.cal-lane { position: relative; flex: 1; margin-top: 6px; border-left: 1px solid var(--app-border); }
.cal-lane .gridline { position: absolute; left: 0; right: 0; height: 1px; background: rgba(16,32,64,0.05); }
.cal-chip {
  position: absolute; left: 4%; right: 4%;
  border-radius: 5px; padding: 4px 5px;
  overflow: hidden;
  border-left: 3px solid;
  display: flex; align-items: flex-start;
}
.cal-chip span { font-size: 8px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.cal-chip.c1 { background: rgba(13,123,255,0.16); border-color: var(--blue); color: var(--blue-deep); }
.cal-chip.c2 { background: rgba(71,168,120,0.18); border-color: var(--p-green); color: #2b7a52; }
.cal-chip.c3 { background: rgba(159,143,255,0.20); border-color: var(--purple-deep); color: #6a58c4; }
/* scan bar that reads the calendar, then wipes into the schedule */
.scan-bar {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  z-index: 5; opacity: 0; pointer-events: none;
  transform-origin: 50% 50%;
  background: linear-gradient(90deg, transparent, var(--blue) 12%, #6ea8ff 50%, var(--blue) 88%, transparent);
  box-shadow: 0 0 16px 3px rgba(13,123,255,0.6), 0 0 40px 8px rgba(13,123,255,0.25);
}
/* ---------- Act 2 — pinned stage ---------- */
#story { position: relative; }
.story-head { max-width: 620px; margin: 0 auto; padding: 96px 28px 34px; text-align: center; }
.tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.story-head h2, .section-head h2 {
  font-family: 'Sora'; font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08; letter-spacing: -0.03em;
}
.stage-pin {
  position: relative;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.stage-travel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}
.stage {
  position: relative;
  z-index: 1;
  width: 1000px; height: 640px;
  flex: none;
  transform-origin: 50% 50%;
}
/* line A — hangs from under the schedule down to the screen edge (connects to Act 3's line) */
.stem-down {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
  z-index: 0;
}
.a-stem-down {
  fill: none;
  stroke: #9F8FFF;
  stroke-width: 3.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 9px rgba(159, 143, 255, 0.85));
}
.a-stem-down-pulse {
  fill: none;
  stroke: #ECE6FF;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-dasharray: 7 30;
  filter: drop-shadow(0 0 8px rgba(210, 198, 255, 0.95));
}
.forms-layer  { position: absolute; inset: 0; z-index: 1; }
.sched-layer  { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.sched-window { width: 886px; will-change: transform, opacity; }
.chaos-layer  { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.desc-layer   { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: grid; place-items: center; }
.desc-layer .desc-card { grid-area: 1 / 1; }
/* chat bubbles */
.bubble {
  position: absolute; left: 50%; top: 50%;
  font-size: 13px; font-weight: 500;
  padding: 9px 15px; border-radius: 16px;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 26px rgba(13,40,90,0.10);
  color: var(--ink-soft);
  white-space: nowrap;
  will-change: transform, opacity;
}
.bubble-inner { display: block; }
.stage.vibrate .bubble .bubble-inner { animation: jitter 0.14s linear infinite; }
@keyframes jitter {
  0%   { transform: translate(0.6px, -0.5px) rotate(0.25deg); }
  25%  { transform: translate(-0.7px, 0.4px) rotate(-0.3deg); }
  50%  { transform: translate(0.5px, 0.7px) rotate(0.2deg); }
  75%  { transform: translate(-0.4px, -0.7px) rotate(-0.2deg); }
  100% { transform: translate(0.6px, -0.5px) rotate(0.25deg); }
}
.bubble.pop {
  background: #F3F0FF;
  border-color: rgba(159,143,255,0.4);
  color: #4a3d8f;
  font-weight: 600;
}
.gen-btn {
  position: absolute; left: 50%; top: 50%;
  font-family: 'Inter'; font-weight: 700; font-size: 16px;
  color: #fff; border: 0; cursor: default;
  padding: 15px 30px; border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 44px rgba(13,123,255,0.45);
  will-change: transform, opacity;
}
/* mini availability forms (2 × 4) */
.mini-form {
  position: absolute;
  width: 226px; height: 290px;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(13,40,90,0.12);
  padding: 13px 14px;
  line-height: 1.4;
  overflow: hidden;
  will-change: transform, opacity;
}
.mini-form .hi { font-family: 'Sora'; font-weight: 700; font-size: 13px; }
.mini-form .week { font-size: 10px; color: var(--muted-2); margin-bottom: 8px; }
.day-row {
  border: 1px solid rgba(16,32,64,0.1);
  border-radius: 9px;
  padding: 7px 9px;
  margin-bottom: 6px;
  background: #F7F8FB;
}
.day-row .day-line { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; }
.day-row .box {
  width: 14px; height: 14px; border-radius: 4px; flex: none;
  border: 1.5px solid rgba(16,32,64,0.25);
  background: #fff;
  display: grid; place-items: center;
  font-size: 9px; line-height: 1;
}
.day-row .box .tick { color: #fff; }
.day-row .times {
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px;
  height: 20px;
  overflow: hidden;
}
.time-chip {
  font-size: 9.5px; font-weight: 500;
  background: #fff; border: 1px solid rgba(16,32,64,0.14);
  border-radius: 6px; padding: 3px 7px;
  color: var(--ink-soft);
}
.times .to { color: var(--muted-2); font-size: 9.5px; }
.mini-submit {
  width: 100%; margin-top: 2px;
  background: var(--blue); color: #fff;
  font-weight: 600; font-size: 10.5px;
  border: 0; border-radius: 8px; padding: 7px;
  font-family: 'Inter'; pointer-events: none;
}
/* glass description card */
.desc-card {
  width: min(600px, 92%);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 30px 80px rgba(13,40,90,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-radius: 18px;
  padding: 28px 34px;
  text-align: center;
  will-change: transform, opacity;
}
.desc-card h3 {
  font-family: 'Sora'; font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; margin-bottom: 10px; color: var(--ink);
}
.desc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
/* revolving glow around the finished schedule */
.sched-layer { --glow-on: 0; }
.glow-ring {
  position: absolute;
  width: 886px; height: auto;
  inset: auto;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.glow-ring.on { opacity: 1; }
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.glow-ring::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 24px;
  background: conic-gradient(from var(--spin),
    transparent 0deg, rgba(13,123,255,0.85) 70deg, rgba(159,143,255,0.9) 140deg,
    transparent 220deg, rgba(195,185,255,0.6) 300deg, transparent 360deg);
  filter: blur(16px);
  animation: spin-glow 7s linear infinite;
}
@keyframes spin-glow { to { --spin: 360deg; } }
/* fallback pulse where @property is unsupported */
@supports not (background: conic-gradient(from var(--spin), red, blue)) {
  .glow-ring::before {
    background: conic-gradient(transparent, rgba(13,123,255,0.85), rgba(159,143,255,0.9), transparent);
    animation: pulse-glow 3.4s ease-in-out infinite alternate;
  }
  @keyframes pulse-glow { from { opacity: 0.55; } to { opacity: 1; } }
}
/* ---------- Act 3 — line wraps the copied result, staff approve (pinned) ---------- */
.approvals { padding: 0; }
.approvals-pin {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.approvals-inner { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 20px; padding-bottom: 30px; }
.approval-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
  z-index: 3;
  --glow: 0;
}
.a-stem, .a-wrap {
  fill: none;
  stroke: #9F8FFF;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.a-stem { filter: drop-shadow(0 0 calc(4px + var(--glow, 0) * 10px) rgba(159, 143, 255, 0.8)); }
.a-wrap { filter: drop-shadow(0 0 calc(6px + var(--glow, 0) * 22px) rgba(159, 143, 255, 0.95)); }
/* copied-result message bubble */
.result-msg { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin-top: 0; }
.msg-bubble {
  max-width: 560px; width: min(560px, calc(100% - 40px));
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-radius: 20px 20px 20px 7px;
  padding: 15px 22px 16px;
  box-shadow: 0 24px 60px rgba(13,123,255,0.38);
  text-align: left;
}
.msg-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}
.msg-text {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12.5px; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
  margin: 0; color: rgba(255,255,255,0.97);
}
.msg-meta { font-size: 12px; color: var(--muted-2); margin-top: 10px; }
.people {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}
.person { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; }
.person .avatar {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(13,40,90,0.13);
  display: grid; place-items: center;
  color: var(--muted);
}
.person .name { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.thumb {
  position: absolute; top: -8px; right: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #17A45B; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 6px 20px rgba(23,164,91,0.65), 0 0 18px rgba(23,164,91,0.55);
  transform: scale(0);
  will-change: transform;
}
/* ---------- Act 4 — Under the hood ---------- */
.section { padding: 96px 0 110px; position: relative; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 28px;
}
.trio-card { position: relative; }
/* float is applied to the card itself once revealed */
.trio-card.in.f1 { animation: floaty 6s ease-in-out 0.9s infinite; }
.trio-card.in.f2 { animation: floaty 7s ease-in-out 1.4s infinite; }
.trio-card.in.f3 { animation: floaty 6.5s ease-in-out 1.9s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.trio-ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(13,123,255,0.1), rgba(195,185,255,0.2));
  border: 1px solid rgba(13,123,255,0.14);
  margin-bottom: 18px;
  color: var(--blue-deep);
}
.trio-card h3 { font-family: 'Sora'; font-weight: 600; font-size: 17.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.trio-card p { font-size: 14.5px; color: var(--muted); }
/* ---------- Act 5 — flowing dark CTA + dark footer ---------- */
.cta-flow {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  background: linear-gradient(160deg, #0A2352 0%, #123A86 36%, #43398F 60%, #123A86 80%, #0A2352 100%);
  isolation: isolate;
}
.flow-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* two large irregular gradient fields that slowly rotate + breathe (the ebb) */
.flow-bg::before, .flow-bg::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 150vmax; height: 150vmax;
  margin-left: -75vmax; margin-top: -75vmax;
  mix-blend-mode: screen;
  will-change: transform;
}
.flow-bg::before {
  border-radius: 44% 56% 52% 48%;
  background: radial-gradient(closest-side, rgba(138,104,240,0.42), transparent 68%);
  animation: swirlA 34s ease-in-out infinite;
}
.flow-bg::after {
  border-radius: 56% 44% 48% 52%;
  background: radial-gradient(closest-side, rgba(13,123,255,0.30), transparent 68%);
  animation: swirlB 44s ease-in-out infinite;
}
@keyframes swirlA {
  0%   { transform: rotate(0deg) translate(-4%, 2%) scale(1); }
  50%  { transform: rotate(190deg) translate(5%, -3%) scale(1.16); }
  100% { transform: rotate(360deg) translate(-4%, 2%) scale(1); }
}
@keyframes swirlB {
  0%   { transform: rotate(360deg) translate(4%, -2%) scale(1.12); }
  50%  { transform: rotate(170deg) translate(-5%, 4%) scale(0.94); }
  100% { transform: rotate(0deg) translate(4%, -2%) scale(1.12); }
}
/* soft blobs that wander + fade in and out on non-repeating loops */
.blob { position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; will-change: transform, opacity; }
.blob.b1 {
  width: 520px; height: 520px; top: 6%; left: 10%;
  background: radial-gradient(circle, rgba(168,150,255,0.6), transparent 66%);
  animation: floatA 19s ease-in-out infinite;
}
.blob.b2 {
  width: 460px; height: 460px; top: 34%; right: 6%;
  background: radial-gradient(circle, rgba(13,123,255,0.52), transparent 66%);
  animation: floatB 25s ease-in-out infinite;
}
.blob.b3 {
  width: 440px; height: 440px; bottom: 4%; left: 32%;
  background: radial-gradient(circle, rgba(195,185,255,0.5), transparent 66%);
  animation: floatC 22s ease-in-out infinite;
}
@keyframes floatA {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.55; }
  25%  { transform: translate(70px, 46px) scale(1.1); opacity: 0.95; }
  50%  { transform: translate(34px, 104px) scale(0.94); opacity: 0.45; }
  75%  { transform: translate(-46px, 54px) scale(1.06); opacity: 0.85; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
}
@keyframes floatB {
  0%   { transform: translate(0, 0) scale(1.04); opacity: 0.5; }
  30%  { transform: translate(-84px, 40px) scale(0.92); opacity: 0.9; }
  55%  { transform: translate(-40px, -70px) scale(1.12); opacity: 0.55; }
  80%  { transform: translate(40px, -30px) scale(1); opacity: 0.85; }
  100% { transform: translate(0, 0) scale(1.04); opacity: 0.5; }
}
@keyframes floatC {
  0%   { transform: translate(0, 0) scale(0.98); opacity: 0.6; }
  25%  { transform: translate(64px, -50px) scale(1.1); opacity: 0.4; }
  50%  { transform: translate(-30px, -88px) scale(1); opacity: 0.9; }
  75%  { transform: translate(-72px, -24px) scale(0.9); opacity: 0.55; }
  100% { transform: translate(0, 0) scale(0.98); opacity: 0.6; }
}
.cursor-glow {
  position: absolute; z-index: 1;
  width: 440px; height: 440px;
  left: 0; top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,143,255,0.22), rgba(159,143,255,0.08) 42%, transparent 62%);
  filter: blur(48px);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  transform: translate(-50%, -50%);
}
.cta-flow:hover .cursor-glow { opacity: 0.65; }
.cta-content {
  position: relative; z-index: 2; text-align: center;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 28px;
}
.cta-content h2 {
  font-family: 'Sora'; font-weight: 800; color: #fff;
  font-size: clamp(36px, 5.4vw, 60px);
  letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 16px;
}
.cta-sub { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 480px; margin: 0 auto 34px; }
.cta-sub-phase2 { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 480px; margin: 0 auto 34px; visibility: hidden;} /*hidden until phase 2 and I start charging*/
.email-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.email-input {
  flex: 1; min-width: 220px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.13);
  color: #fff;
  font-family: 'Inter'; font-size: 15px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  backdrop-filter: blur(8px);
}
.email-input::placeholder { color: rgba(255,255,255,0.5); }
.email-input:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.18); }
.email-submit {
  padding: 14px 24px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue-deep);
  font-family: 'Inter'; font-size: 15px; font-weight: 700;
  border: 0; cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.email-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.3); }
.email-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-success {
  color: rgba(255,255,255,0.92);
  font-size: 16px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 6px;
}
.form-success .tick {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-size: 14px;
}
.form-error {
  margin-top: 14px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.9);
  background: rgba(255,90,90,0.16);
  border: 1px solid rgba(255,120,120,0.4);
  border-radius: 12px;
  padding: 12px 16px;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.form-error a { color: #fff; font-weight: 700; text-decoration: underline; }
.cta-note { position: relative; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.55); visibility: hidden;} /*hidden until Phase 2 begins and I start charging*/
/* dark footer */
.footer-dark {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(9,12,42,0.55), rgba(9,10,36,0.92));
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 44px 0 40px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-dark .brand { color: #fff; font-size: 17px; }
.footer-links { display: flex; gap: 24px; }
.footer-dark .footer-links a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 14px; transition: color 0.25s;
}
.footer-dark .footer-links a:hover { color: #fff; }
.footer-dark .footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); }
/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .trio { grid-template-columns: 1fr; }
  .cols { grid-template-columns: repeat(5, minmax(96px, 1fr)); }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + 8px); right: 0; left: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px; padding: 20px; gap: 16px;
    box-shadow: 0 20px 60px rgba(13,40,90,0.15);
  }
  .nav-toggle { display: block; }
  .container { padding: 0 20px; }
  .how-strip { gap: 8px; margin-top: 32px; }
  .how-arrow { display: none; }
  .how-step { width: 96px; gap: 8px; }
  .how-ico { width: 46px; height: 46px; border-radius: 13px; }
  .how-label { font-size: 12px; }
  .people { gap: 14px; margin-top: 26px; }
  .person { width: 60px; }
  .person .avatar { width: 44px; height: 44px; }
  .person .name { font-size: 10.5px; }
  .approvals-inner { padding-top: 70px; }
  .msg-text { font-size: 11px; }
  .cta-content { padding: 84px 20px; }
}
/* ---------- Static fallback (reduced motion / no GSAP) ---------- */
body.no-anim .scroll-hint { display: none; }
body.no-anim .hero { height: auto; padding-bottom: 60px; }
body.no-anim .hero-inner { height: auto; }
body.no-anim .stage-pin { height: auto; padding: 30px 0 80px; overflow: visible; }
body.no-anim .stage { width: min(1000px, calc(100% - 32px)); height: auto; margin: 0 auto; transform: none !important; }
body.no-anim .chaos-layer { display: none; }
body.no-anim .forms-layer { display: none; }
body.no-anim .desc-layer {
  position: static; display: block; margin-bottom: 28px;
}
body.no-anim .desc-card { margin: 0 auto; opacity: 1 !important; transform: none !important; }
body.no-anim .sched-layer { position: static; display: block; }
body.no-anim .sched-window { margin: 0 auto; max-width: 886px; }
body.no-anim .glow-ring { display: none; }
body.no-anim .cal-body, body.no-anim .scan-bar { display: none; }
body.no-anim .approval-lines { display: none; }
body.no-anim .approvals-pin { min-height: 0; padding: 40px 0; }
body.no-anim .approvals .thumb { transform: scale(1); }
body.no-anim .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .field::before, .field::after, .shimmer, .scroll-hint,
  .blob, .glow-ring::before, .trio-card.in, .nav-cta { animation: none !important; }
  .flow-bg::before, .flow-bg::after { animation: none !important; }
  .stage.vibrate .bubble .bubble-inner { animation: none !important; }
  .how-eyebrow, .how-step, .how-arrow { animation: none !important; opacity: 1 !important; transform: none !important; }
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
