/* Homepage (index.html). Brand tokens come from css/site-chrome.css. */
.h-main { background: #fff; color: var(--mdl-ink); line-height: 1.55; font-size: 17px; }
.h-main h1, .h-main h2, .h-main h3 { font-family: var(--mdl-head); color: inherit; margin: 0; }
.h-main p { margin: 0; }
.h-sec { padding: 104px 0; }
.h-sec-mist { background: var(--mdl-mist); }
.h-h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.04em; margin-bottom: 14px !important; }
.h-sub { font-size: 19px; color: var(--mdl-muted); max-width: 38em; }

/* Hero (focus slot) */
.h-hero { background: var(--mdl-ever); color: var(--mdl-on-dark); padding: 72px 0; }
.h-hero h1 { font-weight: 800; font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.04em; color: #fff;
  max-width: 12em; margin-bottom: 32px; text-wrap: balance; }
.h-hero-row { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; }
.h-hero-lede { font-size: 21px; max-width: 32em; }
.h-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.h-hero-ctas .mdl-btn { font-size: 18px; padding: 16px 30px; }

/* Deal timeline inside the hero */
.h-timeline { background: var(--mdl-pine); border-radius: 20px; padding: 32px 32px 26px; overflow-x: auto; }
.h-timeline-title { color: #fff; font-weight: 600; margin-bottom: 22px !important; }
.h-timeline-inner { min-width: 860px; }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.h-steps li { border-top: 3px solid #2E4369; padding-top: 14px; font-size: 14px; }
.h-steps li b { display: block; color: #fff; font-size: 18px; margin-top: 2px; }
.h-steps li i { font-style: normal; font-family: var(--mdl-head); font-weight: 700; color: #8FA3C4; font-size: 15px; }
.h-steps li.is-y { border-color: var(--mdl-yellow); } .h-steps li.is-y i { color: var(--mdl-yellow); }
.h-steps li.is-m { border-color: var(--mdl-mint); } .h-steps li.is-m i { color: var(--mdl-mint); }
.h-spans { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
.h-span { border-radius: 999px; padding: 6px 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--mdl-pine); text-decoration: none; }
.h-span-y { background: var(--mdl-yellow); } .h-span-m { background: var(--mdl-mint); }
a.h-span:hover { filter: brightness(1.06); }

/* Trust strip */
.h-trust { background: var(--mdl-mist); }
.h-trust .mdl-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.h-trust-item { display: flex; gap: 14px; align-items: flex-start; }
.h-trust-item svg { flex: none; width: 26px; height: 26px; stroke: var(--mdl-ever); }
.h-trust-item b { display: block; }
.h-trust-item span { font-size: 15px; color: var(--mdl-muted); }

/* Packages (focus slot) */
.h-packages { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.h-pkg { flex: 1 1 420px; min-width: 0; border-radius: 24px; padding: 44px; display: flex; flex-direction: column; }
.h-pkg h3 { font-weight: 800; font-size: clamp(30px, 3.2vw, 40px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 12px; }
.h-pkg > p { font-size: 19px; margin-bottom: 26px; }
.h-pkg ul { margin: 0 0 34px; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.h-pkg .mdl-btn { margin-top: auto; align-self: flex-start; white-space: normal; text-align: center; }
.h-pkg-y { background: var(--mdl-yellow); color: #1E1A08; }
.h-pkg-g { background: var(--mdl-ever); color: var(--mdl-on-dark); }
.h-pkg-g h3 { color: #fff; }
.h-pkg-note { margin-top: 24px !important; color: var(--mdl-muted); font-size: 16px; }
.h-pkg-note a { color: var(--mdl-ever); font-weight: 700; }

/* How it works */
.h-how { display: flex; flex-wrap: wrap; gap: 56px; }
.h-how-steps { flex: 3 1 520px; min-width: 0; }
.h-how-steps ol { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.h-how-steps li { display: flex; gap: 22px; align-items: flex-start; }
.h-how-steps li > span { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--mdl-ever); color: var(--mdl-yellow);
  font-family: var(--mdl-head); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.h-how-steps li h3 { font-size: 22px; margin-bottom: 4px; }
.h-how-steps li p { color: var(--mdl-muted); }
.h-why { flex: 2 1 340px; min-width: 0; background: #fff; border-radius: 24px; padding: 40px; align-self: flex-start; }
.h-why h3 { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; margin-bottom: 18px; }
.h-why ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.h-why-warn { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--mdl-line); font-size: 15px; color: var(--mdl-muted); }

/* Every stage */
.h-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 44px; }
.h-stage { border: 2px solid var(--mdl-line); border-radius: 20px; padding: 28px; text-decoration: none; color: var(--mdl-ink); display: block; }
.h-stage:hover { border-color: var(--mdl-ever); }
.h-stage small { display: block; font-weight: 700; font-size: 15px; color: var(--mdl-muted); margin-bottom: 6px; }
.h-stage h3 { font-size: 21px; margin-bottom: 8px; }
.h-stage p { font-size: 15px; color: var(--mdl-muted); }
.h-stage.is-y { border-color: var(--mdl-ever); background: var(--mdl-yellow-wash); } .h-stage.is-y small { color: var(--mdl-yellow-ink); }
.h-stage.is-m { border-color: var(--mdl-ever); background: var(--mdl-mint-wash); } .h-stage.is-m small { color: #2C4A7A; }
.h-more { display: inline-block; margin-top: 28px; font-weight: 700; color: var(--mdl-ever); }

/* FAQ */
.h-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; margin-top: 36px; }
.h-faq > div { background: var(--mdl-mist); border-radius: 20px; padding: 28px; }
.h-faq h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.h-faq p { color: var(--mdl-muted); }

/* CTA band (focus slot) */
.h-cta { background: var(--mdl-yellow); padding: 80px 0; }
.h-cta .mdl-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.h-cta h2 { font-weight: 800; font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -0.04em; line-height: 1.05; color: #1E1A08; max-width: 11em; }
.h-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.h-cta-actions .mdl-btn { font-size: 18px; padding: 16px 30px; }
.h-cta-call { color: #1E1A08; font-weight: 700; font-size: 18px; }

@media (max-width: 640px) {
  .h-sec { padding: 72px 0; }
  .h-hero { padding: 48px 0; }
  .h-hero-row { margin-bottom: 40px; }
  .h-pkg, .h-why { padding: 30px 24px; }
  .h-timeline { padding: 24px 20px 20px; }
}

/* Phones: the deal timeline stacks instead of scrolling sideways. */
@media (max-width: 900px) {
  .h-timeline { overflow: visible; }
  .h-timeline-inner { min-width: 0; }
  .h-steps, .h-spans { grid-auto-flow: row; }
  .h-spans span:empty { display: none; }
  .h-span { grid-column: auto !important; }
}
