/* ==========================================================================
   focusmasters.app — "obsidian glass" web edition
   Same visual system as the app: true OLED obsidian, hairline glass cards,
   warm champagne gold for the child side, glacier teal for parent & privacy.
   Self-hosted Manrope Variable only. No third-party requests, no inline styles (strict CSP).
   ========================================================================== */

@font-face {
  font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/fonts/manrope-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;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/manrope-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;
}

:root {
  --bg: #020305; --bg-2: #080B10; --card: #10151E; --card-2: #0B0F16;
  --glass: rgba(16, 21, 30, 0.72); --glass-hi: rgba(24, 31, 43, 0.82);
  --fill: rgba(255, 255, 255, 0.045); --fill-hi: rgba(255, 255, 255, 0.085);
  --hairline: rgba(255, 255, 255, 0.075); --hairline-2: rgba(255, 255, 255, 0.14); --specular: rgba(255, 255, 255, 0.09);
  --text: #F3F5F9; --text-2: #AEB7C5; --text-3: #848E9D;
  --gold: #EAB65D; --gold-hi: #F7D898; --gold-lo: #C8923A; --on-gold: #1A1204;
  --gold-tint: rgba(234, 182, 93, 0.12); --gold-line: rgba(234, 182, 93, 0.42);
  --teal: #2DD4BF; --teal-hi: #7BEADB; --teal-tint: rgba(45, 212, 191, 0.11); --teal-line: rgba(45, 212, 191, 0.38);
  --r-xl: 32px; --r-lg: 24px; --r-md: 16px; --r-sm: 12px;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--bg);
  font: 500 16px/1.55 var(--font); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 0% -6%, rgba(234, 182, 93, 0.075), transparent 70%),
    radial-gradient(55% 40% at 100% 108%, rgba(45, 212, 191, 0.06), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 40%);
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
code { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; font-size: .86em; padding: .12em .42em; border-radius: 6px; background: var(--fill-hi); border: 1px solid var(--hairline); color: var(--text); white-space: nowrap; }
strong { font-weight: 750; color: var(--text); }
::selection { background: rgba(234, 182, 93, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.icon { flex: none; display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--gold); color: var(--on-gold); font-weight: 750; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- shared atoms */
.card {
  position: relative; background: var(--glass); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 var(--specular), 0 30px 60px -40px rgba(0, 0, 0, 0.95);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.eyebrow-gold { color: var(--gold); }
.eyebrow-teal { color: var(--teal); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 14px 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--gold-hi);
  background: var(--gold-tint); border: 1px solid var(--gold-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(234, 182, 93, 0.16), 0 0 14px rgba(234, 182, 93, 0.8); }
.pill-teal { color: var(--teal-hi); background: var(--teal-tint); border-color: var(--teal-line); }
.pill-teal .pill-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.16), 0 0 14px rgba(45, 212, 191, 0.8); }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--text-2); background: var(--fill); border: 1px solid var(--hairline); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-md); border: 1px solid transparent;
  font-size: 15px; line-height: 1.2; font-weight: 700; white-space: nowrap; user-select: none;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s, color .18s;
}
.btn:active { transform: scale(.975); }
.btn-lg { min-height: 56px; padding: 0 24px; font-size: 16px; border-radius: 18px; }
.btn-block { width: 100%; }
.btn-gold {
  color: var(--on-gold); background: linear-gradient(180deg, #F7D798 0%, var(--gold) 48%, #D89E3E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(120, 72, 8, 0.35), 0 16px 36px -16px rgba(234, 182, 93, 0.7);
}
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(120, 72, 8, 0.35), 0 20px 44px -14px rgba(234, 182, 93, 0.85); }
.btn-glass { color: var(--text); background: var(--fill-hi); border-color: var(--hairline-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); }
.btn-teal { color: var(--teal-hi); background: var(--teal-tint); border-color: var(--teal-line); }
.btn-teal:hover { background: rgba(45, 212, 191, 0.17); border-color: rgba(45, 212, 191, 0.6); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row-center { justify-content: center; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 3, 5, 0.66); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); background: rgba(2, 3, 5, 0.82); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; border-radius: 14px; }
.brand-mark {
  flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: #000;
  border: 1px solid var(--hairline-2); box-shadow: 0 8px 22px -10px rgba(234, 182, 93, 0.6);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); }
.brand-name { font-size: 17px; font-weight: 780; letter-spacing: -0.015em; white-space: nowrap; }
.site-nav { margin-left: auto; }
.header-inner > .lang-switch { margin-left: -6px; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 620; color: var(--text-2); white-space: nowrap; transition: color .18s, background-color .18s;
}
.site-nav a:hover { color: var(--text); background: var(--fill); }
.site-nav a[aria-current="page"] { color: var(--teal-hi); }

.lang-switch {
  flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 13px;
  background: var(--fill); border: 1px solid var(--hairline-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.lang-opt {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 34px; padding: 0 10px; border-radius: 10px;
  font-size: 12.5px; font-weight: 780; letter-spacing: .08em; color: var(--text-3); transition: color .18s, background-color .18s;
}
.lang-opt:hover { color: var(--text); }
.lang-opt[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 10px -6px rgba(0, 0, 0, 0.9); }
.lang-sep { width: 1px; height: 14px; background: var(--hairline-2); }
.lang-opt[aria-current="page"] + .lang-sep, .lang-sep:has(+ .lang-opt[aria-current="page"]) { opacity: 0; }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 7vw, 96px); overflow-x: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(40px, 5vw, 72px); row-gap: 28px;
  grid-template-areas: "intro demo" "actions demo"; grid-template-rows: auto auto;
}
.hero-intro { grid-area: intro; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 600px; }
.hero-actions { grid-area: actions; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 600px; }
.hero h1 { font-size: clamp(38px, 3.2vw + 12px, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.h-soft { color: transparent; background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold) 45%, #d9c7a4 100%); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(17px, .4vw + 15px, 19px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.sublead { font-size: 15px; color: var(--text-3); }
.hero-facts { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--hairline); width: 100%; }
.hero-facts li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; font-weight: 620; color: var(--text-2); }
.hero-facts .icon { color: var(--teal); margin-top: 1px; }
.testing-facts { margin-top: 6px; }

/* ---- interactive effect gallery */
.demo {
  grid-area: demo; align-self: center;
  --fx-glow: 234, 182, 93;
  display: grid; grid-template-columns: 352px 272px; column-gap: 24px; row-gap: 14px;
  grid-template-areas: "device mode" "device tabs" "caption hint";
  grid-template-rows: auto 1fr auto; scroll-margin-top: calc(var(--header-h) + 24px);
}
.demo[data-fx="frost"] { --fx-glow: 196, 220, 255; }
.demo[data-fx="crystal"] { --fx-glow: 110, 214, 222; }
.demo[data-fx="weaver"] { --fx-glow: 234, 182, 93; }
.demo[data-fx="aurora"] { --fx-glow: 45, 212, 191; }
.demo[data-fx="constellation"] { --fx-glow: 170, 186, 255; }
.demo[data-fx="classic"] { --fx-glow: 76, 194, 255; }
.demo-device { grid-area: device; position: relative; }
.demo-device::before {
  content: ""; position: absolute; inset: 6% -14% 2%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--fx-glow), 0.30), rgba(var(--fx-glow), 0.06) 60%, transparent);
  filter: blur(28px); transition: opacity .9s var(--ease), background .9s var(--ease);
}
.demo[data-mode="focus"] .demo-device::before { opacity: .05; }
.device {
  position: relative; padding: 11px; border-radius: 34px;
  background: linear-gradient(160deg, #222834 0%, #0d1118 38%, #07090d 100%);
  border: 1px solid var(--hairline-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 50px 90px -40px rgba(0, 0, 0, 1), 0 24px 50px -30px rgba(var(--fx-glow), 0.35);
}
.device::after { /* front camera — the only thing watching, quietly */
  content: ""; position: absolute; top: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a4660, #05070a 70%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.device-screen { position: relative; aspect-ratio: 720 / 880; border-radius: 24px; overflow: hidden; background: #000; isolation: isolate; }
.fx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.fx-img.is-active { opacity: 1; transform: none; }
.screen-off { position: absolute; inset: 0; z-index: 2; background: #000000; opacity: 0; pointer-events: none; transition: opacity 1.1s var(--ease); }
.demo[data-mode="focus"] .screen-off { opacity: 1; }

.demo-mode {
  grid-area: mode; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px;
  background: var(--fill); border: 1px solid var(--hairline-2);
}
.mode-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 10px; border-radius: 12px;
  font-size: 13.5px; font-weight: 700; color: var(--text-3); white-space: nowrap; transition: color .2s, background-color .2s, box-shadow .2s;
}
.mode-btn:hover { color: var(--text); }
.mode-btn[aria-pressed="true"] { color: var(--text); background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 14px -8px rgba(0, 0, 0, 0.9); }
.mode-btn[data-mode-btn="focus"][aria-pressed="true"] .icon { color: var(--teal); }
.mode-btn[data-mode-btn="drift"][aria-pressed="true"] .icon { color: var(--gold); }

.demo-tabs { grid-area: tabs; display: flex; flex-direction: column; gap: 4px; }
.fx-tab {
  display: flex; align-items: center; gap: 12px; padding: 5px 12px 5px 5px; border-radius: 16px; border: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.fx-tab:hover { background: var(--fill); }
.fx-tab img { width: 36px; height: 44px; object-fit: cover; border-radius: 10px; border: 1px solid var(--hairline-2); background: #000; flex: none; }
.fx-tab-text { display: flex; flex-direction: column; min-width: 0; }
.fx-tab-name { font-size: 14.5px; font-weight: 720; letter-spacing: -0.005em; color: var(--text-2); transition: color .2s; }
.fx-tab-mood { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-tab[aria-selected="true"] { background: var(--glass-hi); border-color: var(--gold-line); box-shadow: inset 0 1px 0 var(--specular); }
.fx-tab[aria-selected="true"] .fx-tab-name { color: var(--gold-hi); }
.fx-tab[aria-selected="true"] img { border-color: var(--gold); }

.demo-caption { grid-area: caption; min-height: 104px; padding-top: 6px; }
.fx-caption-name { font-size: 15px; font-weight: 760; margin-bottom: 8px; }
.fx-caption-rows { display: grid; gap: 6px; }
.fx-caption-rows div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: baseline; }
.fx-caption-rows dt { font-size: 10.5px; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.fx-caption-rows div + div dt { color: var(--teal); }
.fx-caption-rows dd, .fx-caption-off-text { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.demo-hint { grid-area: hint; align-self: start; font-size: 12px; color: var(--text-3); padding: 8px 0 0 8px; }
.device-screen:focus-visible { outline-offset: 4px; }
.fx-static { grid-area: tabs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; }
.fx-static li { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--text-2); }
.fx-static img { width: 100%; height: auto; aspect-ratio: 720 / 880; object-fit: cover; border-radius: 10px; border: 1px solid var(--hairline-2); background: #000; }
@media (hover: none) { .demo-hint { visibility: hidden; } }

/* ---------------------------------------------------------------- stats band */
.stats-band { border-block: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 32px 28px; }
.stat + .stat { border-left: 1px solid var(--hairline); }
.stat-value { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(28px, 2vw + 8px, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.stat-black::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: #000; border: 1px solid var(--hairline-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.stat-label { font-size: 14px; line-height: 1.45; color: var(--text-2); max-width: 24ch; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(56px, 6.5vw, 96px); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(30px, 2.2vw + 14px, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.section-lead { font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.section-head-left { align-items: flex-start; text-align: left; margin: 0; }

/* ---- how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; overflow: hidden; }
.step-viz {
  position: relative; height: 216px; display: grid; place-items: center; overflow: hidden;
  border-bottom: 1px solid var(--hairline); background: radial-gradient(80% 90% at 50% 100%, rgba(255, 255, 255, 0.035), transparent 70%), #030406;
}
.step-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; }
.step-meta { display: flex; align-items: center; gap: 12px; }
.step-num { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--gold); }
.step h3 { font-size: 20px; line-height: 1.25; font-weight: 760; letter-spacing: -0.015em; }
.step-body > p:last-child { font-size: 15px; line-height: 1.62; color: var(--text-2); }

.mini-phone {
  position: relative; width: 84px; height: 160px; padding: 5px; border-radius: 18px;
  background: linear-gradient(160deg, #262c38, #0b0e14 45%, #06080b); border: 1px solid var(--hairline-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 40px -24px rgba(0, 0, 0, 1);
}
.mini-phone-screen, .mini-phone img { display: block; width: 100%; height: 100%; border-radius: 13px; background: #000; object-fit: cover; }
.viz-off { grid-template-columns: auto auto; gap: 22px; align-content: center; justify-content: center; }
.mini-notebook {
  width: 118px; height: 150px; padding: 26px 16px; border-radius: 6px 12px 12px 6px; display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(90deg, #1a1712 0%, #221e17 8%, #1d1a14 100%); border: 1px solid rgba(234, 182, 93, 0.14);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 1), inset 6px 0 0 rgba(0, 0, 0, 0.25); transform: rotate(-4deg);
}
.mini-notebook span { height: 1px; background: rgba(234, 182, 93, 0.22); }
.mini-notebook span:nth-child(2) { width: 82%; } .mini-notebook span:nth-child(4) { width: 64%; }
.viz-chip {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  min-height: 28px; padding: 0 12px; border-radius: 999px; font: 700 12px/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .04em;
  color: var(--text-2); background: rgba(10, 13, 19, 0.9); border: 1px solid var(--hairline-2);
}
.dot-black { width: 12px; height: 12px; border-radius: 4px; background: #000; border: 1px solid rgba(255, 255, 255, 0.25); }
.viz-off .viz-chip { left: auto; right: 50%; transform: translateX(50%); }
.mini-phone-glow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 60px -6px rgba(110, 214, 222, 0.45), 0 24px 40px -24px rgba(0, 0, 0, 1); }
.viz-cue .viz-chip { left: calc(50% + 70px); bottom: auto; top: 50%; transform: translate(-50%, -50%); color: var(--gold); border-color: var(--gold-line); background: rgba(26, 20, 8, 0.92); }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.wave i { width: 2px; height: 6px; border-radius: 2px; background: currentColor; opacity: .8; }
.wave i:nth-child(2) { height: 12px; } .wave i:nth-child(3) { height: 8px; } .wave i:nth-child(4) { height: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 1.6s ease-in-out infinite; }
  .wave i:nth-child(2) { animation-delay: -.4s; } .wave i:nth-child(3) { animation-delay: -.8s; } .wave i:nth-child(4) { animation-delay: -1.2s; }
}
@keyframes wave { 50% { transform: scaleY(.45); } }
.viz-crest::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(234, 182, 93, 0.22), transparent); }
.viz-crest img { position: relative; width: 188px; height: 188px; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent); }

/* ---- both sides of the desk */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.role { overflow: hidden; display: flex; flex-direction: column; }
.role-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.role-media img { width: 100%; height: 100%; object-fit: cover; }
.role-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13, 17, 24, 0.94) 100%); }
.role-body { display: flex; flex-direction: column; gap: 12px; padding: 4px 32px 32px; margin-top: -24px; position: relative; }
.role h3 { font-size: 26px; line-height: 1.2; font-weight: 780; letter-spacing: -0.02em; }
.role-text { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.ticks { display: grid; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.ticks .icon { margin-top: 2px; }
.role-gold .ticks .icon { color: var(--gold); }
.role-teal .ticks .icon { color: var(--teal); }
.role-teal { border-color: rgba(45, 212, 191, 0.14); }
.role-gold { border-color: rgba(234, 182, 93, 0.14); }

.shots-label {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; margin: clamp(48px, 6vw, 80px) auto 24px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--teal-hi); background: var(--teal-tint); border: 1px solid var(--teal-line); text-align: center;
}
.shots-label .icon { color: var(--teal); }
.shots { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 2.4vw, 32px); }
.shot { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.shot-frame {
  padding: 8px; border-radius: 30px; background: linear-gradient(160deg, #232935, #0c1016 40%, #06080b);
  border: 1px solid var(--hairline-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 50px 80px -50px rgba(0, 0, 0, 1);
}
.shot-fold .shot-frame { border-radius: 26px; }
.shot-frame img { height: 500px; width: auto; border-radius: 23px; background: #000; }
.shot-fold .shot-frame img { border-radius: 19px; }
.shot figcaption { font-size: 13px; font-weight: 650; color: var(--text-3); }
.shots-note { margin: 24px auto 0; max-width: 640px; font-size: 13.5px; line-height: 1.55; color: var(--text-3); text-align: center; text-wrap: balance; }

/* ---- privacy band */
.section-privacy { position: relative; }
.section-privacy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 15% 50%, rgba(45, 212, 191, 0.07), transparent 70%);
}
.privacy-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.privacy-grid .section-head { gap: 20px; }
.privacy-grid .btn { margin-top: 8px; white-space: normal; text-align: left; }
.pp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pp { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.pp-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--teal); background: var(--teal-tint); border: 1px solid rgba(45, 212, 191, 0.22); flex: none; }
.pp h3 { font-size: 17px; line-height: 1.3; font-weight: 760; letter-spacing: -0.01em; margin-top: 6px; }
.pp p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* ---- closed testing */
.testing {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4.5vw, 56px);
  border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(234, 182, 93, 0.10), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(45, 212, 191, 0.07), transparent 70%),
    var(--glass);
}
.testing-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.testing-copy h2 { font-size: clamp(30px, 2vw + 16px, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.status-list { display: grid; gap: 10px; width: 100%; margin-top: 12px; }
.status-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 18px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--hairline); }
.status-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--fill); color: var(--text-2); }
.status-on .status-icon { color: var(--teal); background: var(--teal-tint); }
.status-text { display: flex; flex-direction: column; min-width: 0; }
.status-text strong { font-size: 16px; }
.status-text span { font-size: 13.5px; color: var(--text-3); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 750; color: var(--text-3); background: var(--fill); border: 1px solid var(--hairline); white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.status-on .status-pill { color: var(--teal-hi); background: var(--teal-tint); border-color: var(--teal-line); }
.status-on .status-dot { background: var(--teal); box-shadow: 0 0 10px rgba(45, 212, 191, 0.9); }
@media (prefers-reduced-motion: no-preference) { .status-on .status-dot { animation: breathe 2.8s ease-in-out infinite; } }
@keyframes breathe { 50% { opacity: .45; } }
.contact {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: rgba(2, 3, 5, 0.6); border: 1px solid var(--hairline-2); box-shadow: inset 0 1px 0 var(--specular); align-self: center;
}
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--gold); background: var(--gold-tint); border: 1px solid rgba(234, 182, 93, 0.26); }
.contact h3 { font-size: 22px; line-height: 1.25; font-weight: 780; letter-spacing: -0.015em; }
.contact > p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.contact .btn { margin-top: 6px; white-space: normal; }
.contact-privacy { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.contact-privacy .icon { color: var(--teal); margin-top: 2px; }
.contact .contact-note { font-size: 13.5px; color: var(--text-3); padding-top: 14px; border-top: 1px solid var(--hairline); }
.contact-note strong { color: var(--text-2); }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: clamp(16px, 3vw, 40px); border-top: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 60%); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); max-width: 34ch; }
.footer-brand .footer-domain { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--text-3); }
.footer-col h2 { font-size: 12px; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a:not(.lang-opt) { display: inline-flex; min-height: 32px; align-items: center; font-size: 14.5px; color: var(--text-2); overflow-wrap: anywhere; transition: color .18s; }
.footer-col a:not(.lang-opt):hover { color: var(--text); }
.lang-switch-footer { margin-top: 16px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px calc(28px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--text-3); position: relative; }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--hairline); }

/* ---------------------------------------------------------------- privacy policy page */
.policy-hero { padding-block: clamp(36px, 6vw, 72px) 32px; }
.policy-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.policy-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.policy-hero h1 { font-size: clamp(40px, 3vw + 18px, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.facts { padding: 8px 24px; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; min-width: 0; }
.facts div { display: grid; grid-column: 1 / -1; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px 0; align-items: baseline; min-width: 0; }
@supports (grid-template-columns: subgrid) { .facts div { grid-template-columns: subgrid; gap: 0; column-gap: 18px; } }
.facts div + div { border-top: 1px solid var(--hairline); }
.facts dt { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.facts dd { font-size: 14.5px; font-weight: 650; color: var(--text); overflow-wrap: anywhere; }
.facts dd a { color: var(--teal-hi); }
/* Identyfikator pakietu: łamanie tylko po kropkach (<wbr> w treści), nigdy w środku słowa. */
.facts code { white-space: normal; overflow-wrap: break-word; }

.glance-wrap { padding-bottom: clamp(40px, 5vw, 64px); }
.glance { padding: clamp(22px, 3vw, 32px); border-color: rgba(45, 212, 191, 0.2); background: radial-gradient(70% 120% at 0% 0%, rgba(45, 212, 191, 0.07), transparent 70%), var(--glass); }
.glance > h2 { margin-bottom: 20px; }
.glance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.glance-item { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.glance-item > div { min-width: 0; }
.glance-item h3 { font-size: 16.5px; line-height: 1.3; font-weight: 760; margin-bottom: 6px; }
.glance-item p { font-size: 14px; line-height: 1.55; color: var(--text-2); }

.policy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: 32px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-title { font-size: 12px; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; padding-left: 14px; }
.toc ol { display: grid; gap: 2px; border-left: 1px solid var(--hairline); }
.toc a {
  position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 12px 8px 14px; margin-left: -1px;
  border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--text-3); transition: color .18s, border-color .18s, background-color .18s;
}
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { color: var(--text); border-left-color: var(--teal); background: linear-gradient(90deg, rgba(45, 212, 191, 0.08), transparent); }
.toc-num { font-weight: 800; font-size: 12px; color: var(--teal); padding-top: 1px; }

.policy-article { max-width: 780px; min-width: 0; }
.policy-section h2 > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose code { white-space: normal; overflow-wrap: anywhere; }
.prose a, .prose td, .prose dd { overflow-wrap: anywhere; }
.policy-section { padding-block: 8px 48px; scroll-margin-top: calc(var(--header-h) + 24px); }
.policy-section + .policy-section { padding-top: 48px; border-top: 1px solid var(--hairline); }
.policy-section h2 { display: flex; align-items: flex-start; gap: 16px; font-size: clamp(22px, 1vw + 16px, 28px); line-height: 1.25; font-weight: 780; letter-spacing: -0.02em; margin-bottom: 20px; text-wrap: balance; }
.policy-num { flex: none; display: grid; place-items: center; width: 40px; height: 34px; border-radius: 11px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--teal); background: var(--teal-tint); border: 1px solid rgba(45, 212, 191, 0.22); }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 16.5px; line-height: 1.72; color: var(--text-2); }
.prose h3 { font-size: 18px; line-height: 1.35; font-weight: 760; color: var(--text); margin-top: 12px; }
.prose a { color: var(--teal-hi); text-decoration: underline; text-decoration-color: rgba(123, 234, 219, 0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul { display: grid; gap: 10px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.prose ul.checklist { gap: 8px; }
.prose ul.checklist > li { padding: 10px 14px 10px 44px; border-radius: 14px; background: var(--fill); border: 1px solid var(--hairline); color: var(--text); font-weight: 600; font-size: 15.5px; }
.prose ul.checklist > li::before { left: 16px; top: 50%; width: 12px; height: 6px; border-radius: 0; background: none; border: solid var(--teal); border-width: 0 0 2px 2px; transform: translateY(-75%) rotate(-45deg); }
.prose ol.steps-list { display: grid; gap: 10px; counter-reset: s; }
.prose ol.steps-list > li { position: relative; padding-left: 46px; counter-increment: s; min-height: 30px; }
.prose ol.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font-size: 13px; font-weight: 800; color: var(--gold); background: var(--gold-tint); border: 1px solid rgba(234, 182, 93, 0.26); line-height: 1; }
.muted { color: var(--text-3); }
.ledger { display: grid; gap: 12px; }
.ledger-item { padding: 18px 20px; border-radius: 18px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--hairline); min-width: 0; }
.prose .ledger-item h3 { margin: 0 0 10px; font-size: 16.5px; }
.ledger-item dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; font-size: 15px; line-height: 1.55; }
.ledger-item dt { font-size: 11.5px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.ledger-item dd { color: var(--text-2); min-width: 0; }
.where-list { counter-reset: w; }
.callout { padding: 18px 20px 18px 22px; border-radius: 18px; border: 1px solid; position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.callout p { color: var(--text); font-size: 16px; line-height: 1.6; }
.callout-teal { background: var(--teal-tint); border-color: var(--teal-line); }
.callout-teal::before { background: var(--teal); }
.callout-gold { background: var(--gold-tint); border-color: var(--gold-line); }
.callout-gold::before { background: var(--gold); }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--hairline); background: rgba(0, 0, 0, 0.25); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th { text-align: left; font-size: 12px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 12px 18px; background: var(--fill); }
.prose td { padding: 13px 18px; border-top: 1px solid var(--hairline); vertical-align: top; }
.prose td:first-child { color: var(--text); font-weight: 650; width: 46%; }
.back-top a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 650; color: var(--text-2); background: var(--fill); border: 1px solid var(--hairline); }
.back-top a:hover { color: var(--text); }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 40px var(--gutter); }
.nf-card { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.nf-logo { width: 88px; height: 88px; border-radius: 24px; overflow: hidden; border: 1px solid var(--hairline-2); box-shadow: 0 20px 50px -20px rgba(234, 182, 93, 0.55); }
.nf-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); }
.nf-code { font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--gold); }
.nf-block { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.nf-title { font-size: clamp(28px, 3vw + 12px, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.nf-block p { color: var(--text-2); }
.nf-block .cta-row { margin-top: 10px; }
.nf-divider { width: 64px; height: 1px; background: var(--hairline-2); margin: 12px 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(300px, 36vw, 380px); column-gap: clamp(28px, 4vw, 48px); }
  .demo {
    width: 100%; grid-template-columns: minmax(0, 1fr); align-self: start;
    grid-template-areas: "device" "mode" "tabs" "caption"; grid-template-rows: none;
  }
  .demo-hint { display: none; }
  .demo-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .fx-tab { padding: 3px; border-radius: 12px; }
  .fx-tab img { width: 100%; height: auto; aspect-ratio: 720 / 880; border-radius: 9px; }
  .fx-tab-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .demo-caption { min-height: 112px; padding: 2px 4px 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .shot-frame img { height: 420px; }
}

@media (max-width: 980px) {
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .roles { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .testing { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .policy-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 20px 20px 14px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--hairline); }
  .toc-title { padding-left: 0; }
}

@media (max-width: 820px) {
  :root { --header-h: 0px; }
  .site-header { position: relative; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-inner { flex-wrap: wrap; gap: 10px 16px; padding-block: 10px 2px; min-height: 0; }
  .header-inner > .lang-switch { margin-left: auto; }
  .site-nav { width: 100%; margin: 0; }
  .site-nav ul { flex-wrap: wrap; gap: 6px; padding-bottom: 4px; }
  .site-nav li { flex: none; }
  .site-nav a { min-height: 36px; padding: 0 11px; font-size: 13px; border: 1px solid var(--hairline); background: var(--fill); border-radius: 999px; }
  .shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; max-width: 560px; margin-inline: auto; }
  .shot-fold { grid-column: 1 / -1; grid-row: 1; }
  .shot-frame { width: 100%; }
  .shot-frame img, .shot-frame img { width: 100%; height: auto; }
}

@media (max-width: 720px) {
  .hero { padding-top: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "demo" "actions"; grid-template-rows: none; row-gap: 26px; }
  .hero-intro { gap: 16px; }
  .hero h1 { font-size: clamp(31px, 7.4vw + 4px, 38px); }
  .lead { font-size: 16px; line-height: 1.55; }
  .demo { max-width: 420px; justify-self: center; }
  .demo-device { max-width: 340px; width: 100%; justify-self: center; }
  .demo-tabs { gap: 8px; }
  .stat { padding: 24px 16px; }
  .stat-label { font-size: 13px; }
  .section-head { text-align: left; align-items: flex-start; }
  .role-body { padding: 4px 22px 26px; }
  .role h3 { font-size: 23px; }
  .pp-grid { grid-template-columns: minmax(0, 1fr); }
  .pp { padding: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; padding-top: 44px; }
  .glance-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .glance-item { flex-direction: row; gap: 14px; }
  /* Telefon: etykiety łamią się między słowami (kolumna min-content), więc wartość — także
     app.focusmasters przy 12,5 px — mieści się w jednym wierszu przy 412 px. */
  .facts { padding: 4px 18px; grid-template-columns: min-content minmax(0, 1fr); column-gap: 12px; }
  .facts div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 11px 0; }
  @supports (grid-template-columns: subgrid) { .facts div { grid-template-columns: subgrid; gap: 0; column-gap: 12px; } }
  .facts dt { font-size: 10.5px; letter-spacing: .05em; line-height: 1.35; white-space: normal; }
  .facts dd { font-size: 14px; }
  .facts code { font-size: 12.5px; letter-spacing: -.02em; padding: .1em .24em; }
  .ledger-item { padding: 16px; }
  .ledger-item dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ledger-item dd + dt { margin-top: 8px; }
  .hero .cta-row { width: 100%; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .testing { padding: 26px 22px; }
  .contact { padding: 22px 0 0; background: none; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; box-shadow: none; }
  .contact .btn { padding: 0 16px; font-size: 15px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .policy-section h2 { gap: 12px; }
  .policy-num { width: 36px; height: 30px; font-size: 12px; margin-top: 1px; }
  .prose { font-size: 16px; }
  .prose td, .prose th { padding: 11px 14px; }
  .status-row { grid-template-columns: 40px minmax(0, 1fr); }
  .status-icon { width: 40px; height: 40px; }
  .status-pill { grid-column: 2; justify-self: start; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 15.5px; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .lang-opt { min-width: 38px; padding: 0 8px; }
  .facts { display: block; padding: 4px 16px; }
  .facts div { display: block; }
  .facts dt { margin-bottom: 3px; }
  .btn-lg { width: 100%; }
  .hero .cta-row { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
