:root {
  --bg: #f5f1e8;
  --bg-strong: #efe4d4;
  --surface: rgba(255, 255, 255, 0.6);
  --surface-strong: rgba(255, 252, 246, 0.88);
  --line: rgba(35, 38, 45, 0.1);
  --text: #1b2230;
  --muted: #5f6777;
  --accent: #c46a2f;
  --accent-deep: #8f4517;
  --accent-soft: rgba(196, 106, 47, 0.14);
  --shadow: 0 30px 80px rgba(32, 26, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(196, 106, 47, 0.18), transparent 22%),
    linear-gradient(135deg, #f8f4ed 0%, #ece0cd 45%, #f7f3eb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px rgba(29, 22, 12, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #fff9f2;
  background: linear-gradient(135deg, #1f2937, #c46a2f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  color: #fffaf4;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 16px 36px rgba(143, 69, 23, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(143, 69, 23, 0.3);
}

.button-small {
  min-height: 44px;
  padding: 0 18px;
}

.button-ghost {
  color: var(--text);
  border-color: rgba(27, 34, 48, 0.12);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 30px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1,
.section h2,
.cta-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.1rem);
  max-width: 12ch;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid rgba(27, 34, 48, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
}

.hero-card {
  position: relative;
  min-height: 540px;
}

.hero-panel,
.floating-note,
.info-card,
.quote-card,
.timeline-step,
.cta-card,
.trust-strip {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel {
  position: absolute;
  inset: 48px 18px 28px 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -18% 20%;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 106, 47, 0.28), transparent 68%);
}

.panel-label,
.note-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric-row > div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.metric-label,
.track-grid,
.quote-credit {
  color: var(--muted);
}

.panel-track {
  position: relative;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(239, 228, 212, 0.82));
}

.track-head,
.track-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}

.track-bar {
  height: 14px;
  margin: 18px 0 14px;
  border-radius: 999px;
  background: rgba(27, 34, 48, 0.08);
  overflow: hidden;
}

.track-bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f2937, #c46a2f 68%, #edb27d);
}

.floating-note {
  position: absolute;
  max-width: 280px;
  padding: 18px 20px;
  border-radius: 24px;
}

.floating-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.floating-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.note-a {
  top: 12px;
  right: -4px;
}

.note-b {
  bottom: 0;
  left: 0;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding: 18px 22px;
  border-radius: 26px;
}

.trust-strip p {
  margin: 0;
  font-weight: 700;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
}

.section {
  padding: 54px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section h2,
.cta-card h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 14ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card,
.quote-card,
.timeline-step {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 800;
  color: var(--accent-deep);
}

.info-card h3,
.results-list h3,
.timeline-step h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.info-card p,
.results-list p,
.timeline-step p,
.cta-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.results-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.results-list {
  display: grid;
  gap: 18px;
}

.results-list article {
  padding: 22px 0;
  border-bottom: 1px solid rgba(27, 34, 48, 0.08);
}

.results-list article:last-child {
  border-bottom: 0;
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  background:
    linear-gradient(145deg, rgba(31, 41, 55, 0.92), rgba(103, 59, 30, 0.9)),
    var(--surface-strong);
  color: #fff6ee;
}

.quote-mark {
  position: absolute;
  top: 18px;
  left: 20px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 5rem;
  line-height: 1;
  opacity: 0.2;
}

.quote-text {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.6;
}

.quote-credit {
  margin: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.timeline-step {
  position: relative;
  overflow: hidden;
}

.timeline-step::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, #1f2937, #c46a2f);
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.cta-section {
  padding-bottom: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: calc(var(--radius-xl) + 8px);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .results-layout,
  .cta-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 500px;
  }

  .card-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-items {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.94rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-panel {
    inset: 60px 0 34px;
  }

  .note-a,
  .note-b {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-card {
    min-height: auto;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero-points {
    flex-direction: column;
  }

  .section h2,
  .cta-card h2 {
    max-width: none;
  }
}
