:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f6f3ef;
  --ink: #141414;
  --ink-secondary: #4a4744;
  --ink-muted: #6b6560;
  --line: #e7e1d9;
  --accent: #d93c14;
  --accent-text: #b8300e;
  --strike: #d93c14;
  --focus: #141414;
  --inverse-bg: #141414;
  --inverse-ink: #ffffff;
  --inverse-muted: #c9c2ba;
  --inverse-strike: #ff7a4d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e0d;
    --surface: #1c1a18;
    --ink: #f7f4f0;
    --ink-secondary: #d2cbc3;
    --ink-muted: #a8a097;
    --line: #35312d;
    --accent-text: #ff7a4d;
    --strike: #ff7a4d;
    --focus: #f7f4f0;
    --inverse-bg: #f7f4f0;
    --inverse-ink: #141414;
    --inverse-muted: #4a4744;
    --inverse-strike: #b8300e;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 'Instrument Sans', system-ui, sans-serif; }
a { color: var(--accent-text); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, .store-placeholder:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; background: var(--surface); padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: var(--ink); text-decoration: none; flex: none; }
.wordmark { display: inline-flex; align-items: baseline; gap: .1em; font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.wordmark-yap { position: relative; }
.wordmark-yap::after { content: ''; position: absolute; left: -.05em; right: -.06em; top: 55%; height: .09em; border-radius: 999px; background: var(--strike); transform: rotate(-7deg); }
.header-inner nav a { display: inline-block; padding: 12px 0; color: var(--ink-secondary); font-size: 15px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; font-weight: 500; overflow-wrap: anywhere; }
p { margin: 0 0 1em; }
.eyebrow { margin: 0 0 12px; color: var(--ink-muted); font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero { padding-block: 64px 72px; display: grid; gap: 40px; align-items: center; }
.hero h1 { margin: 0 0 22px; font-size: clamp(38px, 7vw, 66px); max-width: 700px; }
.lead { max-width: 560px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45; color: var(--ink-secondary); }
.store-placeholder { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; min-height: 52px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-muted); background: var(--surface); font-size: 15px; font-weight: 600; cursor: default; }
.hero-example { min-width: 0; padding: 28px; border-radius: 20px; background: var(--inverse-bg); color: var(--inverse-ink); }
.hero-example .eyebrow { color: var(--inverse-muted); }
.quote { font-size: clamp(20px, 2.5vw, 27px); line-height: 1.4; }
.struck { color: var(--inverse-muted); text-decoration-line: line-through; text-decoration-color: var(--inverse-strike); text-decoration-thickness: 3px; }
.example-fix { border-top: 1px solid var(--inverse-muted); padding-top: 20px; margin: 24px 0 0; font-size: 20px; }
.how { padding-block: 56px 80px; border-top: 1px solid var(--line); }
.section-heading h2 { margin: 0 0 32px; font-size: clamp(29px, 4vw, 42px); }
.screenshots { display: grid; gap: 28px; }
.screenshot { margin: 0; min-width: 0; }
.shot-frame { position: relative; width: 100%; aspect-ratio: 390 / 844; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); display: grid; place-items: center; }
.shot-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shot-pending { padding: 16px; text-align: center; color: var(--ink-muted); font-size: 15px; }
.screenshot figcaption { padding-top: 14px; font-weight: 600; font-size: 17px; }
.small { font-size: 14px; color: var(--ink-muted); }
.legal { max-width: 800px; padding-block: 48px 80px; overflow-wrap: anywhere; }
.legal h1 { margin: 0 0 16px; font-size: clamp(36px, 7vw, 52px); }
.legal h2 { margin: 48px 0 16px; font-size: clamp(24px, 4vw, 30px); }
.legal h3 { margin: 32px 0 12px; font-size: 21px; }
.legal p, .legal li { color: var(--ink-secondary); }
.legal ul, .legal ol { margin: 0 0 24px; padding-left: 24px; }
.legal li { margin: 0 0 10px; padding-left: 4px; }
.legal table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-bottom: 24px; }
.legal td { min-width: 120px; padding: 10px; border: 1px solid var(--line); vertical-align: top; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 104px; padding-block: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; color: var(--ink-muted); font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--ink-secondary); }

@media (min-width: 700px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; padding-block: 100px 112px; }
  .screenshots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

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