/* Components: header, buttons, hero, phone chat, dashboard, story, cards, CTA, footer. */

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: inherit;
}
.logo__mark { width: 2.35rem; height: 1.9rem; flex: none; }
.logo__text span { font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0.75rem 0 auto 0;
  z-index: 50;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a:not(.btn) {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:not(.btn):hover { color: var(--text); background: var(--grey); }
.nav .btn { margin-left: 0.5rem; }
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { margin: auto; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-card);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 0.8rem 0.9rem; }
  .nav .btn { margin: 0.5rem 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn__arrow { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { padding: 0.7rem 1rem; font-size: 0.9375rem; }

.btn--primary { background: var(--coral); color: var(--black); }
.btn--primary:hover { background: var(--coral-dark); }

.btn--dark { background: var(--black); color: var(--cream); }

.btn--outline { color: var(--black); border-color: var(--line-strong); background: transparent; }
.btn--outline:hover { background: var(--white); border-color: var(--black); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Hero ---------- */
.hero {
  overflow: hidden;
  padding-top: clamp(7rem, 12vw, 8.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.hero__grid { display: grid; gap: clamp(3rem, 7vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero__copy { display: grid; justify-items: start; gap: 1.4rem; text-align: left; }
.pill {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2.2s infinite;
}
.hero__visual { display: grid; justify-items: center; gap: 1rem; }
.hero__note { font-size: var(--fs-small); color: var(--text-muted); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--coral-pulse); }
  70%, 100% { box-shadow: 0 0 0 10px transparent; }
}

/* ---------- Phone ---------- */
.phone {
  position: relative;
  width: min(19rem, 82vw);
  aspect-ratio: 9 / 19;
  padding: 0.55rem;
  border-radius: 3.1rem;
  background: var(--black);
  box-shadow: 0 0 0 1px var(--phone-edge), var(--shadow-phone);
  transition: transform 1.6s var(--ease-rise);
}
.js .phone { transform: translateY(calc(100% + 8rem)) rotate(3deg); }
.js .phone.is-in { transform: none; }
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 2.6rem;
  background: var(--off-white);
  font-size: 0.8125rem;
  line-height: 1.42;
  color: var(--text);
}
.phone__island {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  z-index: 3;
  width: 5.2rem;
  height: 1.5rem;
  margin-left: -2.6rem;
  border-radius: 999px;
  background: var(--black);
}
.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  height: 2.65rem;
  padding: 0.35rem 1.55rem 0;
  font-size: 0.75rem;
  font-weight: 700;
}
.phone__status svg { width: 1.5rem; height: 0.7rem; }
.phone__home {
  flex: none;
  width: 6.5rem;
  height: 4px;
  margin: 0.15rem auto 0.45rem;
  border-radius: 999px;
  background: var(--black);
}

/* ---------- Chat ---------- */
.chat__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: none;
  padding: 0.35rem 1rem 0.6rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500;
}
.chat__head svg { width: 1.25rem; height: 1rem; }
.chat__thread { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.chat__inner {
  display: grid;
  gap: 1rem;
  padding: 0.9rem 0.85rem 0.75rem;
  transition: transform 0.75s var(--ease), opacity 0.5s ease;
}
.chat__hello {
  position: absolute;
  inset: 0;
  display: none;
  place-content: center;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}
.chat--live .chat__hello { display: grid; }
.chat__hello.is-gone { opacity: 0; transform: translateY(-12px); }

.exchange { display: grid; gap: 0.6rem; }
.msg-user {
  justify-self: end;
  max-width: 84%;
  padding: 0.5rem 0.8rem;
  border-radius: 1.1rem 1.1rem 0.3rem 1.1rem;
  background: var(--grey);
  font-weight: 600;
  transform-origin: 100% 100%;
}
.msg-ai { display: grid; gap: 0.55rem; }
.msg-ai__text .w { display: inline-block; }

.thinking { display: flex; gap: 0.3rem; padding: 0.35rem 0.1rem; }
.thinking i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--coral);
  animation: think 1.1s ease-in-out infinite;
}
.thinking i:nth-child(2) { animation-delay: 0.15s; }
.thinking i:nth-child(3) { animation-delay: 0.3s; }

.viz {
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--white);
  transform-origin: 20% 0%;
}
.viz__label { font-size: 0.6875rem; font-weight: 700; color: var(--text-muted); }
.viz__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.viz__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.viz__delta {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--coral-tint);
  color: var(--rust);
  font-size: 0.6875rem;
  font-weight: 700;
}
.viz-line { width: 100%; height: auto; margin-top: 0.4rem; overflow: visible; }
.viz-line__area { fill: var(--coral-wash); }
.viz-line__stroke { fill: none; stroke: var(--coral-dark); stroke-width: 3; stroke-linecap: round; }
.viz-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  align-items: end;
  height: 5rem;
  margin-top: 0.5rem;
}
.viz-bars div { display: grid; align-items: end; height: 100%; grid-template-rows: 1fr auto; gap: 0.2rem; text-align: center; font-size: 0.6875rem; font-weight: 700; color: var(--text-muted); }
.viz-bars i { align-self: end; height: var(--h); border-radius: 0.3rem; background: var(--coral-tint); transform-origin: 50% 100%; }
.viz-bars .is-peak i { background: var(--coral); }
.viz-rows { display: grid; gap: 0.45rem; margin-top: 0.5rem; }
.viz-rows li { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.viz-rows span:last-child { margin-left: auto; font-size: 0.6875rem; font-weight: 700; color: var(--text-muted); }
.avatar {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--black);
  color: var(--cream);
  font-size: 0.6875rem;
  font-weight: 700;
}

.composer {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  flex: none;
  min-height: 2.6rem;
  margin: 0.3rem 0.6rem 0.4rem;
  padding: 0.32rem 0.32rem 0.32rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--white);
}
.composer__text { flex: 1; min-width: 0; align-self: center; padding-block: 0.1rem; }
.composer__text.is-empty { color: var(--text-muted); }
.composer__caret {
  display: inline-block;
  width: 1.5px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--red);
  animation: blink 1s steps(2, jump-none) infinite;
}
.composer__send {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--grey);
  color: var(--text-muted);
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-spring);
}
.composer__send svg { width: 0.9rem; height: 0.9rem; }
.composer__send.is-ready { background: var(--coral); color: var(--black); }
.composer__send.is-pressed { transform: scale(0.82); }

/* These only run once JavaScript has taken over the chat. */
.chat--live .enter-user { animation: user-in 0.6s var(--ease-spring) both; }
.chat--live .enter-fade { animation: fade-in 0.35s ease both; }
.chat--live .msg-ai__text .w { animation: word-in 0.45s var(--ease) both; animation-delay: calc(var(--i) * 42ms); }
.chat--live .enter-viz { animation: viz-in 0.8s var(--ease-spring) both; }
.chat--live .enter-viz .viz-line__stroke { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s ease 0.25s forwards; }
.chat--live .enter-viz .viz-line__area { animation: fade-in 0.9s ease 0.9s both; }
.chat--live .enter-viz .viz-bars i { animation: bar-up 0.8s var(--ease-rise) both; animation-delay: calc(var(--i) * 70ms + 0.15s); }
.chat--live .enter-viz .viz-rows li { animation: row-in 0.55s var(--ease) both; animation-delay: calc(var(--i) * 130ms + 0.2s); }

@keyframes user-in { from { opacity: 0; transform: translateY(14px) scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes viz-in { from { opacity: 0; transform: translateY(18px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes bar-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes row-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes think { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes blink { from { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .js .phone { transform: none; }
}

/* ---------- Laptop illustration ---------- */
.laptop { width: 100%; max-width: 52rem; margin-inline: auto; }
.laptop__lid {
  position: relative;
  margin-inline: 6%;
  padding: 2.6% 2.4% 2.4%;
  border-radius: 1.1rem 1.1rem 0.35rem 0.35rem;
  background: var(--laptop-bezel);
  box-shadow: 0 0 0 2px var(--laptop-edge);
}
.laptop__lid::before {
  content: "";
  position: absolute;
  top: 1%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--phone-edge);
}
.laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.3rem;
  background: var(--off-white);
}
.laptop__base {
  position: relative;
  height: clamp(0.75rem, 1.8vw, 1.1rem);
  border-radius: 0.2rem 0.2rem 1.4rem 1.4rem / 0.2rem 0.2rem 1rem 1rem;
  background: var(--laptop-shell);
  box-shadow: inset 0 -3px 0 var(--laptop-edge), var(--shadow-laptop);
}
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 15%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 0 0 0.5rem 0.5rem;
  background: var(--laptop-edge);
}
.laptop__caption { margin-top: 1.4rem; text-align: center; font-size: var(--fs-small); color: var(--text-muted); }

/* ---------- Dashboard portal (drawn at 900 x 563, scaled to the screen by main.js) ---------- */
.portal {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  width: 900px;
  height: 563px;
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
}
html:not(.js) .laptop__screen { aspect-ratio: auto; }
html:not(.js) .portal { position: static; width: 100%; height: auto; transform: none; grid-template-columns: 1fr; }
html:not(.js) .portal__side { display: none; }

.portal__side {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 22px 14px 18px;
  background: var(--black);
  color: var(--text-on-dark-muted);
}
.portal__brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--font-display); font-size: 14px; font-weight: 700; line-height: 1.15; }
.portal__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--coral);
  color: var(--black);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.portal__nav { display: grid; gap: 4px; }
.portal__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.portal__link svg { width: 16px; height: 16px; flex: none; }
.portal__link.is-current { background: var(--coral); color: var(--black); }
.portal__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 0 6px; font-size: 11.5px; }
.portal__foot svg { width: 26px; height: 21px; flex: none; }

.portal__main { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 16px; min-width: 0; padding: 22px 24px; }
.portal__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portal__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.portal__sub { margin-top: 3px; font-size: 12.5px; color: var(--text-muted); }
.portal__tools { display: flex; align-items: center; gap: 8px; }
.portal__chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.dash__tag {
  flex: none;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--black);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
}
.portal__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
html:not(.js) .portal__grid { grid-template-rows: none; }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), filter 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.card--money, .card--week { grid-column: span 7; }
.card--members, .card--times { grid-column: span 5; }
.card__label { font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.card__value { margin-top: 2px; font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.card__delta {
  align-self: flex-start;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--coral-tint);
  color: var(--rust);
  font-size: 11.5px;
  font-weight: 700;
}
.chart { flex: 1; width: 100%; min-height: 0; margin-top: 10px; overflow: visible; }
.chart__line { fill: none; stroke: var(--coral-dark); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__area { fill: var(--coral-wash); }
.members { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.members__note { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.ring { width: 92px; height: 92px; flex: none; }
.ring__track { fill: none; stroke: var(--coral-tint); stroke-width: 7; }
.ring__value { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.ring__text { font-family: var(--font-display); font-weight: 700; font-size: 13px; fill: var(--text); }
.heat {
  display: grid;
  grid-template-columns: auto repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
  margin-block: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.heat i { height: 30px; border-radius: 6px; background: color-mix(in srgb, var(--coral-dark) calc(var(--v) * 100%), var(--coral-wash)); }
.heat b { text-align: center; font-weight: 700; }
.todo { display: grid; gap: 14px; margin-block: auto; font-size: 14px; font-weight: 600; }
.todo li { display: flex; gap: 10px; align-items: flex-start; }
.todo li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- Scrolling story ---------- */
.section-head { display: grid; justify-items: start; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.story { display: grid; gap: 1.5rem; }
.story__visual { margin: 0 0 1rem; }
.step { display: grid; gap: 0.8rem; align-content: center; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.step p { color: var(--text-muted); max-width: 30rem; }
.step__num {
  justify-self: start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); }
  .story__visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky;
    top: 5.5rem;
    align-self: start;
    height: calc(100vh - 6.5rem);
    margin: 0;
    order: 2;
  }
  .step { min-height: 70vh; padding-block: 0; border-top: 0; }
  .js .step { opacity: 0.3; transition: opacity 0.5s var(--ease); }
  .js .step.is-active { opacity: 1; }
  .card.is-dim { opacity: 0.2; transform: scale(0.97); filter: saturate(0.2); }
  .card.is-focus { transform: scale(1.035); box-shadow: 0 0 0 2px var(--coral), var(--shadow-card); }
}

/* ---------- How it works ---------- */
.how { display: grid; gap: 1rem; }
.how-card {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.how-card:hover { transform: translateY(-6px); border-color: var(--coral); }
.how-card__num { font-family: var(--font-display); font-size: 3.25rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.how-card p { color: var(--text-muted); }

/* Each card shares the same three rows, so the text under every heading lines up. */
@media (min-width: 820px) {
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); row-gap: 0; }
  .how-card { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.9rem; }
}

/* Numbered pointers under the cards */
.points {
  display: grid;
  gap: 2rem 2.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.point {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding-top: 1.4rem;
  border-top: 2px solid var(--black);
}
.point h3 { font-size: 1.25rem; }
.point p { color: var(--text-muted); }
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .points { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); row-gap: 0; }
  .point { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.7rem; }
}

/* ---------- Who it's for ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split__copy { display: grid; gap: 1.2rem; justify-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
}
.questions { display: grid; gap: 0.75rem; }
.questions li {
  max-width: 26rem;
  padding: 1rem 1.25rem;
  border-radius: 20px 20px 20px 6px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
}
.questions li:nth-child(even) {
  justify-self: end;
  border-radius: 20px 20px 6px 20px;
  background: var(--black);
  color: var(--cream);
}

/* ---------- Call to action ---------- */
.cta-wrap { padding-block: var(--section); }
.cta {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--coral);
  color: var(--black);
  text-align: center;
}
.cta__lead { max-width: 32rem; font-size: 1.125rem; font-weight: 600; text-wrap: balance; }
.cta .btn-row { justify-content: center; }
.cta-steps {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: 54rem;
  margin-block: 1.25rem 1rem;
}
.cta-step { position: relative; display: grid; align-content: start; justify-items: center; gap: 0.35rem; }
.cta-step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.8rem;
  border-radius: 1.15rem;
  background: var(--white);
  color: var(--black);
}
.cta-step__icon svg { width: 1.75rem; height: 1.75rem; }
.cta-step__kicker { font-family: var(--font-display); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.cta-step h3 { font-size: 1.375rem; }
.cta-step p { max-width: 16rem; font-size: 0.9375rem; font-weight: 600; }
@media (min-width: 720px) {
  .cta-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.25rem;
    left: calc(50% + 2.25rem);
    width: calc(100% + 2rem - 4.5rem);
    height: 2px;
    background: var(--line-on-coral);
  }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 3rem; background: var(--black); color: var(--text-on-dark-muted); font-size: 0.9375rem; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-on-dark); color: var(--cream); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer__links a { text-decoration: none; font-weight: 600; }
.site-footer__links a:hover { color: var(--coral); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.5rem; }
