/* Toledo+ website — plain CSS, no external resources.
   Tokens follow docs/DESIGN.md (Apple HIG translated to the web, WCAG 2.2 AA). */

/* Inter, self-hosted (assets/fonts, SIL OFL 1.1 — fonts/OFL-Inter.txt). No external requests. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Brand (docs/brand): orange #EE8B35 · magenta #E3285A · ink #1F2430. Text on white: #C2410C (orange).
   Theme: follows the system; <html data-theme="light|dark"> (nav toggle, assets/site.js) overrides it. */
:root {
  color-scheme: light dark;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --brand-orange: #EE8B35; --brand-magenta: #E3285A; --brand-ink: #1F2430;

  --bg: #ffffff;
  --bg-alt: #F5F4F2;
  --card: #ffffff;
  --card-alt: #F5F4F2;
  --label: #1F2430;
  --label-2: #5A5F6B;          /* 6.4:1 on white, 5.9:1 on --bg-alt */
  --label-3: rgba(31, 36, 48, .3);
  --separator: rgba(31, 36, 48, .14);
  --fill: rgba(118, 114, 110, .12);
  --tint: #EE8B35;             /* button fill; ink text on it 6.2:1 */
  --on-tint: #1F2430;
  --tint-text: #C2410C;        /* links, 5.2:1 on white, 4.7:1 on --bg-alt */
  --tint-soft: rgba(238, 139, 53, .12);
  --glass: rgba(255, 255, 255, .76);
  --glass-border: rgba(31, 36, 48, .08);
  --frame: #EAE8E4;
  --frame-border: rgba(31, 36, 48, .1);
  --shadow: 0 30px 60px -20px rgba(31, 36, 48, .28), 0 12px 24px -12px rgba(31, 36, 48, .12);
  --shadow-card: 0 0 0 .5px rgba(31, 36, 48, .06), 0 1px 2px rgba(31, 36, 48, .04), 0 4px 16px -6px rgba(31, 36, 48, .08);
  --green: #1E7B36;
  --orange: #C2410C;
  --red: #D70015;
  --purple: #8944ab;
  --teal: #0a7d8c;
  --magenta: #C81E4E;
  --glow: rgba(238, 139, 53, .16);

  --radius-l: 18px;
  --gutter: 16px;
  --page: min(1120px, calc(100% - 2 * var(--gutter)));
  --nav-h: 56px;

  /* motion — the app's tokens (ui.css), same names */
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 280ms; --dur-4: 350ms;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --ease-spring: cubic-bezier(.34, 1.3, .64, 1);
  --ease-smooth: cubic-bezier(.2, .8, .2, 1);
  interpolate-size: allow-keywords;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ease-spring: linear(0, 0.054, 0.181, 0.338, 0.498, 0.644, 0.766, 0.862, 0.933, 0.982, 1.013, 1.03, 1.037, 1.038, 1.035, 1.029, 1.023, 1.017, 1.012, 1.007, 1.004, 1.002, 1, 0.999, 1);
    --ease-smooth: linear(0, 0.059, 0.187, 0.336, 0.481, 0.608, 0.713, 0.796, 0.859, 0.905, 0.938, 0.961, 0.977, 0.987, 0.994, 0.998, 1, 1.001, 1);
  }
}
@media (min-width: 734px) { :root { --gutter: 32px; } }

/* dark on brand ink — once for the system preference, once for the explicit choice */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12151C; --bg-alt: #171B24; --card: #1F2430; --card-alt: #1F2430;
    --label: #F4F5F7; --label-2: #A9AFBC; /* 8.6:1 on --bg, 7.2:1 on --card */ --label-3: rgba(235, 237, 245, .3);
    --separator: rgba(235, 237, 245, .12); --fill: rgba(150, 160, 185, .18);
    --tint-text: #F5A35F; /* 9.0:1 on --bg, 7.6:1 on --card */ --tint-soft: rgba(238, 139, 53, .16);
    --glass: rgba(18, 21, 28, .72); --glass-border: rgba(235, 237, 245, .08);
    --frame: #283040; --frame-border: rgba(235, 237, 245, .1);
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(235, 237, 245, .05);
    --shadow-card: 0 0 0 .5px rgba(235, 237, 245, .08);
    --green: #30d158; --orange: #F5A35F; --red: #ff6b61; --purple: #bf5af2; --teal: #40c8e0; --magenta: #FF7A9C;
    --glow: rgba(238, 139, 53, .12);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12151C; --bg-alt: #171B24; --card: #1F2430; --card-alt: #1F2430;
  --label: #F4F5F7; --label-2: #A9AFBC; --label-3: rgba(235, 237, 245, .3);
  --separator: rgba(235, 237, 245, .12); --fill: rgba(150, 160, 185, .18);
  --tint-text: #F5A35F; --tint-soft: rgba(238, 139, 53, .16);
  --glass: rgba(18, 21, 28, .72); --glass-border: rgba(235, 237, 245, .08);
  --frame: #283040; --frame-border: rgba(235, 237, 245, .1);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(235, 237, 245, .05);
  --shadow-card: 0 0 0 .5px rgba(235, 237, 245, .08);
  --green: #30d158; --orange: #F5A35F; --red: #ff6b61; --purple: #bf5af2; --teal: #40c8e0; --magenta: #FF7A9C;
  --glow: rgba(238, 139, 53, .12);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;   /* no-JS fallback; with Lenis (assets/site.js) anchors glide via lenis.scrollTo */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.47;
  letter-spacing: -.014em;   /* Inter at 17px (rsms' dynamic metrics) */
  font-feature-settings: "calt" 1;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--tint-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.022em; line-height: 1.1; }
code { font-family: var(--font-mono); font-size: .9em; }
abbr[title] { text-decoration: none; }
kbd {
  display: inline-block; min-width: 1.6em; padding: 0 .35em; border-radius: 6px; font: 500 .85em/1.4 var(--font);
  border: 1px solid var(--separator); background: var(--card); text-align: center; color: var(--label);
}
:focus-visible { outline: 2px solid var(--tint-text); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(238, 139, 53, .28); }
html { scrollbar-color: color-mix(in srgb, var(--label) 26%, transparent) transparent; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--tint); color: var(--on-tint); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 8px; text-decoration: none; }

.wrap { width: var(--page); margin-inline: auto; }
.wrap.narrow { max-width: 860px; }

/* ------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid var(--glass-border);
}
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); } }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
/* logo: the tile below 32 px (brandguide); clear space ≥ ¼ icon width → 10px gap */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--label); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 28px; height: 28px; flex: none; }
.wordmark { font-weight: 800; font-size: 1.1875rem; letter-spacing: -.03em; }
.wordmark .plus { color: var(--tint-text); margin-left: .02em; }
.nav-links { display: none; gap: 24px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: .875rem; }
.nav-links a { color: var(--label); display: inline-flex; align-items: center; min-height: 44px; } /* target ≥ 24 px (WCAG 2.5.8), 44 px for touch */
.nav-links a:hover { text-decoration: none; color: var(--tint-text); }
.nav-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
.nav-end .btn-small { white-space: nowrap; }
@media (max-width: 559px) { .nav-end .nav-demo { display: none; } } /* phones: the menu and the hero link to the demo */
@media (min-width: 834px) { .nav-links { display: flex; } .nav-menu { display: none; } }
/* below 834 px the section links (and Demo/Install when they no longer fit) live in a small menu: <details>, works without JS */
.nav-menu { position: relative; }
.nav-menu > summary {
  list-style: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  background: var(--fill); color: var(--label); cursor: pointer; transition: background-color var(--dur-1) var(--ease);
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary:hover, .nav-menu[open] > summary { background: var(--tint-soft); color: var(--tint-text); }
.nav-menu > summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.nav-menu ul {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 200px; margin: 0; padding: 6px; list-style: none;
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow-card), 0 18px 40px -16px rgba(31, 36, 48, .35);
}
.nav-menu li + li { border-top: .5px solid var(--separator); }
.nav-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--label); border-radius: 8px; }
.nav-menu a:hover { text-decoration: none; background: var(--fill); }
.lang { display: flex; gap: 2px; font-size: .8125rem; font-weight: 600; background: var(--fill); padding: 2px; border-radius: 999px; }
.lang a { color: var(--label-2); padding: 4px 9px; border-radius: 999px; min-width: 24px; min-height: 24px; text-align: center; }
.lang a:hover { text-decoration: none; color: var(--label); }
.lang a[aria-current="true"] { background: var(--card); color: var(--label); box-shadow: 0 1px 2px rgba(31, 36, 48, .12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lang a[aria-current="true"] { background: #3A4356; } }
:root[data-theme="dark"] .lang a[aria-current="true"] { background: #3A4356; }
/* theme toggle: one icon button, Light ⇄ Dark; the icon shows the theme you see (data-mode, assets/site.js) */
.theme-toggle {
  appearance: none; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px;
  background: var(--fill); color: var(--label); cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), scale var(--dur-1) var(--ease);
}
.theme-toggle[hidden] { display: none; } /* pages without assets/site.js (and no-JS): no dead button */
.theme-toggle:hover { background: var(--tint-soft); color: var(--tint-text); }
.theme-toggle:active { scale: .92; }
.theme-toggle .ti { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: none; }
.theme-toggle[data-mode="light"] .ti-light, .theme-toggle[data-mode="dark"] .ti-dark { display: block; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px;
  font: 650 1.0625rem/1.2 var(--font); letter-spacing: -.014em;
  border: 0; cursor: pointer; text-align: center;
  transition: background-color var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), translate var(--dur-2) var(--ease-out), scale var(--dur-1) var(--ease), filter var(--dur-1) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { scale: .97; }
.btn svg { width: 18px; height: 18px; flex: none; }
/* primary: brand orange with ink text (6.2:1), a soft lift on hover */
.btn-primary { background: var(--tint); color: var(--on-tint); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(31, 36, 48, .16); }
.btn-primary:hover { filter: brightness(1.05) saturate(1.05); translate: 0 -1px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 20px -8px rgba(238, 139, 53, .7); }
.btn-primary:active { translate: 0 0; }
.btn-secondary { background: transparent; color: var(--label); box-shadow: inset 0 0 0 1.5px var(--separator); }
.btn-secondary:hover { background: var(--tint-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tint) 55%, transparent); }
.btn-small { min-height: 32px; padding: 5px 14px; font-size: .875rem; }
.btn-large { min-height: 52px; padding: 14px 28px; font-size: 1.125rem; }
.link-arrow { font-weight: 500; }
.link-arrow::after { content: "\00a0\203A"; display: inline-block; transition: translate var(--dur-2) var(--ease-out); }
.link-arrow:hover::after { translate: 3px 0; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(44px, 8vw, 96px) 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 35% -20% auto; height: 65%;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-logo { display: block; width: clamp(64px, 9vw, 88px); height: auto; margin: 0 auto clamp(22px, 3vw, 30px); } /* clear space ≥ ¼ width */
.eyebrow { font-size: clamp(.9375rem, 1.6vw, 1.125rem); font-weight: 600; color: var(--tint-text); margin: 0 0 12px; letter-spacing: -.012em; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.03; }
.hero h1 .nowrap { white-space: nowrap; }
.lead {
  max-width: 34em; margin: 20px auto 0;
  font-size: clamp(1.125rem, 2.1vw, 1.4375rem); line-height: 1.4; color: var(--label-2); letter-spacing: -.015em;
}
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 30px; }
.hero .demo-link { margin: 18px 0 0; }
.hero .fine { margin: 10px 0 0; font-size: .875rem; color: var(--label-2); display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; }
/* phones: Toledo+ installs on a computer — say so next to the Download button */
.hero .phone-note { display: none; max-width: 30em; margin: 14px auto 0; font-size: .9375rem; color: var(--label-2); }
@media (max-width: 699px) { .hero .phone-note { display: block; } }

.stage { margin: clamp(40px, 6vw, 72px) auto 0; width: min(1200px, calc(100% - 2 * var(--gutter))); padding-bottom: clamp(48px, 8vw, 96px); }
/* browser-window frame */
.window { border-radius: clamp(8px, 1.2vw, 14px); overflow: hidden; background: var(--frame); box-shadow: var(--shadow); border: .5px solid var(--frame-border); }
.window-bar {
  display: flex; align-items: center; gap: 7px; height: clamp(22px, 3vw, 38px); padding: 0 clamp(8px, 1.2vw, 14px);
  border-bottom: .5px solid var(--frame-border);
}
.window-bar i { width: clamp(6px, .9vw, 12px); aspect-ratio: 1; border-radius: 50%; background: #ff5f57; flex: none; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar .url {
  margin: 0 auto; transform: translateX(-24px);
  width: min(46%, 360px); height: 62%; border-radius: 6px; background: var(--bg);
  display: grid; place-items: center; font-size: clamp(7px, 1vw, 12px); color: var(--label-2); letter-spacing: 0;
  overflow: hidden; white-space: nowrap;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .window-bar .url { background: #1F2430; } }
:root[data-theme="dark"] .window-bar .url { background: #1F2430; }
.window picture, .window img { display: block; width: 100%; }
/* screenshot follows the theme (system or the toggle) */
.shot-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot-light { display: none !important; } :root:not([data-theme="light"]) .shot-dark { display: block !important; } }
:root[data-theme="dark"] .shot-light { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--bg-alt); }
.section .eyebrow { text-align: center; }
.section-title { text-align: center; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin-bottom: clamp(32px, 5vw, 56px); }
.section-lead { text-align: center; margin: calc(-1 * clamp(16px, 3vw, 36px)) auto clamp(28px, 4vw, 44px); max-width: 36em; color: var(--label-2); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); }
.card { background: var(--card); border-radius: var(--radius-l); padding: 24px; box-shadow: var(--shadow-card); }
.section:not(.alt) .card { background: var(--card-alt); }
.card h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 6px; }
.card p { color: var(--label-2); font-size: 1rem; line-height: 1.5; }
.card p:last-child { margin-bottom: 0; }

/* features */
.features { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow-card);
  transition: translate var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease);
}
@media (hover: hover) { .feature:hover { translate: 0 -2px; box-shadow: var(--shadow-card), 0 14px 30px -16px rgba(31, 36, 48, .28); } }
.feature > div { min-width: 0; }
.feature h3 { font-size: 1.125rem; font-weight: 600; margin: 2px 0 4px; letter-spacing: -.015em; }
.feature p { margin: 0; color: var(--label-2); font-size: 1rem; line-height: 1.45; }
.icon {
  flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--tint-soft); color: var(--tint-text);
}
.icon svg { width: 24px; height: 24px; }
.icon.red { background: rgba(255, 59, 48, .12); color: var(--red); }
.icon.orange { background: rgba(238, 139, 53, .14); color: var(--orange); }
.icon.magenta { background: rgba(227, 40, 90, .11); color: var(--magenta); }
.icon.green { background: rgba(52, 199, 89, .14); color: var(--green); }
.icon.purple { background: rgba(175, 82, 222, .13); color: var(--purple); }
.icon.teal { background: rgba(48, 176, 199, .14); color: var(--teal); }

/* ------------------------------------------------------------ install guide */
.download { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px 18px; margin-bottom: 16px; }
.download img { width: 56px; height: 56px; }
.download h3 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 700; }
.download-text p { margin: 2px 0 0; }
.download-action { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.download-action small { color: var(--label-2); font-size: .8125rem; }
@media (min-width: 734px) {
  .download { grid-template-columns: auto 1fr auto; }
  .download-action { grid-column: auto; align-items: center; }
}
.steps { list-style: none; margin: 0 0 16px; counter-reset: step; padding: 8px 24px; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 48px; border-top: .5px solid var(--separator); }
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 15px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-ink); color: #fff; font: 700 .9375rem/1 var(--font-display);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.steps h3 { font-size: 1.0625rem; margin: 4px 0 4px; }
.steps p { margin: 0; }
.steps p + p { margin-top: 8px; }
.info { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 734px) { .info { grid-template-columns: 1fr 1fr; } }
.info .card p + p { margin-top: 8px; }
.addr { display: inline-flex; align-items: center; gap: 2px; flex-wrap: wrap; vertical-align: baseline; }
.card code { background: var(--fill); padding: 1px 6px; border-radius: 5px; font-size: .875em; color: var(--label); overflow-wrap: anywhere; }
.copy {
  appearance: none; border: 0; background: transparent; color: var(--tint-text); font: 500 .8125rem var(--font);
  padding: 4px 8px; min-height: 28px; min-width: 24px; border-radius: 8px; cursor: pointer;
}
.copy { transition: background-color var(--dur-1) var(--ease), color var(--dur-2) var(--ease), scale var(--dur-1) var(--ease); }
.copy:hover { background: var(--tint-soft); }
.copy:active { scale: .94; }
/* "Gekopieerd": the label swaps with a small pop and a check (assets/site.js) */
.copy.copied { color: var(--green); }
.copy.copied::before { content: "✓\00a0"; }
.copy.copied { animation: copied var(--dur-3) var(--ease-spring); }
@keyframes copied { from { scale: .85; opacity: .4; } }
.browser-list { list-style: none; padding: 0; margin: 8px 0 0; }
.browser-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: .5px solid var(--separator); }
.browser-list li:first-child { border-top: 0; padding-top: 4px; }
.browser-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green); }
.browser-list .no svg { color: var(--label-2); }
.browser-list p { margin: 0; }
.browser-list strong { color: var(--label); font-weight: 600; display: block; }
.note { margin: 16px 0 0; color: var(--label-2); font-size: .9375rem; text-align: center; }

/* ------------------------------------------------------------ privacy */
.privacy { display: flex; gap: 20px; align-items: flex-start; }
.privacy h2 { font-size: clamp(1.5rem, 3.4vw, 2.125rem); font-weight: 700; letter-spacing: -.025em; margin: 6px 0 12px; }
.privacy p { color: var(--label-2); font-size: clamp(1rem, 1.6vw, 1.125rem); }
.privacy p:last-child { margin-bottom: 0; }
.privacy > div { min-width: 0; }
@media (max-width: 599px) { .privacy { flex-direction: column; gap: 12px; } }

/* ------------------------------------------------------------ FAQ */
.faq details { border-bottom: .5px solid var(--separator); }
.faq details:first-of-type { border-top: .5px solid var(--separator); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: clamp(1.0625rem, 1.9vw, 1.25rem); font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--label-2); border-bottom: 2px solid var(--label-2); transform: rotate(45deg) translateY(-3px);
  transition: transform var(--dur-2) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq .answer { padding: 0 32px 22px 0; color: var(--label-2); }
.faq summary { transition: color var(--dur-1) var(--ease); }
.faq summary:hover { color: var(--tint-text); }
/* height animates to auto (Chrome 131+: ::details-content + interpolate-size); elsewhere it just opens */
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size var(--dur-3) var(--ease-smooth), content-visibility var(--dur-3) allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
.faq .answer p:last-child { margin-bottom: 0; }
.faq code { background: var(--fill); padding: 1px 6px; border-radius: 5px; font-size: .875em; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ footer */
.footer { border-top: .5px solid var(--separator); background: var(--bg-alt); color: var(--label-2); font-size: .8125rem; line-height: 1.5; padding: 32px 0 40px; }
.footer .wrap { display: grid; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--label); display: inline-block; min-height: 24px; }
.footer p { margin: 0; }
.footer .rule { border-top: .5px solid var(--separator); padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ------------------------------------------------------------ document pages (privacy, 404) */
.doc { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; }
.doc .meta { color: var(--label-2); margin: 12px 0 0; }
.doc .summary { font-size: clamp(1.1875rem, 2.2vw, 1.375rem); line-height: 1.45; margin: 32px 0 0; padding: 22px 24px; border-radius: var(--radius-l); background: var(--bg-alt); }
.doc h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin: 48px 0 12px; }
.doc p, .doc li { color: var(--label); }
.doc ul { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--label-2); }
.doc code { background: var(--fill); padding: 1px 6px; border-radius: 5px; font-size: .875em; overflow-wrap: anywhere; }
.doc dl { margin: 0; display: grid; gap: 0; }
.doc dl > div { padding: 14px 0; border-top: .5px solid var(--separator); }
.doc dl > div:last-child { border-bottom: .5px solid var(--separator); }
.doc dt { font-weight: 600; }
.doc dd { margin: 4px 0 0; color: var(--label-2); }
.center { text-align: center; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--label-3); font-family: var(--font-display); }

/* ------------------------------------------------------------ small phones */
@media (max-width: 419px) {
  .nav .btn-small { display: none; } /* Demo and Install are in the menu */
  .nav .wrap { gap: 10px; }
  .nav-end { gap: 6px; }
  .lang a { padding: 4px 7px; }
  .wordmark { font-size: 1.0625rem; }
  .hero h1 .nowrap { white-space: normal; }
  .hero .cta .btn { width: 100%; }
  .steps { padding: 4px 16px; }
  .card { padding: 20px; }
  .feature { padding: 18px; }
}

/* ------------------------------------------------------------ motion (the app's language: ≤ 350 ms, opacity/transform) */
/* Hero entrance: logo, headline, lead, buttons, then the screenshot rises in. CSS only — content never waits for JS. */
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes rise-scale { from { opacity: 0; translate: 0 28px; scale: .975; } }
.hero .wrap > * { animation: rise var(--dur-4) var(--ease-out) both; }
.hero .wrap > :nth-child(1) { animation-delay: 40ms; }
.hero .wrap > :nth-child(2) { animation-delay: 90ms; }
.hero .wrap > :nth-child(3) { animation-delay: 140ms; }
.hero .wrap > :nth-child(4) { animation-delay: 190ms; }
.hero .wrap > :nth-child(5) { animation-delay: 240ms; }
.hero .wrap > :nth-child(n+6) { animation-delay: 280ms; }
.hero .stage .window { animation: rise-scale 700ms var(--ease-smooth) 260ms both; transform-origin: 50% 0; }
/* Scroll reveal: only elements below the fold, only once JS marked them (html.reveal-on) — without JS all is visible */
.reveal-on .reveal { opacity: 0; translate: 0 18px; }
.reveal-on .reveal.in { opacity: 1; translate: 0 0; transition: opacity 500ms var(--ease-out), translate 600ms var(--ease-smooth); transition-delay: var(--d, 0ms); }
/* theme switch: a short colour cross-fade (only while switching) */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), fill var(--dur-2) var(--ease) !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-on .reveal { opacity: 1; translate: none; }
  .btn:active, .theme-toggle:active, .copy:active { scale: none; }
  .btn-primary:hover, .feature:hover { translate: none; }
  .faq details::details-content { transition: none !important; }
}
@media (prefers-contrast: more) {
  :root { --label-2: #3A3F4B; --separator: rgba(31, 36, 48, .5); }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --label-2: #D4D8E0; --separator: rgba(235, 237, 245, .4); }
}
@media (prefers-contrast: more) { :root[data-theme="dark"] { --label-2: #D4D8E0; --separator: rgba(235, 237, 245, .4); } }
/* Windows high contrast: backgrounds are dropped, so buttons get a border and the current language an underline */
@media (forced-colors: active) {
  .btn, .copy, .theme-toggle, .nav-menu > summary, .lang a { border: 1px solid ButtonText; }
  .lang a[aria-current="true"] { text-decoration: underline; text-underline-offset: .2em; border-width: 2px; }
  .steps li::before { border: 1px solid CanvasText; }
}
@media print {
  .nav, .skip-link, .stage { display: none !important; }
}

/* ------------------------------------------------------------ Lenis (smooth wheel scrolling, assets/vendor/lenis — MIT)
   Its recommended stylesheet (vendor/lenis/lenis.css), inlined to save a request; only active while html.lenis is set. */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}
html.lenis { scroll-behavior: auto; } /* Lenis animates anchors itself */
