:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f6f3;
  color: #1d2520;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f4f6f3; }
a { color: inherit; }
.site-header, .brand, nav, .actions, footer { display: flex; align-items: center; }
.site-header { position: sticky; top: 0; z-index: 5; justify-content: space-between; min-height: 64px; padding: 0 max(24px, calc((100vw - 1080px) / 2)); border-bottom: 1px solid #d7ddd8; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); }
.brand { gap: 9px; text-decoration: none; font-weight: 720; letter-spacing: -.02em; }
.brand img { border-radius: 7px; }
nav { gap: 18px; }
nav a { color: #536059; font-size: 13px; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: #1d2520; }
.hero, .journey, .platforms, .closing { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(42px, 8vw, 94px); min-height: calc(100vh - 64px); padding: 72px 0; }
.hero-copy { max-width: 630px; }
.eyebrow, .group-kicker { display: block; margin-bottom: 10px; color: #597463; font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(44px, 6vw, 72px); font-weight: 680; line-height: .98; letter-spacing: -.06em; }
h2 { margin-bottom: 12px; font-size: clamp(31px, 4vw, 48px); font-weight: 680; line-height: 1.04; letter-spacing: -.045em; }
h3 { margin-bottom: 7px; font-size: 17px; letter-spacing: -.015em; }
.lede { color: #56625c; font-size: clamp(17px, 2vw, 20px); line-height: 1.57; }
.hero-note { margin: 14px 0 0; color: #6a756e; font-size: 12px; }
.actions { flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border: 1px solid #28745b; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, nav a:focus-visible { outline: 2px solid #28745b; outline-offset: 3px; }
.button.primary { background: #28745b; color: #fff; }
.button.secondary { border-color: #8a958e; background: #fff; color: #29332d; }
.preview { position: relative; padding: 20px; border: 1px solid #ced8d1; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(28, 52, 39, .09); }
.preview::before { position: absolute; top: -9px; right: 24px; width: 58px; height: 18px; border: 1px solid #ced8d1; border-bottom: 0; border-radius: 8px 8px 0 0; background: #f4f6f3; content: ""; }
.preview-head { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; }
.preview-head img { border-radius: 7px; }
.preview-head strong, .preview-head span { display: block; }
.preview-head strong { font-size: 14px; }
.preview-head span, .preview-foot { margin-top: 2px; color: #68736d; font-size: 11px; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dce2de; border-bottom: 1px solid #dce2de; }
.numbers div { padding: 13px 2px; }
.numbers div + div { padding-left: 16px; border-left: 1px solid #dce2de; }
.numbers strong, .numbers span { display: block; }
.numbers strong { font-size: 23px; font-weight: 680; }
.numbers span { margin-top: 4px; color: #68736d; font-size: 11px; }
.preview-sites { display: grid; gap: 0; margin-top: 10px; }
.preview-sites span { display: flex; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid #e6eae7; font-size: 12px; }
.preview-sites b { color: #207050; font-size: 11px; }
.preview-foot { margin: 12px 0 0; }
.journey, .platforms, .closing { padding: 78px 0; border-top: 1px solid #d7ddd8; }
.section-heading { max-width: 650px; }
.section-heading > p, .closing-intro > p { color: #5d6962; font-size: 15px; line-height: 1.6; }
.section-heading.compact { max-width: 740px; }
.journey-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border: 1px solid #d7ddd8; border-radius: 10px; overflow: hidden; background: #fff; }
.journey-track article { position: relative; min-height: 205px; padding: 21px; }
.journey-track article + article { border-left: 1px solid #d7ddd8; }
.journey-number { display: block; width: fit-content; margin-bottom: 42px; color: #28745b; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.journey-track p, .group-heading p, .principles p, .install-box p { color: #59655e; font-size: 13px; line-height: 1.58; }
.platform-board { display: grid; gap: 10px; margin-top: 31px; }
.platform-group { padding: 20px; border: 1px solid #d7ddd8; border-radius: 10px; background: #fff; }
.core-group { border-color: #b7d1c1; background: #f8fbf8; }
.group-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.group-heading h3 { margin: 0; font-size: 19px; }
.group-heading p { max-width: 310px; margin: 0; text-align: right; }
.group-kicker { margin-bottom: 5px; color: #678071; font-size: 10px; }
.platform-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.platform-chips span { padding: 8px 10px; border: 1px solid #d9dfdb; border-radius: 999px; color: #3f4d45; background: #fff; font-size: 12px; font-weight: 650; }
.core-chips span { border-color: #b7d1c1; color: #205b46; background: #eff8f1; }
.closing { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 78px); align-items: start; }
.closing-intro { max-width: 390px; }
.closing-details { display: grid; gap: 21px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.principles p { margin: 0; }
.principles strong { display: block; margin-bottom: 5px; color: #1d2520; font-size: 13px; }
.install-box { padding: 19px; border: 1px solid #cbd8d0; border-radius: 10px; background: #fff; }
.install-box > strong { display: block; margin-bottom: 13px; font-size: 15px; }
.install-box p { position: relative; margin-bottom: 8px; padding-left: 25px; }
.install-box p span { position: absolute; left: 0; color: #28745b; font-weight: 800; }
.install-box .button { margin-top: 8px; }
code { padding: 2px 5px; border-radius: 4px; background: #e6ece8; color: #285c48; }
em { font-style: normal; font-weight: 700; }
footer { justify-content: space-between; min-height: 70px; padding: 0 max(24px, calc((100vw - 1080px) / 2)); border-top: 1px solid #d7ddd8; color: #6b766f; font-size: 11px; }
.legal { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.legal > h1 { font-size: clamp(40px, 6vw, 62px); }
.legal section { margin-top: 38px; padding-top: 22px; border-top: 1px solid #d7ddd8; }
.legal section h2 { font-size: 25px; }
.legal section p, .legal li { color: #5d6962; font-size: 13px; line-height: 1.6; }
.legal ol { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.legal .button { margin-top: 20px; }

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; background: #1d2420; color: #edf1ed; }
  body { background: #1d2420; }
  .site-header { border-color: #3a4640; background: rgba(35, 43, 38, .94); }
  nav a, .lede, .hero-note, .preview-head span, .numbers span, .preview-foot, .section-heading > p, .closing-intro > p, .journey-track p, .group-heading p, .principles p, .install-box p, .legal section p, .legal li { color: #b9c4bc; }
  nav a:hover, nav a:focus-visible { color: #edf1ed; }
  .eyebrow, .group-kicker { color: #a8c1b1; }
  .button.secondary { border-color: #728078; background: #252d28; color: #edf1ed; }
  .preview, .journey-track, .platform-group, .install-box { border-color: #3a4640; background: #252d28; box-shadow: none; }
  .preview::before { border-color: #3a4640; background: #1d2420; }
  .numbers, .numbers div + div, .preview-sites span, .journey, .platforms, .closing, footer, .legal section, .journey-track article + article { border-color: #3a4640; }
  .preview-sites b { color: #9acbad; }
  .core-group { border-color: #456a57; background: #223329; }
  .platform-chips span { border-color: #435047; background: #28312c; color: #d2dbd4; }
  .core-chips span { border-color: #4b7660; background: #294635; color: #b9dfc7; }
  .principles strong, .install-box > strong { color: #edf1ed; }
  code { background: #334039; color: #b6d6c3; }
  footer { color: #aeb9b1; }
}

@media (max-width: 820px) {
  .hero, .closing { grid-template-columns: 1fr; }
  .hero { min-height: auto; gap: 52px; }
  .site-header { padding: 0 20px; }
  .hero, .journey, .platforms, .closing { padding: 56px 0; }
  .preview { max-width: 560px; }
}

@media (max-width: 640px) {
  .site-header nav a:nth-child(1), .site-header nav a:nth-child(2) { display: none; }
  .journey-track, .principles { grid-template-columns: 1fr; }
  .journey-track article { min-height: auto; }
  .journey-track article + article { border-top: 1px solid #d7ddd8; border-left: 0; }
  .journey-number { margin-bottom: 24px; }
  .group-heading { display: block; }
  .group-heading p { margin-top: 7px; text-align: left; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; padding-top: 14px; padding-bottom: 14px; }
}

@media (max-width: 420px) {
  .hero, .journey, .platforms, .closing, .legal { width: min(100% - 28px, 1080px); }
  h1 { font-size: 42px; }
}
