/* Clearday launch site. Palette and type from docs/site/BRIEF.md. */

:root {
  --bg: #f6f7f5;
  --bg-glow: #e6f0eb;
  --surface: #ffffff;
  --surface-muted: #f0f2ef;
  --text: #1b2420;
  --text-muted: #5d6963;
  --border: #e2e6e3;
  --border-strong: #c9d0cc;
  --accent: #2f6f5e;
  --accent-hover: #255a4c;
  --accent-soft: #e3efea;
  --on-accent: #ffffff;
  --snowball: #3b6fd8;
  --snowball-soft: #eaf0fc;
  --avalanche: #c4571f;
  --avalanche-soft: #fcefe7;
  --success: #2e7d4f;
  --ink-deep: #14302a;
  --on-ink-deep: #eef5f1;

  --font-display:
    "Newsreader", "Iowan Old Style", "Palatino Linotype", Charter, Georgia,
    serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(4rem, 3rem + 6vw, 8rem);
  --shadow-card:
    0 1px 2px rgb(20 48 42 / 0.06), 0 24px 48px -16px rgb(20 48 42 / 0.18);
  --shadow-frame:
    0 1px 2px rgb(20 48 42 / 0.06), 0 40px 80px -24px rgb(20 48 42 / 0.25);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1412;
    --bg-glow: #15231d;
    --surface: #171d1a;
    --surface-muted: #1d2420;
    --text: #e7ece9;
    --text-muted: #9aa6a0;
    --border: #2a332f;
    --border-strong: #3b4641;
    --accent: #6cc3a6;
    --accent-hover: #86d2b8;
    --accent-soft: #1d332b;
    --on-accent: #0f1412;
    --snowball: #7aa2f7;
    --snowball-soft: #1b2436;
    --avalanche: #f2955e;
    --avalanche-soft: #2f2119;
    --success: #5cc58a;
    --ink-deep: #0b1f19;
    --on-ink-deep: #e7ece9;
    --shadow-card:
      0 1px 2px rgb(0 0 0 / 0.3), 0 24px 48px -16px rgb(0 0 0 / 0.55);
    --shadow-frame:
      0 1px 2px rgb(0 0 0 / 0.3), 0 40px 80px -24px rgb(0 0 0 / 0.6);
  }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.eyebrow {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.lede {
  margin-top: 1.25rem;
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

.section {
  padding-block: calc(var(--section-pad) * 0.6);
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-inline: 1rem;
  border-radius: 0.625rem;
  background-color: var(--accent);
  color: var(--on-accent);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease);
}

.btn:hover {
  background-color: var(--accent-hover);
}

.btn:active,
.text-link:active,
.site-nav__link:active,
.frame__open:active,
.site-footer__links a:active,
.logo:active {
  transform: translateY(1px) scale(0.98);
}

.btn--large {
  height: 3.25rem;
  padding-inline: 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn__arrow {
  width: 16px;
  height: 16px;
  transition: transform 200ms var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.text-link,
.site-nav__link,
.frame__open,
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: transform 160ms var(--ease);
}

.text-link:hover,
.site-nav__link:hover,
.frame__open:hover,
.site-footer__links a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms var(--ease);
}

.logo__mark {
  flex: none;
  width: 28px;
  height: 28px;
}

.logo__mark--small {
  width: 22px;
  height: 22px;
}

.logo__word {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* 0. Header */

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 16px;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 4rem;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 200ms ease;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .site-header::before {
    transition: none;
    animation: header-solid linear both;
    animation-timeline: scroll();
    animation-range: 0 4rem;
  }
}

@keyframes header-solid {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__link {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 639px) {
  .site-nav__link {
    display: none;
  }
}

/* 1. Hero */

.hero {
  position: relative;
  margin-top: -4rem;
  padding-top: 4rem;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse 60% 55% at 65% 30%,
    var(--bg-glow),
    transparent 75%
  );
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) calc(var(--section-pad) * 0.6);
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: clamp(2.5rem, 4vw, 4.5rem);
    min-height: min(88vh, 52rem);
  }
}

.hero__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.hero__sub {
  max-width: 34ch;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero__figure {
  min-width: 0;
}

.chart-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.chart-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.legend {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legend__item::before {
  content: "";
  width: 1.25rem;
  border-top: 3px solid var(--snowball);
  border-radius: 2px;
}

.legend__item--avalanche::before {
  border-top: 3px dashed var(--avalanche);
}

.chart {
  position: relative;
  margin-top: 1rem;
}

.chart__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart__grid line {
  stroke: var(--border);
  stroke-width: 1;
}

.chart__line {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart__line--snowball {
  stroke: var(--snowball);
  stroke-width: 7;
}

.chart__line--avalanche {
  stroke: var(--avalanche);
  stroke-width: 3;
  stroke-dasharray: 8 6;
}

.chart__marker--snowball circle {
  fill: var(--snowball);
}

.chart__marker--avalanche circle {
  fill: var(--avalanche);
}

.chart__marker circle,
.chart__end-dot {
  stroke: var(--surface);
  stroke-width: 2;
}

.chart__marker,
.chart__pulse {
  transform-box: fill-box;
  transform-origin: center;
}

.chart__end-dot,
.chart__pulse {
  fill: var(--accent);
}

.chart__pulse {
  opacity: 0;
  stroke: none;
}

.chart__labels {
  position: absolute;
  inset: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  pointer-events: none;
}

.chart__y {
  position: absolute;
  top: var(--y);
  right: 85%;
  transform: translateY(-50%);
}

.chart__x {
  position: absolute;
  top: 92%;
  left: var(--x);
  white-space: nowrap;
  transform: translateX(-50%);
}

.chart__x--last {
  left: auto;
  right: 0;
  transform: none;
}

.pill {
  position: absolute;
  top: var(--y);
  left: var(--x);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--snowball);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  white-space: nowrap;
}

.pill--avalanche {
  border-color: var(--avalanche);
}

.pill--loan {
  transform: translate(8px, calc(-100% - 8px));
}

.pill--card {
  transform: translate(calc(-100% - 10px), 2px);
}

.pill--end {
  left: auto;
  right: 0;
  transform: translateY(calc(-100% - 14px));
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.stat {
  position: relative;
  padding-top: 0.75rem;
  border-top: 4px solid var(--snowball);
}

.stat--avalanche {
  border-top-color: var(--avalanche);
}

.stat + .stat::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0.75rem;
  width: 1px;
  background: var(--border);
}

.stat__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--success);
  border-radius: 999px;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.stat__big {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.stat__small {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.verdict-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.625rem 1rem 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.verdict-chip__icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--success);
}

@media (min-width: 960px) {
  .chart-card {
    padding-bottom: 2.75rem;
  }

  .verdict-chip {
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    margin: 0;
  }

  .hero__caption {
    margin-top: 2rem;
  }
}

.hero__caption {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

@media (max-width: 639px) {
  .chart-card {
    padding: 1rem;
  }

  /* The chart scales down to about half size, so keep the strokes legible. */
  .chart__line--snowball {
    stroke-width: 9;
  }

  .chart__line--avalanche {
    stroke-width: 4.5;
    stroke-dasharray: 12 9;
  }

  .chart__labels {
    font-size: 11px;
  }

  .pill {
    padding: 0.125rem 0.375rem;
  }
}

/* 2. The question */

.question__intro {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.defs {
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
  margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0;
}

@media (min-width: 640px) {
  .defs {
    grid-template-columns: 1fr 1fr;
  }
}

.def {
  padding: 1.5rem;
  border-top: 4px solid var(--snowball);
  border-radius: 1rem;
  background: var(--snowball-soft);
}

.def--avalanche {
  border-top-color: var(--avalanche);
  background: var(--avalanche-soft);
}

.def__icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--snowball);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.def--avalanche .def__icon {
  stroke: var(--avalanche);
}

.def__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.def p {
  margin-top: 0.375rem;
}

/* 3. How it works */

.steps {
  position: relative;
}

.steps__list {
  display: grid;
  gap: 2.5rem;
}

.steps__line {
  position: absolute;
  top: 3rem;
  bottom: 2rem;
  left: 1.5rem;
  width: 1px;
  background: var(--border-strong);
  transform-origin: top;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}

.step__num {
  position: relative;
  z-index: 1;
  align-self: start;
  padding-block: 0.25rem;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.step__body {
  min-width: 0;
  padding-top: 0.5rem;
}

.step__title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.step__text {
  margin-top: 0.375rem;
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .steps__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps__line {
    top: 1.75rem;
    bottom: auto;
    left: 2.5rem;
    right: calc((100% - 4rem) / 3);
    width: auto;
    height: 1px;
    transform-origin: left;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step__num {
    justify-self: start;
    padding-inline: 0 1rem;
    text-align: left;
  }

  .step__body {
    padding-top: 1rem;
  }
}

.vignette {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(20 48 42 / 0.05);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.vrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  background: var(--surface-muted);
  color: var(--text-muted);
}

.vrow strong {
  color: var(--text);
  font-weight: 600;
}

.vbtn {
  justify-self: start;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.vlabel {
  color: var(--text-muted);
  font-weight: 600;
}

.vfield {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--accent);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
  font-size: 1rem;
}

.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--text);
}

.vtotal {
  color: var(--text-muted);
}

.vtotal strong {
  color: var(--text);
}

.vverdict {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.vverdict__icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--success);
}

/* 4. Features */

.feature-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature--wide {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
  }

  .feature--wide {
    grid-row: span 2;
  }
}

.feature--wide {
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 640px) {
  .feature--wide {
    grid-template-columns: 1fr 1fr;
  }
}

.well {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  transition:
    background-color 200ms ease,
    opacity 400ms var(--ease),
    transform 400ms var(--ease);
  transition-delay: 0ms, var(--d, 0ms), var(--d, 0ms);
}

.well svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .feature:hover .well {
    background-color: color-mix(in srgb, var(--accent-soft), var(--accent) 16%);
  }
}

.feature__title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.feature__text {
  margin-top: 0.375rem;
  color: var(--text-muted);
}

.tickets {
  display: grid;
  gap: 0;
  padding-block: 1rem;
}

@media (min-width: 960px) {
  .feature--wide {
    align-items: start;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .tickets {
    padding-top: 0.25rem;
  }
}

.ticket {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--snowball);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .ticket {
    white-space: nowrap;
  }
}

.ticket--avalanche {
  position: relative;
  margin: -0.5rem 0 0 1.5rem;
  border-left-color: var(--avalanche);
}

.ticket--snowball {
  margin-right: 1.5rem;
}

/* 5. Live embed */

.embed__lede {
  max-width: 44ch;
  margin-inline: auto;
}

.embed__stage {
  perspective: 1600px;
}

.frame {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-frame);
  transform-origin: 50% 0;
}

.frame__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 2.5rem;
  padding-inline: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.frame__dots {
  display: flex;
  gap: 6px;
}

.frame__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.frame__address {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.frame__lock {
  width: 12px;
  height: 12px;
}

.frame__open {
  justify-self: end;
  min-height: 2.5rem;
  font-size: 0.8125rem;
}

.frame__iframe {
  display: block;
  width: 100%;
  height: clamp(46rem, 92vh, 58rem);
  border: 0;
  background: var(--bg);
}

.embed__phone-cta {
  display: none;
}

.embed__note {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-align: center;
}

@media (max-width: 639px) {
  .embed__wrap {
    padding-inline: 0.75rem;
  }

  .embed .section__head {
    padding-inline: 0.5rem;
  }

  .frame {
    border-radius: 0.75rem;
  }

  .frame__bar {
    display: flex;
    justify-content: flex-end;
    min-height: 2.75rem;
  }

  .frame__dots,
  .frame__address {
    display: none;
  }

  .frame__open {
    min-height: 44px;
  }

  .frame__iframe {
    height: 36rem;
  }

  .embed__phone-cta {
    display: flex;
    margin-top: 1rem;
  }
}

/* 6. Private by design */

.privacy {
  padding-top: 0;
}

.claims {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--surface-muted);
}

@media (min-width: 960px) {
  .claims {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.claim {
  display: flex;
  gap: 0.75rem;
  color: var(--text-muted);
}

.claim strong {
  color: var(--text);
  font-weight: 600;
}

.claim__icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 7. Closing call to action */

.closing {
  position: relative;
  overflow: hidden;
  margin-inline: clamp(1rem, 3vw, 2rem);
  padding: var(--section-pad) 1.5rem;
  border-radius: 1.5rem;
  background: var(--ink-deep);
  color: var(--on-ink-deep);
  text-align: center;
  isolation: isolate;
}

.closing :focus-visible {
  outline-color: #86d2b8;
}

.closing__stairs {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.08;
}

.closing__stairs polyline {
  stroke: var(--on-ink-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.closing__inner {
  max-width: 72rem;
  margin-inline: auto;
}

.closing__mark {
  --mark-bg: #6cc3a6;
  --mark-fg: var(--ink-deep);
  width: 56px;
  height: 56px;
}

.closing__title {
  max-width: 18ch;
  margin: 1.5rem auto 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.closing__title em {
  color: #86d2b8;
}

.closing__line {
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  opacity: 0.85;
}

.btn--light {
  margin-top: 2rem;
  background-color: #6cc3a6;
  color: #0f1412;
}

.btn--light:hover {
  background-color: #86d2b8;
}

/* 8. Footer */

.site-footer {
  padding-block: 3rem;
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.site-footer__name {
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__credit {
  flex-basis: 100%;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Motion. Content is visible by default; it only animates when main.js has
   added .js and the visitor allows motion. */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero load sequence */
  .js .hero__in {
    animation: rise 420ms var(--ease) both;
    animation-delay: var(--d, 0ms);
  }

  .js .chart-card {
    animation: fade 420ms var(--ease) 300ms both;
  }

  .js .chart__line--snowball {
    stroke-dasharray: 1;
    animation: draw 1400ms cubic-bezier(0.45, 0, 0.25, 1) 350ms both;
  }

  .js .chart__reveal {
    stroke-dasharray: 1;
    animation: draw 1400ms cubic-bezier(0.45, 0, 0.25, 1) 500ms both;
  }

  .js .chart__marker,
  .js .pill {
    animation: pop 200ms var(--ease) both;
    animation-delay: var(--t);
  }

  .js .chart__end-dot {
    animation: fade 200ms ease 1750ms both;
  }

  .js .chart__pulse {
    animation: pulse 2.4s ease-out 1.9s infinite;
  }

  .js .verdict-chip {
    animation: rise 420ms var(--ease) 1900ms both;
  }

  .js .caret {
    animation: blink 1.1s steps(1) infinite;
  }

  /* Viewport reveals */
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 600ms var(--ease),
      transform 600ms var(--ease);
    transition-delay: var(--d, 0ms);
  }

  .js .reveal--frame {
    transform: translateY(24px);
    transition-duration: 500ms;
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .js .steps .step {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 500ms var(--ease),
      transform 500ms var(--ease);
    transition-delay: calc(var(--d) + 200ms);
  }

  .js .steps .steps__line {
    transform: scaleY(0);
    transition: transform 700ms var(--ease);
  }

  .js .steps.is-in .step {
    opacity: 1;
    transform: none;
  }

  .js .steps.is-in .steps__line {
    transform: none;
  }

  .js .feature-grid .well {
    opacity: 0;
    transform: scale(0.9);
  }

  .js .feature-grid.is-in .well {
    opacity: 1;
    transform: none;
  }

  .js .closing__stairs polyline {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1200ms cubic-bezier(0.45, 0, 0.25, 1);
  }

  .js .closing.is-in .closing__stairs polyline {
    stroke-dashoffset: 0;
  }

  /* The page's one scroll-linked flourish */
  @supports (animation-timeline: view()) {
    .frame {
      animation: tilt linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
  .js .steps .steps__line {
    transform: scaleX(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    scale: 0.6;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes pulse {
  from {
    opacity: 0.35;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes tilt {
  from {
    transform: rotateX(8deg);
  }
  to {
    transform: none;
  }
}
