/* Scale Stack — funnel styles
   Visual language follows valueaddmarketing.com: near-black ground, mint accent,
   Unbounded for display, Instrument Sans for reading. Single dark look on purpose. */

:root {
  color-scheme: dark;
  --bg: #0b0c0c;
  --bg-2: #101312;
  --surface: #141616;
  --surface-2: #1a1f1e;
  --line: #26302e;
  --fg: #eef3f2;
  --muted: #93a19e;
  --mint: #10eec1;
  --mint-deep: #00805f;
  --cyan: #31d7dc;
  --alert: #ff6b6b;
  --on-mint: #03241f;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
a { color: var(--mint); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, label:focus-within {
  outline: 2px solid var(--mint); outline-offset: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }
.prose { max-width: 62ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.brand svg { flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .brand-name { font-size: 14px; } .topbar .btn-sm { padding: 10px 14px; font-size: 13px; } }
.brand-name b { color: var(--mint); font-weight: 700; }
.topbar .step-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--body);
  padding: 17px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn-primary { background: var(--mint); color: var(--on-mint); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--mint) 60%, transparent); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--mint); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mint);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.02em;
  margin: 18px 0 20px;
}
h1 .mint, h2 .mint { color: var(--mint); }
h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.015em;
  margin: 12px 0 16px;
}
h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: color-mix(in srgb, var(--fg) 86%, var(--muted)); }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.tiny { font-size: 12.5px; }

/* ---------- sections ---------- */
section { padding-block: 88px; border-top: 1px solid var(--line); }
section.tight { padding-block: 56px; }
.section-head { margin-bottom: 40px; }

/* ---------- hero ---------- */
.hero {
  border-top: 0;
  padding-block: 40px 64px;
  background:
    radial-gradient(900px 420px at 88% -12%, color-mix(in srgb, var(--mint) 15%, transparent), transparent 68%),
    radial-gradient(700px 360px at -8% 105%, color-mix(in srgb, var(--mint-deep) 24%, transparent), transparent 70%);
}
/* Above the fold: headline + main testimonial on the left, survey on the right.
   On phones the survey comes right after the headline, before the video. */
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  grid-template-areas: "head survey" "proof proof";
  gap: 64px 52px;
  align-items: start;
}
.hero-grid > * { min-width: 0; }
.hero-head { grid-area: head; align-self: center; }
.hero-proof { width: 100%; max-width: 880px; justify-self: center; text-align: center; }
.hero-proof .proof-head { margin-bottom: 18px; }
.hero-proof .proof-head h2 { font-size: clamp(22px, 2.8vw, 30px); margin: 8px 0 0; }
.hero-proof .who { justify-content: center; text-align: left; }
.hero-head h1 { font-size: clamp(32px, 4.6vw, 54px); margin-top: 14px; }
.hero-survey { grid-area: survey; }
.hero-proof { grid-area: proof; }
.survey-head { margin-bottom: 14px; }
.survey-head h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 6px 0 0; }
.hero .survey-slot { min-height: 560px; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "survey" "proof"; gap: 28px; }
}

/* ---------- media slots (VSL, testimonial, calendar) ---------- */
.media-slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--mint) 9%, var(--surface)) 0%, var(--surface) 55%);
  border: 1px solid color-mix(in srgb, var(--mint) 28%, var(--line));
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
}
.media-slot.ratio-16x9 { aspect-ratio: 16 / 9; }
.media-slot > iframe, .media-slot > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slot-placeholder {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  text-align: center; padding: 24px;
}
.slot-placeholder .play {
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint); color: var(--on-mint);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--mint) 14%, transparent);
}
.slot-placeholder .slot-title { font-family: var(--display); font-weight: 600; font-size: 17px; }
.slot-placeholder .slot-hint { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calendar-slot { min-height: 680px; }

/* ---------- proof strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 26px 22px; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); color: var(--mint); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat .lab { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .g2, .g3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }

/* pains */
.pain { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.pain .mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--alert) 14%, transparent); color: var(--alert); font-weight: 700; }

/* the gap: you vs investors */
.gap-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gap-row { display: grid; grid-template-columns: 1fr 1fr; }
.gap-row + .gap-row { border-top: 1px solid var(--line); }
.gap-row > div { padding: 18px 22px; }
.gap-row > div + div { border-left: 1px solid var(--line); background: color-mix(in srgb, var(--mint) 5%, var(--surface)); }
.gap-row.head > div { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.gap-row.head > div + div { color: var(--mint); }
@media (max-width: 600px) {
  .gap-row { grid-template-columns: 1fr; }
  .gap-row > div + div { border-left: 0; border-top: 1px dashed var(--line); }
  .gap-row.head { display: none; }
  .gap-row > div::before { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .gap-row > div:first-child::before { content: "Where you are"; }
  .gap-row > div + div::before { content: "What a Series A needs"; color: var(--mint); }
}

/* how it works — a real 90-day sequence, so numbered */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.timeline > * { min-width: 0; }
.tl-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tl-step .when { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.tl-step h3 { margin-top: 10px; }
.tl-step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* case study */
.case-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.case-grid > * { min-width: 0; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }
.quote { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; margin: 0 0 18px; }
.quote::before { content: "“"; color: var(--mint); }
.quote::after { content: "”"; color: var(--mint); }
.who { display: flex; align-items: center; gap: 12px; }
.who .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; color: var(--mint); }
.who .name { font-weight: 700; }
.who .role { font-size: 14px; color: var(--muted); }
.quote-list { display: grid; gap: 12px; margin-top: 26px; }
.quote-list blockquote { margin: 0; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--mint); border-radius: 0 12px 12px 0; font-size: 15.5px; }

/* guarantee */
.guarantee {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(600px 260px at 100% 0%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--mint) 40%, var(--line));
}
.seal {
  width: 92px; height: 92px; border-radius: 50%; flex: none;
  display: grid; place-items: center; text-align: center;
  background: var(--mint); color: var(--on-mint);
  font: 700 11px/1.15 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.guarantee-inner { display: flex; gap: 28px; align-items: flex-start; }
@media (max-width: 600px) { .guarantee-inner { flex-direction: column; } }

/* fit lists */
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 16px; }
.fit-list .ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
.yes .ico { background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--mint); }
.no .ico { background: color-mix(in srgb, var(--alert) 16%, transparent); color: var(--alert); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); font-family: var(--display); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- application (GHL survey embed) ---------- */
.apply { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.survey-slot { min-height: 620px; border-radius: 22px; }
.survey-slot > iframe, .calendar-slot > iframe { position: relative; inset: auto; min-height: inherit; }
.survey-slot.is-live, .calendar-slot.is-live { background: transparent; border-color: var(--line); }

/* ---------- step pages (book / confirmed / not a fit) ---------- */
.steps-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.steps-bar .pill { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.steps-bar .pill.done { color: var(--on-mint); background: var(--mint); border-color: var(--mint); }
.steps-bar .pill.now { color: var(--mint); border-color: var(--mint); }
.book-grid { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.book-grid > * { min-width: 0; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } }
.side { position: sticky; top: 92px; display: grid; gap: 16px; }
@media (max-width: 960px) { .side { position: static; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.check-list .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }
.mini-proof { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.mini-proof .num { font-family: var(--display); font-weight: 700; color: var(--mint); font-size: 22px; }
.banner { padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--mint) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--mint) 35%, var(--line)); font-size: 15px; }
.big-check { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--on-mint); margin-bottom: 8px; box-shadow: 0 0 0 12px color-mix(in srgb, var(--mint) 12%, transparent); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: grid; gap: 14px; }
footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }

/* =====================================================================
   MOTION — growth is the theme: things rise, draw upward and light up.
   Everything here is off for prefers-reduced-motion (see the end).
   ===================================================================== */

/* hero stage */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-chart { position: absolute; inset: auto 0 0 0; width: 100%; height: 78%; z-index: 0; pointer-events: none; opacity: .55; }
.hero-chart .grid-lines line { stroke: color-mix(in srgb, var(--mint) 9%, transparent); stroke-width: 1; }
.hero-chart .curve { fill: none; stroke: url(#curveGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s cubic-bezier(.65,0,.35,1) .3s forwards; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--mint) 70%, transparent)); }
.hero-chart .area { fill: url(#areaGrad); opacity: 0; animation: fadeIn 1.6s ease 1.8s forwards; }
.hero-chart .tip { fill: var(--mint); opacity: 0; animation: tipIn .6s ease 3.3s forwards, pulse 2.4s ease-in-out 3.9s infinite; transform-origin: center; transform-box: fill-box; }
.hero-chart .tip-label { font: 600 13px var(--mono); fill: var(--mint); letter-spacing: .08em; opacity: 0; animation: fadeIn .8s ease 3.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes tipIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* aurora blobs drifting behind the hero */
.aurora { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .55; }
.aurora span { position: absolute; border-radius: 50%; }
.aurora span:nth-child(1) { width: 520px; height: 520px; right: 4%; top: -6%; background: color-mix(in srgb, var(--mint) 38%, transparent); animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 460px; height: 460px; left: -6%; bottom: 0; background: color-mix(in srgb, var(--mint-deep) 60%, transparent); animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 300px; height: 300px; left: 40%; top: 30%; background: color-mix(in srgb, var(--cyan) 22%, transparent); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(160px, -60px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-80px, -90px) scale(1.25); } }

/* load-in sequence */
.hero-head > *, .hero-survey, .hero-proof { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-head > :nth-child(1) { animation-delay: .05s; }
.hero-head > :nth-child(2) { animation-delay: .15s; }
.hero-head > :nth-child(3) { animation-delay: .3s; }
.hero-head > :nth-child(4) { animation-delay: .42s; }
.hero-survey { animation-name: riseRight; animation-delay: .35s; }
.hero-proof { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes riseRight { from { opacity: 0; transform: translate(40px, 12px); } to { opacity: 1; transform: none; } }

/* shimmering mint in headlines */
h1 .mint, .hero-proof h2 .mint {
  background: linear-gradient(100deg, var(--mint) 0%, var(--mint) 35%, #b9fff0 50%, var(--cyan) 62%, var(--mint) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 55%,100% { background-position: -50% 0; } }

/* the survey gets a slowly orbiting light on its border */
.hero .survey-slot { border-color: transparent; }
.hero .survey-slot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--angle, 0deg), transparent 0deg, var(--mint) 40deg, transparent 110deg, transparent 200deg, color-mix(in srgb, var(--cyan) 80%, transparent) 250deg, transparent 320deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: orbit 6s linear infinite;
}
.hero .survey-slot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 60px -12px color-mix(in srgb, var(--mint) 45%, transparent); pointer-events: none; animation: breathe 4s ease-in-out infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes orbit { to { --angle: 360deg; } }
@keyframes breathe { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* placeholder play buttons pulse like a live signal */
.slot-placeholder .play { animation: ring 2.6s ease-out infinite; }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 45%, transparent); }
  80%,100% { box-shadow: 0 0 0 22px color-mix(in srgb, var(--mint) 0%, transparent); }
}

/* real video player (local file) */
.media-slot > video { object-fit: cover; background: #000; }
.video-cover {
  position: absolute; inset: 0; z-index: 3; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent;
}
.video-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3,20,17,.72)); transition: opacity .3s; }
.video-cover .play { position: relative; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--on-mint); animation: ring 2.6s ease-out infinite; transition: transform .25s ease; }
.video-cover:hover .play { transform: scale(1.08); }
.video-cover .cap { position: absolute; left: 22px; bottom: 18px; right: 22px; text-align: left; font: 600 15px var(--body); color: #fff; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.video-cover .cap b { font-family: var(--display); font-weight: 600; }
.video-cover .cap span { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--mint); text-transform: uppercase; align-self: end; }

/* count-up numbers keep their width steady */
[data-count] { font-variant-numeric: tabular-nums; }

/* ticker: before → after, always moving */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding-block: 18px; margin-top: 40px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font: 600 16px var(--body); color: var(--muted); }
.ticker-item s { text-decoration-color: var(--alert); text-decoration-thickness: 2px; }
.ticker-item b { color: var(--mint); font-family: var(--display); font-weight: 600; font-size: 15px; }
.ticker-item .arr { color: var(--mint); }
@keyframes tick { to { transform: translateX(-50%); } }

/* scroll reveal (only when JS is running, so nothing hides without it) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* cards: lift + cursor spotlight */
.card, .tl-step { position: relative; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s, opacity .8s cubic-bezier(.2,.7,.2,1); }
.card::after, .tl-step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--mint) 13%, transparent), transparent 60%);
}
.card:hover, .tl-step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--mint) 45%, var(--line)); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--mint) 55%, transparent); }
.card:hover::after, .tl-step:hover::after { opacity: 1; }
.js .card.reveal.in:hover, .js .tl-step.reveal.in:hover { transform: translateY(-4px); }

/* timeline: a progress line fills as the section scrolls in */
.timeline { position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 24px; right: 24px; top: -18px; height: 3px; border-radius: 3px; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(90deg, var(--mint-deep), var(--mint)); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px color-mix(in srgb, var(--mint) 60%, transparent); }
@media (max-width: 960px) { .timeline::before, .timeline::after { display: none; } }
.tl-step .when { display: inline-flex; align-items: center; gap: 8px; }
.tl-step .when::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* gap table: the "what a Series A needs" column lights up row by row */
.gap-row > div + div { position: relative; overflow: hidden; isolation: isolate; }
.gap-row > div + div::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--mint) 16%, transparent), transparent); transform: translateX(-101%); transition: transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.gap-row.in > div + div::after { transform: none; }

/* guarantee seal: slow spin on a dashed ring */
.seal { position: relative; }
.seal::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--mint) 70%, transparent); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* buttons: a shine sweeps across on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-primary:hover::after { left: 130%; }
.topbar .btn-primary { animation: nudge 5s ease-in-out 4s infinite; }
@keyframes nudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateY(-2px) scale(1.04); } 96% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-chart .curve { stroke-dashoffset: 0; }
  .hero-chart .area, .hero-chart .tip, .hero-chart .tip-label { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { transform: none; }
  .timeline::after { transform: scaleX(1); }
}

/* mobile sticky CTA on landing */
.mobile-cta { display: none; }
@media (max-width: 680px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent); border-top: 1px solid var(--line);
  }
  .mobile-cta[hidden] { display: none; }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta { padding-bottom: 84px; }
}

/* ---------- simple landing (same layout as Get Casa Clients / Casa Ya Loans) ---------- */
.lp-topbar { position: static; background: transparent; border-bottom: 0; backdrop-filter: none; }
.lp section { border-top: 0; }
.lp-col { max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 28px 56px; }
.lp-pill {
  display: inline-block; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--fg);
}
.lp-pill-sm { font-size: 13px; font-weight: 500; color: var(--muted); padding: 7px 14px; }
.lp-h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin: 26px 0 0; }
.lp-h1 em.red { color: var(--alert); font-style: italic; }
.rotator { display: inline-block; transition: opacity .28s ease, transform .28s ease; }
.rotator.out { opacity: 0; transform: translateY(.25em); }
@media (prefers-reduced-motion: reduce) { .rotator { transition: none; } }
.lp-proofline {
  margin: 20px 0 22px; color: var(--mint); font-weight: 700; font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: .02em; text-transform: uppercase; max-width: 34ch;
}
.lp-form { width: 100%; max-width: 560px; margin-top: 30px; }
.lp-form .survey-slot { min-height: 420px; }
.lp-proof { padding-block: 24px 80px; }
.lp-quote { font-size: clamp(22px, 3vw, 32px); margin: 0 0 22px; }
.lp-video { width: 100%; max-width: 720px; }
.lp-caption { margin: 16px 0 0; font-size: 15px; color: var(--muted); max-width: 52ch; }
.lp-caption b { color: var(--fg); }
.lp-chevrons { display: grid; justify-items: center; margin: 40px 0 18px; }
.lp-chevrons span { width: 14px; height: 14px; border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(45deg); margin-top: -6px; animation: chev 1.6s ease-in-out infinite; }
.lp-chevrons span:nth-child(2) { animation-delay: .15s; }
.lp-chevrons span:nth-child(3) { animation-delay: .3s; }
@keyframes chev { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lp-chevrons span { animation: none; opacity: .8; } }
.lp-cta { padding-inline: 44px; }
.lp-footer { text-align: center; }
.lp-footer .wrap { max-width: 760px; }

/* rotating words without layout shift: every word is stacked in one cell, on its own line */
.rotator.is-stack { display: grid; justify-items: center; align-items: center; transition: none; }
.rotator.is-stack .rw { grid-area: 1 / 1; opacity: 0; transform: translateY(.18em); transition: opacity .35s ease, transform .35s ease; }
.rotator.is-stack .rw.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rotator.is-stack .rw { transition: none; } }

/* booking page: progress bar, header, calendar. Nothing else (same as Get Casa Clients /book) */
.bk { min-height: 100vh; padding: 40px 0 64px; }
.bk-col { max-width: 820px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.bk-progress { width: 100%; max-width: 580px; height: 32px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.bk-progress span { display: flex; align-items: center; justify-content: center; height: 100%; width: 80%; border-radius: 9px; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); color: var(--on-mint); font-size: 13px; font-weight: 700; }
.bk-h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; margin: 42px 0 36px; }
.bk .calendar-slot { width: 100%; min-height: 600px; }
/* the shimmer is painted per word, otherwise background-clip:text shows every stacked word at once */
h1 .rotator.is-stack { background: none; animation: none; color: inherit; }
h1 .rotator.is-stack .rw {
  background: linear-gradient(100deg, var(--mint) 0%, var(--mint) 35%, #b9fff0 50%, var(--cyan) 62%, var(--mint) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { h1 .rotator.is-stack .rw { animation: none; } }
.bk-h1 + .bk-note { margin: -18px 0 32px; max-width: 58ch; color: var(--mint); font-style: italic; font-size: 15.5px; line-height: 1.55; }
