/* System typography keeps the page native and avoids a font download.
 * Radius scale: 8px controls, 12px product images. No overlay layers. */
:root {
  color-scheme: light;
  --canvas: #fafafa;
  --surface: #f1f2f2;
  --ink: #202423;
  --muted: #59605d;
  --line: #d9dedb;
  --accent: #2c6550;
  --button: #202423;
  --button-text: #fafafa;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
:root.dark {
  color-scheme: dark;
  --canvas: #171a18;
  --surface: #202522;
  --ink: #edf1ee;
  --muted: #b0bab3;
  --line: #3b443d;
  --accent: #a4cfb5;
  --button: #edf1ee;
  --button-text: #171a18;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light):not(.dark) {
    color-scheme: dark;
    --canvas: #171a18;
    --surface: #202522;
    --ink: #edf1ee;
    --muted: #b0bab3;
    --line: #3b443d;
    --accent: #a4cfb5;
    --button: #edf1ee;
    --button-text: #171a18;
  }
}
* { box-sizing: border-box; }
body, figure, fieldset, h1, h2, h3, p { margin: 0; }
body { min-width: 320px; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
p { color: var(--muted); line-height: 1.65; }
p + p { margin-top: 18px; }
h1 { font-size: clamp(52px, 5.7vw, 78px); line-height: 1.06; letter-spacing: -0.055em; font-weight: 600; }
h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.16; letter-spacing: -0.04em; font-weight: 550; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.025em; font-weight: 550; margin-bottom: 14px; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-nav { min-height: 76px; font-size: 14px; }
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: var(--accent); }
.site-nav button { color: var(--ink); background: transparent; border: 1px solid var(--line); padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.wordmark { font-size: 21px; font-weight: 650; letter-spacing: -0.04em; }
.hero { min-height: 630px; padding-block: 32px 46px; }
.hero-description { max-width: 370px; margin-block: 26px 32px; font-size: 19px; }
.hero-product { min-height: 540px; background: var(--surface); border-radius: 12px; padding: 22px; }
.native-frame { width: 224px; height: 478px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.native-shot { width: 100%; transform: translateY(-22px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; background: var(--button); color: var(--button-text); font-size: 15px; font-weight: 550; text-decoration: none; white-space: nowrap; transition: transform 160ms ease; }
.button:hover { opacity: 0.88; }
.button:active { transform: scale(0.98); }
.site-link { display: inline-block; color: var(--accent); font-size: 15px; font-weight: 550; text-decoration-thickness: 1px; }
.requirements { padding-block: 26px; border-block: 1px solid var(--line); font-size: 14px; }
.requirements strong { color: var(--ink); }
.section-space { padding-block: 96px; }
.section-heading { max-width: 650px; margin-bottom: 48px; }
.section-heading > p, .install-header > p { margin-top: 20px; max-width: 540px; font-size: 17px; }
.habits article { max-width: 445px; }
.shortcut { display: flex; gap: 5px; align-items: center; margin-top: 24px; }
.shortcut span { margin-left: 10px; font-size: 13px; }
kbd { min-width: 27px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font: 14px ui-monospace, 'SF Mono', monospace; text-align: center; color: var(--ink); }
.habits .site-link { margin-top: 24px; }
.showcase { background: var(--surface); }
.preview-options { padding: 0; border: 0; margin-bottom: 36px; }
.preview-options label { position: relative; cursor: pointer; }
.preview-options input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.preview-options span { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 12px 17px; font-size: 14px; }
.preview-options input:checked + span { background: var(--button); color: var(--button-text); border-color: var(--button); }
.preview-options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 4px; }
.preview { padding: 42px; min-height: 620px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.preview > .native-frame { justify-self: center; }
.preview figcaption { max-width: 370px; }
.preview figcaption h3 { font-size: 32px; }
.preview figcaption .site-link { margin-top: 24px; }
.install-header { margin-bottom: 42px; }
.install-steps { list-style: none; padding: 0; margin: 0; counter-reset: install; }
.install-steps li { counter-increment: install; border-top: 1px solid var(--line); padding-top: 26px; }
.install-steps li::before { content: counter(install); display: block; margin-bottom: 30px; color: var(--accent); font: 16px ui-monospace, monospace; }
.install-steps p { max-width: 440px; }
.questions { border-top: 1px solid var(--line); }
.questions > h2 { margin-bottom: 48px; }
.questions article p { max-width: 460px; }
.questions article .site-link { margin-top: 16px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 13px; }
.site-footer .wordmark { font-size: 18px; }
.not-found { min-height: 65dvh; }
.not-found p { margin-block: 24px; }
.skip-link { position: absolute; top: 10px; left: 10px; transform: translateY(-150%); background: var(--canvas); padding: 12px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 767px) {
  .shell { width: calc(100% - 40px); }
  .site-nav { min-height: 68px; gap: 16px; }
  .site-nav nav { gap: 18px; font-size: 13px; }
  .site-nav nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 40px; gap: 36px; }
  .hero-description { font-size: 17px; margin-block: 24px; }
  .hero-product { min-height: auto; padding: 28px; }
  .hero-product .native-frame { width: 200px; height: 426px; }
  .requirements, .habits, .preview, .install-steps, .questions > div { grid-template-columns: 1fr; }
  .section-space { padding-block: 64px; }
  .section-heading { margin-bottom: 32px; }
  .preview-options { gap: 10px; }
  .preview-options span { padding: 11px 13px; }
  .preview { padding: 28px 20px; min-height: auto; }
  .preview-stage { min-height: 820px; }
  .preview .native-frame { width: 200px; height: 426px; }
  .preview figcaption h3 { font-size: 28px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
