/* FarWatch site styles. The CSP forbids inline styles, so every visual rule lives here.
   Visual language: a lighthouse beam, concentric and dotted rings, a fading dot grid,
   blurred glows and a horizon arc. Motifs are CSS plus three local SVG files in /img/motif. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --bg: #060d1a;
  --bg2: #0a1528;
  --bg3: #0c1a33;
  --surface: #0d1b32;
  --surface2: #12233f;
  --line: #1b2e4d;
  --line2: #29436a;
  --text: #e8f0fb;
  --muted: #a3b5d0;
  --cyan: #28c4d6;
  --cyan2: #46c8d8;
  --cyan3: #9ff0fa;
  --blue: #2f7dd1;
  --violet: #6b5bd6;
  --ok: #6be3a4;
  --pad: clamp(20px, 4vw, 96px);
  --shell: 1760px;
  --radius: 14px;
  --header-h: 4.25rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --measure: 75ch;
}
@media (min-width: 2200px) { :root { --shell: 2520px; } }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(15px, 0.22vw + 11px, 19px); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.6; font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan3); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan3); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(40, 196, 214, .35); }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--cyan); color: #04121f; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--shell) + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); position: relative; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- announcement strip and header ---------- */
.announce { background: linear-gradient(90deg, #12337a 0%, #0e6a98 55%, #14a9bd 100%); color: #fff; font-size: .9rem; }
.announce .wrap { display: flex; gap: .9rem; align-items: center; justify-content: center; padding-block: .55rem; flex-wrap: wrap; text-align: center; }
.announce strong { font-weight: 650; }
.announce a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: #04121f; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6, 13, 26, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand img { width: 2.6rem; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 1.5rem; }
.nav-list, .nav-actions { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; padding: .6rem .9rem; border-radius: 8px; font-size: .86rem; font-weight: 500; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover, .is-active > .nav-link { color: var(--cyan3); background: rgba(40, 196, 214, .08); }
.linkish { line-height: inherit; }
.inline-form { display: inline; margin: 0; }
.panel-toggle { display: none; }
.has-panel > .nav-link::after { content: ""; width: 6px; height: 6px; margin-left: .5rem; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.js .panel-toggle { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 2.2rem; margin-left: -.6rem; background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 8px; }
.js .panel-toggle:hover { color: var(--cyan3); }
.panel-toggle .caret { width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.js .has-panel > .nav-link::after { display: none; }
.panel { display: none; position: absolute; left: -.75rem; top: 100%; width: min(46rem, 90vw); padding: .6rem; margin-top: .4rem; background: #0b1830; border: 1px solid var(--line2); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.panel ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .5rem; }
.panel a { display: block; padding: .55rem .8rem; font-size: .84rem; border-radius: 10px; text-decoration: none; color: var(--text); height: 100%; }
.panel a strong { display: block; font-weight: 600; }
.panel a span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.4; margin-top: .15rem; }
.panel a:hover, .panel a:focus-visible { background: rgba(40, 196, 214, .1); }
.has-panel:hover > .panel, .has-panel:focus-within > .panel, .has-panel.open > .panel { display: block; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: .65rem .75rem; cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.menu-toggle .bars::before { position: absolute; top: -6px; }
.menu-toggle .bars::after { position: absolute; top: 6px; }

/* ---------- buttons and small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: 10px; font: 600 1rem/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: var(--cyan); color: #04121f; }
.btn-primary:hover { background: var(--cyan3); color: #04121f; box-shadow: 0 8px 28px rgba(40, 196, 214, .3); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--cyan2); color: var(--cyan3); background: rgba(40, 196, 214, .07); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-row.left { justify-content: flex-start; }
.cta-band .btn-row { justify-content: center; }
.btn-copy { display: none; font: 600 .78rem/1 var(--font); color: var(--cyan3); background: transparent; border: 1px solid var(--line2); border-radius: 6px; padding: .35rem .6rem; cursor: pointer; vertical-align: middle; }
.js .btn-copy { display: inline-flex; }
.btn-copy:hover { border-color: var(--cyan2); background: rgba(40, 196, 214, .1); }
.btn-copy.done { color: var(--ok); border-color: var(--ok); }
.more { display: inline-block; margin-right: 1.2rem; font-weight: 600; text-decoration: none; }
.more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: .5rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform .15s; }
.more:hover::after { transform: translateX(3px) rotate(45deg) translateY(-1px); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--cyan); margin: 0 0 .9rem; }
h1 { font-size: clamp(2.3rem, 1rem + 3.4vw, 5rem); letter-spacing: -0.035em; font-weight: 700; }
.h-xl { font-size: clamp(1.75rem, .9rem + 1.9vw, 3.2rem); letter-spacing: -0.03em; font-weight: 700; margin-bottom: .55em; }
.lead { font-size: clamp(1.08rem, .95rem + .35vw, 1.4rem); color: var(--muted); max-width: 62ch; }
.lead-dark { color: #3a4c6a; font-size: 1.1rem; }
.grad { background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan3) 60%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.muted-note { color: var(--muted); font-size: .92rem; margin-top: 1rem; }
.center { text-align: center; }
.callout { border-left: 3px solid var(--cyan); background: rgba(40, 196, 214, .08); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; color: var(--text); margin: 1.4rem 0; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(40, 196, 214, .14); color: var(--cyan3); vertical-align: middle; }

/* ---------- bands and motifs ---------- */
.section, .hero, .page-hero, .cta-band, .pillars, .portal-head { position: relative; isolation: isolate; overflow: hidden; }
.section { padding-block: clamp(4rem, 6vw, 8rem); background: var(--bg); }
.feature-alt, .differs-dark { background: var(--bg2); border-block: 1px solid var(--line); }
.section > .wrap, .hero > .wrap, .page-hero > .wrap, .cta-band > .wrap, .pillars > .wrap { z-index: 1; }

/* fine dot grid that fades out */
.grid-fade::before, .hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(159, 240, 250, .22) 1px, transparent 1.4px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 20%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 70% 20%, #000 0%, transparent 72%); }
/* glows */
.glow-a::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 60vw; height: 60vw; max-width: 1100px; max-height: 1100px; right: -15vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 196, 214, .22), rgba(47, 125, 209, .1) 45%, transparent 70%); filter: blur(30px); }
.glow-b::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 55vw; height: 55vw; max-width: 1000px; max-height: 1000px; left: -18vw; bottom: -22vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 91, 214, .22), rgba(47, 125, 209, .08) 50%, transparent 70%); filter: blur(30px); }
/* concentric rings */
.rings-r > .wrap::before, .hero-shot::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background: url("/img/motif/rings.svg") center / contain no-repeat; opacity: .9; }
.rings-r > .wrap::before { width: min(60vw, 900px); aspect-ratio: 1; right: -8%; top: 50%; translate: 0 -50%; }
.rings-l > .wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background: url("/img/motif/rings.svg") center / contain no-repeat; opacity: .7; width: min(55vw, 820px); aspect-ratio: 1; left: -14%; top: 50%; translate: 0 -50%; }
/* light beam: wide soft cone from a point */
.beam::after { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -20% -10% auto auto; width: 120%; height: 150%;
  background:
    conic-gradient(from 232deg at 82% 18%, transparent 0deg, rgba(159, 240, 250, .14) 14deg, rgba(159, 240, 250, .02) 28deg, transparent 40deg, transparent 360deg),
    radial-gradient(38% 38% at 78% 32%, rgba(40, 196, 214, .20), transparent 70%),
    radial-gradient(30% 34% at 22% 70%, rgba(107, 91, 214, .18), transparent 70%); }
.beam-l::after { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -30% auto auto -10%; width: 120%; height: 160%;
  background: conic-gradient(from 118deg at 14% 14%, transparent 0deg, rgba(159, 240, 250, .12) 14deg, transparent 38deg, transparent 360deg); }
/* horizon arc divider */
.arc-top::before { content: ""; position: absolute; z-index: -1; left: -15%; right: -15%; top: 0; height: clamp(40px, 6vw, 110px); border-top: 1px solid rgba(70, 200, 216, .4); border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, rgba(40, 196, 214, .07), transparent); pointer-events: none; }

/* light band */
.light { background: #eef3f9; color: #0b1730; border-block: 1px solid #d2dded; }
.light::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(11, 23, 48, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 23, 48, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 90% 90% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 90% 90% at 100% 0%, #000, transparent 70%); }
.light .eyebrow { color: #0a6f80; }
.light h1, .light h2, .light h3 { color: #0b1730; }
.light p, .light li { color: #2c3d5a; }
.light a { color: #0a6f80; }
.light .more { color: #0a6f80; }

/* saturated gradient band */
.band-grad { background: linear-gradient(115deg, #0a2360 0%, #0d4a86 45%, #0f8aa6 100%); color: #fff; border-block: 1px solid rgba(255, 255, 255, .12); }
.band-grad::after { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: min(62%, 1200px); height: 100%; background: url("/img/motif/bars.svg") right bottom / contain no-repeat; opacity: .95; pointer-events: none; }
.band-grad .eyebrow { color: #bff6fb; }
.band-grad p, .band-grad li { color: #eaf6ff; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3.5rem, 6vw, 8rem) clamp(3rem, 5vw, 6rem); background: linear-gradient(180deg, #07122a 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 6rem); align-items: center; }
.hero-copy { max-width: 46rem; }
.hero .lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.5rem); max-width: 40ch; }
.hero-note { color: var(--muted); font-size: .95rem; margin-top: 1.4rem; max-width: 52ch; }
.hero-shot { position: relative; margin-right: calc(-1 * var(--pad)); }
.hero-shot::before { width: 135%; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; background-image: url("/img/motif/dotring.svg"); opacity: .55; }
.hero-shot .frame { transform: perspective(2200px) rotateY(-7deg) rotateX(1.5deg); transform-origin: left center; }

/* pillar row */
.pillars { background: var(--bg3); border-block: 1px solid var(--line); }
.pillar-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 1.6rem clamp(1rem, 2vw, 2.5rem); border-left: 1px solid var(--line2); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar h3 { font-size: 1.05rem; margin: 0 0 .25em; color: var(--cyan3); }
.pillar p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- screenshot frame and lightbox ---------- */
.shot { margin: 0; }
.shot a { display: block; cursor: zoom-in; text-decoration: none; }
.frame { border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: #0a1426; }
.shot-glow .frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 90px -24px rgba(40, 196, 214, .35), 0 18px 50px rgba(0, 0, 0, .55); }
.frame-bar { display: flex; gap: 7px; align-items: center; height: 2rem; padding: 0 14px; background: #101f39; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c4468; display: block; }
.frame img { width: 100%; height: auto; background: #0a1426; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2vw, 2.5rem); margin-top: 2.2rem; }
.lightbox { border: 1px solid var(--line2); border-radius: 14px; padding: 0; background: #060d1a; max-width: 96vw; max-height: 94vh; overflow: auto; color: var(--text); }
.lightbox::backdrop { background: rgba(2, 6, 14, .88); }
.lightbox img { width: auto; max-width: 96vw; max-height: 88vh; margin: 0 auto; }
.lb-close { position: sticky; top: 0; float: right; margin: .6rem; z-index: 2; }

/* ---------- splits ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 6rem); align-items: center; }
.split-rev { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.split-rev .split-copy { order: 2; }
.split-rev .split-art { order: 1; }
.split-copy p { color: #c3d1e6; max-width: 62ch; }
.split-art { min-width: 0; }
.split .split-art { margin-right: calc(-1 * var(--pad)); }
.split-rev .split-art { margin-right: 0; margin-left: calc(-1 * var(--pad)); }
.wide-copy { max-width: 62rem; }
.narrow-block { max-width: none; }
.narrow-block > :is(p, ul, ol, h2, h3, .callout, dl) { max-width: var(--measure); }
.narrow-block p, .narrow-block ul.plain li { color: #c3d1e6; }
.light .narrow-block p, .light .narrow-block li { color: #2c3d5a; }
ul.plain { list-style: none; display: grid; gap: .75rem; margin: 0 0 1em; }
ul.plain li { position: relative; padding-left: 1.6rem; color: #c3d1e6; }
ul.plain li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); }
ul.plain.two-col { grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.light ul.plain li { color: #2c3d5a; }
.light ul.plain li::before { background: #0a8fa3; }

/* platforms band */
.strip { padding-block: clamp(3rem, 4vw, 5rem); background: linear-gradient(180deg, var(--bg2), #08122a); border-block: 1px solid var(--line); }
.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.strip-head .h-xl { margin: 0; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(10rem, 12vw, 17rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area { background: var(--surface); padding: 1.4rem 1.5rem; }
.area-count { font-size: clamp(2rem, 1.4rem + 1.4vw, 3.2rem); font-weight: 700; color: var(--cyan3); line-height: 1; letter-spacing: -0.03em; }
.area h3 { font-size: 1rem; margin: .7rem 0 .2em; }
.area p { margin: 0; color: var(--muted); font-size: .92rem; }

/* problem list */
.problem-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(16rem, 18vw, 26rem), 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.problem-list li { display: flex; gap: 1rem; padding: 1.6rem; background: rgba(13, 27, 50, .8); border: 1px solid var(--line); border-radius: var(--radius); }
.problem-list h3 { font-size: 1.1rem; margin-bottom: .4em; }
.problem-list p { color: var(--muted); margin: 0; }
.num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(40, 196, 214, .12); border: 1px solid rgba(40, 196, 214, .45); color: var(--cyan3); font-weight: 700; font-size: .95rem; }
.light .num { background: #fff; border-color: #0a8fa3; color: #0a6f80; }

/* product explorer */
.explorer { display: block; margin-top: 2.4rem; }
.explorer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.explorer-nav a { display: block; padding: .6rem 1.1rem; border: 1px solid var(--line2); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; }
.ex-panel { padding-block: 2rem; border-top: 1px solid var(--line); }
.ex-panel h3 { font-size: clamp(1.4rem, 1rem + 1vw, 2.2rem); }
.ex-body { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.ex-bullets { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 16vw, 24rem), 1fr)); gap: 1rem 2rem; }
.ex-bullets li { position: relative; padding-left: 1.5rem; color: #c3d1e6; }
.ex-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); }
.js .explorer { display: grid; grid-template-columns: minmax(16rem, 3fr) minmax(0, 9fr); gap: clamp(1.5rem, 3vw, 4rem); align-items: start; }
.js .explorer-nav { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line2); }
.js .explorer-nav li { border-bottom: 1px solid var(--line2); }
.js .explorer-nav [role="tab"] { display: block; width: 100%; text-align: left; padding: 1.2rem 1rem 1.2rem 1.3rem; border: 0; border-left: 3px solid transparent; border-radius: 0; background: none; color: var(--text); font: inherit; cursor: pointer; }
.js .explorer-nav [role="tab"] strong { display: block; font-size: 1.12rem; font-weight: 650; }
.js .explorer-nav [role="tab"] span { display: block; margin-top: .2rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.js .explorer-nav [role="tab"][aria-selected="true"] { border-left-color: var(--cyan); background: linear-gradient(90deg, rgba(40, 196, 214, .14), transparent); }
.js .explorer-nav [role="tab"]:hover { background: rgba(40, 196, 214, .07); }
.js .ex-panel { padding-top: 0; border-top: 0; }
.js .ex-panel[hidden] { display: none; }
.explorer-nav .tab-desc { display: none; }
.js .explorer-nav .tab-desc { display: block; }

/* security illustration */
.illus { margin: 0; }
.illus figcaption { margin-top: .7rem; text-align: center; font-size: .82rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.illus-panel { background: #0a1426; border: 1px solid var(--line2); border-radius: 14px; padding: 1.4rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 90px -24px rgba(40, 196, 214, .28), 0 18px 50px rgba(0, 0, 0, .5); }
.illus-head { display: flex; justify-content: space-between; align-items: center; font-weight: 650; padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; }
.illus-count { font-size: .82rem; color: var(--muted); font-weight: 500; }
.illus-panel ul { list-style: none; display: grid; gap: .75rem; }
.illus-panel li { padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.illus-row { display: flex; gap: .75rem; align-items: flex-start; flex-wrap: wrap; }
.illus-row strong { font-weight: 600; flex: 1 1 14rem; }
.sev-chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid transparent; }
.sev-critical { color: #ffb4b4; background: rgba(255, 99, 99, .14); border-color: rgba(255, 99, 99, .45); }
.sev-high { color: #ffd0a0; background: rgba(255, 159, 67, .14); border-color: rgba(255, 159, 67, .45); }
.sev-medium { color: #ffe9a0; background: rgba(255, 216, 100, .12); border-color: rgba(255, 216, 100, .4); }
.illus-times { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: .65rem 0 0; font-size: .86rem; color: var(--muted); }
.illus-foot { margin: .9rem 0 0; font-size: .86rem; color: var(--muted); }

/* how it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 6rem); align-items: start; }
.how-index { position: sticky; top: calc(var(--header-h) + 2rem); }
.how-nav { list-style: none; display: grid; gap: .4rem; margin-top: 1.6rem; }
.how-nav a { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 12px; text-decoration: none; color: #0b1730; border: 1px solid transparent; font-weight: 600; }
.how-nav a:hover { border-color: #b8c9e0; background: #fff; }
.how-steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(clamp(18rem, 22vw, 32rem), 1fr)); }
.how-steps article { padding: 1.7rem; background: #fff; border: 1px solid #d2dded; border-top: 3px solid #0a8fa3; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11, 23, 48, .06); }
.how-steps h3 { display: flex; align-items: center; gap: .9rem; font-size: 1.2rem; }
.how-steps p { margin: 0; }

/* tiles, cards */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(13rem, 14vw, 22rem), 1fr)); gap: 1.1rem; margin-top: 2.2rem; }
.tile { padding: 1.6rem; background: rgba(13, 27, 50, .85); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--line2); transform: translateY(-2px); }
.tile h3 { font-size: 1.08rem; margin: .9rem 0 .4em; }
.tile p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon { color: var(--cyan2); width: 1.75rem; height: 1.75rem; }
.limit-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(16rem, 18vw, 28rem), 1fr)); gap: 1.2rem; margin-top: 2rem; }
.limit-list li { background: #fff; border: 1px solid #d2dded; border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.limit-list h3 { font-size: 1.1rem; }
.limit-list p { margin: 0; color: #2c3d5a; }
.deploy-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(12rem, 13vw, 22rem), 1fr)); gap: 1.1rem; margin-top: 2rem; }
.deploy-item { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13, 27, 50, .85); }
.deploy-item h3 { font-size: 1.05rem; margin: .8rem 0 .3em; }
.deploy-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.deploy-foot { margin: 1.6rem 0 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(17rem, 19vw, 30rem), 1fr)); gap: 1.2rem; margin-top: 2rem; }
.cards-4 { margin-top: 0; }
.card { padding: 1.6rem; background: rgba(13, 27, 50, .85); border: 1px solid var(--line); border-radius: var(--radius); }
.card h2, .card h3 { font-size: 1.12rem; margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card-link { display: block; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--cyan2); transform: translateY(-2px); color: var(--text); }
.card-link .icon { margin-bottom: .8rem; }

/* differs block */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 16vw, 26rem), 1fr)); gap: 1.2rem; margin-top: 2rem; max-width: 62%; }
.diff { padding: 1.5rem; background: rgba(4, 18, 44, .55); border: 1px solid rgba(255, 255, 255, .18); border-top: 3px solid var(--cyan3); border-radius: var(--radius); backdrop-filter: blur(4px); }
.diff h3 { font-size: 1.08rem; color: #fff; }
.diff p { margin: 0; font-size: .96rem; }

/* closing band */
.cta-band { padding-block: clamp(4.5rem, 7vw, 9rem); text-align: center; background: linear-gradient(180deg, #08142a, #0a1d3a); border-top: 1px solid var(--line2); }
.cta-band h2 { font-size: clamp(1.9rem, 1rem + 2.4vw, 3.6rem); letter-spacing: -0.03em; max-width: 22ch; margin: 0 auto .5em; }
.cta-band p { color: var(--muted); max-width: 54ch; margin: 0 auto; }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(3rem, 5vw, 6.5rem) clamp(2.2rem, 3.5vw, 4.5rem); background: linear-gradient(180deg, #07122a 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1rem + 2.6vw, 4rem); max-width: 22ch; }
.page-hero .lead { max-width: 70ch; }
.page-hero.compact { padding-block: clamp(2.4rem, 4vw, 4.5rem) clamp(1.6rem, 3vw, 3rem); }
.page-hero > .wrap::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(46vw, 760px); aspect-ratio: 1; right: -6%; top: 50%; translate: 0 -50%; background: url("/img/motif/rings.svg") center / contain no-repeat; opacity: .55; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.jump a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line2); border-radius: 999px; font-size: .9rem; text-decoration: none; color: var(--text); }
.jump a:hover { border-color: var(--cyan2); background: rgba(40, 196, 214, .08); }

/* integrations */
.chips-bar { display: none; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.js .chips-bar { display: flex; }
.chip { font: 600 .9rem/1 var(--font); padding: .65rem 1rem; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--cyan2); }
.chip.is-on { background: var(--cyan); border-color: var(--cyan); color: #04121f; }
.platform-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(17rem, 17vw, 28rem), 1fr)); gap: 1.1rem; }
.pcard { padding: 1.5rem; background: rgba(13, 27, 50, .85); border: 1px solid var(--line); border-radius: var(--radius); }
.pcard[hidden] { display: none; }
.pcard h2 { font-size: 1.25rem; margin: .25rem 0 .9rem; }
.pcard p { margin: 0 0 .6em; color: var(--muted); font-size: .96rem; }
.pcard-area { font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan) !important; font-weight: 700; }
.pcard-label { font-size: .78rem !important; text-transform: uppercase; letter-spacing: .08em; color: #8da2c2 !important; margin-bottom: .3em !important; }
.pcard-note { color: var(--cyan3) !important; }
.filter-empty { color: var(--muted); }
.two-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(16rem, 18vw, 30rem), 1fr)); gap: 1.6rem; }
.note-card h2 { font-size: 1.3rem; }
.note-card p { color: #c3d1e6; margin: 0; }

/* forms and split pages */
.form-wrap { max-width: 46rem; }
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .5rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
input[type="text"], input[type="email"], input[type="password"], select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line2); border-radius: 10px; padding: .75rem .9rem; }
textarea { resize: vertical; min-height: 7.5rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan2); outline-offset: 1px; border-color: var(--cyan2); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.hint, .form-note { color: var(--muted); font-size: .88rem; margin: 0; }
.alert { border: 1px solid rgba(255, 143, 143, .5); background: rgba(255, 143, 143, .08); color: #ffd0d0; padding: .75rem 1rem; border-radius: 10px; }
.notice { border: 1px solid rgba(107, 227, 164, .5); background: rgba(107, 227, 164, .08); color: #c9f5de; padding: .75rem 1rem; border-radius: 10px; }
.sev-set { gap: .65rem; }
.sev { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400 !important; background: var(--surface); }
.sev:hover { border-color: var(--line2); }
.sev input { margin-top: 5px; accent-color: var(--cyan); }
.sev strong { color: var(--cyan3); }
.split-page { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 8rem); align-items: center; min-height: 60vh; }
.split-page .value h1 { font-size: clamp(2rem, 1rem + 2.6vw, 3.8rem); }
.value-list { list-style: none; display: grid; gap: 1rem; margin: 1.8rem 0 0; max-width: 46ch; }
.value-list li { display: flex; gap: .9rem; color: #c3d1e6; }
.form-card { padding: clamp(1.4rem, 2.4vw, 3rem); background: rgba(13, 27, 50, .9); border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.form-card h2 { font-size: 1.6rem; }
.auth-note { color: var(--muted); font-size: .9rem; margin: 1.3rem 0 0; }

/* portal */
.portal-head { padding-block: clamp(2rem, 3.5vw, 4rem) 0; background: linear-gradient(180deg, #07122a, var(--bg)); border-bottom: 1px solid var(--line); }
.portal-head h1 { font-size: clamp(1.8rem, 1rem + 1.8vw, 3rem); margin-bottom: .25em; }
.portal-tabs { display: flex; gap: .25rem; flex-wrap: wrap; margin-top: 1.4rem; }
.portal-tabs a { padding: .75rem 1rem; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 500; }
.portal-tabs a:hover { color: var(--text); }
.portal-tabs a[aria-current="page"] { color: var(--cyan3); border-bottom-color: var(--cyan); }
.meta-line { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; color: var(--muted); font-size: .94rem; margin: .4rem 0 0; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; border: 1px solid var(--line2); }
.status-open { color: var(--cyan3); border-color: rgba(40, 196, 214, .5); background: rgba(40, 196, 214, .1); }
.status-waiting { color: #ffd88a; border-color: rgba(255, 216, 138, .5); background: rgba(255, 216, 138, .08); }
.status-resolved { color: var(--ok); border-color: rgba(107, 227, 164, .45); background: rgba(107, 227, 164, .08); }
.release { padding: 1.8rem 0; border-top: 1px solid var(--line); max-width: 72rem; }
.release:first-of-type { border-top: 0; }
.release header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.release h2 { font-size: 1.6rem; margin: 0; }
.release h3 { font-size: 1.05rem; margin: 1.6rem 0 .7em; }
.file { padding: 1.2rem 1.4rem; margin: 1rem 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.file-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hash-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: #8da2c2; margin: .9rem 0 .25rem; }
.hash { margin: 0; }
.hash code, code { font-family: var(--mono); font-size: .86em; word-break: break-all; }
.hash code { background: #07101f; border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; color: var(--cyan3); }
.thread { list-style: none; display: grid; gap: 1rem; margin-bottom: 2rem; max-width: 60rem; }
.msg { padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.msg-support { border-color: rgba(40, 196, 214, .4); background: rgba(40, 196, 214, .06); }
.msg-head { margin: 0 0 .5rem; font-size: .93rem; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.resolve-form { margin-top: 1.1rem; }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 2.4rem; max-width: 46rem; }
.facts div { display: flex; gap: 1.2rem; background: var(--surface); padding: .9rem 1.1rem; }
.facts dt { width: 9rem; flex: none; color: var(--muted); }
.facts dd { margin: 0; }

/* tables */
.table-wrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface2); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.al-right { text-align: right; } .al-center { text-align: center; }

/* docs */
.docs-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(19rem, 20vw, 34rem), 1fr)); gap: 1.4rem; }
.docs-group { padding: 1.5rem; background: rgba(13, 27, 50, .85); border: 1px solid var(--line); border-radius: var(--radius); }
.docs-group h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.docs-group ul { list-style: none; display: grid; gap: .25rem; }
.docs-group a { display: block; padding: .6rem .75rem; border-radius: 10px; text-decoration: none; color: var(--text); }
.docs-group a:hover { background: rgba(40, 196, 214, .08); }
.docs-group a strong { display: block; font-weight: 600; }
.docs-group a span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.docs-layout { display: grid; grid-template-columns: clamp(14.5rem, 15vw, 22rem) minmax(0, 1fr) clamp(13rem, 13vw, 20rem); gap: clamp(1.5rem, 3vw, 4.5rem); padding-block: 2.5rem 6rem; align-items: start; }
.docs-rail, .docs-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; font-size: .84rem; }
.docs-rail summary { font-weight: 700; cursor: pointer; margin-bottom: .9rem; list-style: none; }
.docs-rail summary::-webkit-details-marker { display: none; }
.docs-rail h2, .docs-toc h2 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 1.3rem 0 .5rem; }
.docs-rail ul, .docs-toc ul { list-style: none; display: grid; gap: 2px; }
.docs-rail a, .docs-toc a { display: block; padding: .4rem .65rem; border-radius: 8px; text-decoration: none; color: var(--muted); line-height: 1.4; }
.docs-rail a:hover, .docs-toc a:hover { color: var(--text); background: rgba(40, 196, 214, .07); }
.docs-rail a[aria-current="page"] { color: var(--cyan3); background: rgba(40, 196, 214, .12); font-weight: 600; }
.crumbs { color: var(--muted); font-size: .9rem; margin-bottom: .9rem; }
.crumbs a { color: var(--muted); }
.docs-main { min-width: 0; }
.docs-main h1 { font-size: clamp(1.7rem, 1.1rem + 1.2vw, 2.4rem); max-width: 24ch; }
.doc-lead { margin-bottom: 2em; }
.prose { max-width: 110ch; font-size: .92rem; }
.prose > :is(p, ul, ol, h2, h3, h4, blockquote) { max-width: var(--measure); }
.prose h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; padding-top: .4em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; border-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1rem; margin: 1.5em 0 .4em; }
.prose p, .prose li { color: #cdd9ea; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; display: grid; gap: .5em; }
.prose code { background: #0b1830; border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--cyan3); }
.code-block { position: relative; margin: 1.4em 0; }
.code-block pre { margin: 0; padding: 1.1rem 1.25rem; background: #050c18; border: 1px solid var(--line2); border-radius: 12px; overflow-x: auto; }
.code-block pre code { background: none; border: 0; padding: 0; color: #d7e6fb; font-size: .88rem; line-height: 1.6; word-break: normal; white-space: pre; }
.code-block .btn-copy { position: absolute; top: .6rem; right: .6rem; background: #0b1830; }
.prose blockquote { margin: 1.4em 0; padding: 4px 1.25rem; border-left: 3px solid var(--cyan); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.7rem; border-top: 1px solid var(--line); max-width: 110ch; }
.pager a { display: block; padding: .9rem 1.1rem; border: 1px solid var(--line2); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; max-width: 48%; }
.pager a:hover { border-color: var(--cyan2); }
.pager span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.pager-next { margin-left: auto; text-align: right; }

/* footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #040a14; border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 5vw, 6rem) 2.4rem; }
.site-footer::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(70vw, 1100px); aspect-ratio: 1; right: -10%; bottom: -60%; background: url("/img/motif/rings.svg") center / contain no-repeat; opacity: .45; }
.site-footer::after { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -40% auto auto -5%; width: 70%; height: 150%; background: conic-gradient(from 118deg at 10% 10%, transparent 0deg, rgba(159, 240, 250, .08) 12deg, transparent 34deg, transparent 360deg); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 5rem); }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: .9rem; font-size: .95rem; }
.site-footer h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: var(--cyan3); }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #8da2c2; font-size: .86rem; }
.footer-legal p { margin: 0 0 4px; }

/* motion: slow and subtle, CSS only */
@media (prefers-reduced-motion: no-preference) {
  .beam::after, .beam-l::after { animation: drift 28s ease-in-out infinite alternate; transform-origin: 80% 18%; }
  .hero-shot::before { animation: pulse 12s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
@keyframes pulse { from { opacity: .35; } to { opacity: .6; } }

/* ---------- responsive ---------- */
@media (min-width: 1800px) {
  .hero-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); }
  .split-rev { grid-template-columns: minmax(0, 9fr) minmax(0, 4fr); }
}
@media (max-width: 1280px) {
  .docs-layout { grid-template-columns: clamp(13rem, 20vw, 17rem) minmax(0, 1fr); }
  .docs-toc { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .diff-grid { max-width: none; }
  .band-grad::after { opacity: .35; width: 80%; }
}
@media (max-width: 1100px) {
  .hero-grid, .split, .split-rev, .how-grid, .split-page { grid-template-columns: 1fr; }
  .split-rev .split-copy, .split-rev .split-art { order: initial; }
  .split .split-art, .split-rev .split-art, .hero-shot { margin-inline: 0; }
  .hero-shot .frame { transform: none; }
  .hero-shot::before { width: 110%; }
  .how-index { position: static; }
  .js .explorer { grid-template-columns: 1fr; }
  .pillar-row { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  .announce .wrap { padding-block: .5rem; }
  .bar { flex-wrap: wrap; gap: 0 .75rem; padding-block: .4rem; }
  .menu-toggle { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .75rem; padding: .5rem 0 1.1rem; }
  .js .site-nav { display: none; }
  .js .site-header.nav-open .site-nav { display: flex; }
  .nav-list, .nav-actions { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-actions { padding-top: .7rem; border-top: 1px solid var(--line); }
  .nav-actions .btn { margin-top: .5rem; }
  .has-panel > .nav-link::after, .js .panel-toggle { display: none; }
  .panel { display: block; position: static; width: auto; margin: 0 0 .4rem .6rem; padding: 0; border: 0; background: none; box-shadow: none; }
  .panel::before { display: none; }
  .panel ul { grid-template-columns: 1fr; }
  .panel a span { display: none; }
  .panel a { padding: .5rem .9rem; }
  .docs-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .docs-rail { position: static; max-height: none; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
  .js .docs-rail details:not([open]) > :not(summary) { display: none; }
  .band-grad::after { opacity: .22; }
}
@media (max-width: 720px) {
  .two-up { grid-template-columns: 1fr; }
  ul.plain.two-col { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillar-row { grid-template-columns: 1fr; }
  .pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--line2); }
  .pillar:first-child { border-top: 0; }
  .facts div { flex-direction: column; gap: 2px; }
  .pager { flex-direction: column; }
  .pager a { max-width: none; }
  .hero-shot { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.page-split { padding-block: clamp(2.5rem, 5vw, 6rem); }
.hero h1 { font-size: clamp(2.2rem, 1rem + 2.7vw, 4.4rem); }
.hero-grid { grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); }

/* pass 3 additions */
.form-pane { max-width: 54rem; }
.release-list { display: grid; gap: 1.6rem; }
@media (min-width: 1700px) { .release-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.release { padding: 1.6rem; background: rgba(13, 27, 50, .85); border: 1px solid var(--line); border-radius: var(--radius); max-width: none; }
.release:first-of-type { border-top: 1px solid var(--line); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 17vw, 28rem), 1fr)); }
.table-wrap table { width: 100%; }
/* hero: three lines, all of it above the fold */
.hero { padding-block: clamp(2.2rem, 4vw, 5rem) clamp(2rem, 3.5vw, 4rem); }
.hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.hero-copy { max-width: none; }
.hero h1 { font-size: clamp(2.2rem, 1rem + 2.3vw, 4rem); max-width: 17ch; }
.hero .lead { max-width: 46ch; }
/* lightbox cue */
.shot .frame a { position: relative; display: block; cursor: zoom-in; }
.shot .frame a::after { content: "Click to enlarge"; position: absolute; right: .8rem; bottom: .8rem; padding: .35rem .75rem .35rem 2rem; border-radius: 999px; background: rgba(5, 12, 24, .88); border: 1px solid var(--line2); color: var(--text); font-size: .8rem; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; pointer-events: none; background-image: radial-gradient(circle at 1rem 50%, transparent 0 .22rem, var(--cyan) .24rem .36rem, transparent .38rem); }
.shot .frame a:hover::after, .shot .frame a:focus-visible::after { opacity: 1; transform: none; }
.shot .frame a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* balanced grids on wide screens: no orphan cards */
@media (min-width: 1500px) {
  .problem-list { grid-template-columns: repeat(5, 1fr); }
  .how-steps { grid-template-columns: repeat(6, 1fr); }
  .how-steps article { grid-column: span 2; }
  .how-steps article:nth-child(n+4) { grid-column: span 3; }
  .limit-list { grid-template-columns: repeat(3, 1fr); }
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 2200px) { .limit-list { grid-template-columns: repeat(6, 1fr); } }
.band-grad::after { width: min(44%, 900px); }
.diff { background: rgba(7, 24, 62, .92); }
.cta-band { background: radial-gradient(ellipse at 50% 120%, rgba(40, 196, 214, .28), transparent 60%), linear-gradient(180deg, #0a1c3d, #0c2a55); }
.split-page { align-items: start; }
.split-page .value { padding-top: clamp(1rem, 4vw, 5rem); }
.release-list { grid-template-columns: 1fr !important; }
.release { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 1rem 1.2rem; }
.release > :not(.file) { grid-column: 1 / -1; }
.release .file { margin: 0; }
.pane-grid { display: grid; gap: clamp(1.5rem, 3vw, 4rem); align-items: start; }
@media (min-width: 1200px) { .pane-grid { grid-template-columns: minmax(0, 54rem) minmax(0, 28rem); } }
.pane-aside { padding: 1.6rem; background: rgba(13, 27, 50, .85); border: 1px solid var(--line); border-radius: var(--radius); }
.pane-aside h2 { font-size: 1.15rem; }
@media (max-width: 700px) { .portal-tabs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; } }

.trademark-note { color: var(--muted); font-size: .82rem; max-width: 90ch; padding-block: 1.5rem; }
.earlier-head { margin-top: 2.5rem; font-size: 1.3rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(13rem, 13vw, 20rem); gap: clamp(1.5rem, 3vw, 4.5rem); padding-block: 2.5rem 6rem; align-items: start; }
.legal-layout .docs-toc { order: 2; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-layout .docs-toc { order: -1; position: static; max-height: none; } }
.prose td code { white-space: nowrap; word-break: normal; }
