:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --card: #fffefa;
  --ink: #20251f;
  --forest: #344c3a;
  --forest-soft: #e5ebe2;
  --muted: #626c62;
  --line: #deddd4;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(ellipse at 95% -8%, #d9dece 0, transparent 34rem), var(--paper);
  color: var(--ink);
}

a { color: var(--forest); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #718c6e; outline-offset: 4px; border-radius: 4px; }

.page { width: min(1080px, 100%); margin: auto; padding: 0 24px 64px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; font-size: 20px; font-weight: 650; letter-spacing: -.035em; }
.brand img { width: 36px; height: 36px; }
.language { display: inline-flex; gap: 10px; font-size: 14px; }
.language a { min-height: 40px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fffefaaf; }
.language [aria-current="page"] { background: var(--forest); border-color: var(--forest); color: white; }

.hero { padding: clamp(36px, 8vw, 84px) clamp(18px, 6vw, 66px); border: 1px solid #d8d7cb; border-radius: 28px; background: linear-gradient(116deg, #fffefaed 0%, #fffefa 58%, #eaecdf 100%); box-shadow: 0 20px 65px #26342412; }
.eyebrow { color: #627666; font-size: 13px; font-weight: 650; letter-spacing: .12em; }
h1 { max-width: 780px; margin: 12px 0 16px; font-size: clamp(36px, 7vw, 62px); font-weight: 560; line-height: 1.18; letter-spacing: -.055em; word-break: keep-all; }
.hero-copy { max-width: 710px; margin: 0; color: var(--muted); font-size: clamp(17px, 2.1vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--forest); border-radius: 12px; background: var(--forest); color: white; font-weight: 650; text-align: center; text-decoration: none; }
.button.secondary { background: transparent; color: var(--forest); }
.button:hover { filter: brightness(1.12); }

.feature-summary { display: grid; grid-template-columns: minmax(190px, .8fr) 2fr; gap: 24px; align-items: center; margin: 24px 0 30px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.feature-summary h2 { margin: 0; color: var(--forest); font-size: 21px; font-weight: 620; line-height: 1.35; }
.feature-summary-copy p { margin: 0 0 10px; color: var(--muted); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.feature-actions a { min-height: 40px; padding: 6px 0; font-weight: 620; }

.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.platform-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 8px 24px #20251f07; }
.platform-kicker { margin: 0 0 4px; color: #758074; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.platform-card h2 { margin: 2px 0 8px; font-size: 25px; font-weight: 580; letter-spacing: -.03em; }
.platform-card p { margin: 0 0 16px; color: var(--muted); }
.steps { display: grid; gap: 10px; margin: 0 0 20px; padding-left: 23px; color: #39453a; }
.platform-card .button { width: 100%; margin-top: auto; }
.sub-link { display: block; width: 100%; margin-top: 13px; text-align: center; font-size: 14px; }
.platform-card .fine-print { margin: 14px 0 0; font-size: 13px; }

.shared { display: grid; grid-template-columns: minmax(150px, .75fr) 2fr; gap: 24px; align-items: center; margin: 34px 0; padding: 24px 28px; border-radius: 18px; background: var(--forest); color: #f6f3e9; }
.shared h2 { margin: 0; font-size: 21px; font-weight: 600; }
.shared p { margin: 0; color: #e0e6dc; }
.not-store { padding: 18px 20px; border-left: 3px solid #899d77; background: #ffffff85; color: #515a50; }
.not-store p { margin: 0; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 34px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { min-height: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .feature-summary { grid-template-columns: 1fr; gap: 8px; }
  .platforms { grid-template-columns: 1fr; }
  .platform-card { padding: 24px; }
  .shared { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 460px) {
  .page { padding: 0 16px 40px; }
  .hero { padding: 34px 22px; border-radius: 22px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .platform-card { padding: 21px; }
  .shared { padding: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: filter .15s ease; }
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --paper: #111612; --card: #1b231d; --ink: #eef2ed; --forest: #a9c5a7; --forest-soft: #263228; --muted: #bac5b8; --line: #39453c; }
  body { background: radial-gradient(ellipse at 95% -8%, #263629 0, transparent 34rem), var(--paper); }
  .hero { background: linear-gradient(120deg, #1b231ded, #1b231d 58%, #27342a); border-color: var(--line); }
  .language a { background: #1b231d; }
  .language [aria-current="page"] { background: #344c3a; border-color: #728b70; color: white; }
  .steps { color: #d9e1d7; }
  .not-store { background: #1b231d; color: var(--muted); }
}
