/* Pult public site (landing, pricing, docs, download, sign-in). Fonts and the colors of both themes
   (dark by default, light when the visitor picks it) come from tokens.css, shared with the cabinet.
   Redesign 10.2026: Geist for text and headings, Geist Mono for commands, labels and numbers,
   Unbounded only in the wordmark. The main button is green (Kir, 25.10.2026), indigo is links and choice. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 .5em; font-family: var(--sans); font-weight: 600; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; }
h3 { font-size: 16.5px; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .86em; letter-spacing: -0.01em; }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: .05em .35em; }
pre code { background: none; border: 0; padding: 0; }
small, .muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 max(32px, env(safe-area-inset-right)) 0 max(32px, env(safe-area-inset-left)); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }

/* buttons: green main action, quiet secondary */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border-radius: var(--r-sm);
  border: 1px solid transparent; background: var(--cta); color: var(--cta-ink); font: 500 15px/1.2 var(--sans); letter-spacing: -0.01em; cursor: pointer;
  text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--cta-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost, .btn.secondary { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover, .btn.secondary:hover { border-color: var(--muted); background: var(--surface-3); }
.btn.sm { min-height: 32px; padding: 5px 12px; font-size: 14px; }
.btn.lg { min-height: 46px; padding: 11px 20px; font-size: 16px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn.big { min-height: 46px; padding: 11px 20px; font-size: 16px; border-radius: 10px; }
.btn.apple { background: #000; color: #fff; border-color: #333; width: 100%; }
:root[data-theme="light"] .btn.apple { border-color: #000; }
.pill { display: inline-block; padding: 1px 8px; border-radius: var(--r-xs); background: var(--surface-3); color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.pill.info { color: var(--info-ink); background: color-mix(in srgb, var(--info) 13%, transparent); }

/* header */
.top { --top-h: 64px; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
/* The blur sits on a pseudo-element: a backdrop-filter on .top itself would make it the containing block of
   the menu sheet (position: fixed), and the sheet would be cut to the header's height. */
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.top-in { display: flex; align-items: center; gap: 28px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 6px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
:root[data-theme="light"] .brand img { box-shadow: none; }
.brand span { font-family: var(--wordmark); font-weight: 600; letter-spacing: -0.01em; font-size: 19px; }
.nav { display: flex; gap: 22px; }
.nav a, .lang { color: var(--ink-2); font-size: 14.5px; }
.nav a:hover, .lang:hover { color: var(--ink); text-decoration: none; }
.top-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { font: 500 12.5px var(--mono); letter-spacing: .02em; padding: 0 4px; }
.iconbtn { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-2); cursor: pointer; }
.iconbtn:hover { color: var(--ink); border-color: var(--muted); }
.iconbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.iconbtn .i-moon, .pref .i-moon { display: none; }
:root[data-theme="light"] .iconbtn .i-sun, :root[data-theme="light"] .pref .i-sun { display: none; }
:root[data-theme="light"] .iconbtn .i-moon, :root[data-theme="light"] .pref .i-moon { display: block; }

/* the menu: phones and tablets (the header has room for the links from 1100 px) */
.menu { display: none; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.burger svg { width: 22px; height: 22px; stroke-width: 2; }
.burger .i-close, .menu[open] .burger .i-open { display: none; }
.menu[open] .burger .i-close { display: block; }
.menu[open] .burger { color: var(--ink); border-color: var(--muted); }
/* A tap outside the sheet closes it: the backdrop belongs to <summary>, so it works without JS too. */
.menu[open] > summary::before { content: ""; position: fixed; inset: calc(var(--top-h) + env(safe-area-inset-top)) 0 0; z-index: 1;
  background: rgba(0, 0, 0, .5); cursor: default; }
.sheet { position: fixed; z-index: 2; left: 0; right: 0; top: calc(var(--top-h) + env(safe-area-inset-top));
  max-height: calc(100vh - var(--top-h) - env(safe-area-inset-top)); max-height: calc(100dvh - var(--top-h) - env(safe-area-inset-top));
  overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 56px rgba(0, 0, 0, .4);
  padding: 6px max(16px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.sheet-nav, .sheet-row { max-width: 560px; margin: 0 auto; }
.sheet-nav a { display: flex; align-items: center; min-height: 54px; padding: 0 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.sheet-nav a:hover { text-decoration: none; color: var(--link); }
.sheet-row { display: flex; gap: 10px; padding-top: 14px; }
.sheet-status { display: flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink-2); font-size: 15px; }
.pref { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink-2); font: 500 15px var(--sans); cursor: pointer; }
.pref:hover { color: var(--ink); border-color: var(--muted); text-decoration: none; }
.pref svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pref[hidden] { display: none; }
.pref .t-to-dark { display: none; }
:root[data-theme="light"] .pref .t-to-light { display: none; }
:root[data-theme="light"] .pref .t-to-dark { display: inline; }

/* hero: the promise on the left, a live example on the right, the animated scheme under them */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(80% 90% at 70% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(80% 90% at 70% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 50%; top: -220px; width: 900px; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 20%, transparent), transparent); opacity: .7; }
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 28px; padding: 3px 12px 3px 10px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); font: 500 12.5px/1.3 var(--mono); margin: 0 0 22px; }
.live { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
  animation: livep 2.4s ease-out infinite; }
@keyframes livep { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.hero h1 { font-size: clamp(38px, 4.2vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.045em; margin: 0 0 20px; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 560px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.fine { color: var(--muted); font: 12.5px/1.5 var(--mono); margin: 12px 0 0; }
.install { display: flex; align-items: center; gap: 8px; max-width: 620px; padding: 5px 5px 5px 16px; border-radius: 10px;
  background: var(--term); border: 1px solid var(--term-line); text-align: left; }
.install code { flex: 1; min-width: 0; background: none; border: 0; padding: 8px 0; color: var(--term-ink); font-size: 13px;
  white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.install code::-webkit-scrollbar { display: none; }
.install .dim, .term .dim { color: var(--term-dim); }
.install .ph { color: #ffc266; }
.copy { flex: none; border: 1px solid #2d2f36; background: #16171b; color: #c9cbd1; border-radius: 7px; padding: 6px 11px; font: 500 12.5px var(--sans); cursor: pointer; }
.copy:hover { border-color: #4a4d56; color: #fff; }

/* the live example: a cabinet window, a push over it, the text for an AI agent */
.stage { position: relative; min-height: 470px; }
.win { position: relative; width: calc(100% - 24px); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.win-bar .tl { display: flex; gap: 6px; } .win-bar .tl i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.win-t { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; }
.win-fresh { margin-left: auto; }
.win-fresh > * { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; }
.win-fresh .d { margin: 0; width: 6px; height: 6px; }
.lrows { list-style: none; margin: 0; padding: 0; }
.lrow { display: grid; grid-template-columns: 10px minmax(0, 1fr) 132px 96px; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.lrow:last-child { border-bottom: 0; }
.lrow .d { margin: 0; }
.lrow b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow small { display: block; font: 11.5px/1.4 var(--mono); color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-bad b { font-weight: 600; }
.lr-dot { background: var(--down); animation: lrdot 14s linear infinite; }
@keyframes lrdot { 0%, 39% { background: var(--ok); } 40.5%, 78% { background: var(--down); } 79.5%, 100% { background: var(--ok); } }
/* the 24-hour bar, drawn by CSS: 26 calm ticks, the bad one ends in red */
.lbar { height: 12px; --t: var(--ok); background: repeating-linear-gradient(90deg, var(--t) 0 3px, transparent 3px 5px); border-radius: 1px; }
.lbar-blip { background: repeating-linear-gradient(90deg, var(--ok) 0 3px, transparent 3px 5px) 0 0 / 55% 100% no-repeat,
  repeating-linear-gradient(90deg, var(--degraded) 0 3px, transparent 3px 5px) 55% 0 / 10% 100% no-repeat,
  repeating-linear-gradient(90deg, var(--ok) 0 3px, transparent 3px 5px) 100% 0 / 35% 100% no-repeat; }
.lbar-bad { background: repeating-linear-gradient(90deg, var(--ok) 0 3px, transparent 3px 5px) 0 0 / 85% 100% no-repeat,
  repeating-linear-gradient(90deg, var(--down) 0 3px, transparent 3px 5px) 100% 0 / 15% 100% no-repeat; }
.badge { --c: var(--unknown); display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-xs); white-space: nowrap;
  font: 500 12px/1 var(--sans); color: var(--unknown-ink); background: color-mix(in srgb, var(--c) 13%, transparent); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex: none; }
.badge.ok { --c: var(--ok); color: var(--ok-ink); } .badge.down { --c: var(--down); color: var(--down-ink); } .badge.degraded { --c: var(--degraded); color: var(--degraded-ink); }
.lr-state { justify-items: end; }
.hpush { position: absolute; right: 0; top: 196px; width: min(360px, 78%); }
.hpush .push { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface-2) 88%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--sans); }
.hpush .push img { border-radius: 8px; display: block; margin: 0; }
.hpush .push small { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; line-height: 1.35; }
.hpush .push b { display: block; font-size: 14px; font-weight: 600; margin: 1px 0; line-height: 1.3; }
.hpush .push b + small { display: block; font-size: 13px; color: var(--ink-2); letter-spacing: 0; }
.agentbox { position: absolute; left: 24px; top: 318px; width: min(420px, 82%); border-radius: 12px; background: var(--term); box-shadow: var(--shadow);
  font: 12px/1.6 var(--mono); color: #c9cbd1; }
.agentbox .win-bar { border-color: #1d1e22; color: #8a8e97; gap: 7px; }
.agentbox .i14 { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.agentbox .o-btn { position: static; margin-left: auto; background: #1d1e22; border-color: #2d2f36; color: #c9cbd1; }
.agentbox .o-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.agentbox pre { margin: 0; padding: 12px 14px; white-space: pre-wrap; font: inherit; }
.agentbox .h { color: #fff; } .agentbox .r { color: #ff6b62; } .agentbox .c { color: #6e727b; }

/* the scheme, compact: sources → Pult → where the alert goes, the same 14 s story */
.mini { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(220px, 260px) 64px minmax(0, 1fr); align-items: center; margin: 56px auto 0; }
.mn-col { display: flex; flex-wrap: wrap; gap: 6px; }
.mn-src { justify-content: flex-end; } .mn-dst { justify-content: flex-start; }
.mn-chip { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 4px 10px; border-radius: 8px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.mn-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.mn-bad { border-color: color-mix(in srgb, var(--down) 60%, var(--line)); animation: nodebad 14s linear infinite; }
.mn-bad .flag { top: -9px; right: -10px; }
.mn-hit { animation: outflash 14s linear infinite; }
.mn-wire { position: relative; display: block; height: 2px; border-radius: 1px; background: var(--line-strong); }
.mn-in { animation: hin 14s linear infinite; } .mn-out { animation: hout 14s linear infinite; }
@keyframes hin { 0%, 10% { background: var(--line-strong); } 11.5%, 63.5% { background: color-mix(in srgb, var(--down) 55%, var(--line-strong)); } 65%, 100% { background: var(--line-strong); } }
@keyframes hout { 0%, 39% { background: var(--line-strong); } 40.5%, 78% { background: color-mix(in srgb, var(--down) 40%, var(--line-strong)); } 80%, 100% { background: var(--line-strong); } }
.mn-pk { position: absolute; top: -2px; left: -3px; width: 6px; height: 6px; border-radius: 50%; opacity: 0; }
.mn-amb { background: var(--ok); animation: hkamb 3.4s linear infinite; }
.mn-red { background: var(--down); box-shadow: 0 0 8px var(--down); }
.mn-in .mn-red { animation: hkin 14s linear infinite; } .mn-out .mn-red { animation: hkout 14s linear infinite; }
@keyframes hkamb { 0% { transform: translateX(0); opacity: 0; } 15%, 80% { opacity: .85; } 100% { transform: translateX(64px); opacity: 0; } }
@keyframes hkin {
  0%, 10% { transform: translateX(0); opacity: 0; background: var(--down); } 10.5% { opacity: 1; } 18% { transform: translateX(64px); opacity: 1; }
  18.5%, 24% { transform: translateX(0); opacity: 0; } 24.5% { opacity: 1; } 31% { transform: translateX(64px); opacity: 1; }
  31.5%, 64% { transform: translateX(0); opacity: 0; background: var(--down); } 64.5% { opacity: 1; background: var(--ok); } 71% { transform: translateX(64px); opacity: 1; }
  71.5%, 100% { transform: translateX(0); opacity: 0; background: var(--ok); } }
@keyframes hkout {
  0%, 31% { transform: translateX(0); opacity: 0; background: var(--down); } 31.5% { opacity: 1; } 40% { transform: translateX(64px); opacity: 1; }
  40.5%, 71% { transform: translateX(0); opacity: 0; background: var(--down); } 71.5% { opacity: 1; background: var(--ok); } 79% { transform: translateX(64px); opacity: 1; }
  79.5%, 100% { transform: translateX(0); opacity: 0; background: var(--ok); } }
.mn-core { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--surface);
  border: 1px solid color-mix(in srgb, currentColor 45%, var(--line)); color: var(--down); box-shadow: var(--shadow); animation: corecol 14s linear infinite; }
.mn-mark { width: 40px; height: 40px; display: block; }
.mn-core .core-msg { min-height: 2.6em; font-size: 12.5px; text-align: left; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; margin-top: 56px; padding-top: 22px; padding-bottom: 22px;
  border-top: 1px solid var(--line); font: 500 13.5px/1 var(--mono); color: var(--muted); }
.logos span:first-child { color: var(--ink-2); font-family: var(--sans); font-size: 13px; }

/* the full scheme in «Як це працює»: numbered steps over its three columns */
.flow-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: minmax(220px, 260px) 1fr 168px 1fr minmax(270px, 320px); align-items: start; }
.flow-steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.flow-steps li:nth-child(1) { grid-column: 1; } .flow-steps li:nth-child(2) { grid-column: 2 / 5; max-width: 300px; justify-self: center; } .flow-steps li:nth-child(3) { grid-column: 5; }
.flow-steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--link);
  font: 600 12px/1 var(--mono); }

/* hero flow: sources -> Pult -> outputs. Static picture = the incident moment; the 14 s loop runs on top. */
.flow { position: relative; margin: 8px 0 0; }
.sf, .fl-link, .grp-out { display: none; }
.flow-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 260px) 1fr 168px 1fr minmax(270px, 320px);
  align-items: center; }
.fsrc { grid-column: 1; } .fcore { grid-column: 3; } .fout { grid-column: 5; display: grid; gap: 10px; }
.grp { margin: 0 0 8px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nodes + .grp { margin-top: 16px; }
.nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.node { position: relative; display: grid; grid-template-columns: 22px 1fr 10px; gap: 10px; align-items: center; padding: 7px 11px;
  background: var(--card); border: 1px solid var(--line); border-radius: 11px; text-align: left; }
.node > svg, .out svg, .feat > svg, .svc svg, .card h3 svg, .badge-line svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.node > svg { width: 20px; height: 20px; color: var(--ink-2); }
.node span { min-width: 0; }
.node b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node small { display: block; font-size: 11.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px color-mix(in srgb, var(--ok) 70%, transparent);
  animation: breathe 2.6s ease-in-out infinite; }
.nodes li:nth-child(2) .led { animation-delay: -.7s; } .nodes li:nth-child(3) .led { animation-delay: -1.3s; } .nodes li:nth-child(4) .led { animation-delay: -1.9s; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.node.bad { border-color: color-mix(in srgb, var(--down) 60%, var(--line)); animation: nodebad 14s linear infinite; }
.node.bad .led { background: var(--down); box-shadow: 0 0 10px var(--down); animation: ledbad 14s linear infinite; }
.node.soon { border-style: dashed; } .node.soon > svg, .node.soon b { color: var(--muted); }
.node.soon .led { background: var(--unknown); box-shadow: none; animation: none; opacity: .6; }
.svc h3 .pill { margin-left: 6px; font-size: 12px; vertical-align: 2px; }
.flag { position: absolute; top: -8px; right: -8px; padding: 1px 7px; border-radius: 99px; background: var(--down); color: #fff;
  font: 600 11px/1.5 var(--mono); font-style: normal; box-shadow: 0 2px 8px rgba(0,0,0,.35); animation: flag 14s linear infinite; }
@keyframes nodebad { 0%, 9.5% { border-color: var(--line); } 10.5%, 63.5% { border-color: color-mix(in srgb, var(--down) 60%, var(--line)); } 64.5%, 100% { border-color: var(--line); } }
@keyframes ledbad { 0%, 9.5% { background: var(--ok); box-shadow: 0 0 8px var(--ok); } 10.5%, 63.5% { background: var(--down); box-shadow: 0 0 10px var(--down); } 64.5%, 100% { background: var(--ok); box-shadow: 0 0 8px var(--ok); } }
@keyframes flag { 0%, 9.5% { opacity: 0; transform: scale(.6); } 11%, 63% { opacity: 1; transform: scale(1); } 65%, 100% { opacity: 0; transform: scale(.6); } }

.core { position: relative; display: grid; justify-items: center; gap: 8px; padding: 18px 10px 14px; border-radius: 22px; text-align: center;
  background: var(--card); border: 1px solid color-mix(in srgb, currentColor 45%, var(--line)); color: var(--down-ink);
  box-shadow: var(--shadow); animation: corecol 14s linear infinite; }
.core-mark { width: 76px; height: 76px; display: block; position: relative; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.cm-bg { fill: #16161b; } .cm-g { fill: #30d158; } .cm-r { fill: #ff453a; } .cm-ring { fill: #30d158; opacity: .5; } .cm-dot { fill: #30d158; }
.core-ring { position: absolute; top: 18px; left: 50%; width: 76px; height: 76px; margin-left: -38px; border-radius: 22px;
  border: 2px solid currentColor; opacity: 0; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.core-name { color: var(--ink); font-size: 17px; letter-spacing: -0.01em; }
.core-msg { display: grid; font-size: 12.5px; font-weight: 600; line-height: 1.3; min-height: 2.6em; align-items: center; }
.core-msg > span { grid-area: 1 / 1; opacity: 0; }
.core-msg .m2 { opacity: 1; }
.core-msg .m0 { color: var(--muted); animation: m0 14s linear infinite; }
.core-msg .m1 { animation: m1 14s linear infinite; } .core-msg .m2 { animation: m2 14s linear infinite; } .core-msg .m3 { animation: m3 14s linear infinite; }
@keyframes corecol { 0%, 17% { color: var(--ok-ink); } 18.5%, 30% { color: var(--degraded-ink); } 31.5%, 70% { color: var(--down-ink); } 71.5%, 100% { color: var(--ok-ink); } }
@keyframes m0 { 0%, 17% { opacity: 1; } 18.5%, 94% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes m1 { 0%, 17% { opacity: 0; } 18.5%, 30% { opacity: 1; } 31.5%, 100% { opacity: 0; } }
@keyframes m2 { 0%, 30% { opacity: 0; } 31.5%, 70% { opacity: 1; } 71.5%, 100% { opacity: 0; } }
@keyframes m3 { 0%, 70% { opacity: 0; } 71.5%, 93% { opacity: 1; } 95%, 100% { opacity: 0; } }

.out { position: relative; padding: 9px 12px 10px; background: var(--card); border: 1px solid color-mix(in srgb, var(--down) 45%, var(--line));
  border-radius: 13px; text-align: left; animation: outflash 14s linear infinite; }
@keyframes outflash { 0%, 39.5% { border-color: var(--line); box-shadow: 0 0 0 0 transparent; }
  40.5% { border-color: var(--down); box-shadow: 0 0 0 4px color-mix(in srgb, var(--down) 22%, transparent); }
  50%, 78.5% { border-color: color-mix(in srgb, var(--down) 45%, var(--line)); box-shadow: 0 0 0 0 transparent; }
  79.5% { border-color: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
  89%, 100% { border-color: var(--line); box-shadow: 0 0 0 0 transparent; } }
.o-tag { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.o-tag svg { width: 14px; height: 14px; }
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; opacity: 0; margin: 0; min-width: 0; }
.stack > .v1 { opacity: 1; }
.stack > .v0 { animation: v0 14s linear infinite; } .stack > .v1 { animation: v1 14s linear infinite; } .stack > .v2 { animation: v2 14s linear infinite; }
@keyframes v0 { 0%, 39% { opacity: 1; } 40.5%, 94% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes v1 { 0%, 39% { opacity: 0; } 40.5%, 78% { opacity: 1; } 79.5%, 100% { opacity: 0; } }
@keyframes v2 { 0%, 78% { opacity: 0; } 79.5%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }
.push { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: start; }
.push img { border-radius: 6px; margin-top: 2px; }
.push b { display: block; font-size: 13.5px; line-height: 1.3; }
.push small { display: block; font-size: 11.5px; line-height: 1.35; }
.quiet { color: var(--muted); font-weight: 500; }
.d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--unknown); margin-right: 7px; flex: none; vertical-align: 1px; }
.d.ok { background: var(--ok); } .d.down { background: var(--down); } .d.degraded { background: var(--degraded); }
.menubar > * { display: flex; align-items: center; font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 7px; background: var(--card-2); }
.bubble { font-size: 12.5px; line-height: 1.35; padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: var(--card-2); }
.sp > * { display: flex; align-items: center; font-size: 13px; font-weight: 600; }
.o-ai pre { font-size: 11px; line-height: 1.45; white-space: pre; overflow: hidden; color: var(--ink-2); }
.o-btn { position: absolute; top: 7px; right: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 8px;
  background: var(--card-2); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--ink-2); }
.o-btn svg { width: 12px; height: 12px; }

.wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.wires path { fill: none; stroke-linecap: round; }
.wires .w { stroke: var(--wire); stroke-width: 1.5; }
.wires .w-bad { stroke: color-mix(in srgb, var(--down) 55%, var(--wire)); animation: wbad 14s linear infinite; }
.wires .w-out { stroke: color-mix(in srgb, var(--down) 40%, var(--wire)); animation: wout 14s linear infinite; }
@keyframes wbad { 0%, 10% { stroke: var(--wire); } 11.5%, 63.5% { stroke: color-mix(in srgb, var(--down) 55%, var(--wire)); } 65%, 100% { stroke: var(--wire); } }
@keyframes wout { 0%, 39% { stroke: var(--wire); } 40.5%, 78% { stroke: color-mix(in srgb, var(--down) 40%, var(--wire)); } 80%, 100% { stroke: var(--wire); } }
.wires .pk { stroke-width: 3; stroke-dasharray: 7 200; stroke-dashoffset: 10; opacity: 0; }
.wires .p-amb { stroke: var(--ok); stroke-width: 2.4; animation: amb 3.4s linear infinite; }
.wires .p-in { stroke: var(--down); filter: drop-shadow(0 0 4px var(--down)); animation: pin 14s linear infinite; }
.wires .p-out { stroke: var(--down); filter: drop-shadow(0 0 4px var(--down)); animation: pout 14s linear infinite; }
@keyframes amb { 0% { stroke-dashoffset: 10; opacity: 0; } 12% { opacity: .75; } 85% { opacity: .75; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes pin {
  0%, 10% { stroke-dashoffset: 10; opacity: 0; stroke: var(--down); } 10.5% { opacity: 1; } 18% { stroke-dashoffset: -100; opacity: 1; }
  18.5%, 24% { stroke-dashoffset: 10; opacity: 0; } 24.5% { opacity: 1; } 31% { stroke-dashoffset: -100; opacity: 1; }
  31.5%, 64% { stroke-dashoffset: 10; opacity: 0; stroke: var(--down); } 64.5% { opacity: 1; stroke: var(--ok); } 71% { stroke-dashoffset: -100; opacity: 1; }
  71.5%, 100% { stroke-dashoffset: 10; opacity: 0; stroke: var(--ok); } }
@keyframes pout {
  0%, 31% { stroke-dashoffset: 10; opacity: 0; stroke: var(--down); } 31.5% { opacity: 1; } 40% { stroke-dashoffset: -100; opacity: 1; }
  40.5%, 71% { stroke-dashoffset: 10; opacity: 0; stroke: var(--down); } 71.5% { opacity: 1; stroke: var(--ok); } 79% { stroke-dashoffset: -100; opacity: 1; }
  79.5%, 100% { stroke-dashoffset: 10; opacity: 0; stroke: var(--ok); } }
.flow figcaption { position: relative; z-index: 1; max-width: 720px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.flow.off * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .flow *, .live, .foot-status .status-dot__dot::after { animation: none !important; }
}

/* sections */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg-sub); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin: 0 0 40px; }
.kicker { color: var(--link); font: 500 12.5px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.sec-sub { color: var(--ink-2); font-size: 17px; margin: 0; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.steps li { position: relative; padding: 20px 18px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.steps .time { position: absolute; top: 24px; right: 16px; font: 500 12px var(--mono); color: var(--muted); }
.steps h3 { margin-bottom: 6px; font-size: 15px; }
.steps p { color: var(--ink-2); font-size: 14px; margin: 0; }
.more { margin: 22px auto 0; max-width: 860px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.more summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--card-2);
  border: 1px solid var(--line); font: 600 14px var(--mono); color: var(--ink-2); }
.more[open] summary::before { content: "−"; }
.more-in { padding: 0 18px 18px; color: var(--ink-2); font-size: 15px; }
.plain { padding-left: 20px; margin: 0 0 14px; } .plain li { margin: 6px 0; }
.term { background: var(--term); color: var(--term-ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 13px;
  overflow-x: auto; white-space: pre-wrap; margin: 0 0 14px; }
.term .ok { color: #5ad48b; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid3 > *, .steps > *, .rules > *, .plans > *, .cards > *, .fout > *, .split > *, .showcase > *, .flow-grid > * { min-width: 0; }
.feat, .card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.feat > svg { width: 26px; height: 26px; color: var(--ok-ink); margin-bottom: 12px; display: block; }
.feat p, .card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card p { margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.split .sec-sub { margin-bottom: 0; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.svc svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); color: var(--ok-ink); }
.svc h3 { margin-bottom: 4px; } .svc p { margin: 0; color: var(--ink-2); font-size: 15px; }
.svc p.names { margin: 0 0 6px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.svc .svc-deps { border-style: dashed; }
@media (min-width: 901px) { #services .split > div:first-child { position: sticky; top: calc(var(--top-h, 62px) + 32px); } }
.split .sec-sub + .small { margin-top: 14px; }
.cmp th .th-note { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: var(--muted); }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc h2[id], .doc h3[id] { scroll-margin-top: 84px; }
.doc .doc-toc { padding-left: 1.1em; }
.showcase { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-bottom: 28px; }
.shots { display: flex; gap: 18px; justify-content: center; }
.shots img { width: 46%; max-width: 250px; height: auto; border-radius: 30px; border: 1px solid var(--line); background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.shots img + img { margin-top: 48px; }
.show-text h3 { font-size: 26px; margin-bottom: 12px; }
.show-text p { color: var(--ink-2); font-size: 17px; }
.badge-line { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--line); font-size: 15px !important; }
.badge-line svg { width: 22px; height: 22px; color: var(--ok-ink); }
.chan .card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 22px; height: 22px; color: var(--ok-ink); flex: none; }
.snip { margin: 0; background: var(--term); color: var(--term-ink); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: 11.5px; line-height: 1.5; overflow-x: auto; white-space: pre; }
.tg { display: grid; gap: 8px; margin-bottom: 14px; }
.tg-msg { margin: 0 !important; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--card-2); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink) !important; }
.tg-msg b { display: block; font-size: 12px; color: var(--info-ink); }
.tg-msg small { display: block; text-align: right; font-size: 11px; }
.sp-demo { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.sp-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sp-dot i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.sp-dot.degraded i { background: var(--degraded); }
.sp-dot i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: dotp 2s ease-out infinite; }
@keyframes dotp { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sp-dot i::after { animation: none; opacity: 0; } }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.rule { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.rule .big { display: block; font-size: 38px; font-weight: 600; letter-spacing: -0.03em; color: var(--ok-ink); margin-bottom: 10px; line-height: 1; }
.rule .big small { font-size: 18px; color: var(--ok-ink); font-weight: 600; margin-left: 4px; }
.rule .big.grey { color: var(--unknown); }
.rule p { color: var(--ink-2); font-size: 15px; margin: 0; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 14px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.cmp th, .cmp td { padding: 12px 18px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.cmp thead th { font: 500 12px/1.3 var(--mono); letter-spacing: .02em; color: var(--muted); background: var(--surface-2); }
.cmp thead th:nth-child(2) { color: var(--ok-ink); }
.cmp tbody th { font-weight: 550; color: var(--ink); width: 40%; }
.cmp td { color: var(--ink-2); }
.cmp td:nth-child(2) { background: color-mix(in srgb, var(--ok) 5%, transparent); }
.cmp td.y::before, .cmp td.n::before { display: inline-block; width: 1.2em; font-weight: 600; }
.cmp td.y::before { content: "✓"; color: var(--ok-ink); } .cmp td.n::before { content: "—"; color: var(--muted); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* pricing */
/* the period: a segmented control; the plans: one card with four columns, Indie marked by the accent */
.period { display: flex; width: max-content; max-width: 100%; margin: 0 0 22px; padding: 2px; gap: 2px; border-radius: var(--r-sm); background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line-strong); }
.period a { padding: 5px 12px; border-radius: 6px; color: var(--muted); font-weight: 500; font-size: 13.5px; }
.period a:hover { text-decoration: none; color: var(--ink); }
.period a.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.25), inset 0 0 0 1px var(--line-strong); }
.period .save { font-size: 12px; font-weight: 500; color: var(--ok-ink); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-right: 1px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan.featured { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%); box-shadow: inset 0 2px 0 var(--accent); }
.ribbon { position: absolute; top: 25px; right: 20px; padding: 3px 6px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--link);
  font: 500 11px/1.2 var(--mono); }
.plan h3 { font-size: 16px; margin-bottom: 6px; }
.blurb { color: var(--muted); font-size: 14px; margin-bottom: 14px; min-height: 2.6em; }
.price { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; margin: 0; line-height: 1.05; font-variant-numeric: tabular-nums; }
.price s { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.per { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 20px; flex: 1; font-size: 13.5px; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; margin: 8px 0; }
.plan li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 9px; height: 5px; border-left: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: rotate(-45deg); }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin: 22px auto 10px; max-width: 760px; }
.plans-note .pill { margin-left: 4px; }
.limits td, .limits th { text-align: center; }
.limits td:nth-child(2) { background: none; }
.limits thead th:nth-child(2) { color: var(--muted); }
.limits td:nth-child(3) { background: color-mix(in srgb, var(--ok) 6%, transparent); }
.limits thead th:nth-child(3) { color: var(--ok-ink); }
.limits tbody th { text-align: left; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 500; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 500 20px var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* final cta */
.final { padding: 96px 0; text-align: center; background: radial-gradient(700px 320px at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.final .cta-row, .final .install { justify-content: center; margin-left: auto; margin-right: auto; }
.final-in img { border-radius: 15px; margin-bottom: 18px; }
.final h2 { margin-bottom: 12px; }
.final p { color: var(--ink-2); font-size: 18px; margin-bottom: 26px; }
.final .install { margin-top: 26px; }

/* footer */
.foot { border-top: 1px solid var(--line-2); padding: 48px 0 26px; color: var(--muted); font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 12px 0 14px; max-width: 340px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col b { color: var(--ink-2); font: 500 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }
.foot-status { color: var(--ink-2) !important; }
.foot-copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line-2); }
/* status dot widget (copy of widget.css: the CSP allows no injected styles) */
.status-dot { display: inline-flex; align-items: center; gap: .5em; color: inherit; text-decoration: none; font: inherit; line-height: 1.2; }
.status-dot:hover .status-dot__label { text-decoration: underline; }
.status-dot__dot { position: relative; width: .6em; height: .6em; border-radius: 50%; background: var(--status-dot); flex: none; }
.status-dot__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--status-dot); opacity: .6; animation: dotp 2s ease-out infinite; }
.status-dot[data-state=unknown] .status-dot__dot::after { animation: none; opacity: 0; }

/* inner pages: docs, legal, download, sign-in */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-2); }
.section h1 { font-size: clamp(30px, 4vw, 42px); }
.page-head { text-align: center; padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; letter-spacing: -0.04em; }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 680px; margin: 0 auto; }
.page-head .kicker { color: var(--link); font-size: 13px; margin-bottom: 12px; }
.doc { max-width: 780px; margin: 0 auto; padding: 0 28px; color: var(--ink-2); }
.doc h1, .doc h2, .doc b { color: var(--ink); }
.doc h2 { font-size: 24px; margin-top: 34px; }
.doc pre, .doc .terminal { margin: 10px 0 18px; }
.doc ol li, .doc ul li { margin: 6px 0; }
.doc .crumbs { font-size: 14px; margin: 0 0 1em; }
.doc .crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.terminal { background: var(--term); color: var(--term-ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-family: var(--mono);
  font-size: 13px; overflow-x: auto; white-space: pre; -webkit-overflow-scrolling: touch; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards .card .btn { margin: 4px 8px 0 0; }
.authbox { max-width: 420px; margin: 72px auto; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.authbox h1 { font-size: 26px; letter-spacing: -0.03em; }
.authbox .or { text-align: center; color: var(--muted); margin: 14px 0; }
.mt { margin-top: 18px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
input[type=text], input[type=email] { width: 100%; padding: 10px 12px; border: 1px solid var(--field); border-radius: var(--r-sm); font: inherit;
  background: var(--bg); color: var(--ink); }
input:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.field { margin-bottom: 14px; }
.flash, .error { padding: 10px 14px; border-radius: 10px; margin: 0 0 16px; border: 1px solid; }
.flash { color: var(--ok-ink); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.error { color: var(--down-ink); border-color: color-mix(in srgb, var(--down) 40%, transparent); background: color-mix(in srgb, var(--down) 10%, transparent); }

@media (max-width: 1080px) {
  .flow-grid { grid-template-columns: minmax(200px, 240px) 1fr 150px 1fr minmax(240px, 290px); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .showcase { grid-template-columns: 1fr; gap: 28px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap, .doc { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .hero { padding: 40px 0 24px; }
  .eyebrow { font-size: 12px; padding: 4px 11px; gap: 7px; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(27px, 7.6vw, 33px); }
  .lead { font-size: 16px; margin-bottom: 20px; }
  .cta-row { flex-wrap: nowrap; gap: 8px; }
  .cta-row .btn { flex: 1 1 0; min-height: 50px; padding: 12px 6px; font-size: 15px; white-space: nowrap; }
  .install { padding-left: 12px; }
  .install code { font-size: 12.5px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-sub { font-size: 16px; }
  .steps, .grid3, .rules, .plans, .cards { grid-template-columns: 1fr; }
  .shots img { border-radius: 22px; }
  .show-text h3 { font-size: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .authbox { margin: 32px 16px; padding: 24px 18px; }
}

/* Pult's own status page (/status): the example of what a product's status page looks like. */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.d.maintenance { background: var(--info); }
.st-wrap { max-width: 880px; }
.st-hero { position: relative; padding: 60px 0 30px; overflow: hidden; --sc: var(--unknown); }
.st-hero[data-state="ok"] { --sc: var(--ok); }
.st-hero[data-state="partial"] { --sc: var(--degraded); }
.st-hero[data-state="down"] { --sc: var(--down); }
.st-hero[data-state="maintenance"] { --sc: var(--info); }
.st-hero::before { content: ""; position: absolute; inset: -45% -10% auto; height: 560px; pointer-events: none;
  background: radial-gradient(560px 260px at 50% 40%, color-mix(in srgb, var(--sc) 15%, transparent), transparent 70%); }
.st-hero .wrap { position: relative; }
.st-title { display: flex; align-items: center; gap: 16px; font-size: clamp(30px, 4.6vw, 46px); font-weight: 600; letter-spacing: -0.04em; margin: 0 0 12px; }
.st-dot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--sc); flex: none;
  box-shadow: 0 0 18px color-mix(in srgb, var(--sc) 55%, transparent); }
.st-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: dotp 2.2s ease-out infinite; }
.st-hero[data-state="unknown"] .st-dot { box-shadow: none; }
.st-hero[data-state="unknown"] .st-dot::after { animation: none; opacity: 0; }
.st-meta { color: var(--ink-2); margin: 0; font-size: 16px; }
.st-meta time, .st-axis time, .st-incs time, .st-none time { font-variant-numeric: tabular-nums; }
.st-meta time { color: var(--ink); font-weight: 600; }
.st-note { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--degraded) 40%, var(--line));
  background: color-mix(in srgb, var(--degraded) 8%, transparent); color: var(--ink-2); font-size: 15px; }
.st-aff { margin: 12px 0 0; color: var(--ink-2); }
.st-aff b { color: var(--ink); }
.st-body { padding: 6px 0 20px; }
.st-notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--info); }
.st-notice.warning { border-left-color: var(--degraded); } .st-notice.danger { border-left-color: var(--down); } .st-notice.success { border-left-color: var(--ok); }
.st-notice p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; white-space: pre-line; }
.st-group { margin: 0 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.st-ghead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; background: var(--card-2); border-bottom: 1px solid var(--line-2); }
.st-ghead h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.st-c { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--muted); }
.st-c.ok { color: var(--ok-ink); } .st-c.degraded { color: var(--degraded-ink); } .st-c.down { color: var(--down-ink); } .st-c.maintenance { color: var(--info-ink); }
.st-checks { list-style: none; margin: 0; padding: 0; }
.st-check { padding: 16px 20px 14px; border-top: 1px solid var(--line-2); }
.st-check:first-child { border-top: 0; }
.st-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; margin-bottom: 11px; }
.st-row .d { margin: 0; width: 10px; height: 10px; }
.st-name { font-weight: 500; overflow-wrap: anywhere; }
.st-up { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-bars { display: grid; grid-template-columns: repeat(48, minmax(0, 1fr)); gap: 3px; height: 32px; }
.st-bars i { border-radius: 3px; background: var(--line); transition: opacity .15s; }
.st-bars i.ok { background: var(--ok); } .st-bars i.degraded { background: var(--degraded); }
.st-bars i.down { background: var(--down); } .st-bars i.maintenance { background: var(--info); }
.st-bars i[title]:hover { opacity: .7; }
.st-axis { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--muted); font-size: 12.5px; }
.st-inc { margin-top: 34px; }
.st-inc h2 { font-size: 21px; margin-bottom: 14px; }
.st-incs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-incs li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; padding: 13px 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); }
.st-incs li.ongoing { border-color: color-mix(in srgb, var(--down) 50%, var(--line)); }
.st-incs li.ongoing.degraded { border-color: color-mix(in srgb, var(--degraded) 50%, var(--line)); }
.st-incs .d { margin: 0; }
.st-incs p { margin: 0; }
.st-incs b { color: var(--ink); }
.nw { white-space: nowrap; }
.st-none { color: var(--muted); margin: 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; }
.st-foot { padding: 8px 0 80px; }
.st-sub { display: flex; gap: 10px; align-items: center; margin: 4px 0 26px; color: var(--muted); font-size: 14.5px; }
.st-sub svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.st-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 16px;
  background: radial-gradient(420px 160px at 0% 0%, color-mix(in srgb, var(--ok) 10%, transparent), transparent 70%), var(--card); border: 1px solid var(--line); }
.st-cta img { border-radius: 11px; display: block; }
.st-cta h2 { font-size: 20px; margin: 0 0 4px; }
.st-cta p { margin: 0; color: var(--ink-2); font-size: 15px; }
.page-head p.small { font-size: 15px; margin-top: 14px; }
.card .see-note { margin-bottom: 8px; }
.see-example span { font-family: var(--mono); font-size: .88em; opacity: .85; }
@media (max-width: 640px) {
  .st-hero { padding: 36px 0 20px; }
  .st-title { gap: 12px; font-size: 28px; }
  .st-dot { width: 14px; height: 14px; }
  .st-ghead { padding: 12px 14px; }
  .st-check { padding: 14px 14px 12px; }
  .st-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 10px; }
  .st-now { grid-column: 3; grid-row: 1; }
  .st-up { grid-column: 2 / 4; grid-row: 2; font-size: 13px; }
  .st-bars { gap: 2px; height: 28px; }
  .st-bars i { border-radius: 2px; }
  .st-incs li { padding: 12px 14px; font-size: 15px; }
  .st-cta { grid-template-columns: 1fr; gap: 14px; padding: 20px 18px; }
  .st-cta img { width: 38px; height: 38px; }
  .st-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .st-dot::after { animation: none; opacity: 0; }
  .st-bars i { transition: none; }
}

/* Unbounded is the wordmark only (Kir, 25.10.2026): headings are Geist, set above. */
/* Live status pill in the header, like the dot on the other product sites. */
.hdr-status { display: inline-flex; align-items: center; padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--ink-2) !important; white-space: nowrap; }
.hdr-status:empty { display: none; }

/* ---------------------------------------------------------------------------------------------------
   Phones and tablets (owner 25.10: «мобільна версія — жесть»). Last in the file, so it wins.
   --------------------------------------------------------------------------------------------------- */
.linkbtn { padding: 0; border: 0; background: none; color: var(--link); font: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
form.inline { display: inline; margin: 0; }
h1, h2 { overflow-wrap: break-word; }

/* Header below 1100 px: the brand, the live status (tablet), sign-in and the menu button. */
@media (max-width: 1099px) {
  .top-in { gap: 12px; }
  .nav, .top-act .top-theme, .top-act .top-lang { display: none; }
  .menu { display: block; }
  .brand { margin-right: auto; }
  .top-act { margin-left: 0; }
  .top-act { gap: 8px; }
  .brand { min-height: 44px; }
  .top .iconbtn { width: 44px; height: 44px; border-radius: 12px; }
  .top .btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
  html:has(.menu[open]) { overflow: hidden; }
}
@media (min-width: 641px) { .sheet-status { display: none; } .sheet-row:has(.sheet-status) { display: none; } }
@media (max-width: 640px) {
  .top { --top-h: 60px; }
  .hdr-status { display: none !important; }
  .brand img { width: 30px; height: 30px; }
}

/* The hero's picture below 900 px: one column, read from top to bottom. What the agent and the Pult server
   watch (one list), a wire into Pult, a wire out, and where the alert arrives. Same 14 s story as on a
   desktop: the site row turns red, the packets run down, Pult counts to two, the outputs light up. */
@media (max-width: 900px) {
  .flow { margin-top: 34px; }
  .flow-grid { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 520px; margin: 0 auto; }
  .fsrc, .fcore, .fout { grid-column: 1; }
  .wires { display: none; }
  .lf { display: none; }
  .sf { display: inline; }
  .fsrc { padding: 8px 8px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .grp { margin: 4px 8px 4px; font-size: 11px; text-align: left; }
  .nodes + .grp { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-2); }
  .nodes { gap: 0; }
  .node { grid-template-columns: 18px minmax(0, 1fr) 8px; gap: 11px; min-height: 40px; padding: 7px 9px; background: none;
    border-color: transparent; border-radius: 11px; }
  .node > svg { width: 18px; height: 18px; }
  .node > span { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 10px; }
  .node b, .node small { white-space: normal; overflow: visible; }
  .node b { font-size: 14px; }
  .node small { font-size: 12px; font-variant-numeric: tabular-nums; }
  .node.bad { border-color: color-mix(in srgb, var(--down) 60%, var(--line)); background: color-mix(in srgb, var(--down) 8%, transparent);
    animation-name: nodebad-s; }
  .flag { top: -9px; right: 22px; }

  .fl-link { display: block; position: relative; width: 2px; height: 30px; margin: 0 auto; border-radius: 1px;
    background: color-mix(in srgb, var(--down) 55%, var(--wire)); }
  .fl-in { animation: lin 14s linear infinite; }
  .fl-out { background: color-mix(in srgb, var(--down) 40%, var(--wire)); animation: lout 14s linear infinite; }
  .fl-pk { position: absolute; left: -2px; top: -3px; width: 6px; height: 6px; border-radius: 50%; opacity: 0; }
  .fl-amb { background: var(--ok); animation: lkamb 3.4s linear infinite; }
  .fl-bad { background: var(--down); box-shadow: 0 0 8px var(--down); }
  .fl-in .fl-bad { animation: lkin 14s linear infinite; }
  .fl-out .fl-bad { animation: lkout 14s linear infinite; }

  .fcore { width: auto; }
  .core { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; row-gap: 1px;
    max-width: 340px; margin: 0 auto; padding: 12px 16px; border-radius: 18px; text-align: left; }
  .core-mark { width: 52px; height: 52px; grid-row: 1 / 3; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
  .core-ring { top: 12px; left: 16px; width: 52px; height: 52px; margin: 0; border-radius: 15px; }
  .core-name { align-self: end; font-size: 16px; }
  .core-msg { align-self: start; min-height: 0; font-size: 13px; text-align: left; }

  .fout { gap: 8px; padding: 0; }
  .grp-out { display: block; margin: 0 4px 0; }
  .o-ai { display: none; }
  .out { padding: 10px 12px 11px; }
  .o-mac, .o-page { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; }
  .o-mac .o-tag, .o-page .o-tag { margin: 0; }
  .o-page .sp > * { justify-content: flex-end; }
  .menubar > * { justify-self: end; }
  .push b { font-size: 14px; }
  .bubble { font-size: 13px; }
  .flow figcaption { margin-top: 18px; font-size: 14px; }
}
@keyframes nodebad-s {
  0%, 9.5% { border-color: transparent; background: transparent; }
  10.5%, 63.5% { border-color: color-mix(in srgb, var(--down) 60%, var(--line)); background: color-mix(in srgb, var(--down) 8%, transparent); }
  64.5%, 100% { border-color: transparent; background: transparent; } }
@keyframes lin { 0%, 10% { background: var(--wire); } 11.5%, 63.5% { background: color-mix(in srgb, var(--down) 55%, var(--wire)); } 65%, 100% { background: var(--wire); } }
@keyframes lout { 0%, 39% { background: var(--wire); } 40.5%, 78% { background: color-mix(in srgb, var(--down) 40%, var(--wire)); } 80%, 100% { background: var(--wire); } }
@keyframes lkamb { 0% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: .85; } 100% { transform: translateY(30px); opacity: 0; } }
@keyframes lkin {
  0%, 10% { transform: translateY(0); opacity: 0; background: var(--down); } 10.5% { opacity: 1; } 18% { transform: translateY(30px); opacity: 1; }
  18.5%, 24% { transform: translateY(0); opacity: 0; } 24.5% { opacity: 1; } 31% { transform: translateY(30px); opacity: 1; }
  31.5%, 64% { transform: translateY(0); opacity: 0; background: var(--down); } 64.5% { opacity: 1; background: var(--ok); } 71% { transform: translateY(30px); opacity: 1; }
  71.5%, 100% { transform: translateY(0); opacity: 0; background: var(--ok); } }
@keyframes lkout {
  0%, 31% { transform: translateY(0); opacity: 0; background: var(--down); } 31.5% { opacity: 1; } 40% { transform: translateY(30px); opacity: 1; }
  40.5%, 71% { transform: translateY(0); opacity: 0; background: var(--down); } 71.5% { opacity: 1; background: var(--ok); } 79% { transform: translateY(30px); opacity: 1; }
  79.5%, 100% { transform: translateY(0); opacity: 0; background: var(--ok); } }

@media (max-width: 640px) {
  /* hero: the headline, the promise and the button fit the first screen */
  .hero { padding: 28px 0 22px; }
  .eyebrow { max-width: 100%; font-size: clamp(11px, 3.1vw, 12px); text-wrap: balance; }
  .hero h1 { margin-bottom: 14px; text-wrap: balance; }
  .lead { text-wrap: pretty; }
  .fine { margin: 12px 0 14px; font-size: 13.5px; text-wrap: balance; }
  .install { padding: 4px 4px 4px 12px; }
  .copy { min-height: 44px; padding: 0 14px; }

  /* tables: one row = its name across, then the values in columns under a header that stays in view */
  .tablewrap { overflow: visible; }
  .cmp, .cmp thead, .cmp tbody { display: block; min-width: 0; }
  .cmp { font-size: 14px; }
  .cmp tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
  .cmp.limits tr { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { border-bottom: 0; padding: 4px 12px 12px; }
  .cmp.limits td { padding-left: 6px; padding-right: 6px; }
  .cmp thead { position: sticky; top: calc(var(--top-h, 60px) + env(safe-area-inset-top)); z-index: 1; }
  .cmp thead tr { background: var(--card-2); border-radius: var(--r) var(--r) 0 0; }
  .cmp thead th { padding: 10px 12px; font-size: 12px; background: none; }
  .cmp.limits thead th { padding: 10px 4px; text-align: center; }
  .cmp thead th:first-child { display: none; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 12px 12px 2px; font-weight: 600; }
  .cmp.limits tbody th { text-align: left; }

  /* feature blocks: the icon or the number beside the title, not above it */
  .steps { gap: 10px; }
  .steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 16px 16px 18px; }
  .steps li::before { grid-row: 1 / 3; margin: 0; }
  .steps h3 { align-self: center; margin: 4px 56px 6px 0; }
  .steps .time { top: 20px; }
  .grid3 { gap: 10px; }
  .feat { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; padding: 18px 18px 20px; }
  .feat > svg { width: 24px; height: 24px; margin: 0; }
  .feat h3 { margin-bottom: 6px; }
  .feat p { grid-column: 2; }
  .svc li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .svc svg { width: 40px; height: 40px; padding: 9px; }
  .rules { gap: 10px; }
  .rule { padding: 18px 18px 20px; }
  .rule .big { font-size: 32px; margin-bottom: 8px; }
  .card { padding: 18px; }
  .see-example { display: flex; width: 100%; justify-content: space-between; white-space: nowrap; }
  .show-text h3 { margin-top: 4px; }

  /* pricing */
  .period a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
  .plan { padding: 22px 18px 18px; }
  .blurb { min-height: 0; }
  .plan .btn { min-height: 48px; }
  .see-example { min-height: 44px; }

  /* inner pages */
  .page-head { padding-top: 36px; padding-bottom: 4px; }
  .page-head h1, .section h1, .doc h1 { font-size: clamp(26px, 7.4vw, 32px); }
  .page-head p { font-size: 16.5px; }
  .section { padding: 36px 0 48px; }
  .doc h2 { font-size: 21px; margin-top: 30px; }
  /* the docs' contents: one row of chips that scrolls sideways by itself */
  .doc .crumbs { display: flex; gap: 8px; margin: 0 -16px 20px; padding: 0 16px 2px; overflow-x: auto; font-size: 0;
    white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .doc .crumbs::-webkit-scrollbar { display: none; }
  .doc .crumbs a { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line);
    border-radius: 99px; background: var(--card); font-size: 14px; }
  .doc .crumbs a:hover { text-decoration: none; border-color: var(--muted); }
  .doc .crumbs [aria-current] { border-color: var(--ok); color: var(--ink); }
  .terminal { font-size: 12.5px; padding: 12px 14px; }
  .authbox { margin: 24px 16px 40px; padding: 24px 18px; }
  .authbox .links a, .authbox .links .linkbtn { display: inline-flex; align-items: center; min-height: 44px; }

  /* footer: two columns of links, each a full-height tap target */
  .foot { padding: 36px 0 calc(22px + env(safe-area-inset-bottom)); }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot-brand, .foot-col:last-child { grid-column: 1 / -1; }
  .foot-col { gap: 0; }
  .foot-col b { margin-bottom: 2px; }
  .foot-col a, .foot-status { display: flex; align-items: center; min-height: 44px; }
  .foot-brand p { margin-bottom: 4px; }
  .foot-copy { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .fl-link, .fl-pk { animation: none !important; }
}

/* ---------------------------------------------------------------------------------------------------
   Redesign 10.2026: the first screen (promise · live example · compact scheme), steps and plans as
   one card. Narrower screens. Last in the file, so it wins.
   --------------------------------------------------------------------------------------------------- */
.steps li::before { width: 24px; height: 24px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--link);
  font: 600 12px/1 var(--mono); }
.mini.off *, .stage.off * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .mini *, .stage *, .lr-dot { animation: none !important; }
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .lrow { grid-template-columns: 10px minmax(0, 1fr) 96px; }
  .lrow .lbar { display: none; }
  .mini { grid-template-columns: minmax(0, 1fr) 40px minmax(200px, 230px) 40px minmax(0, 1fr); }
  @keyframes hkamb { 0% { transform: translateX(0); opacity: 0; } 15%, 80% { opacity: .85; } 100% { transform: translateX(40px); opacity: 0; } }
}
@media (max-width: 1080px) {
  .flow-steps { grid-template-columns: minmax(200px, 240px) 1fr 150px 1fr minmax(240px, 290px); }
  .steps { gap: 10px; border: 0; background: none; overflow: visible; }
  .steps li { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
  .steps li:last-child { border-right: 1px solid var(--line); }
  .plans .plan { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stage { min-height: 0; display: grid; gap: 12px; }
  .win { width: 100%; }
  .hpush { position: relative; top: auto; right: auto; width: 100%; max-width: 440px; margin: -40px 0 0 auto; }
  .agentbox { position: relative; left: auto; top: auto; width: 100%; }
  .mini { grid-template-columns: minmax(0, 1fr); justify-items: center; max-width: 520px; margin-top: 40px; }
  .mn-col { justify-content: center; }
  .mn-wire { width: 2px; height: 30px; }
  .mn-pk { top: -3px; left: -2px; }
  .mn-amb { animation-name: lkamb; } .mn-in .mn-red { animation-name: lkin; } .mn-out .mn-red { animation-name: lkout; }
  .mn-in { animation-name: lin; } .mn-out { animation-name: lout; }
  .mn-core { max-width: 320px; width: 100%; }
  .logos { margin-top: 40px; gap: 8px 22px; font-size: 12.5px; }
  .flow-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 520px; margin: 0 auto 18px; }
  .flow-steps li:nth-child(n) { grid-column: 1; max-width: none; justify-self: stretch; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .eyebrow { font-size: 11.5px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .lead { font-size: 16.5px; margin-bottom: 22px; }
  .cta-row { flex-direction: column; flex-wrap: nowrap; }
  .cta-row .btn { width: 100%; min-height: 50px; font-size: 16px; }
  .fine { font-size: 12px; }
  .lrow { grid-template-columns: 10px minmax(0, 1fr) auto; padding: 10px 12px; gap: 10px; }
  .win-t { display: none; }
  .hpush { margin-top: -28px; max-width: none; }
  .agentbox { display: none; }
  .logos span:not(:first-child):nth-child(n+8) { display: none; }
  .sec-head { margin-bottom: 28px; }
  .period { margin-left: 0; }
}

/* The landing scrolls section by section, as the Tysha site does (Kir 27.10): a scroll ends at the start of the
   nearest section, its heading just under the sticky header (scroll-padding-top, once for the page). Desktop snaps
   like Tysha (mandatory, one section per wheel move); a section taller than the window still scrolls freely inside.
   Phones get proximity, so reading tall sections never jerks. Off with reduced motion. Only the landing has .hero. */
html:has(.hero) { scroll-padding-top: var(--top-h, 64px); }
@media (prefers-reduced-motion: no-preference) {
  html:has(.hero) { scroll-snap-type: y proximity; }
  .hero, .hero ~ .sec, .hero ~ .final { scroll-snap-align: start; }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html:has(.hero) { scroll-snap-type: y mandatory; }
  .hero, .hero ~ .sec { scroll-snap-stop: always; }
}
