:root {
  --site-bg: #f7f7f4;
  --site-surface: #fff;
  --site-text: #17202b;
  --site-muted: #5e6873;
  --site-blue: #1769aa;
  --site-green: #2d7652;
  --site-green-dark: #143c2b;
  --site-mint: #e8f3ec;
  --site-line: #d9ddd9;
  --surface-color: #fff;
  --border-color: #d9ddd9;
  --text-secondary: #5e6873;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--site-bg); color: var(--site-text); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; }
a { color: inherit; }
.page-width { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 10px max(20px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid var(--site-line); background: rgba(255,255,255,.97); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--site-text); font-size: 1.08rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
#site-nav { min-width: 0; }
#site-nav .msweb-navbar { display: flex; align-items: center; gap: 2px; background: transparent; border: 0; box-shadow: none; }
#site-nav .nav-link { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 10px 13px; border-radius: 6px; color: #4d5963; font-size: .94rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
#site-nav .nav-link:hover { background: #eef1ee; color: var(--site-text); }
#site-nav .nav-link.active { background: var(--site-mint); color: var(--site-green-dark); }

.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; margin-top: 32px; padding: clamp(30px,5vw,60px); overflow: hidden; border-radius: 10px; background: #25372d; color: #fff; }
.hero__media, .hero__media img, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { display: block; object-fit: cover; object-position: center; }
.hero__shade { background: linear-gradient(90deg,rgba(10,23,15,.88),rgba(10,23,15,.55) 50%,rgba(10,23,15,.05) 82%); }
.hero__copy { position: relative; z-index: 1; max-width: 620px; }
.eyebrow { margin: 0 0 12px; color: var(--site-green); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.hero h1, .section h2, .final-cta h2, .legal h1 { margin: 0; text-wrap: balance; }
.hero h1 { max-width: 620px; font-size: clamp(2.7rem,5.5vw,4.9rem); line-height: 1.02; letter-spacing: -.035em; }
.hero .eyebrow { color: #c5e5cd; }
.hero__lead { max-width: 590px; margin: 24px 0 0; color: rgba(255,255,255,.88); font-size: clamp(1.05rem,2vw,1.22rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.landing-button { min-height: 48px; padding-inline: 21px; border-radius: 7px; font-weight: 700; }
.hero__note { margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: .9rem; }

.section { padding-block: 92px; }
.section h2, .final-cta h2 { max-width: 720px; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.08; letter-spacing: -.025em; }
.steps { margin-top: 42px; border-top: 1px solid var(--site-line); }
.steps article { display: grid; grid-template-columns: 52px minmax(180px,260px) 1fr; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--site-line); }
.steps article > span { color: var(--site-green); font-size: .82rem; font-weight: 750; }
.steps h3 { margin: 0; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--site-muted); line-height: 1.6; }
.section--soft { padding-top: 0; background: var(--site-green-dark); color: #f6faf7; }
.editorial-photo { position: relative; }
.editorial-photo img { display: block; width: 100%; max-height: 650px; object-fit: cover; object-position: center 42%; }
.match-panel { position: absolute; right: 24px; bottom: 24px; width: min(360px,calc(100% - 48px)); padding: 20px; border: 1px solid #dfe3df; background: #fff; color: var(--site-text); box-shadow: 0 8px 24px rgba(10,23,15,.16); }
.match-panel > span { color: var(--site-green); font-size: .72rem; font-weight: 750; }
.match-panel > strong { display: block; margin: 8px 0 14px; font-size: 1.22rem; }
.match-panel dl { display: grid; gap: 8px; margin: 0; }
.match-panel dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--site-line); }
.match-panel dt { color: var(--site-muted); }
.match-panel dd { margin: 0; font-weight: 700; text-align: right; }
.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px,8vw,110px); padding-top: 78px; }
.section--soft .eyebrow { color: #abd5b6; }
.safety-grid h2 { font-size: clamp(2.1rem,4vw,3.5rem); }
.safety-list { display: grid; }
.safety-list p { margin: 0; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: #d1ddd4; line-height: 1.6; }
.safety-list strong { display: block; margin-bottom: 4px; color: #fff; }
.final-cta { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: center; gap: clamp(48px,10vw,140px); padding-block: 92px; }
.final-cta__visual { min-width: 0; }
.final-cta__copy { min-width: 0; }
.final-cta__copy > p:not(.eyebrow) { color: var(--site-muted); font-size: 1.06rem; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.final-cta__logo { display: block; width: min(100%,220px); height: auto; justify-self: start; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 28px; padding-block: 28px 38px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: .88rem; }
.site-footer > div { display: grid; gap: 3px; }
.site-footer strong { color: var(--site-text); font-size: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { text-underline-offset: 3px; }

.legal { max-width: 860px; padding-block: 52px 90px; }
.legal h1 { max-width: 760px; font-size: clamp(2.1rem,5vw,3.65rem); line-height: 1.08; letter-spacing: -.03em; }
.legal__revision { margin: 16px 0 42px; color: var(--site-muted); }
.legal section { padding: 28px 0; border-top: 1px solid var(--site-line); }
.legal h2 { margin: 0 0 16px; font-size: clamp(1.3rem,2.5vw,1.65rem); letter-spacing: -.015em; }
.legal h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.legal p, .legal li, .legal td, .legal th { line-height: 1.68; }
.legal ul, .legal ol { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal th, .legal td { padding: 13px; border: 1px solid var(--site-line); text-align: left; vertical-align: top; }
.legal th { background: #eef3ef; }
.legal address { font-style: normal; line-height: 1.8; }
.legal__note { padding: 16px 18px; border-left: 3px solid var(--site-green); background: #edf4ef; }

@media (max-width: 800px) {
  .site-header { position: relative; align-items: stretch; flex-direction: column; gap: 8px; padding: 10px 20px 0; }
  .brand { align-self: flex-start; }
  #site-nav { width: calc(100% + 40px); margin-left: -20px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  #site-nav .msweb-navbar { width: max-content; min-width: 100%; padding: 0 10px 8px; }
  #site-nav .nav-link { min-height: 40px; padding-inline: 11px; }
  .hero { min-height: 620px; margin-top: 20px; }
  .hero__shade { background: linear-gradient(0deg,rgba(10,23,15,.94),rgba(10,23,15,.48) 68%,rgba(10,23,15,.08)); }
  .hero__media img { object-position: 63% center; }
  .steps article { grid-template-columns: 42px 1fr; gap: 12px; }
  .steps p { grid-column: 2; }
  .safety-grid { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 200px minmax(0,1fr); gap: 36px; }
  .section { padding-block: 70px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 520px) {
  .page-width { width: min(100% - 28px,1120px); }
  .site-header { padding-inline: 14px; }
  #site-nav { width: calc(100% + 28px); margin-left: -14px; }
  .brand img { width: 44px; height: 44px; }
  .hero { min-height: 590px; padding: 24px 20px; border-radius: 6px; }
  .hero h1 { font-size: clamp(2.35rem,11vw,3.2rem); overflow-wrap: break-word; }
  .hero__actions { display: grid; }
  .final-cta { grid-template-columns: 1fr; padding-block: 68px; }
  .final-cta__visual { width: 100%; }
  .final-cta__actions { display: grid; }
  .final-cta__logo { width: 150px; }
  .landing-button { width: 100%; }
  .editorial-photo { width: 100%; }
  .editorial-photo img { min-height: 480px; object-position: 42% center; }
  .match-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 15px; }
  .legal { padding-top: 38px; }
  .legal h1 { overflow-wrap: anywhere; }
  .legal table { display: block; overflow-x: auto; }
}

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