/* Landing page: marketing shell built on tokens.css */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-sm);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.site-nav__links {
  display: flex;
  gap: var(--space-md);
}
.site-nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-sm);
  color: var(--text-soft);
}
.site-nav__links a:hover { color: var(--plum); }

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

/* ---- Hero ---- */
.hero {
  background: var(--gradient-hero);
  padding-block: var(--space-2xl) var(--space-xl);
  overflow: clip;
}
.hero .wrap {
  display: grid;
  gap: var(--space-xl);
}
.hero__copy { max-width: 34rem; }
.hero__eyebrow { margin-bottom: var(--space-sm); }
.hero h1 {
  font-size: var(--step-3xl);
  margin-bottom: var(--space-md);
}
.hero h1 em {
  font-style: italic;
  color: var(--berry-deep);
}
.hero__lede {
  font-size: var(--step-lg);
  color: var(--text-soft);
  max-width: 32rem;
  margin-bottom: var(--space-lg);
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.hero__actions a.link-quiet {
  font-weight: 700;
  font-size: var(--step-sm);
  text-decoration: none;
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
  padding: var(--space-lg) var(--space-md) var(--space-md);
}
.hero__visual-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-data);
  font-size: var(--step-xs);
  color: var(--text-faint);
  margin-bottom: var(--space-sm);
}
.hero__visual-labels strong {
  color: var(--ink);
  font-weight: 700;
}
.hero__visual svg { width: 100%; height: auto; }
.hero__visual-callout {
  position: absolute;
  right: var(--space-md);
  top: var(--space-lg);
  background: var(--gradient-brand);
  color: var(--text-on-brand);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-data);
  font-size: var(--step-xs);
  font-weight: 700;
  box-shadow: var(--shadow-pop);
  transform: rotate(-2deg);
}

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ---- Section scaffolding ---- */
.section { padding-block: var(--space-2xl); }
.section-head {
  max-width: 34rem;
  margin-bottom: var(--space-xl);
}
.section-head h2 { font-size: var(--step-2xl); margin-top: var(--space-sm); }
#how-it-works .section-head { max-width: none; }
#how-it-works .section-head h2 { white-space: nowrap; font-size: clamp(1.1rem, 8.61vw - 4.13px, 3rem); }
.section-head p { color: var(--text-soft); font-size: var(--step-md); margin-top: var(--space-sm); }
.section--tint { background: var(--paper-dim); }

/* ---- How it works ---- */
.steps {
  display: grid;
  gap: var(--space-lg);
  counter-reset: step;
}
@media (min-width: 780px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding-top: var(--space-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-data);
  font-size: var(--step-sm);
  font-weight: 700;
  color: var(--berry-deep);
  display: block;
  margin-bottom: var(--space-2xs);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--step-lg);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
}
.step p { color: var(--text-soft); }
.steps::after { content: none; }

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  padding: var(--space-md);
}
.feature-card__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  background: var(--mist);
  display: grid;
  place-items: center;
  color: var(--plum);
  margin-bottom: var(--space-sm);
}
.feature-card h3 {
  font-size: var(--step-md);
  font-weight: 800;
  margin-bottom: var(--space-3xs);
}
.feature-card p { color: var(--text-soft); font-size: var(--step-sm); }
.feature-card--highlight {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.feature-card--highlight .feature-card__icon { background: rgba(255,255,255,0.12); color: var(--paper); }
.feature-card--highlight h3 { color: #fff; }
.feature-card--highlight p { color: rgba(251, 245, 242, 0.72); }

/* ---- Editorial (why weekly) ---- */
.editorial {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 860px) {
  .editorial { grid-template-columns: 1fr 1fr; }
}
.editorial__figure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.editorial__figure-caption {
  margin-top: var(--space-sm);
  font-size: var(--step-xs);
  color: var(--text-faint);
}
.editorial h2 { font-size: var(--step-2xl); margin-bottom: var(--space-md); max-width: 20ch; }
.editorial p + p { margin-top: var(--space-sm); }
.editorial p { color: var(--text-soft); }
.editorial strong { color: var(--ink); }

/* ---- Final CTA ---- */
.cta-band {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  color: var(--text-on-brand);
}
.cta-band h2 { font-size: var(--step-2xl); margin-bottom: var(--space-sm); }
.cta-band p { font-size: var(--step-md); opacity: 0.9; max-width: 32rem; margin-inline: auto; margin-bottom: var(--space-lg); }
.cta-band .btn--primary { background: #fff; color: var(--plum-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--paper); }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-xl);
  margin-top: var(--space-xl);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand { margin-bottom: var(--space-2xs); }
.footer-note { color: var(--text-faint); font-size: var(--step-xs); max-width: 26rem; }
.footer-links { display: flex; gap: var(--space-md); }
.footer-links a { font-size: var(--step-sm); font-weight: 600; text-decoration: none; color: var(--text-soft); }
.footer-links a:hover { color: var(--plum); }
