:root { --bg:#fff; --surface:#f5f5f5; --text:#0a0a0a; --text-2:#5c5c5c; --border:#e4e4e4; --border-strong:#bdbdbd; --inv-bg:#0a0a0a; --inv-text:#fff; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg:#0a0a0a; --surface:#151515; --text:#f5f5f5; --text-2:#a3a3a3; --border:#272727; --border-strong:#4a4a4a; --inv-bg:#f5f5f5; --inv-text:#0a0a0a; color-scheme: dark; }
  .mark, .logo-full { filter: invert(1); } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
a { color: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 22px; }
nav { display:flex; align-items:center; justify-content:space-between; padding:18px 0; }
nav .brand { display:flex; align-items:center; gap:10px; font-weight:650; font-size:18px; text-decoration:none; letter-spacing:.01em; }
nav .brand img { height:24px; width:auto; }
nav .links { display:flex; gap:22px; align-items:center; font-size:14px; }
nav .links a { text-decoration:none; color:var(--text-2); } nav .links a:hover { color:var(--text); }
.btn { display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 20px; border-radius:10px; border:1px solid var(--border-strong); background:var(--bg); color:var(--text); font:inherit; font-size:15px; font-weight:500; text-decoration:none; cursor:pointer; }
.btn:hover { border-color:var(--text); }
.btn.primary { background:var(--inv-bg); color:var(--inv-text); border-color:var(--inv-bg); }
.btn.small { height:34px; padding:0 14px; font-size:13px; border-radius:8px; }
.hero { padding:64px 0 48px; }
.hero img.logo-full { height:84px; width:auto; margin-bottom:30px; display:block; }
h1 { font-size:clamp(34px,6vw,54px); line-height:1.08; letter-spacing:-.02em; margin:0 0 18px; font-weight:700; }
h2 { font-size:26px; letter-spacing:-.01em; margin:0 0 10px; }
h3 { font-size:16px; margin:0 0 4px; }
.lead { font-size:19px; color:var(--text-2); max-width:620px; margin:0 0 28px; }
.cta { display:flex; gap:12px; flex-wrap:wrap; }
section { padding:44px 0; border-top:1px solid var(--border); }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:22px; margin-top:22px; }
.card { background:var(--surface); border-radius:14px; padding:20px; }
.card p { margin:6px 0 0; color:var(--text-2); font-size:15px; }
.num { width:28px; height:28px; border-radius:50%; background:var(--inv-bg); color:var(--inv-text); display:inline-flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; margin-bottom:10px; }
.addr { display:flex; gap:8px; margin:14px 0 6px; }
.addr input { flex:1; min-width:0; height:44px; padding:0 14px; border-radius:10px; border:1px solid var(--border-strong); background:var(--bg); color:var(--text); font:14px ui-monospace,SFMono-Regular,Consolas,monospace; }
.steps { counter-reset:s; list-style:none; padding:0; margin:18px 0; }
.steps li { counter-increment:s; position:relative; padding:0 0 18px 46px; }
.steps li::before { content:counter(s); position:absolute; left:0; top:0; width:30px; height:30px; border-radius:50%; background:var(--inv-bg); color:var(--inv-text); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; }
.note { background:var(--surface); border-radius:12px; padding:14px 16px; font-size:14px; color:var(--text-2); margin:16px 0; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.chip { height:32px; padding:0 14px; border-radius:16px; border:1px solid var(--border-strong); background:var(--bg); color:var(--text); font:inherit; font-size:13px; cursor:pointer; }
details { border-top:1px solid var(--border); padding:12px 0; } details:last-child { border-bottom:1px solid var(--border); }
summary { cursor:pointer; font-weight:500; }
details p { color:var(--text-2); margin:8px 0 0; font-size:15px; }
.tabs { display:flex; gap:6px; margin:18px 0 6px; flex-wrap:wrap; }
.tab { height:36px; padding:0 16px; border-radius:18px; border:1px solid var(--border-strong); background:var(--bg); color:var(--text); font:inherit; font-size:14px; cursor:pointer; }
.tab[aria-selected="true"] { background:var(--inv-bg); color:var(--inv-text); border-color:var(--inv-bg); }
.panel[hidden] { display:none; }
footer { padding:34px 0 50px; border-top:1px solid var(--border); font-size:14px; color:var(--text-2); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
article.legal h2 { margin-top:30px; font-size:20px; } article.legal p, article.legal li { color:var(--text-2); } article.legal strong { color:var(--text); }
.faint { color:var(--text-2); font-size:14px; }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--text); outline-offset:2px; }

/* ---- additions for the desktop site ---- */
nav .links { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
nav .links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.hero .cta + .faint { margin-top: 14px; }
.badge { display:inline-block; font-size:12px; font-weight:500; border:1px solid var(--text); border-radius:999px; padding:1px 9px; margin-left:8px; vertical-align:middle; }
.badge[hidden] { display:none; }
.kbd { display:inline-block; font:12.5px ui-monospace,SFMono-Regular,Consolas,monospace; border:1px solid var(--border-strong); border-bottom-width:2px; border-radius:6px; padding:1px 7px; background:var(--bg); color:var(--text); white-space:nowrap; }
code { font:13px ui-monospace,SFMono-Regular,Consolas,monospace; background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:1px 6px; word-break:break-all; }
.btn[aria-disabled="true"] { opacity:.45; pointer-events:none; }
.btn .sub { font-weight:400; color:inherit; opacity:.7; font-size:12px; }

/* OS download cards (download.html) */
.os { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:22px; margin-top:22px; }
.os .card { display:flex; flex-direction:column; gap:12px; border:1px solid transparent; }
.os .card.rec { border-color:var(--text); }
.os h2 { font-size:22px; margin:0; }
.os .sub { margin:0; color:var(--text-2); font-size:14px; }
.btns { display:flex; flex-wrap:wrap; gap:8px; }
.os details { border:0; padding:0; margin-top:2px; } .os details:last-child { border:0; }
.os details p { font-size:14px; }
#mobile { margin:18px 0 0; }
#unpublished { margin-top:18px; }
.steps li p { margin:2px 0 0; }

/* plans */
.plans { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-top:22px; }
.plan { background:var(--surface); border-radius:14px; padding:18px 16px; display:flex; flex-direction:column; gap:2px; }
.plan.pop { outline:2px solid var(--text); }
.plan h3 { font-size:15px; margin:0; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.plan .price { font-size:26px; font-weight:700; letter-spacing:-.02em; margin:6px 0 0; }
.plan .per { font-size:13px; color:var(--text-2); margin:0 0 10px; }
.plan ul { list-style:none; margin:0; padding:0; font-size:14px; color:var(--text-2); }
.plan li { padding:3px 0; border-top:1px solid var(--border); } .plan li:first-child { border-top:0; }
.plan li strong { color:var(--text); font-weight:600; }

/* feature list with big shortcut keys */
.shortcuts { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; margin-top:22px; }
.shortcuts .card h3 { margin-bottom:8px; }

/* forms (contact.html) */
form.form { display:grid; gap:16px; margin-top:22px; max-width:620px; }
.field { display:grid; gap:6px; }
.field label { font-size:14px; font-weight:500; }
.field input, .field select, .field textarea { width:100%; font:inherit; font-size:15px; color:var(--text); background:var(--bg); border:1px solid var(--border-strong); border-radius:10px; padding:11px 14px; min-height:44px; }
.field textarea { min-height:150px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline:2px solid var(--text); outline-offset:1px; border-color:var(--text); }
.field .hint { font-size:13px; color:var(--text-2); }
.field .err { font-size:13px; color:var(--text); display:none; font-weight:500; }
.field.bad input, .field.bad select, .field.bad textarea { border-color:var(--text); border-width:2px; }
.field.bad .err { display:block; }
.check { display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--text-2); }
.check input { width:20px; height:20px; margin:2px 0 0; accent-color:var(--text); flex:none; }
.check.bad { color:var(--text); font-weight:500; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
#status { border-radius:12px; padding:14px 16px; font-size:15px; background:var(--surface); }
#status[data-kind="ok"] { border-left:4px solid var(--text); }
#status[data-kind="error"] { border-left:4px solid var(--text); font-weight:500; }
.help-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; margin-top:22px; }
.help-grid .card { padding:16px; } .help-grid h3 { font-size:15px; }

/* legal pages: a small contents list */
.toc { background:var(--surface); border-radius:12px; padding:14px 18px; margin:18px 0 6px; font-size:14px; }
.toc ul { margin:6px 0 0; padding-left:18px; columns:2; column-gap:28px; } .toc li { padding:1px 0; break-inside:avoid; }
.toc a { color:var(--text-2); } .toc a:hover { color:var(--text); }
article.legal h2 { scroll-margin-top:16px; }
@media (max-width:560px) { .toc ul { columns:1; } .hero { padding-top:36px; } .hero img.logo-full { height:64px; } nav .links { gap:14px; } }
@media print { nav, footer, .toc { display:none; } }

/* Beta tag */
.beta { display:inline-block; vertical-align:middle; margin-left:2px; padding:2px 7px; border:1px solid currentColor; border-radius:999px; font-size:10.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; line-height:1.4; color:var(--text-2); }
h1 .beta { font-size:12px; margin-left:8px; position:relative; top:-3px; }
.beta-note { margin-top:6px; max-width:560px; }



/* Cookie consent */
.cookie-banner { position:fixed; z-index:1000; left:20px; right:20px; bottom:20px; max-width:980px; margin:auto; padding:18px 20px; display:flex; align-items:center; justify-content:space-between; gap:22px; border:1px solid var(--border-strong); border-radius:16px; background:var(--bg); color:var(--text); box-shadow:0 12px 45px rgba(0,0,0,.18); }
.cookie-banner[hidden], .cookie-backdrop[hidden] { display:none !important; }
.cookie-copy { max-width:580px; } .cookie-copy p { margin:4px 0; color:var(--text-2); font-size:14px; } .cookie-copy a { font-size:13px; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.cookie-backdrop { position:fixed; z-index:1001; inset:0; background:rgba(0,0,0,.55); display:grid; place-items:center; padding:20px; }
.cookie-panel { position:relative; width:min(100%,560px); max-height:90vh; overflow:auto; background:var(--bg); color:var(--text); border:1px solid var(--border); border-radius:16px; padding:26px; }
.cookie-panel h2 { margin:0 35px 8px 0; } .cookie-panel>p,.cookie-option p { color:var(--text-2); font-size:14px; margin:4px 0 0; }
.cookie-option { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 0; border-top:1px solid var(--border); }
.cookie-option input { width:20px; height:20px; accent-color:var(--text); }
.always-on { font-size:13px; color:var(--text-2); white-space:nowrap; }
.cookie-close { position:absolute; right:18px; top:14px; border:0; background:transparent; color:var(--text); font-size:27px; cursor:pointer; }
@media(max-width:680px) { .cookie-banner { left:10px; right:10px; bottom:10px; display:block; } .cookie-actions { margin-top:12px; } .cookie-actions .btn { flex:1; justify-content:center; } }
