/* ===== fonts ===== */
@font-face {
  font-family: 'Display';
  src: url('../fonts/display-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Body';
  src: url('../fonts/body-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Body';
  src: url('../fonts/body-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ===== tokens ===== */
:root {
  --navy: #1b1b3a;
  --purple: #5b4cf5;
  --cream: #fbf6e9;
  --yellow: #f7c948;
  --orange: #ff6a00;

  --ink: #1b1b3a;
  --ink-soft: rgba(27, 27, 58, 0.72);
  --ink-inv: #fbf6e9;
  --ink-inv-soft: rgba(251, 246, 233, 0.78);

  --line-dark: rgba(27, 27, 58, 0.12);
  --line-light: rgba(251, 246, 233, 0.22);
  --tint-purple: rgba(91, 76, 245, 0.12);
  --tint-yellow: rgba(247, 201, 72, 0.20);
  --shadow-soft: 0 1rem 2.25rem rgba(27, 27, 58, 0.10);
  --shadow-card: 0 1.25rem 2.75rem rgba(27, 27, 58, 0.16);

  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --pill: 62.5rem;
  --sweep: clamp(1.5rem, 5vw, 3rem);
  --sweep-lg: clamp(2rem, 8vw, 4.5rem);
  --sweep-xl: clamp(2.5rem, 11vw, 6rem);

  --font-display: 'Display', system-ui, sans-serif;
  --font-body: 'Body', system-ui, sans-serif;
  --focus: var(--purple);
}

/* ===== reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
img, svg { max-width: 100%; display: block; }
button, input, select { font: inherit; }

/* ===== base ===== */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--navy); }
a { color: inherit; }

/* ===== type ===== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.95; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.25rem, 6vw, 4.25rem); line-height: 0.98; letter-spacing: -0.03em; }
h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.sub { font-size: 1.125rem; max-width: 34rem; }
.body-lg { font-size: 1.1875rem; }
.small { font-size: 0.9375rem; }

/* ===== layout ===== */
.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }

.section--navy { background: var(--navy); color: var(--ink-inv); --focus: var(--yellow); }
.section--purple { background: var(--purple); color: var(--ink-inv); --focus: var(--yellow); }
.section--cream { background: var(--cream); color: var(--ink); --focus: var(--purple); }

/* ===== components ===== */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: 0;
  padding: 0.4375rem 0.9375rem;
  border-radius: var(--pill);
  background: var(--yellow);
  color: var(--navy);
}
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  background: var(--orange);
  color: var(--navy);
  text-decoration: none;
  padding: 0.9375rem 1.75rem;
  border-radius: var(--pill);
  white-space: nowrap;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn--small { padding: 0.5625rem 1.0625rem; font-size: 0.9375rem; }
.btn--big { font-size: clamp(1.25rem, 4vw, 1.75rem); padding: 1.125rem 2.5rem; }

.card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); }
.card--yellow { background: var(--yellow); }
.card--featured { border: 2px solid var(--purple); }

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink-inv);
}
.wordmark span { color: var(--orange); }

/* illustrations */
.illo { width: 100%; height: auto; }

/* ===== nav ===== */
.nav { background: var(--navy); color: var(--ink-inv); padding-block: 1rem; --focus: var(--yellow); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--ink-inv-soft); font-size: 0.9375rem; white-space: nowrap; }
.nav__links a:not(.btn):hover { color: var(--ink-inv); }

/* ===== hero ===== */
.hero {
  overflow: hidden;
  border-radius: var(--sweep) var(--sweep) var(--sweep-lg) var(--sweep-lg);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.hero .kicker { margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .sub { margin-bottom: 2rem; color: var(--ink-inv); }
.hero .illo { margin-top: clamp(2.25rem, 5vw, 3.5rem); max-width: 34rem; margin-inline: auto; }
.blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  display: block;
  background: var(--cream);
  opacity: 0.15;
  border-radius: 58% 42% 47% 53% / 52% 48% 52% 48%;
}
.blob--a { width: 24rem; height: 24rem; top: -7rem; left: -8rem; }
.blob--b { width: 17rem; height: 17rem; top: 24%; right: -6rem; background: var(--yellow); opacity: 0.24; border-radius: 46% 54% 60% 40% / 55% 45% 55% 45%; }
.blob--c { width: 13rem; height: 13rem; bottom: -4rem; left: 18%; opacity: 0.12; border-radius: 52% 48% 40% 60% / 45% 58% 42% 55%; }

/* ===== demo ===== */
.demo { display: grid; gap: 2.5rem; align-items: center; }
.thread { background: var(--cream); border-radius: var(--radius-lg); padding: 1.5rem; display: grid; gap: 0.625rem; box-shadow: var(--shadow-card); }
.thread__event, .thread__caption { font-size: 0.8125rem; color: var(--ink-soft); text-align: center; }
.msg { max-width: 85%; padding: 0.6875rem 0.9375rem; border-radius: 1.125rem; font-size: 0.9375rem; line-height: 1.45; }
.msg--ai { background: var(--purple); color: var(--ink-inv); justify-self: start; border-bottom-left-radius: 0.375rem; }
.msg--cust { background: var(--orange); color: var(--navy); justify-self: end; border-bottom-right-radius: 0.375rem; }
.demo__copy h2 { margin-bottom: 0.75rem; }
.demo__copy .sub { color: var(--ink-inv-soft); }
.demo__number { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; letter-spacing: -0.03em; margin-block: 1.25rem 0.25rem; }
.demo__number a { color: var(--yellow); text-decoration: none; }
.demo__always { color: var(--ink-inv-soft); margin-bottom: 1.5rem; }

/* ===== four things ===== */
#buying h2 { margin-bottom: clamp(2rem, 5vw, 3rem); max-width: 20ch; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-4 .card { --tilt: 0deg; transform: rotate(var(--tilt)); }

/* ===== how it works ===== */
#how { border-radius: var(--sweep-lg) var(--sweep-xl) var(--sweep-lg) var(--sweep-lg); }
#how h2 { margin-bottom: clamp(2rem, 5vw, 3rem); text-align: center; }
.steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; justify-items: center; text-align: center; gap: 0.125rem; }
.steps li .illo { order: -1; width: 100%; max-width: 9rem; margin-bottom: 1rem; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--purple);
}
.steps h3 { font-size: 1.5rem; margin-top: 0.375rem; }
.steps p { color: var(--ink-soft); margin-top: 0.25rem; }

/* ===== pricing ===== */
#pricing h2 { margin-bottom: clamp(2rem, 5vw, 3rem); }
.pricing { max-width: 44rem; }
.pricing__note { margin-top: 1.5rem; max-width: 44rem; opacity: 0.85; }
.pricing .kicker { background: var(--tint-purple); color: var(--navy); font-size: 0.875rem; margin-bottom: 0.75rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.75rem, 7vw, 3.75rem); line-height: 1; letter-spacing: -0.04em; color: var(--purple); margin-bottom: 1.25rem; }
.price span { font-size: 1.0625rem; letter-spacing: 0; color: var(--ink-soft); font-family: var(--font-body); font-weight: 500; }
.checklist { list-style: none; padding: 0; margin-bottom: 1.75rem; display: grid; gap: 0.625rem; }
.checklist li { padding-left: 1.75rem; position: relative; color: var(--ink-soft); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.4em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--tint-purple); }
.checklist li::after { content: ''; position: absolute; left: 0.3125rem; top: 0.75em; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--purple); }

/* ===== what's yours ===== */
#yours { overflow: hidden; border-radius: var(--sweep) var(--sweep) 0 0; padding-bottom: clamp(7rem, 22vw, 14rem); }
.yours__inner { position: relative; z-index: 1; }
#yours h2 { margin-bottom: 1.25rem; }
#yours .body-lg { color: var(--ink-inv); }
#yours .illo { margin-top: clamp(2rem, 5vw, 3rem); max-width: 22rem; }
.bleed-mark {
  position: absolute;
  left: 0;
  bottom: -0.12em;
  transform: none;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 30vw, 22rem);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: rgba(27, 27, 58, 0.48);
  pointer-events: none;
}

/* ===== faq ===== */
.section--faq, .section--book {
  background-color: var(--cream);
  background-image: linear-gradient(var(--tint-yellow), var(--tint-yellow));
}
.section--faq { border-radius: var(--sweep-xl) var(--sweep-lg) 0 0; margin-top: 0; z-index: 1; }
.section--faq { background-image: linear-gradient(rgba(247, 201, 72, 0.38), rgba(247, 201, 72, 0.38)); }
#faq h2 { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
#faq details {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.125rem 1.25rem;
  margin-bottom: 0.75rem;
}
#faq details[open] { background-color: var(--yellow); }
#faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 2.25rem;
  border-radius: 0.5rem;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -0.15em;
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
}
#faq details[open] summary::after { content: '\2013'; }
#faq details p { color: var(--ink-soft); padding-top: 0.625rem; max-width: 38rem; }
#faq details[open] p { color: rgba(27, 27, 58, 0.82); }

/* ===== book a call ===== */
.section--book { border-radius: 0 0 var(--sweep-lg) var(--sweep-lg); margin-top: -1px; padding-top: calc(clamp(2rem, 5vw, 3rem) + 1px); text-align: center; }
.section--book .container--narrow { display: grid; justify-items: center; }
#book .illo { max-width: 14rem; margin-inline: auto; margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
#book h2 { margin-bottom: 0.75rem; }
#book .sub { margin-bottom: 2rem; }
.calendar-slot { margin-bottom: 1.25rem; }
#book .small { color: var(--ink-soft); }

/* ===== footer ===== */
.footer { background: var(--navy); color: var(--ink-inv); padding-block: 2.5rem; --focus: var(--yellow); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.footer a:not(.wordmark) { color: var(--ink-inv-soft); text-decoration: none; font-size: 0.9375rem; }
.footer a:not(.wordmark):hover { color: var(--ink-inv); }
.footer nav { display: flex; gap: 1.25rem; }
.footer__addr { color: var(--ink-inv-soft); font-size: 0.9375rem; }
.footer__credit { margin-left: auto; }

/* ===== motion helpers ===== */
.blob { will-change: transform; }
[data-reveal] { will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .blob { will-change: auto; }
}

/* ===== focus ===== */
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.375rem;
}

/* ===== media queries ===== */
@media (min-width: 30rem) {
  .steps li .illo { max-width: 10rem; }
}
@media (min-width: 48rem) {
  .demo { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-4 .card:nth-child(1) { --tilt: -2deg; }
  .grid-4 .card:nth-child(2) { --tilt: 1deg; }
  .grid-4 .card:nth-child(3) { --tilt: -1deg; }
  .grid-4 .card:nth-child(4) { --tilt: 2deg; }
  .card { padding: 2rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  #yours .illo { justify-self: end; }
  .card--featured { box-shadow: 0 1.5rem 3.5rem rgba(27, 27, 58, 0.28); transform: translateY(-0.75rem); }
  .grid-4 .card { min-height: 15rem; display: flex; flex-direction: column; justify-content: flex-end; }
}
@media (min-width: 64rem) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 2.25rem; }
  .hero .sub { font-size: 1.25rem; max-width: 38rem; }
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    text-align: left;
    justify-items: start;
    column-gap: 2rem;
  }
  .hero .illo { max-width: 32rem; margin-top: 0; justify-self: end; }
  .brk { display: none; }
}
@media (max-width: 21rem) {
  .nav__links { gap: 0.625rem; }
  .nav__links a:not(.btn) { font-size: 0.8125rem; }
  .nav__links .btn { padding: 0.5rem 0.8125rem; font-size: 0.875rem; }
}

/* ===== legal pages ===== */
.page-legal { background: var(--cream); color: var(--ink); }
.legal h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-bottom: 1.5rem; }
.legal p { margin-bottom: 1.125rem; color: var(--ink-soft); max-width: 40rem; }
.legal a { color: var(--purple); }
