:root {
  --bg: #f7efe3;
  --bg-deep: #18392b;
  --surface: rgba(255, 248, 240, 0.72);
  --surface-strong: #fff8f0;
  --text: #173121;
  --muted: #5f6b61;
  --accent: #cb5f3f;
  --accent-soft: #e7b987;
  --line: rgba(24, 57, 43, 0.12);
  --shadow: 0 22px 80px rgba(24, 40, 31, 0.14);
  --radius: 28px;
  --radius-sm: 20px;
  --container: min(100% - 32px, 1180px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(231, 185, 135, 0.75), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(203, 95, 63, 0.2), transparent 18%),
    linear-gradient(180deg, #f9f1e5 0%, #f4ecdf 45%, #f0e7db 100%);
  min-height: 100vh;
}

section[id] {
  scroll-margin-top: 96px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 85%);
}

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: rgba(249, 241, 229, 0.88);
  border-bottom: 1px solid rgba(24, 57, 43, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(24, 57, 43, 0.06);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(231, 185, 135, 0.24), transparent 12%, transparent 88%, rgba(231, 185, 135, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}

.site-header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 8px;
  z-index: 1;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--bg-deep);
  color: #f8efde;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
  font-size: 0.875rem;
  line-height: 1;
}

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

.site-nav,
.header-cta {
  display: none;
}

.hero {
  padding: 24px 0 52px;
  display: grid;
  gap: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--bg-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Prata", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.8rem, 13vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

h1 span {
  color: var(--accent);
}

.hero-lead,
.section-heading p:last-child,
.result-copy p:last-child,
.cta-copy p:last-child,
.feature-card p,
.timeline-step p,
.result-card p,
.faq-item p,
.site-footer span {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: 1rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--bg-deep);
  color: #f8efde;
  box-shadow: 0 16px 30px rgba(24, 57, 43, 0.2);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 248, 240, 0.5);
  border-color: var(--line);
}

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

.hero-points li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.65);
  border: 1px solid rgba(24, 57, 43, 0.08);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
}

.hero-card,
.feature-card,
.lead-form,
.result-card,
.timeline-step,
.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card-main {
  padding: 24px;
  border-radius: 34px;
  min-height: 330px;
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 185, 135, 0.7), transparent 70%);
}

.card-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card-main h2 {
  font-size: 2rem;
  line-height: 1;
  max-width: 10ch;
}

.hero-rhythm {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero-rhythm div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.hero-rhythm span,
.timeline-step span,
.feature-index {
  color: var(--accent);
  font-weight: 700;
}

.hero-rhythm p {
  margin: 0;
  text-align: right;
  max-width: 13ch;
  color: var(--muted);
}

.hero-float {
  position: absolute;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(24, 57, 43, 0.9);
  color: #f7efe3;
  box-shadow: 0 14px 26px rgba(24, 57, 43, 0.24);
}

.hero-float span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.8;
}

.hero-float strong {
  display: block;
  margin-top: 6px;
  font-size: 0.96rem;
}

.hero-float-left {
  left: 0;
  bottom: 16px;
  transform: rotate(-5deg);
}

.hero-float-right {
  right: 0;
  top: 18px;
  max-width: 180px;
  transform: rotate(7deg);
}

.section-grid,
.process,
.testimonials,
.faq {
  padding-bottom: 84px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 8vw, 3.8rem);
  line-height: 1.02;
  max-width: 12ch;
}

.cards-grid,
.faq-list,
.result-cards {
  display: grid;
  gap: 16px;
}

.feature-card,
.result-card {
  border-radius: var(--radius);
  padding: 24px;
}

.feature-index {
  display: inline-block;
  margin-bottom: 18px;
}

.feature-card h3,
.timeline-step h3,
.result-card strong {
  font-size: 1.28rem;
}

.accent-card {
  background: linear-gradient(155deg, rgba(203, 95, 63, 0.14), rgba(255, 248, 240, 0.92));
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius);
}

.timeline-step span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(203, 95, 63, 0.12);
  font-size: 1.1rem;
}

.timeline-step p,
.result-card p,
.feature-card p,
.cta-copy p:last-child {
  margin: 12px 0 0;
}

.stories-grid {
  display: grid;
  gap: 18px;
}

.story-card {
  display: grid;
  gap: 0;
  background: rgba(255, 248, 240, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.story-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 57, 43, 0.08), rgba(24, 57, 43, 0.18));
}

.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.story-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(24, 57, 43, 0.28));
  pointer-events: none;
}

.story-badges {
  position: absolute;
  inset: auto 16px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}

.story-badges span {
  min-width: 82px;
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(248, 239, 222, 0.88);
  color: var(--bg-deep);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(24, 57, 43, 0.16);
}

.story-copy {
  padding: 20px 22px 24px;
}

.story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-topline strong {
  font-family: "Prata", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.story-topline span,
.story-copy p {
  color: var(--muted);
}

.story-copy p {
  margin: 12px 0 0;
  line-height: 1.65;
}

.result-band {
  padding: 0 0 84px;
}

.result-layout {
  background: var(--bg-deep);
  color: #f8efde;
  border-radius: 36px;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

.result-layout::before,
.result-layout::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.result-layout::before {
  width: 240px;
  height: 240px;
  background: rgba(231, 185, 135, 0.16);
  right: -50px;
  top: -80px;
}

.result-layout::after {
  width: 180px;
  height: 180px;
  background: rgba(203, 95, 63, 0.18);
  left: -30px;
  bottom: -60px;
}

.result-copy {
  position: relative;
  z-index: 1;
}

.result-copy .eyebrow,
.result-copy p:last-child {
  color: rgba(248, 239, 222, 0.9);
}

.result-copy p:last-child {
  font-size: 1.06rem;
  line-height: 1.75;
}

.result-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  color: #f8efde;
  border-color: rgba(255, 255, 255, 0.12);
}

.result-card strong {
  color: #fff3e4;
}

.result-card p {
  color: rgba(248, 239, 222, 0.76);
  font-size: 1.04rem;
  line-height: 1.7;
}

.cta-panel {
  padding-bottom: 84px;
  display: grid;
  gap: 18px;
}

.cta-copy h2 {
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1.04;
  max-width: 13ch;
}

.lead-form {
  padding: 22px;
  border-radius: 30px;
  display: grid;
  gap: 16px;
}

.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 57, 43, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(203, 95, 63, 0.22);
  border-color: rgba(203, 95, 63, 0.42);
}

.form-button {
  width: 100%;
}

.form-button:disabled {
  opacity: 0.72;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--bg-deep);
  font-weight: 600;
}

.form-note.is-success {
  color: var(--bg-deep);
}

.form-note.is-error {
  color: #b4482e;
}

.faq-list {
  gap: 12px;
}

.faq-item {
  border-radius: 24px;
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(203, 95, 63, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 14px 0 4px;
}

.site-footer {
  padding: 0 0 108px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.site-footer span {
  color: var(--muted);
}

.sticky-mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff7f0;
  font-weight: 700;
  z-index: 30;
  box-shadow: 0 18px 36px rgba(203, 95, 63, 0.36);
}

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

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

@media (min-width: 740px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    color: var(--muted);
  }

  .header-cta {
    display: inline-flex;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards-grid,
  .stories-grid,
  .result-cards,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    min-height: calc(100vh - 120px);
    padding-bottom: 72px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-card-main {
    padding: 34px;
    min-height: 450px;
  }

  .hero-card-main h2 {
    font-size: 3rem;
  }

  .section-heading h2,
  .cta-copy h2 {
    max-width: 11ch;
  }

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

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

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

  .result-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    padding: 44px;
  }

  .result-cards {
    align-content: start;
  }

  .lead-form {
    padding: 32px;
  }

  .story-card {
    grid-template-rows: auto 1fr;
  }

  .sticky-mobile-cta {
    display: none;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
