/* GuideEye landing.
   Theme after Granola (granola.ai): warm paper canvas, hairline borders, small
   radii, near-flat surfaces, a light-weight serif display over a grotesk body,
   and a single chartreuse accent used as a fill — never as text on white. */
:root {
  /* paper */
  --paper: #fcfcf8;
  --bg: #fcfcf8;
  --surface: #ffffff;
  --bg-warm: #f7f7f2;
  --bg-sunk: #f2f2ec;
  --bg-deep: #eaebe5;

  /* ink */
  --ink: #292929;
  --ink-soft: #4e4d4b;
  --muted: #6e6e6a;
  /* Granola's tertiary grey (#9e9e99) is 2.5:1 on paper — fine for decoration,
     too weak for the small print on a product for low-vision readers. This is the
     lightest grey that still clears WCAG AA; the tertiary step is carried by
     size, weight and letter-spacing instead of a third tone. */
  --faint: #686864;
  --faint-line: #9e9e99;

  /* hairlines */
  --line: #e3e3e0;
  --line-soft: #ededea;
  --line-strong: #d5d5d2;

  /* accent — chartreuse fill, dark-green text */
  --accent: #94f27f;
  --accent-strong: #79d65e;
  --accent-ink: #15380f;
  --accent-text: #0d7916;
  --accent-wash: #93f27d33;
  --olive: #788c15;
  --olive-deep: #5b6f00;
  --gold-wash: #f8f1ca;

  /* legacy token names still read by live.css and app.html */
  --accent-2: var(--accent-strong);
  --glass: #ffffff;
  --glass-strong: #ffffff;
  --glass-border: var(--line);
  --glass-hi: #ffffff;
  --glass-edge: rgba(0, 0, 0, .04);
  --sheen: rgba(255, 255, 255, .6);
  --shadow: rgba(32, 32, 28, .1);
  --icon-bg: var(--bg-sunk);
  --screen: #1e1e1e;

  --radius-xs: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --frame-radius: 28px;

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --display: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;

  --nav-h: 72px;
  --shadow-1: 0 1px 2px rgba(32, 32, 28, .04);
  --shadow-2: 0 4px 6px -2px rgba(32, 32, 28, .05), 0 1px 2px rgba(32, 32, 28, .04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1e1e1e;
    --bg: #1e1e1e;
    --surface: #252524;
    --bg-warm: #212121;
    --bg-sunk: #272726;
    --bg-deep: #2e2e2c;

    --ink: #f2f2ec;
    --ink-soft: #d5d5d2;
    --muted: #acada8;
    --faint: #a8a8a3;
    --faint-line: #818179;

    --line: #363635;
    --line-soft: #2e2e2d;
    --line-strong: #4e4d4b;

    --accent: #94f27f;
    --accent-strong: #79d65e;
    --accent-ink: #15380f;
    --accent-text: #b6e86a;
    --accent-wash: #93f27d1f;
    --olive: #b2c248;
    --olive-deep: #d1e043;
    --gold-wash: #40351a;

    --glass: #252524;
    --glass-strong: #252524;
    --glass-border: #363635;
    --glass-hi: rgba(255, 255, 255, .08);
    --glass-edge: rgba(0, 0, 0, .3);
    --shadow: rgba(0, 0, 0, .5);
    --icon-bg: #2e2e2c;
    --screen: #141413;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-2: 0 4px 6px -2px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .2);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button { font-family: inherit; }
strong, b { font-weight: 600; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 11px 18px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Display type: large and bold, slightly negative-tracked. */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1; }

/* ---------- Background ---------- */
.wallpaper { position: fixed; inset: 0; z-index: -1; background: var(--paper); }
.wallpaper::before { content: none; }
.orb { display: none; }

/* ---------- Surfaces ---------- */
.glass {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.glass::after { content: none; }

/* ---------- Nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav-wrap:has(.nav.is-stuck) { border-bottom-color: var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav {
  display: flex; align-items: center; gap: 16px;
  width: min(1240px, 100% - 48px); margin-inline: auto; min-height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand img { width: 26px; height: 26px; border-radius: var(--radius-xs); }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { display: block; padding: 8px 12px; border-radius: var(--radius); font-size: 15px; font-weight: 400; color: var(--ink); text-decoration: none; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg-sunk); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links ~ .nav-actions { margin-left: 0; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: auto; padding: 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; padding-block: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav > .nav-actions { display: none; }
  .nav-links {
    order: 3; width: 100%; margin: 0; flex-direction: column; gap: 2px;
    max-height: 0; overflow: hidden; opacity: 0; transition: max-height .25s ease, opacity .18s ease, padding .25s ease;
  }
  .nav[data-open="true"] .nav-links { max-height: 340px; opacity: 1; padding: 10px 0 14px; }
  .nav-links a { padding: 12px 10px; font-size: 16px; border-radius: var(--radius); }
  .nav-links .nav-cta { margin-top: 6px; text-align: center; background: var(--ink); color: var(--paper); font-weight: 500; }
  .nav-links .nav-cta:hover { background: var(--ink); }
}
@media (min-width: 901px) { .nav-links .nav-cta { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  font: 500 15px/1 var(--font); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: background .16s, border-color .16s, color .16s, opacity .16s;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; }
.btn:hover { background: var(--bg-sunk); }
.btn:active { opacity: .85; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; border-color: #000; }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #fff; border-color: #fff; } }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-glass { background: var(--surface); color: var(--ink); }
.btn-glass:hover { background: var(--bg-sunk); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 92px) clamp(32px, 4vw, 56px); text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 9px; border-radius: 999px;
  background: var(--accent-wash); border: 1px solid transparent;
  font-size: 13px; font-weight: 500; color: var(--accent-text);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); flex: none; }

.hero h1 {
  margin-top: 22px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: .95; letter-spacing: -.025em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--muted); }
.lede { margin: 22px auto 0; max-width: 60ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.cta-note { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* ---------- Hero demo frame ---------- */
.hero-frame {
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--line); border-radius: var(--frame-radius);
  background: var(--bg-warm);
}
.hero-demo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; text-align: left; }
.hero-demo-copy { max-width: 46ch; }
.hero-demo-copy .eyebrow { margin-bottom: 10px; }
.hero-demo-copy h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -.02em; }
.hero-demo-copy > p:not(.eyebrow):not(.chips-label) { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chip {
  min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font: 500 14px/1 var(--font); color: var(--ink); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { background: var(--bg-sunk); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chips-label { font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: .02em; }

/* ---------- Phone ---------- */
.phone { width: min(300px, 100%); padding: 8px; border-radius: 34px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); }
.phone-screen { display: flex; flex-direction: column; min-height: 440px; padding: 18px 15px 16px; border-radius: 27px; background: var(--screen); color: #f2f2ec; }
.phone-status { display: inline-flex; align-items: center; gap: 8px; align-self: center; padding: 5px 12px; border-radius: 999px; background: rgba(242, 242, 236, .08); font-size: 12px; font-weight: 400; color: #acada8; }
.chat { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.bubble { max-width: 92%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.bubble-user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 5px; font-weight: 500; }
.bubble-guide { align-self: flex-start; background: rgba(242, 242, 236, .08); border: 1px solid rgba(242, 242, 236, .1); border-bottom-left-radius: 5px; }
.sheet { margin-top: 3px; padding: 13px; border-radius: 14px; background: rgba(242, 242, 236, .06); border: 1px solid rgba(242, 242, 236, .12); }
.sheet-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sheet-title { margin-top: 4px; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.sheet-detail { margin-top: 4px; font-size: 12.5px; color: #acada8; }
.sheet-actions[hidden], .sheet-detail[hidden] { display: none; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.sheet-actions span { padding: 9px 6px; border-radius: 999px; text-align: center; font-size: 12.5px; font-weight: 500; background: rgba(242, 242, 236, .08); }
.sheet-actions .yes { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chat.swap > * { animation: rise .4s cubic-bezier(.2, .8, .2, 1) both; }
.chat.swap > :nth-child(2) { animation-delay: .09s; }
.chat.swap > :nth-child(3) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.orb-talk { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: auto auto 0; border-radius: 50%; background: var(--accent-wash); border: 1px solid rgba(148, 242, 127, .4); color: var(--accent); }
.orb-talk svg { width: 22px; height: 22px; }
.ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(148, 242, 127, .4); animation: ring 2.8s ease-out infinite; }
.ring-2 { animation-delay: 1.4s; }
@keyframes ring { to { transform: scale(1.9); opacity: 0; } }

/* ---------- Proof strip ---------- */
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 3.5vw, 44px); padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted); text-align: left;
}
.hero-facts li { display: flex; align-items: flex-start; gap: 9px; padding-right: 24px; }
.hero-facts svg { width: 15px; height: 15px; margin-top: 4px; color: var(--accent-text); stroke-width: 2.4; flex: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-alt { background: var(--bg-warm); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-centered .section-head { margin-inline: auto; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.section h2 { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.section-head > p:last-child, .trust-copy > p:last-child { margin-top: 16px; color: var(--muted); font-size: 17px; text-wrap: pretty; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.card { padding: 28px 26px 30px; border-radius: 0; border: 0; background: var(--surface); box-shadow: none; transition: background .18s; }
.card:hover { background: var(--bg-warm); }
.icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-xs); background: var(--accent-wash); color: var(--accent-text); flex: none; }
.icon svg { width: 19px; height: 19px; }
.card h3, .step h3 { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.05; letter-spacing: -.015em; }
.card p, .step p { margin-top: 9px; color: var(--muted); font-size: 15px; }
.card strong, .step strong { color: var(--ink); font-weight: 500; }
.tag { display: inline-block; margin-left: 7px; padding: 2px 8px; border-radius: 999px; background: var(--gold-wash); color: var(--ink-soft); font: 500 11.5px/1.5 var(--font); vertical-align: middle; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.step { padding: 28px 26px 30px; border-radius: 0; border: 0; background: var(--surface); box-shadow: none; }
.step-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 14px/1 var(--font); }

/* ---------- Live demo ---------- */
.live { padding: clamp(16px, 2.5vw, 26px) !important; border-radius: var(--frame-radius) !important; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Downloads ---------- */
.detected { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 22px; border-radius: var(--radius-lg); margin-bottom: 14px; background: var(--bg-warm); border: 1px solid var(--line); overflow: hidden; }
.detected::before { content: none; }
.detected-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); flex: none; }
.detected-icon svg { width: 26px; height: 26px; }
.download-kicker { display: flex; align-items: center; gap: 8px; color: var(--accent-text); font-size: 11.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.detected-copy h3 { margin-top: 5px; font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.1; letter-spacing: -.02em; }
.detected-copy > p:last-child { margin-top: 3px; color: var(--muted); font-size: 14.5px; }
.download-main { min-width: 190px; }

.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; align-items: stretch; }
.platform-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px; border-radius: 0; border: 0; background: var(--surface); box-shadow: none; transition: background .18s; }
.platform-card:not(.platform-card-web) { min-height: 210px; }
.platform-card:hover { background: var(--bg-warm); }
.platform-card.is-detected { background: var(--accent-wash); }
.platform-head { display: flex; align-items: center; gap: 12px; }
.platform-head h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.platform-head p { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.title-with-tag { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.title-with-tag h3 { margin: 0; }
.title-with-tag .tag { margin-left: 0; }
.os-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-xs); background: var(--bg-sunk); color: var(--ink); flex: none; }
.os-icon svg { width: 21px; height: 21px; }
.os-icon svg path[fill="currentColor"], .detected-icon svg path[fill="currentColor"] { stroke: none; }
.download-choice { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: background .16s, border-color .16s; margin-top: auto; }
.download-choice:hover { background: var(--bg-sunk); border-color: var(--ink); }
.download-choice span { display: grid; gap: 2px; min-width: 0; }
.download-choice strong { font-size: 14px; font-weight: 500; line-height: 1.3; }
.download-choice small { color: var(--muted); font-size: 12px; }
.download-choice b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); flex: none; }
.download-choice b svg { width: 16px; height: 16px; stroke-width: 2.2; }
.alt-download { position: relative; z-index: 1; align-self: flex-start; margin-top: 0; color: var(--muted); font-size: 12.5px; font-weight: 400; text-underline-offset: 3px; }
.alt-download:hover { color: var(--ink); }

.platform-card-web { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; }
.platform-card-web .platform-head { flex: 1 1 auto; min-width: 0; }
.platform-card-web .download-choice { flex: 0 0 auto; width: min(280px, 100%); min-height: 62px; margin-top: 0; }
.release-note { max-width: 680px; margin: 18px auto 0; color: var(--faint); font-size: 13px; text-align: center; }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: 0; border: 0; background: transparent; box-shadow: none; }
.promises { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.promises li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: var(--surface); }
.promises h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; }
.promises p { margin-top: 3px; color: var(--muted); font-size: 14.5px; }
.notice { max-width: 680px; margin: clamp(32px, 4vw, 52px) auto 0; text-align: center; font-size: 14px; color: var(--faint); }
.notice strong { color: var(--muted); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 28px 40px; margin-top: 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer .brand { color: var(--ink); font-size: 16px; }
.footer .brand img { width: 22px; height: 22px; }
.footer > p { max-width: 46ch; text-align: center; }
.footer ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:not(.brand) { text-underline-offset: 3px; }
.footer a:not(.brand):hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-demo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-demo-copy { max-width: 52ch; }
  .chips { justify-content: center; }
  .grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .detected { grid-template-columns: auto minmax(0, 1fr); }
  .download-main { grid-column: 1 / -1; }
  .platform-card-web { flex-direction: column; align-items: stretch; }
  .platform-card-web .download-choice { width: auto; }
}
@media (max-width: 640px) {
  .container { width: min(1120px, 100% - 32px); }
  .nav { width: min(1240px, 100% - 32px); }
  .grid, .steps, .platform-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .cta-row .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts li { padding-right: 0; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer > p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media (prefers-contrast: more) {
  :root { --muted: #4e4d4b; --faint: #4e4d4b; --line: #b8b8b4; --line-strong: #8a8a86; }
}
