/* Wodzik website. Colours of the logo (Mist theme); dark mode follows the system. */

@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #e2e9f2;
  --surface: #ffffff;
  --surface-2: #f1f4fb;
  --surface-3: #dfe6f3;
  --text: #1b2436;
  --muted: #4a5368;
  --faint: #6b7385;
  --primary: #485ccc;
  --primary-text: #3446b5;
  --primary-edge: #2f40a3;
  --on-primary: #ffffff;
  --teal: #3ec9bd;
  --teal-text: #00756c;
  --danger: #b3261e;
  --edge: #c9d3e2;
  --shadow: rgba(27, 36, 54, 0.07);
  --header: rgba(241, 244, 251, 0.85);
  --navy: #1b2436;
  --navy-2: #253047;
  --navy-text: #e6ebf5;
  --navy-muted: #a9b3c6;
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
  --radius: 18px;
  --gutter: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181e;
    --surface: #222933;
    --surface-2: #1b2028;
    --surface-3: #2b333f;
    --text: #ecf1f7;
    --muted: #b4bdcb;
    --faint: #8e98a8;
    --primary: #6f80e6;
    --primary-text: #a3b0ff;
    --primary-edge: #3b4bb0;
    --teal-text: #5fd9ce;
    --danger: #ff8a80;
    --edge: #0c0f13;
    --shadow: rgba(0, 0, 0, 0.35);
    --header: rgba(27, 32, 40, 0.85);
    --navy: #0f1318;
    --navy-2: #1b222c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 65px; }   /* the sticky header with its border */
/* anchors: a section's content (not its empty top padding) lands just under the header */
:root { --land: 24px; }
.section[id] { scroll-margin-top: calc(var(--land) - 56px); }
@media (min-width: 768px) { .section[id] { scroll-margin-top: calc(var(--land) - 80px); } }
#kontakt { scroll-margin-top: var(--land); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-text); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
code, kbd { font-family: var(--font-mono); font-size: 0.9em; }
* { font-variant-ligatures: none; }   /* JetBrains Mono would draw == and <= as single symbols; we show what is typed */
kbd { padding: 1px 6px; border-radius: 6px; background: var(--surface-3); color: var(--primary-text); }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; padding: 8px 14px; background: var(--surface); border-radius: 10px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* keycaps: the shared look of cards and buttons */
.cap { background: var(--surface); border-radius: var(--radius); box-shadow: 0 4px 0 var(--edge), 0 8px 20px var(--shadow); transition: transform .15s, box-shadow .15s; }
.cap.press:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--edge), 0 4px 10px var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 600 16px/1.2 var(--font-head);
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 4px 0 var(--primary-edge), 0 8px 16px rgba(72, 92, 204, .28); }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--primary-edge), 0 4px 8px rgba(72, 92, 204, .25); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: 0 3px 0 var(--edge), 0 4px 10px var(--shadow); }
.btn-ghost:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--edge); }
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-big { padding: 16px 30px; font-size: 19px; border-radius: 18px; }

.label { display: inline-block; font: 600 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--primary-text); }
.label-pill { padding: 4px 12px; border-radius: 999px; background: var(--surface-3); }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.head { max-width: 760px; margin: 0 auto 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.head p { color: var(--muted); font-size: 17px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--header); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--edge) 60%, transparent); }
.top .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 20px/1 var(--font-head); }
.brand img { width: 32px; height: 32px; }
.badge { font: 600 12px/1 var(--font-mono); padding: 5px 9px; border-radius: 999px; background: var(--surface-3); color: var(--primary-text); }
.nav { display: none; gap: 4px; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--bg) 80%, transparent);
  box-shadow: inset 0 1px 2px var(--shadow); }
.nav a { padding: 7px 12px; border-radius: 10px; font: 600 13px/1 var(--font-mono); color: var(--muted); text-decoration: none; }
.nav a:hover { background: var(--surface); color: var(--text); box-shadow: 0 2px 0 var(--edge); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 0; border-radius: 12px;
  background: var(--surface); color: var(--text); box-shadow: 0 2px 0 var(--edge); cursor: pointer; }
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .when-open { display: none; }
.top.open .menu-btn .when-open { display: block; }
.top.open .menu-btn .when-closed { display: none; }
.top.open .nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 12px var(--gutter) 16px;
  border-radius: 0; background: var(--surface-2); box-shadow: 0 12px 24px var(--shadow); }
.top.open .nav a { padding: 12px; font-size: 15px; }
.top .btn-small { display: none; }
@media (min-width: 560px) { .top .btn-small { display: inline-flex; } }
@media (min-width: 1080px) { .nav { display: flex; } .menu-btn { display: none; } }

/* hero */
.hero { position: relative; overflow-x: clip; padding: 32px 0 48px; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero::before { width: 480px; height: 480px; right: -60px; top: -120px; background: color-mix(in srgb, var(--primary) 16%, transparent); }
.hero::after { width: 420px; height: 420px; left: -160px; top: 45%; background: color-mix(in srgb, var(--teal) 18%, transparent); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 56px 0 72px; } .hero-grid { grid-template-columns: 5fr 7fr; } }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.news { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface-3);
  font: 600 12px/1.4 var(--font-mono); color: var(--primary-text); text-decoration: none; }
.news::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.hero h1 { font-size: clamp(44px, 8vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span { color: var(--primary); }
.hero-text > p { font-size: 18px; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; font: 500 13px/1.3 var(--font-mono);
  color: var(--muted); background: color-mix(in srgb, var(--surface-3) 70%, transparent); }
.pills .icon { color: var(--teal-text); }
.shot { position: relative; }
.shot img { border-radius: 14px; box-shadow: 0 24px 48px -16px rgba(27, 36, 54, .28), 0 0 0 1px color-mix(in srgb, var(--edge) 70%, transparent); }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .3s cubic-bezier(.45, 0, .2, 1) forwards; }
.trail circle { opacity: 0; animation: appear .4s 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .trail path { stroke-dashoffset: 0; } .trail circle { opacity: 1; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.stats li { padding: 20px; }
.stats .label { color: var(--faint); }
.stats strong { display: block; margin: 6px 0 2px; font: 800 clamp(28px, 4vw, 36px)/1.1 var(--font-head); color: var(--primary); }
.stats li:nth-child(2) strong { color: var(--teal-text); }
.stats li:nth-child(3) strong { color: var(--text); }
.stats span:last-child { font-size: 14px; color: var(--muted); }

/* feature cards */
.grid4 { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid4 { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { font-size: 15px; color: var(--muted); }
.card .foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 600 12px/1.4 var(--font-mono); color: var(--primary-text); }
.ico { width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2);
  color: var(--primary); box-shadow: inset 0 1px 2px var(--shadow); font: 700 20px/1 var(--font-head); }
.ico .icon { width: 26px; height: 26px; }
.ico.teal { color: var(--teal-text); }
.chip { padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--primary-text); font: 600 12px/1.4 var(--font-mono); }
.emoji { font-size: 22px; letter-spacing: 4px; }

/* typing modes */
.tabs { display: inline-flex; gap: 4px; padding: 6px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 2px 4px var(--shadow); }
.tabs button { padding: 10px 22px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: 700 14px/1 var(--font-mono); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--primary-text); box-shadow: 0 3px 0 var(--edge); }
.deck { padding: 16px; border-radius: 26px; background: var(--surface-2); box-shadow: 0 16px 32px var(--shadow), 0 4px 0 var(--edge); }
@media (min-width: 768px) { .deck { padding: 32px; } }
.mode-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
@media (min-width: 1000px) { .mode-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.mode-head h3 { font-size: 24px; margin-top: 4px; }
.mode-head p { color: var(--muted); margin-top: 8px; max-width: 44em; }
.mode-head .chips { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.mode-head .chips span { padding: 8px 12px; border-radius: 12px; background: var(--surface); box-shadow: 0 2px 0 var(--edge); font: 600 13px/1.2 var(--font-mono); }
.frame { padding: 8px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 2px 4px var(--shadow); }
.frame img { border-radius: 12px; margin: 0 auto; }
.frame.t9 img { max-width: 80%; }
[hidden] { display: none !important; }

/* space bar */
.panel { padding: 28px; }
@media (min-width: 768px) { .panel { padding: 48px; } }
.panel > .label + h2 { margin-top: 6px; }
.panel h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
.panel .lead { color: var(--muted); margin-top: 10px; max-width: 42em; }
.spacebar { margin: 36px auto 0; max-width: 900px; min-height: 104px; padding: 16px; border-radius: 18px; background: var(--surface-3);
  box-shadow: 0 6px 0 var(--edge), 0 12px 24px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .6);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.spacebar .side { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: var(--surface); box-shadow: 0 2px 0 var(--edge); }
.spacebar .side.right { justify-self: end; flex-direction: row-reverse; text-align: right; }
.spacebar .side.left { justify-self: start; color: var(--danger); }
.spacebar .side.right { color: var(--teal-text); }
.spacebar .side b { display: block; font: 700 15px/1.2 var(--font-mono); }
.spacebar .side small { display: none; font-size: 12px; color: var(--muted); }
.spacebar .mid { text-align: center; font: 700 14px/1.2 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; }
.spacebar .mid small { display: block; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--faint); margin-top: 4px; }
.spacebar .icon { width: 26px; height: 26px; }
.left .icon { animation: nudge-l 1.6s ease-in-out infinite; }
.right .icon { animation: nudge-r 1.6s ease-in-out infinite; }
@keyframes nudge-l { 50% { transform: translateX(-5px); } }
@keyframes nudge-r { 50% { transform: translateX(5px); } }
@media (min-width: 640px) { .spacebar .side small { display: block; } }
@media (max-width: 520px) { .spacebar { grid-template-columns: 1fr 1fr; } .spacebar .mid { display: none; } }
.note { max-width: 900px; margin: 22px auto 0; display: flex; gap: 8px; color: var(--muted); font-size: 14px; }
.note .icon { color: var(--primary); margin-top: 3px; }

/* shortcut panel */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 5fr 7fr; gap: 48px; } }
.split h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-top: 6px; }
.split .lead { color: var(--muted); margin-top: 12px; font-size: 17px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.tiles li { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--surface); box-shadow: 0 2px 0 var(--edge);
  font: 600 13px/1.3 var(--font-mono); }
.tiles .icon { color: var(--primary); }
.tiles li:nth-child(even) .icon { color: var(--teal-text); }
.macro { margin-top: 16px; padding: 16px; border-radius: 14px; background: color-mix(in srgb, var(--surface-3) 60%, transparent); font-size: 14px; color: var(--muted); }
.macro code { color: var(--text); }
.window { padding: 12px; border-radius: 24px; }
@media (min-width: 768px) { .window { padding: 20px; } }
.window-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 12px; margin-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--edge) 60%, transparent); font: 600 12px/1.3 var(--font-mono); color: var(--faint); }
.window img { border-radius: 12px; }

/* selection */
.select-demo { position: relative; max-width: 680px; margin: 56px auto 0; padding: 40px 24px 28px; text-align: center; }
.bubble { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 16px;
  background: var(--navy); box-shadow: 0 10px 20px rgba(0, 0, 0, .22); white-space: nowrap; }
.bubble span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 11px; background: rgba(255, 255, 255, .12);
  color: #fff; font: 600 12px/1 var(--font-mono); }
.bubble span.add { background: var(--teal); color: #0b2b28; }
.bubble .icon { width: 14px; height: 14px; }
.select-demo blockquote { margin: 0; font: 700 clamp(20px, 3vw, 26px)/1.5 var(--font-head); }
.select-demo mark { padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--teal) 40%, transparent); color: inherit; }
.select-demo p { margin-top: 16px; font: 500 13px/1.5 var(--font-mono); color: var(--faint); }
@media (max-width: 520px) { .bubble span:nth-child(3) { display: none; } }

/* code (always dark) */
.dark { background: var(--navy); color: var(--navy-text); position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; width: 600px; height: 600px; top: -260px; right: 15%; border-radius: 50%;
  background: rgba(72, 92, 204, .22); filter: blur(100px); pointer-events: none; }
.dark .wrap { position: relative; }
.dark-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
@media (min-width: 1000px) { .dark-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.dark h2 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; color: #fff; margin-top: 10px; }
.dark .lead { color: var(--navy-muted); font-size: 18px; margin-top: 10px; max-width: 36em; }
.dark .label { color: #75f7ea; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 440px; padding: 0; margin: 0; list-style: none; }
.langs li { padding: 5px 10px; border-radius: 9px; background: rgba(255, 255, 255, .08); font: 600 13px/1.3 var(--font-mono); color: #c7cdff; }
.langs li:nth-child(even) { color: #75f7ea; }
.glass { padding: 12px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
@media (min-width: 768px) { .glass { padding: 20px; } }
.glass .window-bar { color: var(--navy-muted); border-color: rgba(255, 255, 255, .1); flex-wrap: wrap; gap: 6px; }
.glass .window-bar span:last-child { color: #75f7ea; }
.glass img { border-radius: 12px; }
.code-cards { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .code-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .code-cards { grid-template-columns: repeat(4, 1fr); } }
.code-cards li { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 10px; }
.code-cards { padding: 0; margin: 24px 0 0; list-style: none; }
.code-cards .label { color: var(--navy-muted); }
.code-cards .from { font: 500 14px/1.4 var(--font-mono); color: #ffb4ab; text-decoration: line-through; }
.code-cards .to { font: 700 19px/1.3 var(--font-mono); color: #75f7ea; word-break: break-word; }
.code-cards li:nth-child(even) .to { color: #c7cdff; }
.code-cards p { font-size: 14px; color: var(--navy-muted); margin-top: auto; }

/* settings: rows like the settings window, a switch or a value on the right */
.opts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.opts li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--edge) 55%, transparent); }
.opts li:last-child { border-bottom: 0; }
.val { flex: none; padding: 3px 8px; border-radius: 8px; background: var(--surface-3); color: var(--primary-text); font: 600 11px/1.4 var(--font-mono); }
.sw { flex: none; position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--surface-3);
  box-shadow: inset 0 1px 2px var(--shadow); }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--faint); transition: transform .2s; }
.sw.on { background: var(--primary); }
.sw.on::after { transform: translateX(14px); background: #fff; }
.more { max-width: 900px; margin: 28px auto 0; display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.more .icon { color: var(--primary); margin-top: 3px; }

/* privacy */
.card .foot.teal { color: var(--teal-text); }

/* download */
.download { max-width: 960px; margin: 0 auto; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--surface-2); }
@media (min-width: 768px) { .download { padding: 56px; } }
.download > img { width: 80px; height: 80px; }
.download h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.download > p { color: var(--muted); font-size: 18px; max-width: 34em; }
.download .actions { justify-content: center; margin-top: 12px; }
.download small { font: 500 13px/1.5 var(--font-mono); color: var(--faint); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 20px 22px; font: 700 18px/1.3 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font: 600 22px/1 var(--font-mono); color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary .icon { color: var(--primary); width: 22px; height: 22px; }
.faq details p { padding: 0 22px 22px 56px; color: var(--muted); }

/* footer */
.foot-bar { padding: 36px 0; background: var(--surface-2); border-top: 1px solid color-mix(in srgb, var(--edge) 60%, transparent); }
.foot-bar .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
@media (min-width: 900px) { .foot-bar .wrap { flex-direction: row; justify-content: space-between; text-align: left; } }
.foot-bar nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font: 600 13px/1.4 var(--font-mono); }
.foot-bar nav a { color: var(--muted); text-decoration: none; }
.foot-bar nav a:hover { color: var(--primary-text); }
.foot-bar .legal { font-size: 13px; color: var(--muted); }
.foot-bar .legal small { display: block; color: var(--faint); font-family: var(--font-mono); font-size: 12px; margin-top: 2px; }
