/* Hero */
.hero { position: relative; padding: var(--space-6) 0 var(--space-4); }
.hero__grid { display: grid; gap: var(--space-8); align-items: center; }
.hero__copy { position: relative; z-index: 1; }
.hero h1 { margin: var(--space-5) 0 var(--space-5); font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); }
.hero h1 .script { font-size: 1.12em; margin-top: 0.05em; }
.hero .tape { margin-bottom: var(--space-5); }
.hero__lead { font-size: var(--text-lg); color: var(--ink-soft); max-width: 36ch; margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-5); }
.hero__assure { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: var(--text-sm); color: var(--ink-soft); }
.hero__assure::before {
  content: "";
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23238255' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (min-width: 1000px) {
  .hero { padding-top: var(--space-7); }
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: var(--space-7); }
}

/* Hero workspace visual */
.workspace { position: relative; padding: 2.5rem 0.5rem 3rem; max-width: 520px; margin: 0 auto; width: 100%; }
.workspace__card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 0 var(--edge);
  padding: 1.5rem 1.25rem 1.25rem;
  transform: rotate(1.8deg);
  position: relative;
}
.workspace__mascot {
  position: absolute;
  width: 112px;
  top: -64px;
  right: -14px;
  transform: rotate(-6deg);
}
.workspace__head { padding-right: 88px; }
.workspace__kicker { font-size: var(--text-sm); color: var(--ink-soft); font-weight: 600; }
.workspace__title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.workspace__rule { border: 0; border-top: 2px dashed var(--line); margin: 1rem 0; }
.workspace__rows { list-style: none; display: grid; gap: 0.6rem; }
.workspace__row {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 0.65rem 0.8rem;
}
.workspace__row .icon-tile { width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; }
.workspace__stage { font-size: 0.8125rem; font-weight: 700; color: var(--ink-soft); line-height: 1.2; }
.workspace__status { font-weight: 700; line-height: 1.25; }
.workspace__row--soon { opacity: 0.6; }

.float-chip {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: 0 5px 0 var(--edge);
  padding: 0.5rem 0.95rem;
  font-weight: 700;
  font-size: var(--text-sm);
  white-space: nowrap;
  animation: float 8s ease-in-out infinite;
}
.float-chip--price { top: 0; left: -0.25rem; transform: rotate(-4deg); background: var(--green); color: var(--white); box-shadow: 0 5px 0 var(--green-deep); }
.float-chip--sqft { bottom: 0.25rem; left: 0.5rem; transform: rotate(3deg); animation-delay: -2s; }
.float-chip--nights { top: 0.6rem; left: 38%; transform: rotate(4deg); animation-delay: -4s; background: var(--lemon-tint); box-shadow: 0 5px 0 var(--lemon-edge); }
.float-chip--pdf { bottom: 0.4rem; right: 0.25rem; transform: rotate(-3deg); animation-delay: -6s; }
.float-chip--pdf::before { content: "✓ "; color: var(--green-deep); }

/* Problem */
.grid-4 { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.problem-card h3 { font-size: 1.2rem; margin: 1.25rem 0 0.35rem; }
.problem-card__q { font-weight: 700; margin-bottom: 0.4rem; }
.problem-card p:last-child { color: var(--ink-soft); }
.transition-line {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: var(--space-7);
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  color: var(--ink);
  text-align: center;
}
.transition-line img { width: 72px; flex-shrink: 0; }

/* Stage legend + stage cards */
.stage-legend {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.1rem;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 0 var(--edge);
  padding: 0.7rem 1.4rem;
  font-weight: 700;
}
.stage-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.stage-legend span::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--dot); }
.stage-legend__wrap { text-align: center; margin: calc(var(--space-6) * -1) 0 var(--space-7); }

.stage-grid { display: grid; gap: var(--space-5); }
@media (min-width: 700px) { .stage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .stage-grid { grid-template-columns: repeat(6, 1fr); } .stage-card { grid-column: span 2; } .stage-card:nth-child(4) { grid-column: 2 / span 2; } }

.stage-card { overflow: hidden; display: flex; flex-direction: column; padding-top: 2.25rem; }
.stage-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--stage); }
.stage-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.stage-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.25rem;
  background: var(--stage);
  box-shadow: 0 4px 0 var(--stage-deep);
  color: var(--ink);
}
.stage-card h3 { font-size: 1.6rem; }
.stage-card__promise { font-weight: 600; color: var(--ink-soft); margin: 0.25rem 0 1.1rem; }
.stage-card .checklist { margin-bottom: 1.5rem; flex-grow: 1; align-content: start; font-size: var(--text-sm); }
.stage-card__cta { align-self: flex-start; }
.stage-card--soon .checklist li::before { background: var(--aqua-tint); }
.stage-card--soon .stage-card__cta { color: var(--ink-soft); font-weight: 700; }

.stage--find { --stage: var(--aqua); --stage-deep: var(--aqua-deep); }
.stage--walk { --stage: var(--lemon); --stage-deep: var(--lemon-deep); }
.stage--scope { --stage: var(--green); --stage-deep: var(--green-deep); }
.stage--test { --stage: var(--tangerine); --stage-deep: var(--tangerine-deep); }
.stage--win { --stage: var(--berry); --stage-deep: var(--berry-deep); }

/* Story timeline */
.story__grid { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .story__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } .story__intro { position: sticky; top: 2rem; } }
.story__intro h2 { margin: var(--space-4) 0; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; border-left: 3px dashed var(--line); }
.moment { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; position: relative; }
.moment__dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); box-shadow: 0 4px 0 var(--edge);
  display: grid; place-items: center; font-size: 1.5rem;
}
.moment__time { font-family: var(--font-script); font-size: 1.6rem; color: var(--berry); line-height: 1; margin-bottom: 0.35rem; }
.moment .card { padding: 1.25rem 1.35rem; }
.moment p + p { margin-top: 0.5rem; }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.85rem; }
.area-chip { cursor: pointer; }
.area-chip[aria-pressed="true"] { background: var(--lemon-tint); border-color: var(--lemon-deep); box-shadow: 0 4px 0 var(--lemon-edge); }
.area-chip[aria-pressed="true"]::before { content: "✓"; color: var(--ink); }
.summary-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 0.85rem; }
.summary-list li { background: var(--cream); border-radius: var(--r-sm); padding: 0.6rem 0.8rem; line-height: 1.3; }
.summary-list strong { display: block; font-size: 1.25rem; }
.summary-list span { font-size: 0.875rem; color: var(--ink-soft); font-weight: 600; }
.next-steps { display: grid; gap: 0.6rem; margin-top: 0.85rem; }
.next-step {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%; min-height: 52px; padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: var(--white); box-shadow: 0 4px 0 var(--ink);
  font-weight: 700; cursor: pointer; text-align: left;
}
.next-step[data-done="true"] { background: var(--green-tint); border-color: var(--green-deep); box-shadow: 0 4px 0 var(--green-deep); }
.next-step__state { font-size: var(--text-sm); color: var(--ink-soft); }
.next-step[data-done="true"] .next-step__state { color: var(--green-deep); }
.story__done { margin-top: 1rem; font-weight: 700; color: var(--green-deep); min-height: 1.6em; }

/* Honest numbers */
.honest { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 1000px) { .honest { grid-template-columns: 0.9fr 1.1fr; } }
.honest h2 { margin: var(--space-4) 0; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
.honest .lead { margin-bottom: var(--space-5); }
.honest__links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.rate-chart { display: grid; gap: 1.5rem; }
.rate-row__label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; margin-bottom: 0.5rem; flex-wrap: wrap; }
.rate-row__label span:last-child { color: var(--ink-soft); }
.rate-track { position: relative; height: 40px; background: var(--cream); border-radius: var(--r-pill); }
.rate-bar { position: absolute; top: 0; bottom: 0; border-radius: var(--r-pill); }
.rate-bar--online { left: 18%; width: 16%; background: var(--cream-deep); border: 2px dashed var(--ink-soft); }
.rate-bar--math { left: 56%; width: 24%; background: var(--tangerine); box-shadow: 0 4px 0 var(--tangerine-deep); }
.rate-axis { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--ink-soft); font-weight: 600; margin-top: 0.25rem; }
.rate-note { font-size: var(--text-sm); color: var(--ink-soft); margin-top: 1.25rem; }

/* Prompts teaser */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-6); }
.chip-row .chip { text-decoration: none; }
.prompt-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.prompt-card { display: flex; flex-direction: column; gap: 0.75rem; }
.prompt-card__top { display: flex; justify-content: space-between; align-items: center; }
.prompt-card h3 { font-size: 1.2rem; }
.prompt-card p { color: var(--ink-soft); flex-grow: 1; }
.prompt-card .badge--ready { background: var(--green-tint); color: var(--green-deep); align-self: flex-start; }
.section-foot { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.section-foot small { color: var(--ink-soft); font-weight: 600; }

/* Field band */
.band {
  background: var(--green-tint);
  border-radius: var(--r-xl);
  padding: var(--space-8) 0;
  margin: var(--space-9) clamp(0.5rem, 2vw, 1.5rem) 0;
  position: relative;
  overflow: hidden;
}
.field__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1000px) { .field__grid { grid-template-columns: 0.85fr 1.15fr; } }
.field__art { background: var(--white); border-radius: var(--r-lg); box-shadow: 0 8px 0 var(--green-edge); padding: 2rem; display: grid; place-items: center; }
.field__art img { width: min(320px, 80%); }
.field h2 { margin: var(--space-4) 0 var(--space-6); }
.field__list { list-style: none; display: grid; gap: var(--space-4); }
.field__item { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border-radius: var(--r-md); box-shadow: 0 5px 0 var(--green-edge); padding: 1rem 1.2rem; }
.field__item strong { display: block; }
.field__item p { color: var(--ink-soft); font-size: var(--text-sm); }
.field__item .icon-tile { width: 48px; height: 48px; font-size: 1.3rem; }
.field__rule { margin-top: var(--space-5); font-weight: 600; }
.field__rule .script { font-size: 1.6rem; }

/* Guides */
.guide-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: 0.75rem; }
.guide-card h3 { font-size: 1.2rem; }
.guide-card .badge { align-self: flex-start; }
.guide-card p { color: var(--ink-soft); flex-grow: 1; }
.guide-card__links { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.75rem; border-top: 2px dashed var(--line); }
.guide-card__links a { font-weight: 700; text-decoration: none; }
.guide-card__links a:hover { text-decoration: underline; }
.badge--walk { background: var(--lemon-tint); }
.badge--scope { background: var(--green-tint); }
.badge--test { background: var(--tangerine-tint); }
.badge--win { background: var(--berry-tint); }

/* What's next */
.next-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.next-grid .chip { font-size: var(--text-base); padding: 0.65rem 1.2rem; }
.next__note { margin-top: var(--space-5); color: var(--ink-soft); max-width: 60ch; }

/* Final CTA */
.final {
  position: relative; overflow: hidden;
  background: var(--aqua-tint);
  border-radius: var(--r-xl);
  padding: var(--space-8) clamp(1.25rem, 5vw, 4rem);
  text-align: center;
}
.final::before, .final::after { content: ""; position: absolute; border-radius: 50%; }
.final::before { width: 180px; height: 180px; background: var(--lemon-tint); top: -70px; left: -60px; }
.final::after { width: 220px; height: 220px; background: var(--berry-tint); bottom: -110px; right: -70px; }
.final > * { position: relative; z-index: 1; }
.final h2 { margin-bottom: var(--space-4); }
.final__chant { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-6); }
.final__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: var(--space-5); }
.final small { color: var(--ink-soft); font-weight: 600; }

.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { text-decoration: underline; }
