* { box-sizing: border-box; }
:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --border: rgba(17, 24, 39, 0.12);
  --primary: #111827;
  --primary-soft: rgba(17, 24, 39, 0.08);
  --mint: #10b981;
  --blue: #2563eb;
  --amber: #f59e0b;
  --accent: var(--blue);
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-mix: rgba(37, 99, 235, 0.14);
  --hero-blue: rgba(37,99,235,0.13);
  --hero-mint: rgba(16,185,129,0.14);
  --hero-amber: rgba(245,158,11,0.12);
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151311;
    --surface: rgba(34, 31, 27, 0.9);
    --surface-strong: #211f1c;
    --text: #f7f2e8;
    --muted: #c9bcae;
    --border: rgba(247, 242, 232, 0.14);
    --primary: #f4d47a;
    --primary-soft: rgba(244, 212, 122, 0.13);
    --blue: #86b7ff;
    --mint: #79d8b5;
    --amber: #f4d47a;
    --accent: #f4d47a;
    --accent-soft: rgba(244, 212, 122, 0.14);
    --accent-mix: rgba(121, 216, 181, 0.13);
    --hero-blue: rgba(134,183,255,0.08);
    --hero-mint: rgba(121,216,181,0.10);
    --hero-amber: rgba(244,212,122,0.12);
    --shadow: 0 22px 70px rgba(0,0,0,0.34);
  }
}
html, body { min-height: 100%; margin: 0; }
body { color: var(--text); background: linear-gradient(145deg, var(--hero-blue), transparent 34%), linear-gradient(28deg, var(--hero-mint), transparent 38%), linear-gradient(315deg, var(--hero-amber), transparent 34%), var(--bg); font-family: Avenir Next, Avenir, Trebuchet MS, Segoe UI, sans-serif; line-height: 1.62; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
.page { padding: 28px 0 48px; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.container.narrow { max-width: 860px; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; }
.nav a { min-height: 34px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1; }
.nav .download-link { gap: 7px; padding: 0 12px; border-radius: 8px; background: var(--primary); color: var(--surface-strong); }
@media (prefers-color-scheme: dark) { .nav .download-link { color: #211a0c; } }
.language-switch { min-height: 34px; max-width: 150px; padding: 0 34px 0 12px; border: 1px solid var(--border); border-radius: 8px; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 50% / 6px 6px no-repeat, linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat, var(--surface-strong); color: var(--muted); font: inherit; font-size: 14px; font-weight: 800; line-height: 1; appearance: none; }
.language-switch:focus-visible, .button:focus-visible { outline: 3px solid rgba(37,99,235,0.28); outline-offset: 2px; }
.hero { min-height: calc(100vh - 116px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, 430px); align-items: center; gap: 44px; }
.kicker { width: fit-content; margin: 0 0 14px; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--accent); background: var(--surface); font-size: 13px; font-weight: 800; }
h1, h2 { margin: 0 0 12px; line-height: 1.1; letter-spacing: 0; }
h1 { font-size: 64px; }
h2 { font-size: 30px; }
p { margin: 0; }
.lead { max-width: 650px; color: var(--muted); font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-strong); color: var(--text); font-weight: 800; box-shadow: 0 8px 22px rgba(15,23,42,0.10); }
.button.primary { border-color: transparent; background: var(--primary); color: #ffffff; }
@media (prefers-color-scheme: dark) { .button.primary { color: #211a0c; background: var(--amber); } }
.store-icon { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 5px; }
.button.compact { align-self: start; }
.product-panel { padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.device-bar { height: 34px; display: flex; align-items: center; gap: 7px; }
.device-bar span { width: 10px; height: 10px; border-radius: 999px; background: var(--blue); }
.device-bar span:nth-child(2) { background: var(--mint); }
.device-bar span:nth-child(3) { background: var(--amber); }
.workspace-preview { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-strong); }
.preview-label { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.sentence { font-size: 21px; font-weight: 800; line-height: 1.25; }
.translation { padding: 12px; border-radius: 8px; background: var(--primary-soft); color: var(--muted); font-weight: 700; }
.token-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.preview-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.token-grid span { min-width: 0; display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--accent); background: var(--accent-soft); font-size: 13px; font-weight: 800; }
.token-grid small { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.25; }
.preview-actions span { flex: 1 1 auto; min-width: 86px; padding: 9px 10px; border-radius: 8px; background: linear-gradient(135deg, rgba(16,185,129,0.16), var(--accent-mix)); text-align: center; font-size: 13px; font-weight: 800; }
.section { padding: 42px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature, .faq-item, .install-panel { padding: 22px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.feature strong { display: block; margin-bottom: 8px; font-size: 18px; }
.feature p, .split p, .article p, .article li { color: var(--muted); }
.split { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary { cursor: pointer; font-weight: 800; }
.faq-item p { margin-top: 12px; }
.article { padding: 28px 0 12px; }
.article section { margin-top: 30px; }
.article h1 { font-size: 48px; }
.article h2 { font-size: 26px; }
.article ul { margin: 12px 0 0; padding-left: 20px; }
.install-panel .actions { margin-top: 18px; }
.footer { padding: 34px 0 18px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
@media (max-width: 900px) { .hero, .feature-grid, .feature-grid.two { grid-template-columns: 1fr; } h1 { font-size: 44px; } .hero { min-height: auto; padding: 26px 0; } .split { align-items: flex-start; flex-direction: column; } }
@media (max-width: 560px) { .page { padding-top: 18px; } .container { width: min(100% - 24px, 1120px); } .nav { justify-content: flex-start; } h1 { font-size: 38px; } .lead { font-size: 18px; } .product-panel { padding: 12px; } }
.section-lead { max-width: 680px; margin: -4px 0 18px; color: var(--muted); }
