:root {
  --bg: #f6f3ed;
  --text: #0f1720;
  --muted: #43505e;
  --primary: #b43d1e;
  --primary-dark: #8f2c13;
  --surface: #ffffff;
  --line: #d8cec0;
  --alt: #ece3d6;
  --shadow: 0 16px 40px rgba(18, 25, 32, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 6rem 0 4rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(180, 61, 30, 0.23), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(34, 59, 79, 0.2), transparent 40%),
    linear-gradient(130deg, #f2eee8, #f0e1ca 50%, #efe8dc);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(246, 243, 237, 0.75) 80%, var(--bg) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.tag,
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--primary);
  margin: 0 0 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 0.98;
  max-width: 980px;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  max-width: 780px;
  color: var(--muted);
  margin: 1.2rem 0 1.6rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}

.hero__points span {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(143, 44, 19, 0.18);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 1.3rem;
  box-shadow: 0 10px 20px rgba(180, 61, 30, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.hero__note {
  margin: 0.7rem 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 4.2rem 0;
}

.section--alt {
  background: var(--alt);
}

.section--results {
  background: #111921;
  color: #eff4f8;
}

.section--results .eyebrow,
.section--results h2 {
  color: #fff;
}

.section--results .eyebrow {
  opacity: 0.8;
}

.section--faq {
  background: var(--alt);
}

.section--cta {
  background: linear-gradient(135deg, #142130, #1e344b 55%, #2a4258);
  color: #eff4f8;
}

.section__head {
  max-width: 820px;
  margin-bottom: 1.4rem;
}

.section__head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}

.section__text {
  max-width: 930px;
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.timeline__step {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: #fff;
}

.timeline__step span {
  display: inline-flex;
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.timeline__step p {
  margin: 0;
}

.results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.95rem;
  padding: 1rem;
}

.metric span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  display: block;
  margin-bottom: 0.2rem;
}

.metric p {
  margin: 0;
  opacity: 0.9;
}

.faq {
  display: grid;
  gap: 0.6rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 0.95rem;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}

.cta p {
  color: rgba(239, 244, 248, 0.9);
}

.demo-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.demo-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.demo-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.6rem;
  padding: 0.72rem;
  background: rgba(15, 23, 32, 0.2);
  color: #eff4f8;
}

.demo-form input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  border-color: transparent;
}

.form-note {
  margin: 0;
  font-size: 0.86rem;
  min-height: 1.2em;
  opacity: 0.9;
}

.footer {
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: #f2ece2;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 32, 0.18);
  background: #ffffff;
  color: #0f1720;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 32, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid--3,
  .grid--2,
  .results,
  .timeline,
  .cta {
    grid-template-columns: 1fr 1fr;
  }

  .timeline__step:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .grid--3,
  .grid--2,
  .results,
  .timeline,
  .cta,
  .timeline__step:last-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .section {
    padding: 3.2rem 0;
  }
}
