/* Generator Tracker — landing page in the app's 3.0 design: warm paper light theme / true-black dark theme,
   ink as the primary colour, square corners, hairline and 1.5 px ink rules, IBM Plex Sans for words and
   IBM Plex Mono for digits only. Red is for warnings, green only for "running". Generator identity colours
   (blue / violet / teal) mark the eyebrows like the colour rule next to a generator name in the app.
   Light and dark: the system preference by default, html[data-theme] when the visitor chose one. */

/* Self-hosted IBM Plex (latin + cyrillic subsets, OFL — fonts/OFL.txt): no request to Google Fonts. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plex-sans-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plex-sans-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/plex-sans-600.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/plex-sans-700.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plex-mono-500.woff2) format("woff2"); }

/* Tokens — light (app palette 5a) */
:root {
  color-scheme: light dark;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --container: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --brand: #ff6b35;                 /* the icon's orange — focus ring only */
  --gen-1: #4c6edb; --gen-2: #8a5cc9; --gen-3: #2f86a6;

  --bg: #f3f1ec;
  --bg-2: #ebe8e1;                  /* quiet band behind a section / screenshot */
  --card: #f3f1ec;
  --raised: #e8e5dd;                /* pressed / hover fill */
  --line: rgba(27, 26, 23, 0.15);   /* row dividers, card outlines */
  --line-strong: #1b1a17;           /* 1.5 px section rules */
  --text: #1b1a17;
  --text-2: #4f4b43;
  --text-3: #6e6a60;
  --btn-bg: #1b1a17; --btn-fg: #f3f1ec; --btn-hover: #3a3833;
  /* the running card: inverted ink */
  --run-bg: #1b1a17; --run-text: #f3f1ec; --run-muted: #a8a398; --run-rule: #3a3833;
  --running: #1e7a36;               /* "● running" on the page */
  --running-on-run: #7bd88f;        /* "● running" on the ink card */
  --due: #c4321f; --soon: #b86e0a;
  --bar-track: rgba(27, 26, 23, 0.1);
  --header-bg: rgba(243, 241, 236, 0.92);
  --device-frame: #1b1a17;
  --shadow-device: 0 30px 60px -30px rgba(27, 26, 23, 0.45);
}
:root[data-theme="light"] { color-scheme: light; }

/* Tokens — dark (app palette 5d) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --bg-2: #0d0d0c; --card: #000000; --raised: #1a1918;
  --line: #2a2926; --line-strong: #33322d;
  --text: #f5f2ea; --text-2: #bdb8ad; --text-3: #a8a398;
  --btn-bg: #f5f2ea; --btn-fg: #000000; --btn-hover: #d9d5cb;
  --run-bg: #24231f; --run-text: #f5f2ea; --run-muted: #a8a398; --run-rule: #33322d;
  --running: #7bd88f; --running-on-run: #7bd88f;
  --due: #ff8a78; --soon: #ffc266;
  --bar-track: #24231f;
  --header-bg: rgba(0, 0, 0, 0.9);
  --device-frame: #24231f;
  --shadow-device: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --bg-2: #0d0d0c; --card: #000000; --raised: #1a1918;
    --line: #2a2926; --line-strong: #33322d;
    --text: #f5f2ea; --text-2: #bdb8ad; --text-3: #a8a398;
    --btn-bg: #f5f2ea; --btn-fg: #000000; --btn-hover: #d9d5cb;
    --run-bg: #24231f; --run-text: #f5f2ea; --run-muted: #a8a398; --run-rule: #33322d;
    --running: #7bd88f; --running-on-run: #7bd88f;
    --due: #ff8a78; --soon: #ffc266;
    --bar-track: #24231f;
    --header-bg: rgba(0, 0, 0, 0.9);
    --device-frame: #24231f;
    --shadow-device: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  }
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s, color 0.25s;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -56px; z-index: 100; padding: 10px 16px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
/* Eyebrow: a generator colour rule + mono caps, like a generator name in the app */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.eyebrow::before { content: ""; width: 3px; height: 16px; background: var(--gen-1); }
.section:nth-of-type(3n+1) .eyebrow::before { background: var(--gen-2); }
.section:nth-of-type(3n+2) .eyebrow::before { background: var(--gen-3); }
.lead { color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); text-wrap: pretty; }
.card { background: var(--card); border: 1px solid var(--line); }
.text-link { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 3px; }

/* Buttons: square, ink-filled (Start/Stop shapes of the app) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn-small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-ghost:hover { background: var(--raised); }
.icon-btn, .lang-switch {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); background: transparent;
  color: var(--text); font: inherit; font-family: var(--mono); font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.icon-btn:hover, .lang-switch:hover { border-color: var(--text); background: var(--raised); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.icon-sun { display: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s, background-color 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-strong); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.brand img { border-radius: 22%; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 12px;
  color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 0.15s, box-shadow 0.15s;
}
.nav a:hover { color: var(--text); box-shadow: inset 0 -2px 0 var(--line); }
.nav a[aria-current="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }
.menu-bar { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform 0.2s; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: clip; padding: clamp(40px, 7vw, 88px) 0 56px; }
.hero-bg { display: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 48px; align-items: center; }
.hero-inner > *, .showcase-row > *, .platform > *, .privacy > *, .news > *, .cta > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--text-2);
}
.pill-icon { width: 16px; height: 16px; flex: none; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 22px; }
.hero:lang(uk) h1 { font-size: clamp(36px, 4.9vw, 62px); }
/* The accent word sits on an ink rule, like the 1.5 px rule under a page title in the app */
.hero h1 em { font-style: normal; box-shadow: inset 0 -0.14em 0 var(--brand); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.hero-visual { animation: fade 1s var(--ease) 0.15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badges.is-centered { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 16px;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.store-badge:hover { background: var(--btn-hover); transform: translateY(-2px); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.store-badge strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.store-icon { width: 26px; height: 26px; flex: none; }

.hero-visual { position: relative; min-height: 660px; }
.hero .device-main { position: absolute; z-index: 2; left: 9%; top: 10px; width: min(292px, 60vw); }
.hero .device-second { position: absolute; z-index: 1; right: 0; top: 110px; width: min(236px, 48vw); transform: rotate(5deg); }

/* Device frames — the only rounded things on the page, as in the app (phone chrome is rounded, the UI is square) */
.device { margin: 0; position: relative; background: var(--device-frame); box-shadow: var(--shadow-device); }
.device img { width: 100%; }
.device-ios { padding: 10px; border-radius: 15.5%/7.2%; }
.device-ios img { border-radius: 13.5%/6.3%; }
.device-ios::before { content: ""; position: absolute; z-index: 2; top: 5.5%; left: 50%; width: 27%; height: 3.1%; transform: translateX(-50%); border-radius: 999px; background: #050607; }
.device-android { padding: 9px; border-radius: 12%/5.4%; }
.device-android img { border-radius: 10.4%/4.7%; }
.device-android::before { content: ""; position: absolute; z-index: 2; top: 3.2%; left: 50%; width: 4.4%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #050607; }
.device::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); pointer-events: none; }

/* Floating UI chips over the hero devices — pieces of the app UI */
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px;
  background: var(--card); border: 1.5px solid var(--text);
  animation: float 7s ease-in-out infinite;
}
.chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.chip-text small { font-size: 12px; font-weight: 400; color: var(--text-3); }
.chip-text strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.chip-text strong.num { font-weight: 500; }
.chip-text strong.is-due { color: var(--due); }
.chip-running { background: var(--run-bg); border-color: var(--run-bg); color: var(--run-text); }
.chip-running .chip-text small { color: var(--run-muted); }
.chip-dot { width: 9px; height: 9px; margin: 0 2px 0 2px; border-radius: 50%; background: var(--running-on-run); animation: blink 2s ease-in-out infinite; }
.chip-rule { width: 3px; height: 30px; flex: none; background: var(--gen-3); }
.chip-icon { display: grid; place-items: center; width: 22px; color: var(--due); font-size: 15px; }
.chip-running { left: -4%; top: 0; }
.chip-avg { right: -2%; top: 50%; animation-delay: -2.4s; }
.chip-due { left: 4%; bottom: 9%; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 52px; padding-top: 24px; border-top: 1.5px solid var(--line-strong); color: var(--text-2); font-size: 15px; font-weight: 500; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: square; stroke-linejoin: miter; }

/* Sections */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.is-left { margin: 0; text-align: left; }
.section-head h2, .showcase-copy h2, .cta h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 16px; letter-spacing: -0.03em; }

.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; box-shadow: inset 0 0 0 1.5px var(--text); }
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }

/* Features — bento grid with hairline cells */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento-card { position: relative; padding: 28px; transition: border-color 0.2s, transform 0.25s var(--ease); }
.bento-card:hover { border-color: var(--text); }
.bento-card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }
.bento-card p { color: var(--text-2); font-size: 15.5px; }
.bento-card.is-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.bento-copy { padding: 28px; align-self: center; }
.bento-shot { position: relative; min-height: 280px; background: var(--bg-2); border-left: 1px solid var(--line); }
.bento-shot .device { position: absolute; left: 50%; top: 30px; width: 240px; transform: translateX(-50%) rotate(-4deg); }
.bento-card.is-reverse .bento-copy { order: 2; }
/* Maintenance rows as in the app's ТО tab: name, status, used-interval bar with a limit tick */
.ui-list { list-style: none; margin: 0; align-self: center; padding: 28px; display: grid; gap: 0; border-right: 1px solid var(--line); background: var(--bg-2); height: 100%; align-content: center; }
.ui-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ui-list li:first-child { border-top: 1.5px solid var(--line-strong); }
.ui-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ui-top strong { font-size: 15px; font-weight: 600; }
.ui-list small { font-size: 13px; color: var(--text-3); }
.ui-status { flex: none; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ui-status.is-due { color: var(--due); }
.ui-status.is-soon { color: var(--soon); }
.ui-status.is-ok { color: var(--text-3); }
.ui-bar { position: relative; display: block; height: 4px; margin-top: 6px; background: var(--bar-track); }
.ui-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--text); }
.ui-bar::after { content: ""; position: absolute; left: 80%; top: -3px; bottom: -3px; width: 1.5px; background: var(--text-3); }
.is-due .ui-bar i { background: var(--due); }
.is-soon .ui-bar i { background: var(--soon); }

/* How it works */
.how { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1.5px solid var(--line-strong); }
.step { position: relative; padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; background: var(--btn-bg); color: var(--btn-fg); font-family: var(--mono); font-weight: 500; font-size: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }
.step p { color: var(--text-2); font-size: 15.5px; }

/* Showcase */
.showcase-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.showcase-row + .showcase-row { margin-top: clamp(72px, 10vw, 120px); }
.showcase-row.is-reversed { grid-template-columns: 1.2fr 0.8fr; }
.showcase-row.is-reversed .showcase-device { order: 2; }
.showcase-device { width: min(300px, 70vw); justify-self: center; }
.showcase-copy .lead { max-width: 520px; }
.showcase-copy h2 { padding-bottom: 18px; border-bottom: 1.5px solid var(--line-strong); }

/* Compare */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1.5px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 14px; font-weight: 500; color: var(--text-2); padding-top: 20px; padding-bottom: 20px; }
.compare thead th.is-app { color: var(--text); font-weight: 700; }
.compare thead th.is-app img { display: inline-block; vertical-align: -6px; margin-right: 8px; border-radius: 22%; }
.compare th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 500; color: var(--text); background: var(--bg); box-shadow: 1px 0 0 var(--line); }
.compare .is-app { background: var(--bg-2); }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; }
.mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: square; stroke-linejoin: miter; }
.mark.is-yes { color: var(--text); }
.mark.is-no { color: var(--text-3); }
.mark.is-partly { color: var(--soon); }

/* Platforms */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.platform { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 32px; }
.platform h3 { font-size: 24px; margin-bottom: 10px; }
.platform p { color: var(--text-2); font-size: 15.5px; }
.platform .req { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--text-3); text-decoration: none; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.status.is-live { color: var(--running); }
.status.is-live::before { background: var(--running); }
.status.is-live:hover { text-decoration: underline; }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding: clamp(32px, 5vw, 56px); border: 0; border-top: 1.5px solid var(--line-strong); padding-inline: 0; }
.privacy-list { display: grid; gap: 0; }
.privacy-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.privacy-list li:first-child { padding-top: 4px; }
.privacy-list h3 { font-size: 17px; margin-bottom: 6px; }
.privacy-list p { color: var(--text-2); font-size: 15px; }

/* What's new */
.news { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding: clamp(32px, 5vw, 56px); background: var(--bg-2); }
.news-meta { margin: -6px 0 16px; font-family: var(--mono); font-size: 14px; color: var(--text-3); }
.news-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.news-body { display: grid; gap: 22px; }
.news-group h3 { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--line-strong); }
.news-group p, .news-group li { color: var(--text-2); font-size: 15.5px; }
.news-group ul { margin: 0; padding-left: 20px; list-style: square; }
.news-group li + li { margin-top: 10px; }
.news-group strong { color: var(--text); }
.news-group a { color: var(--text); text-underline-offset: 3px; }
.news-group code { padding: 1px 5px; background: var(--raised); font-family: var(--mono); font-size: 0.88em; }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { display: grid; gap: 0; border-top: 1.5px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 48px 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 22px; font-weight: 400; color: var(--text-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 48px 22px 0; color: var(--text-2); }
.faq details a { color: var(--text); text-underline-offset: 3px; }

/* CTA — the inverted ink "running card" */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; padding: clamp(36px, 6vw, 64px); border: 0; background: var(--run-bg); color: var(--run-text); }
.cta .lead { color: var(--run-muted); }
.cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-copy img { border-radius: 22%; }
.cta-copy .lead { margin-top: -6px; }
.cta .store-badge { background: var(--run-text); color: var(--run-bg); }
.cta .store-badge:hover { background: var(--run-muted); }
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.qr-tile { display: block; padding: 14px; background: #fff; }
.qr-tile img { width: 148px; height: 148px; }
.cta-qr p { display: flex; flex-direction: column; gap: 4px; max-width: 260px; font-size: 14px; color: var(--run-muted); }
.cta-qr strong { font-size: 16px; color: var(--run-text); }

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1.5px solid var(--line-strong); color: var(--text-2); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 12px; max-width: 280px; }
.footer-brand .lang-link { display: inline-block; margin-top: 14px; }
.footer-title { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); display: grid; gap: 6px; }

/* Utility pages: /get/ and 404 */
.utility-page { min-height: 100svh; display: grid; }
.utility { align-self: center; display: grid; justify-items: center; gap: 18px; text-align: center; padding: 48px 0; max-width: 640px; }
.utility img { border-radius: 22%; }
.utility h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.03em; }
.utility-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; color: var(--text-2); }
.utility-links a:not(.btn) { color: var(--text); text-underline-offset: 3px; }

/* Scroll reveal (only once scripts run; everything is visible without JavaScript) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.bento > :nth-child(2), .steps > :nth-child(2), .platform-grid > :nth-child(2) { transition-delay: 0.08s; }
.bento > :nth-child(3), .steps > :nth-child(3) { transition-delay: 0.16s; }
.bento > :nth-child(5) { transition-delay: 0.08s; }
.bento > :nth-child(6) { transition-delay: 0.16s; }
.bento > :nth-child(7) { transition-delay: 0.24s; }
.showcase-copy.reveal { transition-delay: 0.1s; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero .lead { margin-inline: auto; }
  .store-badges { justify-content: center; }
  /* The main phone flows in the grid so the visual gets its height; the second one and the chips stay absolute. */
  .hero-visual { display: grid; justify-items: center; width: min(100%, 560px); min-height: 0; margin: 20px auto 0; }
  .hero .device-main { position: relative; left: auto; top: auto; width: min(300px, 60vw); translate: -14% 0; }
  .hero .device-second { right: 2%; top: 12%; width: min(240px, 46vw); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.is-wide { grid-column: 1 / -1; }
  .platform-grid { grid-template-columns: 1fr; }
  .privacy, .news { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta-copy { align-items: center; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; padding: 8px 16px 20px;
    background: var(--bg); border-bottom: 1.5px solid var(--line-strong);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: flex; height: auto; padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--line); box-shadow: none; }
  .nav a:hover, .nav a[aria-current="true"] { box-shadow: none; }
  .nav-cta { display: block; padding-top: 16px; }
  .nav .nav-cta a { justify-content: center; height: 50px; padding: 0 20px; border: 0; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .showcase-row, .showcase-row.is-reversed { grid-template-columns: 1fr; text-align: center; }
  .showcase-row.is-reversed .showcase-device { order: 0; }
  .showcase-copy .lead { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cta-qr { display: none; } /* a phone cannot scan its own screen; the badges are right above */
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 36px; }
  .hero-visual { margin-bottom: 12px; }
  .hero .device-main { width: 58vw; }
  .hero .device-second { width: 46vw; right: 0; }
  .chip { padding: 9px 12px 9px 10px; gap: 9px; }
  .chip-text strong { font-size: 15px; }
  .chip-running { left: 0; top: 6%; }
  .chip-avg { display: none; }
  .chip-due { left: 2%; bottom: 4%; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.is-wide { grid-template-columns: 1fr; }
  .bento-card.is-reverse .bento-copy { order: 0; }
  .bento-shot { min-height: 230px; border-left: 0; border-top: 1px solid var(--line); }
  .bento-shot .device { width: 220px; top: 24px; }
  .ui-list { padding: 4px 20px 24px; border-right: 0; }
  .platform { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .platform .device { width: 200px; justify-self: center; }
  .proof { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 10px; }
  .store-badge { flex: 1 1 220px; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
