/* Ferrum Proxy: proxy.ferrumsec.com, the gatehouse.
   The Ferrum suite's Safelight craft (fe-business-scanner docs/brand/suite-design-rules.md), lit in
   the teal of the Proxy mark, #20e3d0. One light: the brand and the primary action, never a state.
   Room derived by suite rules 3.3 at the teal's LCh hue 184 with k = 1 and fill .95; numbers in
   website/README.md. Fonts are self-hosted (font-src 'self'): no CDN, no inline style or script. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/Archivo.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/JetBrainsMono.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  /* ROOM: Ferrum Proxy, the gatehouse, derived at the mark teal's LCh hue 184 (suite rules 3.3) */
  --void: #000202;  --bg: #010807;  --bg-2: #000403;  --panel: #010e0b;  --panel-2: #001310;  --well: #000504;
  --bg-rgb: 1 8 7;  --panel-rgb: 1 14 11;  --well-rgb: 0 5 4;  --chrome-rgb: 0 4 3;
  --tint-rgb: 186 232 225;
  /* LIGHT: the mark's teal. The brand and the primary action, never a state. */
  --iron-hi: #13766c;  --iron: #106e64;  --iron-rgb: 16 110 100;  --iron-deep: #084f47;
  --lit: #20e3d0;  --lit-rgb: 32 227 208;
  --light-core: #20e3d0;
  --iron-dim: rgb(var(--iron-rgb) / 0.55);
  /* SHARED: identical in every product. */
  --head: #fbeee8;  --text: #e6d3cd;  --text-dim: #b59f99;  --edge: #d9b9a8;  --iron-pale: #ecd2c4;
  --rule: #77625d;
  --hairline: rgb(var(--tint-rgb) / 0.1);  --hairline-strong: rgb(var(--tint-rgb) / 0.2);
  --focus: #ffe7df;  --focus-ink: #1c0a0a;
  --on-iron: #fff3ef;  --on-iron-rgb: 255 243 239;
  --steel: #c9cdd2;  --pill-ink: #14161a;  --gunmetal: #6f747b;  --gunmetal-dk: #2a2d32;
  --paper-hi: #f9ebe5;  --paper: #f2d9d0;  --paper-lo: #dcb3a8;  --ink: #1c0a0a;  --ink-2: #57302c;
  --ok-ink: #14502a;  --inferred-ink: #1f4466;
  --sev-critical: #fff0ea;  --leak: #f2d9d0;
  --warm: #ff8f45;  --warm-rgb: 255 143 69;  --warm-ink: #ffb27f;
  --amber: #f3cf63;  --amber-rgb: 243 207 99;  --amber-ink: #f7dc8c;
  --calm: #94c4f4;  --calm-rgb: 148 196 244;  --calm-bright: #bcd9f8;
  --sev-info: #b9bec4;  --grade-a: #93e8a5;  --grade-b: #5ec9b6;
  --green: #a6ec98;  --green-rgb: 166 236 152;
  --danger: #d37aff;  --danger-rgb: 211 122 255;  --danger-ink: #e2a6ff;
  --daylight: #101214;  --partner-rgb: 201 205 210;  --partner-ink: #c9cdd2;
  --glass-fill: linear-gradient(180deg, rgb(var(--tint-rgb) / 0.035), rgb(var(--tint-rgb) / 0.008) 45%), var(--panel);  --panel-fill: var(--glass-fill);
  --glass-shadow: 0 1px 0 rgb(0 0 0 / 0.6), 0 16px 36px -22px rgb(0 0 0 / 0.9);  --inset-hi: inset 0 1px 0 rgb(var(--tint-rgb) / 0.07);
  --radius: 10px;  --radius-sm: 7px;  --radius-xs: 3px;  --maxw: 1100px;  --maxw-app: 1240px;  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

/* Drawn marks (Safelight 5): the tick and the FAQ chevron. */
:root {
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.6 4.9 9.2 9.9 2.9' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  --btn-border: color-mix(in srgb, var(--iron-deep) 43%, #000);
}

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; color: var(--text); font: 400 1rem/1.55 var(--font-display);
  background: radial-gradient(1100px 380px at 50% -150px, rgb(var(--iron-rgb) / .14), transparent 72%), var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { margin: 0; color: var(--head); font-weight: 760; text-wrap: balance; }
p { margin: 0; }
a { color: var(--edge); }
a:hover { color: var(--iron-pale); }
b, strong { color: var(--head); font-weight: 650; }
code, .mono { font-family: var(--font-mono); font-size: .875em; }
code { color: var(--head); padding: 0 .25em; background: rgb(var(--tint-rgb) / .06); border: 1px solid var(--hairline); border-radius: var(--radius-xs); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { color: var(--bg); background: var(--head); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: .75rem; top: -4rem; z-index: 100; padding: .6rem .9rem; color: var(--bg); background: var(--head); border-radius: var(--radius-xs); font-weight: 650; text-decoration: none; }
.skip:focus { top: .75rem; }
.spacer { flex: 1 1 auto; }
[id] { scroll-margin-top: 80px; }

/* ================================================================ header */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg-2); border-bottom: 1px solid var(--hairline); box-shadow: 0 12px 24px -20px rgb(0 0 0 / .9); }
.nav-inner { position: relative; display: flex; align-items: center; gap: 1rem; max-width: var(--maxw-app); min-height: 64px; margin: 0 auto; padding: 0 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; color: var(--head); text-decoration: none;
  font: 420 .92rem/1 var(--font-display); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; }
.brand:hover { color: var(--head); }
.brand b { font-weight: 820; }
.brand-mark { display: block; width: 34px; height: 34px; }
#px-nav { display: flex; align-items: center; gap: .15rem; }
.navlink { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .7rem; color: var(--text); text-decoration: none; border-radius: var(--radius-xs);
  font: 600 .875rem/1 var(--font-display); font-stretch: 108%; letter-spacing: .02em; transition: color 120ms, background-color 120ms; }
.navlink:hover { color: var(--head); background: rgb(var(--tint-rgb) / .05); }
#px-nav .btn { margin-left: .5rem; }
.btn.navcta { min-height: 36px; padding: 10px 16px; font-size: .7rem; }
.px-nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.px-burger { display: none; }
@media (min-width: 861px) { .px-nav-toggle { visibility: hidden; } }
@media (max-width: 860px) {
  .px-burger { display: inline-grid; align-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 9px; cursor: pointer; border: 1px solid var(--rule); border-radius: var(--radius-xs); }
  .px-burger span { display: block; height: 2px; background: var(--head); border-radius: 1px; }
  .px-nav-toggle:focus-visible + .px-burger { outline: 2px solid var(--focus); outline-offset: 3px; }
  #px-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: .2rem; padding: .75rem 1.25rem 1.1rem; background: var(--bg-2); border-bottom: 1px solid var(--hairline); }
  .px-nav-toggle:checked ~ #px-nav { display: flex; }
  .navlink { min-height: 44px; }
  #px-nav .btn { margin: .5rem 0 0; }
}

/* ================================================================ controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 40px; padding: 13px 22px; cursor: pointer; text-decoration: none; white-space: nowrap; color: var(--on-iron);
  background: linear-gradient(180deg, var(--iron-hi), var(--iron) 55%, var(--iron-deep)); border: 1px solid var(--btn-border); border-radius: var(--radius-sm);
  font: 720 .78rem/1 var(--font-display); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; transition: transform 80ms, box-shadow 80ms, filter 120ms, background-color 120ms, border-color 120ms;
  box-shadow: inset 0 1px 0 rgb(var(--tint-rgb) / .38), inset 0 -2px 0 rgb(0 0 0 / .25), 0 0 0 3px rgb(0 0 0 / .55), 0 10px 24px -10px rgb(var(--lit-rgb) / .7); }
.btn:hover { color: var(--on-iron); filter: brightness(1.08); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 2px 6px rgb(0 0 0 / .35), 0 0 0 3px rgb(0 0 0 / .55); }
.btn.lg { min-height: 50px; padding: 16px 26px; font-size: .84rem; }
.btn.ghost { color: var(--head); background: transparent; border-color: var(--rule); box-shadow: none; }
.btn.ghost:hover { color: var(--head); background: rgb(var(--tint-rgb) / .06); border-color: var(--text-dim); filter: none; }
.btn.ghost:active { box-shadow: none; }
/* Disabled (Safelight 6.2): a dashed rule, dim words, nothing to press. */
.btn.is-off { cursor: not-allowed; color: var(--text-dim); background: transparent; border: 1px dashed var(--rule); box-shadow: none; filter: none; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.btn .ar { font-family: var(--font-display); font-stretch: 100%; letter-spacing: 0; }

/* "At launch", said beside a call to action that cannot be used yet. A state, so never lit: a
   steel chip and dim mono text. */
.launch-note { display: flex; align-items: baseline; gap: .6rem; margin: .9rem 0 0; color: var(--text-dim); font: 400 .75rem/1.5 var(--font-mono); }
.launch-note > span:last-child { min-width: 0; }
.chip-steel { flex: none; display: inline-flex; align-items: center; min-height: 20px; padding: .2rem .45rem; color: var(--pill-ink); background: var(--steel); border-radius: var(--radius-xs); font: 700 .6875rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

/* The Motion switch: a real checkbox with role="switch". */
.px-switch { position: relative; display: inline-flex; align-items: center; gap: .55rem; min-height: 32px; padding: .3rem .7rem; color: var(--text); cursor: pointer; white-space: nowrap;
  background: var(--bg-2); border: 1px solid var(--rule); border-radius: var(--radius-xs); font: 600 .6875rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.px-switch:hover { color: var(--head); border-color: var(--text-dim); }
.px-switch:has(.px-switch__input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.px-switch__input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.px-switch__rocker { position: relative; flex: none; width: 28px; height: 16px; background: var(--well); border: 1px solid var(--rule); border-radius: 3px; }
.px-switch__rocker::before { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 2px; background: var(--text-dim); transition: transform 120ms var(--ease-out), background-color 120ms; }
.px-switch__input:checked ~ .px-switch__rocker { border-color: var(--text-dim); }
.px-switch__input:checked ~ .px-switch__rocker::before { background: var(--head); transform: translateX(12px); }
.px-switch__state { color: var(--text-dim); }
.px-switch__off, .px-switch__input:not(:checked) ~ .px-switch__state .px-switch__on { display: none; }
.px-switch__input:not(:checked) ~ .px-switch__state .px-switch__off { display: inline; }

.kicker { display: block; margin: 0 0 .7rem; color: var(--edge); font: 500 .72rem/1.5 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; margin-right: .6rem; vertical-align: .08em; border-left: 5px solid currentColor; border-block: 3.5px solid transparent; }
.kicker .on { color: var(--head); }
.kicker .n { display: inline-block; margin-right: .55rem; padding: .05rem .35rem; color: var(--head); border: 1px solid var(--text-dim); border-radius: var(--radius-xs); letter-spacing: .08em; }
.pill { display: inline-flex; align-items: center; min-height: 20px; padding: .15rem .45rem; color: var(--text); white-space: nowrap; border: 1px solid var(--rule); border-radius: var(--radius-xs);
  font: 600 .6875rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.pill.pro { color: var(--head); border-color: var(--text-dim); }

/* ================================================================ hero: the gatehouse */
/* Night over the gatehouse: the hero falls from the void at the top to a deep-teal floor, with a
   low horizon glow under the gate. Every layer of the sky and the aura is the room's iron or tint
   at low alpha over near-black, under HSL l .25 or s .55, so none of it registers budget pixels:
   the mark stays the only light. The grain is the room's tint at .06 (suite rules §7.2, at most
   .12). */
.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(1300px 520px at 72% 112%, rgb(var(--iron-rgb) / .26), transparent 62%),
    radial-gradient(900px 420px at 8% -10%, rgb(var(--iron-rgb) / .10), transparent 70%),
    linear-gradient(180deg, var(--void) 0%, var(--bg) 48%, #021412 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .73 0 0 0 0 .91 0 0 0 0 .88 0 0 0 1.4 -.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* The vignette closes the room's edges into the void. */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(125% 95% at 62% 42%, transparent 52%, rgb(0 2 2 / .72) 100%); }
.hero__sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Specks in the dark, rising slowly: two tiled fields of the tint, sparse behind the copy. */
.sky__stars { position: absolute; inset: 0 0 -370px; opacity: .9;
  background-image:
    radial-gradient(1.2px 1.2px at 24px 38px, rgb(var(--tint-rgb) / .85), transparent),
    radial-gradient(1px 1px at 131px 92px, rgb(var(--tint-rgb) / .55), transparent),
    radial-gradient(1.6px 1.6px at 206px 171px, rgb(var(--tint-rgb) / .7), transparent),
    radial-gradient(1px 1px at 72px 214px, rgb(var(--tint-rgb) / .5), transparent),
    radial-gradient(1px 1px at 244px 18px, rgb(var(--tint-rgb) / .6), transparent),
    radial-gradient(1.2px 1.2px at 168px 236px, rgb(var(--tint-rgb) / .45), transparent);
  background-size: 260px 260px;
  -webkit-mask-image: radial-gradient(90% 80% at 70% 30%, #000 30%, rgb(0 0 0 / .35) 60%, transparent 85%);
          mask-image: radial-gradient(90% 80% at 70% 30%, #000 30%, rgb(0 0 0 / .35) 60%, transparent 85%); }
.sky__stars--far { opacity: .55; background-size: 370px 370px; background-position: 113px 61px; }
/* Fog banks, drifting at the floor. */
.sky__fog { position: absolute; border-radius: 50%; }
.sky__fog--a { left: 18%; bottom: 4%; width: 70%; height: 34%; background: radial-gradient(closest-side, rgb(var(--tint-rgb) / .045), transparent); }
.sky__fog--b { right: -12%; bottom: 18%; width: 62%; height: 30%; background: radial-gradient(closest-side, rgb(var(--iron-rgb) / .16), transparent); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 36rem) minmax(0, 1fr); align-items: center; gap: 0 3rem; max-width: var(--maxw-app); min-height: min(calc(100dvh - 64px), 900px); margin: 0 auto; padding: 3rem 1.25rem 3.25rem; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .kicker { margin-bottom: 1.25rem; }
.hero h1 { font: 820 clamp(2.7rem, .9rem + 4.4vw, 4.9rem)/.9 var(--font-display); font-stretch: 68%; letter-spacing: -.01em; }
.hero h1 .accent { color: var(--lit); }
.hero .lead { max-width: 34rem; margin-top: 1.4rem; color: var(--text); font-size: 1.0625rem; line-height: 1.6; }
.hero .lead b { font-weight: 600; }
.hero .cta-row { margin-top: 1.9rem; }
.hero .cta-row .btn.ghost { min-height: 50px; }
.hero .microcopy { max-width: 34rem; margin-top: 1.3rem; color: var(--text-dim); font: 400 .78rem/1.6 var(--font-mono); }
.hero .microcopy b { color: var(--text); font-weight: 500; }

.gate { --mark-w: clamp(160px, 15vw, 210px); position: relative; isolation: isolate; display: grid; justify-items: center; gap: 0; margin: 0; }
.gate .fe-mark--hero { width: var(--mark-w); }
/* The gate's aura, centred on the mark: its portal glow, faint rays, echoes of its tunnel arches
   rippling outward, and the light it spills down onto the held request. Behind the mark (z -1 in
   the gate's own stacking context) and never over the copy column, which sits above it. */
.gate__aura { position: absolute; top: calc(var(--mark-w) / 2); left: 50%; z-index: -1; width: 0; height: 0; pointer-events: none; }
.gate__aura > * { position: absolute; left: 0; top: 0; translate: -50% -50%; }
.gate__glow { width: calc(var(--mark-w) * 5.2); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--iron-rgb) / .7) 0%, rgb(var(--iron-rgb) / .34) 16%, rgb(var(--iron-rgb) / .14) 38%, rgb(var(--iron-rgb) / .05) 64%, transparent 100%); }
.gate__rays { width: calc(var(--mark-w) * 4.6); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 3deg, rgb(var(--lit-rgb) / .06) 0deg 1.4deg, transparent 1.4deg 9deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 22%, #000 32%, rgb(0 0 0 / .4) 60%, transparent 90%);
          mask-image: radial-gradient(closest-side, transparent 22%, #000 32%, rgb(0 0 0 / .4) 60%, transparent 90%); }
.gate__echoes { width: calc(var(--mark-w) * 3.5); height: calc(var(--mark-w) * 3.5); overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 82%);
          mask-image: linear-gradient(180deg, #000 45%, transparent 82%); }
.echo { fill: none; stroke: rgb(var(--lit-rgb)); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 50% 50%; }
.echo--1 { opacity: .16; }
.echo--2 { opacity: .12; }
.echo--3 { opacity: .09; }
.echo--4 { opacity: .065; }
.echo--5 { opacity: .045; }
/* The spill starts behind the mark and fades in from its top, so it has no edge of its own. */
.gate__spill { top: calc(var(--mark-w) * .2); translate: -50% 0; width: calc(var(--mark-w) * 2.6); height: calc(var(--mark-w) * 3.4);
  background: radial-gradient(50% 100% at 50% 0%, rgb(var(--iron-rgb) / .34), rgb(var(--iron-rgb) / .1) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 24%); }
/* The lane leaves the gate and runs down to the slip it held. */
.gate__lane { width: 2px; height: 2.5rem; margin-top: .9rem; background: repeating-linear-gradient(180deg, rgb(var(--tint-rgb) / .35) 0 6px, transparent 6px 12px); }

/* The slip: the held request, developed on paper (the page's one paper surface). */
.slip { position: relative; width: min(100%, 27rem); padding: 1rem 1.1rem 1.05rem; color: var(--ink); background: var(--paper);
  border-radius: var(--radius-xs); box-shadow: 0 1px 0 rgb(0 0 0 / .5), 0 22px 40px -22px rgb(0 0 0 / .95); }
.slip::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / .35), transparent 30%); }
.slip__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-bottom: .6rem; border-bottom: 1px dashed var(--paper-lo);
  color: var(--ink-2); font: 600 .6875rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.slip__held { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); }
.slip__held::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 1px; }
.slip pre { margin: .7rem 0 0; overflow-x: auto; color: var(--ink); font: 400 .78rem/1.55 var(--font-mono); white-space: pre; }
.slip pre .k { color: var(--ink-2); }
.slip pre .red { padding: 0 .2em; color: var(--paper-hi); background: var(--ink-2); border-radius: 2px; }
.slip__acts { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; padding-top: .7rem; border-top: 1px dashed var(--paper-lo); }
.slip__acts span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 .6rem; color: var(--ink); border: 1px solid var(--ink-2); border-radius: var(--radius-xs);
  font: 600 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.slip__tag { position: absolute; left: 1rem; bottom: -.8rem; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .5rem; color: var(--pill-ink); background: var(--steel);
  border-radius: var(--radius-xs); font: 700 .6875rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.gate .px-switch { margin-top: 2rem; }

/* ================================================================ the house rules strip */
.rules { border-bottom: 1px solid var(--hairline); background: var(--bg-2); }
.rules-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem 2rem; max-width: var(--maxw-app); margin: 0 auto; padding: 1.25rem 1.25rem; }
.rules .kicker { margin: 0; }
.rules ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.rules li { display: flex; align-items: baseline; gap: .55rem; color: var(--text); font: 400 .8125rem/1.4 var(--font-mono); }
.rules li::before { content: ""; flex: none; width: .7rem; height: .7rem; background: var(--head); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; transform: translateY(.1rem); }

/* ================================================================ sections */
.l-section { max-width: var(--maxw); margin: 0 auto; padding: 6rem 1.25rem 0; }
.l-head { margin-bottom: 2.2rem; }
.l-title { max-width: 48rem; font: 800 clamp(2.15rem, 1.25rem + 2.9vw, 3.75rem)/.95 var(--font-display); font-stretch: 72%; letter-spacing: -.005em; }
.l-lede { max-width: 44rem; margin-top: 1.1rem; color: var(--text); font-size: 1.0625rem; line-height: 1.6; }
.card { position: relative; padding: 1.3rem 1.4rem 1.4rem; background: var(--glass-fill); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--glass-shadow), var(--inset-hi); }
.card::before { content: ""; position: absolute; inset: -1px 14% auto; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(var(--tint-rgb) / .38), transparent); }
.card h3 { font: 700 1.1rem/1.2 var(--font-display); font-stretch: 88%; letter-spacing: .005em; }
.card p { margin-top: .55rem; color: var(--text); font-size: .95rem; line-height: 1.6; }

/* The bench: the app's own tab bar over one framed screenshot. CSS-only radio tabs. */
.bench { display: grid; gap: 0; }
.bench__tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .45rem; background: var(--bg-2); border: 1px solid var(--hairline); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.bench__in { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.bench__tab { display: inline-flex; align-items: center; min-height: 34px; padding: 0 .85rem; cursor: pointer; color: var(--text); border: 1px solid transparent; border-radius: var(--radius-xs);
  font: 600 .8125rem/1 var(--font-display); font-stretch: 104%; letter-spacing: .02em; transition: color 120ms, background-color 120ms, border-color 120ms; }
.bench__tab:hover { color: var(--head); background: rgb(var(--tint-rgb) / .05); }
.bench__panels { position: relative; padding: 1rem; background: var(--panel); border: 1px solid var(--hairline); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--glass-shadow); }
.bench__panel { display: none; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1.25rem; align-items: start; }
.bench__panel figure { margin: 0; }
.bench__panel img, .shot img { display: block; width: 100%; height: auto; border: 1px solid var(--hairline-strong); border-radius: var(--radius-xs); }
.bench__panel h3 { font: 700 1.15rem/1.2 var(--font-display); font-stretch: 88%; }
.bench__panel p { margin-top: .6rem; color: var(--text); font-size: .95rem; line-height: 1.6; }
.bench__panel .pill { margin-top: .9rem; }
#b-history:checked ~ .bench__tabs [for="b-history"], #b-intercept:checked ~ .bench__tabs [for="b-intercept"],
#b-repeater:checked ~ .bench__tabs [for="b-repeater"], #b-intruder:checked ~ .bench__tabs [for="b-intruder"],
#b-findings:checked ~ .bench__tabs [for="b-findings"], #b-params:checked ~ .bench__tabs [for="b-params"] { color: var(--head); background: var(--panel); border-color: var(--hairline-strong); box-shadow: inset 0 -2px 0 var(--head); }
#b-history:checked ~ .bench__panels .bp-history, #b-intercept:checked ~ .bench__panels .bp-intercept,
#b-repeater:checked ~ .bench__panels .bp-repeater, #b-intruder:checked ~ .bench__panels .bp-intruder,
#b-findings:checked ~ .bench__panels .bp-findings, #b-params:checked ~ .bench__panels .bp-params { display: grid; }
.bench__in:focus-visible ~ .bench__tabs { outline: 2px solid var(--focus); outline-offset: 3px; }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.tools .card { padding: 1.05rem 1.15rem 1.15rem; }
.tools .card h3 { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 1rem; }
.tools .card p { font-size: .9rem; line-height: 1.55; }

/* MCP: the approval window and the facts beside it. */
.mcp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.shot { margin: 0; }
.shot figcaption { margin-top: .7rem; color: var(--text-dim); font: 400 .78rem/1.55 var(--font-mono); }
.facts { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.facts li { position: relative; padding: .9rem 1rem .95rem 2.6rem; color: var(--text); background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius-sm); font-size: .95rem; line-height: 1.55; }
.facts li::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: .8rem; height: .8rem; background: var(--head); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

/* Pricing: two cards; Pro carries the page's one filament. */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 1.6rem 1.6rem 1.5rem; }
.price.pro { border-color: var(--iron-dim); }
.price.pro::before { inset: -1px 10% auto; background: linear-gradient(90deg, transparent, rgb(var(--lit-rgb) / .6), transparent); box-shadow: 0 0 12px rgb(var(--lit-rgb) / .35); }
.price__name { color: var(--edge); font: 600 .72rem/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; }
.price__amt { display: flex; align-items: baseline; gap: .6rem; margin-top: .9rem; color: var(--head); }
.price__amt b { font: 800 3.2rem/1 var(--font-display); font-stretch: 70%; font-variant-numeric: tabular-nums; }
.price__amt span { color: var(--text-dim); font: 400 .8125rem/1.3 var(--font-mono); }
.price__sum { margin-top: .7rem; color: var(--text); font-size: .95rem; line-height: 1.55; }
.price ul { display: grid; gap: .5rem; margin: 1.2rem 0 0; padding: 1.1rem 0 0; list-style: none; border-top: 1px solid var(--hairline); }
.price li { position: relative; padding-left: 1.5rem; color: var(--text); font-size: .92rem; line-height: 1.5; }
.price li::before { content: ""; position: absolute; left: 0; top: .32rem; width: .75rem; height: .75rem; background: var(--head); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.price li.lim { color: var(--text-dim); }
.price li.lim::before { top: .62rem; height: 1.5px; background: var(--text-dim); -webkit-mask: none; mask: none; }
.price .terms { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--hairline); font-size: .85rem; }
.price .terms dt { color: var(--text-dim); font: 600 .6875rem/1.7 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.price .terms dd { margin: 0; color: var(--text); line-height: 1.5; }
.price .cta-row { margin-top: auto; padding-top: 1.4rem; }
.price-note { max-width: 52rem; margin-top: 1.1rem; color: var(--text-dim); font: 400 .78rem/1.6 var(--font-mono); }

/* Download: the release's data plate. */
.plate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.plate dl { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: .3rem 2.5rem; margin: 1.1rem 0 0; }
.plate dt { color: var(--text-dim); font: 600 .6875rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.plate dd { margin: .45rem 0 0; color: var(--head); font: 500 .9rem/1.3 var(--font-mono); }
.plate .launch-note { margin-top: 0; }
.fine { margin-top: 1rem; color: var(--text-dim); font-size: .8125rem; line-height: 1.55; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: .8rem 1.1rem; cursor: pointer; color: var(--head); list-style: none;
  font: 650 1rem/1.35 var(--font-display); font-stretch: 96%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 8px; background: var(--text-dim); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transition: transform 120ms; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 1.1rem 1.05rem; color: var(--text); font-size: .95rem; line-height: 1.6; }
.faq details > div p + p { margin-top: .6rem; }

/* The partner plate (suite rules 11.4): FerrumSec's manual testing, on graphite daylight. */
.partner { margin-top: 5rem; padding: 1.5rem 1.6rem; background: var(--daylight); border: 1px solid rgb(var(--partner-rgb) / .32); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; }
.partner__tag { color: var(--partner-ink); font: 600 .6875rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.partner p { margin-top: .6rem; color: var(--steel); font-size: .98rem; line-height: 1.55; }
.partner a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; color: #fff; text-decoration: none; border: 1px solid rgb(var(--partner-rgb) / .55); border-radius: var(--radius-sm);
  font: 700 .74rem/1 var(--font-display); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; }
.partner a:hover { background: rgb(var(--partner-rgb) / .08); color: #fff; }

/* ================================================================ footer */
.site-foot { margin-top: 5rem; color: var(--text-dim); background: var(--bg-2); border-top: 1px solid var(--hairline); font-size: .8125rem; }
.site-foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; max-width: var(--maxw-app); margin: 0 auto; padding: 1.25rem 1.25rem; }
.site-foot b { color: var(--head); }
.site-foot a { display: inline-flex; align-items: center; min-height: 24px; padding: 0 .25rem; color: var(--text); }
.site-foot a:hover { color: var(--head); }
.site-foot .legal { flex-basis: 100%; color: var(--text-dim); font-size: .75rem; line-height: 1.55; }

/* ================================================================ 404 */
.lost { display: grid; place-items: center; min-height: calc(100dvh - 64px - 70px); padding: 3rem 1.25rem; text-align: center; }
.lost img { width: 112px; height: auto; }
.lost h1 { margin-top: 1.5rem; font: 800 clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem)/.95 var(--font-display); font-stretch: 70%; }
.lost p { max-width: 30rem; margin: 1rem auto 0; color: var(--text); }
.lost .cta-row { justify-content: center; margin-top: 1.6rem; }

/* ================================================================ the mark */
/* The plates (website/tools/make_mark.py), stacked in a box with the drawing's aspect ratio. The
   drop shadow and glows paint outside the box, so no ancestor clips within 8% of it. */
.fe-mark-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fe-mark { position: relative; display: inline-block; flex: none; line-height: 0; container-type: size; }
.fe-mark--proxy { aspect-ratio: 1; }
.fe-mark--hero { display: block; }
.fe-mark, .fe-mark-defs { forced-color-adjust: none; }
.fe-mark__plate { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; --fe-mark-size: 100cqh; }
.fpx-plate--beam, .fpx-plate--plain, .fpx-plate--glow, .fpx-shine { will-change: transform, opacity; }
/* One CSS glow for the moving parts, in place of their SVG filters: sigma 2.333 x .88 / 176 (the
   drawing's height), doubled for drop-shadow's radius. */
.fpx-plate--glow { filter: drop-shadow(0 0 calc(var(--fe-mark-size) * .0233) rgb(32 227 208 / .9)); }
.fpx-arrow { transform-box: fill-box; transform-origin: center; }
.fpx-shine { opacity: 0; }

/* The motion: a 10s loop, from the Quar project's Ferrum Proxy group. The tunnel's arches light
   from the outside in, one every .83s; traffic marches up the lane and through the gate; the
   monitors trade brightness; the data arrow stretches; and once a loop a shine runs round the rim.
   Every animation is assigned here, so nothing moves under reduced motion; the drawing's supplied
   pose is the rest pose. Owner exception to the suite's no-loop rule, as on the other landings,
   behind the one Motion switch. */
@media (prefers-reduced-motion: no-preference) {
  .fpx-arch { animation: fpx-arch 3.3333s linear infinite; }
  .fpx-arch--2 { animation-delay: -2.5s; }
  .fpx-arch--3 { animation-delay: -1.6667s; }
  .fpx-arch--4 { animation-delay: -.8333s; }
  .fpx-dash { animation: fpx-march 10s linear infinite; }
  .fpx-mon--l { animation: fpx-mon-l 10s infinite; }
  .fpx-mon--r { animation: fpx-mon-r 10s infinite; }
  .fpx-arrow { animation: fpx-stretch 10s infinite; }
  .fpx-rise { animation: fpx-rise 10s infinite; }
  .fpx-plate--beam { animation: fpx-beam 10s infinite; }
  .fpx-shine { animation: fpx-shine 10s infinite; }
}
/* The night around the gate, on the same switch: the echoes ripple outward on the mark's arch
   beat (two beats a ripple), the rays turn once in four minutes, the fog drifts and the specks
   rise. Slow enough to read as weather, not as movement. */
@media (prefers-reduced-motion: no-preference) {
  .echo { animation: px-echo 6.6667s cubic-bezier(.37, 0, .63, 1) infinite; }
  .echo--2 { animation-delay: -5.5s; }
  .echo--3 { animation-delay: -4.3333s; }
  .echo--4 { animation-delay: -3.1667s; }
  .echo--5 { animation-delay: -2s; }
  .gate__rays { animation: px-turn 240s linear infinite; }
  .gate__glow { animation: px-breathe 10s cubic-bezier(.37, 0, .63, 1) infinite; }
  .sky__stars { animation: px-rise 180s linear infinite, px-twinkle 9s ease-in-out infinite alternate; }
  .sky__stars--far { animation: px-rise-far 260s linear infinite, px-twinkle 13s ease-in-out -4s infinite alternate; }
  .sky__fog--a { animation: px-drift 46s ease-in-out infinite alternate; }
  .sky__fog--b { animation: px-drift 61s ease-in-out -20s infinite alternate-reverse; }
}
@keyframes px-echo { 0% { scale: .94; opacity: 0; } 30% { opacity: .2; } 100% { scale: 1.1; opacity: 0; } }
@keyframes px-turn { to { rotate: 360deg; } }
@keyframes px-breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes px-rise { to { translate: 0 -260px; } }
@keyframes px-rise-far { to { translate: 0 -370px; } }
@keyframes px-twinkle { from { opacity: .35; } to { opacity: .95; } }
@keyframes px-drift { from { translate: -6% 0; } to { translate: 8% -6%; } }
@keyframes fpx-arch { 0%, 100% { opacity: .95; } 25%, 75% { opacity: .3; } }
@keyframes fpx-march { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 180; } }
@keyframes fpx-mon-l { 0%, 100% { opacity: 1; animation-timing-function: cubic-bezier(.37, 0, .63, 1); } 50% { opacity: .6; animation-timing-function: cubic-bezier(.37, 0, .63, 1); } }
@keyframes fpx-mon-r { 0%, 100% { opacity: .6; animation-timing-function: cubic-bezier(.37, 0, .63, 1); } 50% { opacity: 1; animation-timing-function: cubic-bezier(.37, 0, .63, 1); } }
@keyframes fpx-stretch { 0%, 50%, 100% { transform: scaleX(1); animation-timing-function: cubic-bezier(.37, 0, .63, 1); } 25%, 75% { transform: scaleX(1.18); animation-timing-function: cubic-bezier(.37, 0, .63, 1); } }
@keyframes fpx-rise { 0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.37, 0, .63, 1); } 50% { transform: translateY(6px); animation-timing-function: cubic-bezier(.37, 0, .63, 1); } }
@keyframes fpx-beam { 0%, 100% { opacity: .6; animation-timing-function: cubic-bezier(.37, 0, .63, 1); } 50% { opacity: 1; animation-timing-function: cubic-bezier(.37, 0, .63, 1); } }
@keyframes fpx-shine {
  0%, 85% { opacity: 0; transform: translateX(-152px); }
  85.33% { opacity: 1; transform: translateX(-149px); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  98% { opacity: 1; }
  98.33% { transform: translateX(228px); }
  98.67%, 100% { opacity: 0; transform: translateX(228px); }
}
/* The one Motion switch pauses the mark (WCAG 2.2.2); under reduced motion nothing moves and the
   switch is hidden. */
.px-landing:has(.px-switch__input:not(:checked)) :is(.fe-mark, .fe-mark *, .hero__sky *, .gate__aura *) { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:active { transform: none; }
  .gate .px-switch { display: none; }
}

/* ================================================================ responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 3rem; padding-top: 2.5rem; }
  .rules-inner { grid-template-columns: minmax(0, 1fr); }
  .bench__panel { grid-template-columns: minmax(0, 1fr); }
  .tools, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .rules ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools, .trust, .prices { grid-template-columns: minmax(0, 1fr); }
  .plate, .partner { grid-template-columns: minmax(0, 1fr); }
  .plate dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; }
  .l-section { padding-top: 4.5rem; }
  .hero .cta-row .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 430px) {
  .rules ul { grid-template-columns: minmax(0, 1fr); }
  .slip pre { font-size: .72rem; }
}

/* ================================================================ forced colours */
@media (forced-colors: active) {
  .btn, .btn.ghost, .px-switch, .bench__tab, .pill, .slip__acts span { border: 1px solid ButtonText; }
  .rules li::before, .facts li::before, .price li::before, .faq summary::after { background: CanvasText; }
  .kicker::before { border-left-color: CanvasText; }
}
