:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f4f4f6;
  --bg-strong: #111113;
  --text: #121214;
  --text-soft: #5c5c64;
  --text-on-strong: #f5f5f7;
  --text-on-strong-soft: #b9b9c2;
  --line: #e4e4e9;
  --line-strong: #2a2a30;
  --accent: #0f7a52;
  --pro: #a9801f;
  --device: #17171a;
  --radius: 28px;
  --wrap: 1120px;
  --gutter: 32px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --bg-soft: #18181b;
    --bg-strong: #f5f5f7;
    --text: #f2f2f4;
    --text-soft: #a3a3ad;
    --text-on-strong: #121214;
    --text-on-strong-soft: #4a4a52;
    --line: #26262c;
    --line-strong: #d6d6dd;
    --accent: #4fd39a;
    --pro: #d6b25a;
    --device: #2a2a2f;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3, h4, p, figure, ul, ol, table { margin: 0; }
h1, h2, h3, h4 { font-weight: 750; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; }
p + p { margin-top: 1em; }
strong { font-weight: 650; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--text); color: var(--bg); border-radius: 10px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Header */
.site-header { padding-block: 22px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: -.03em; font-size: 1.15rem; text-decoration: none; }
.brand:hover { color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; }
.nav-links a { font-size: .95rem; font-weight: 600; text-decoration: none; padding-block: 10px; }
.nav-links a[aria-current="page"] { color: var(--accent); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 104px); }
.eyebrow { display: block; font-size: .85rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 20px; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--text-soft); margin-top: 28px; max-width: 34em; }
.lede strong { color: var(--text); }
.availability { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 36px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }
.availability strong { font-weight: 650; }
.availability span { color: var(--text-soft); }

/* Device frame */
.device { width: min(100%, 300px); margin-inline: auto; padding: 9px; border-radius: 48px; background: var(--device); box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); }
.device img { width: 100%; border-radius: 40px; background: #000; }
.device--hero { width: min(100%, 330px); }
@media (prefers-color-scheme: dark) { .device { box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); } }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: 20px; color: var(--text-soft); font-size: 1.15rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); counter-reset: step; }
.step { padding-top: 24px; border-top: 2px solid var(--text); }
.step h3 { margin-top: 18px; }
.step p { margin-top: 12px; color: var(--text-soft); }
.step .num { font-size: 2.6rem; font-weight: 750; letter-spacing: -.05em; line-height: 1; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius); background: var(--bg-soft); }
.feature h3 { font-size: 1.6rem; }
.feature p { margin-top: 16px; color: var(--text-soft); }
.feature .fine { font-size: .9rem; margin-top: 18px; }
.feature--strong { background: var(--bg-strong); color: var(--text-on-strong); }
.feature--strong p, .feature--strong .eyebrow { color: var(--text-on-strong-soft); }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.screen figcaption { margin-top: 22px; text-align: center; }
.screen figcaption strong { display: block; font-size: 1.05rem; }
.screen figcaption span { display: block; margin-top: 6px; color: var(--text-soft); font-size: .95rem; }
.screens .device { width: min(100%, 272px); }

/* Pro */
.plans { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 16px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); font-weight: 650; padding-top: 0; }
.compare th[scope="row"] { font-weight: 600; width: 42%; }
.compare td { color: var(--text-soft); }
.compare td.pro { color: var(--text); font-weight: 600; }
.pro-mark { color: var(--pro); font-weight: 750; letter-spacing: .04em; }
.plan-list { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; }
.plan-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; }
.plan-list li span { color: var(--text-soft); }
.fine { font-size: .9rem; line-height: 1.6; color: var(--text-soft); }
.plans .fine { margin-top: 22px; }

/* Privacy band */
.band { padding: clamp(32px, 4.5vw, 56px); border-radius: var(--radius); background: var(--bg-strong); color: var(--text-on-strong); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.band p, .band li { color: var(--text-on-strong-soft); }
.band ul { padding-left: 1.2em; display: grid; gap: 10px; }
.band a { color: var(--text-on-strong); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 0; font-size: 1.1rem; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--text-soft); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: 24px; color: var(--text-soft); max-width: 44em; }

/* Documents */
.doc { width: min(calc(100% - var(--gutter) * 2), 760px); margin-inline: auto; padding-bottom: 96px; overflow-wrap: anywhere; }
.doc-head { padding-block: clamp(40px, 6vw, 72px) 24px; }
.doc-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.doc-meta { color: var(--text-soft); font-size: .95rem; margin-top: 18px; }
.doc-summary { margin-top: 28px; padding: 22px 26px; border-radius: 18px; background: var(--bg-soft); color: var(--text-soft); }
.doc-summary strong { color: var(--text); }
.toc { margin-top: 28px; padding: 0 0 0 1.4em; columns: 2; column-gap: 32px; color: var(--text-soft); font-size: .95rem; }
.toc li { break-inside: avoid; padding-block: 3px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.doc section { padding-block: 32px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.doc section:first-of-type { margin-top: 32px; }
.doc h2 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.3; }
.doc h3 { font-size: 1.1rem; margin-top: 24px; }
.doc section p, .doc section li { color: var(--text-soft); }
.doc section p + p, .doc section h3 + p, .doc section p + ul, .doc section ul + p, .doc section p + table { margin-top: 14px; }
.doc section h2 + p, .doc section h2 + ul, .doc section h2 + table { margin-top: 16px; }
.doc ul, .doc ol { padding-left: 1.3em; display: grid; gap: 8px; }
.doc strong { color: var(--text); }
.doc .table-scroll { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.doc th { color: var(--text); font-weight: 600; width: 36%; }

/* Support */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 36px; }
.contact-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--bg-soft); }
.contact-card h2 { font-size: 1.4rem; }
.contact-card p, .contact-card li { color: var(--text-soft); }
.contact-card ul { padding-left: 1.2em; margin-top: 14px; display: grid; gap: 8px; }
.contact-card .mail { display: inline-block; margin-top: 18px; font-size: 1.2rem; font-weight: 650; }
.button { display: inline-block; padding: 14px 22px; border-radius: 999px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 650; }
.button:hover { color: var(--bg); opacity: .9; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 32px; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; font-size: .95rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-meta { margin-top: 28px; color: var(--text-soft); font-size: .85rem; max-width: 60em; }
.footer-tag { margin-top: 10px; color: var(--text-soft); }

/* Error page */
.error { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 24px; }
.error h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.error p { margin-top: 18px; color: var(--text-soft); }
.error .button { margin-top: 28px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero .device--hero { width: min(70%, 300px); }
  .steps, .screens, .features, .plans, .band, .contact { grid-template-columns: 1fr; }
  .screens { gap: 48px; }
  .screens .device { width: min(68%, 260px); }
  .toc { columns: 1; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; --radius: 22px; }
  body { font-size: 1rem; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .9rem; }
  .brand span { display: none; }
  .hero { padding-block: 32px 56px; }
  .lede { margin-top: 20px; }
  .availability { margin-top: 28px; padding: 12px 16px; }
  .compare th[scope="row"] { width: auto; }
  .compare th, .compare td { padding: 12px 8px; font-size: .95rem; }
  .footer-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .skip-link, .toc { display: none; }
  .doc { width: 100%; }
  .doc section { break-inside: avoid; }
}
