:root {
  --bg: #f6f3ee;
  --card: #ffffff;
  --text: #1d2b2a;
  --muted: #5a6b6a;

  --green-900: #2f5b4f;
  --green-800: #356658;
  --green-100: #e7efea;

  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.4;
}

.container {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

/* ─────────────────────────────
   TOP BANNER
───────────────────────────── */
.top-banner {
  background: var(--green-900);
  padding: 16px 0;
}

.top-banner .container {
  display: grid;
  place-items: center;
}

.brand {
  color: #ffffff;
  font-style: italic;
  font-weight: 650;
  letter-spacing: 0.2px;
  font-size: 18px;
  text-align: center;
}

/* ─────────────────────────────
   HERO
───────────────────────────── */
.hero {
  padding: 28px 0 10px;
}

.hero-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

h1 {
  margin: 6px 0 0;
  font-size: clamp(32px, 6.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
}

.subtitle {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

/* ─────────────────────────────
   BUTTONS
───────────────────────────── */
.btn {
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.06s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  user-select: none;
  min-height: 46px;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green-900);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  min-width: 200px;
}

.btn-primary:hover { box-shadow: var(--shadow); }

/* ─────────────────────────────
   HOW IT WORKS
───────────────────────────── */
.how {
  padding: 18px 0 10px;
}

.how h2 {
  margin: 0;
  text-align: center;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
}


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

.steps--compact { gap: 10px; }

/* ─────────────────────────────
   BASE CARD (GENERIC)
───────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.card--compact {
  padding: 12px 14px;
}

/* ─────────────────────────────
   STEP CARD LAYOUT (ICON LEFT)
───────────────────────────── */
.steps .card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 3px;
  align-items: start;
}

.steps .card--compact {
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  row-gap: 2px;
}

/* Icon */
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-900);
  display: grid;
  place-items: center;

  /* KEY: icon spans ONLY meta + title */
  grid-row: 1 / span 2;
}

.card--compact .icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.icon svg {
  width: 22px;
  height: 22px;
}

/* Step meta */
.step-meta {
  grid-column: 2;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}

/* Title — bottom aligns with icon bottom */
.steps h3 {
  grid-column: 2;
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  letter-spacing: -0.2px;
  line-height: 1.05;
  position: relative;
  top: -2px; /* fine alignment control */
}

.card--compact h3 {
  font-size: 19px;
}

/* Description sits BELOW icon/title */
.steps p {
  grid-column: 2;
  margin: 0;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

.card--compact p {
  font-size: 13.5px;
}

/* ─────────────────────────────
   CTA
───────────────────────────── */
.cta {
  padding: 22px 0 44px;
}

.cta-box {
  background: var(--green-900);
  border-radius: 22px;
  padding: 26px 18px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 30px;
  line-height: 1.05;
}

.cta-box p {
  margin: 12px auto 18px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.btn-light {
  background: #f3efe8;
  color: var(--green-900);
  min-width: 220px;
}

.btn-light-outline {
  background: transparent;
  color: #f3efe8;
  border: 2px solid rgba(243, 239, 232, 0.75);
  min-width: 220px;
}

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media (min-width: 720px) {
  .hero { padding: 42px 0 16px; }

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

  .steps--compact { gap: 12px; }

  .cta-box { padding: 34px 26px; }
}