/* ==========================================================================
   Legocia Ltd — design system v3
   Industrial precision: aluminium + graphite, Geist / Geist Mono,
   one signal colour used only as an indicator.
   Each component's styles sit under .c-<name>, matching assets/js/components/.
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Layout concept: a technical datasheet — hairline grid, model codes, spec rows. */
:root {
  --alu: #e9e9e6;        /* page — anodised aluminium */
  --alu-2: #deded9;      /* recessed panels */
  --plate: #f6f6f3;      /* raised surfaces */
  --ink: #111112;
  --ink-2: #3c3c3e;
  --steel: #646467;      /* secondary text — 4.8:1 on --alu (WCAG AA); was #77777a (3.7:1) */
  --graphite: #18181a;   /* dark sections */
  --graphite-2: #222225;
  --signal: #ff4f00;     /* indicator only */
  --hair: rgba(17, 17, 18, 0.14);
  --hair-strong: rgba(17, 17, 18, 0.32);

  --bg: var(--alu); --fg: var(--ink); --fg-2: var(--ink-2); --fg-muted: var(--steel);
  --rule: var(--hair); --rule-strong: var(--hair-strong); --surface: var(--plate);

  --sans: "Geist", ui-sans-serif, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --r: 3px;
  --r-lg: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

.t-paper, .t-alu { --bg: var(--alu); --fg: var(--ink); --fg-2: var(--ink-2); --fg-muted: var(--steel); --rule: var(--hair); --rule-strong: var(--hair-strong); --surface: var(--plate); }
.t-sand, .t-plate { --bg: var(--plate); --fg: var(--ink); --fg-2: var(--ink-2); --fg-muted: var(--steel); --rule: var(--hair); --rule-strong: var(--hair-strong); --surface: #fff; }
.t-night, .t-graphite, .t-clay { --bg: var(--graphite); --fg: #f2f2ef; --fg-2: #c9c9c5; --fg-muted: #8b8b8d; --rule: rgba(242,242,239,.12); --rule-strong: rgba(242,242,239,.28); --surface: var(--graphite-2); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--alu); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "ss01", "cv11"; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--alu); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { background: var(--bg); color: var(--fg); padding-block: clamp(72px, 9vw, 136px); position: relative; overflow-x: clip; }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--sans); color: var(--fg); text-wrap: balance; font-weight: 500; }
h1, .h1 { font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: .96; letter-spacing: -0.045em; font-weight: 500; }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.038em; }
h3, .h3 { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.2; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em, .display em { font-style: normal; color: var(--fg-muted); }
p { color: var(--fg-2); }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.5; color: var(--fg-2); max-width: 36em; letter-spacing: -0.012em; }
.muted { color: var(--fg-muted); }
.eyebrow, .mono, .label { font-family: var(--mono); font-size: .72rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 18%, transparent); }
.eyebrow.plain::before { display: none; }
.num { font-family: var(--mono); font-size: .75rem; color: var(--fg-muted); letter-spacing: .02em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px; border-radius: 999px; font-family: var(--sans); font-weight: 500; font-size: .92rem; letter-spacing: -0.01em; text-decoration: none; border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--ink-2); }
.t-night .btn-primary, .t-graphite .btn-primary, .t-clay .btn-primary { background: #f2f2ef; color: var(--ink); }
.t-night .btn-primary:hover, .t-graphite .btn-primary:hover, .t-clay .btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--rule-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }
.btn .arr { font-family: var(--mono); transition: transform .2s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--fg); }
.link:hover { color: var(--fg-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* reveal: visible at rest; a short lift when observed */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.ready .reveal:not(.in) { opacity: .001; transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) { html.ready .reveal:not(.in) { opacity: 1; transform: none; } .reveal { transition: none; } html { scroll-behavior: auto; } }

/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- c-nav ---------- */
.c-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 90; background: color-mix(in srgb, var(--alu) 82%, transparent); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--hair); }
.c-nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.c-nav__brand { display: block; width: 104px; overflow: hidden; flex: none; }
.c-nav__brand img { width: 144px; max-width: none; height: auto; }
.c-nav__links { display: flex; gap: 28px; margin-left: auto; font-size: .86rem; }
.c-nav__links a { text-decoration: none; color: var(--ink-2); transition: color .15s; }
.c-nav__links a:hover, .c-nav__links a[aria-current="page"] { color: var(--ink); }
.c-nav__cta { height: 34px; padding: 0 14px; font-size: .82rem; }
.c-nav__menu { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--hair-strong); border-radius: 999px; height: 34px; padding: 0 14px; font-size: .82rem; margin-left: auto; }
.c-nav__menu span { display: grid; gap: 3px; }
.c-nav__menu span i { display: block; width: 12px; height: 1.25px; background: currentColor; }

.c-menu { position: fixed; inset: 0; z-index: 120; background: var(--graphite); color: #f2f2ef; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; padding-top: env(safe-area-inset-top, 0px); }
.c-menu.open { opacity: 1; visibility: visible; }
.c-menu__top { display: flex; justify-content: space-between; align-items: center; height: 60px; border-bottom: 1px solid rgba(242,242,239,.12); }
.c-menu__top .c-nav__brand img { filter: invert(1); }
.c-menu__close { background: none; border: 1px solid rgba(242,242,239,.3); color: #f2f2ef; border-radius: 999px; height: 34px; padding: 0 14px; font-size: .82rem; }
.c-menu__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 48px 72px; }
.c-menu__primary a { display: block; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.15; text-decoration: none; color: #f2f2ef; transition: color .15s; }
.c-menu__primary a:hover { color: #8b8b8d; }
.c-menu__col h4 { font-family: var(--mono); font-size: .7rem; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: #8b8b8d; margin-bottom: 14px; }
.c-menu__col a { display: block; padding: 5px 0; color: #c9c9c5; text-decoration: none; font-size: .92rem; }
.c-menu__col a:hover { color: #fff; }
body.menu-open { overflow: hidden; }

/* ---------- c-hero ---------- */
.c-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.c-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.c-hero h1 { margin: 22px 0 26px; }
.c-hero .actions { margin-top: 34px; }
.c-hero__aside { min-width: 0; }
.c-hero__figure { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--alu-2); }
.c-hero__figure img, .c-hero__figure video { width: 100%; height: 100%; object-fit: cover; }
.c-hero__note { margin-top: 16px; font-size: .86rem; color: var(--fg-muted); }
.c-hero--full { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; padding: 0; color: #f2f2ef; overflow: hidden; background: var(--graphite); }
.c-hero--full .c-hero__bg { position: absolute; inset: 0; }
.c-hero--full .c-hero__bg img, .c-hero--full .c-hero__bg video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.4) contrast(1.05); }
.c-hero--full .c-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,24,26,0) 35%, rgba(24,24,26,.85)); }
.c-hero--full .wrap { position: relative; padding-block: 0 clamp(48px, 6vw, 80px); }
.c-hero--full h1, .c-hero--full .lede, .c-hero--full .eyebrow { color: #f2f2ef; }
.c-hero--full .lede { color: #d2d2ce; }
.c-hero--full .btn-primary { background: #f2f2ef; color: var(--ink); }
.c-hero--full .btn-ghost { border-color: rgba(242,242,239,.35); color: #f2f2ef; }

/* exploded system drawing */
.c-iso { width: 100%; height: auto; overflow: visible; }
.c-iso .plate { transition: transform 1.1s var(--ease); transform: translateY(calc(var(--i) * -38px + 190px)); }
html.ready .c-iso .plate { transform: none; }
.c-iso .top { fill: var(--plate); stroke: var(--ink); stroke-width: 1; }
.c-iso .side-l { fill: #cfcfca; stroke: var(--ink); stroke-width: 1; }
.c-iso .side-r { fill: #bdbdb8; stroke: var(--ink); stroke-width: 1; }
.c-iso .inner { fill: none; stroke: var(--steel); stroke-width: .75; stroke-dasharray: 2 3; }
.c-iso .pin { fill: var(--ink); }
.c-iso .lead { stroke: var(--ink); stroke-width: .75; fill: none; }
.c-iso .tick { fill: var(--ink); }
.c-iso text { font-family: var(--mono); font-size: 11px; fill: var(--ink); letter-spacing: .02em; }
.c-iso text.sub { fill: var(--steel); font-size: 10px; }
.c-iso .plate.on .top { fill: var(--graphite); }
.c-iso .plate.on .inner { stroke: #6b6b6e; }
.c-iso .plate.on .pin { fill: #9a9a9c; }
.c-iso .led { fill: var(--signal); opacity: 0; transition: opacity .3s; }
.c-iso .plate.on .led { opacity: 1; }
.c-iso .axis { stroke: var(--hair-strong); stroke-width: .75; stroke-dasharray: 1 4; }
@media (prefers-reduced-motion: reduce) { .c-iso .plate { transform: none; transition: none; } }

/* ---------- c-page-header ---------- */
.c-page-header { padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.c-page-header__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); margin-bottom: 36px; }
.c-page-header__crumbs a { text-decoration: none; }
.c-page-header__crumbs a:hover { color: var(--fg); }
.c-page-header__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.c-page-header h1 { margin-top: 20px; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.c-page-header .lede { margin-top: 24px; }
.c-page-header__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: .88rem; }
.c-page-header__meta dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); padding-top: 2px; }
.c-page-header__meta dd { text-align: right; color: var(--fg); }

/* ---------- c-section-head ---------- */
.c-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.c-section-head h2 { margin-top: 18px; }
.c-section-head.stacked { grid-template-columns: 1fr; max-width: 860px; }
.c-section-head .actions { margin-top: 22px; }

/* ---------- c-spec (datasheet strip) ---------- */
.c-spec { padding-block: 0; }
.c-spec__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.c-spec__cell { padding: 18px 20px 20px 0; min-width: 0; }
.c-spec__cell + .c-spec__cell { padding-left: 20px; border-left: 1px solid var(--rule); }
.c-spec__cell dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); margin-bottom: 8px; }
.c-spec__cell dd { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.015em; color: var(--fg); }

/* ---------- c-modules (capability grid) ---------- */
.c-modules__group { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-block: 28px; border-top: 1px solid var(--rule-strong); }
.c-modules__group > header h3 { font-size: 1.05rem; }
.c-modules__group > header p { font-size: .88rem; color: var(--fg-muted); margin-top: 6px; max-width: 20em; }
.c-modules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.c-module { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 196px; padding: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); text-decoration: none; transition: border-color .2s, transform .3s var(--ease), background .2s; }
a.c-module:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.c-module__top { display: flex; justify-content: space-between; align-items: flex-start; }
.c-module__glyph { width: 36px; height: 36px; color: var(--fg); }
.c-module__glyph * { vector-effect: non-scaling-stroke; }
.c-module h4 { margin-top: auto; font-size: 1.02rem; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); }
.c-module p { font-size: .86rem; line-height: 1.45; color: var(--fg-muted); }
.c-module .go { position: absolute; right: 16px; bottom: 16px; font-family: var(--mono); font-size: .8rem; color: var(--fg-muted); opacity: 0; transition: opacity .2s, transform .2s var(--ease); }
a.c-module:hover .go { opacity: 1; transform: translateX(2px); }
a.c-module:hover .c-module__glyph .accent { stroke: var(--signal); }

/* ---------- c-dossier (statement + numbered definition rows) ---------- */
.c-dossier__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.c-dossier__intro h2 { margin: 18px 0 22px; }
.c-dossier__intro .actions { margin-top: 30px; }
.c-dossier__rows { border-top: 1px solid var(--rule-strong); }
.c-dossier__row { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.c-dossier__row h3 { margin-bottom: 6px; }
.c-dossier__row p { font-size: .95rem; color: var(--fg-2); }
.c-dossier__models { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.c-dossier__model { padding: 20px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.c-dossier__model h4 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); }
.c-dossier__model p { font-size: .88rem; color: var(--fg-muted); }

/* ---------- c-product ---------- */
.c-product__card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; }
.c-product__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--graphite); min-height: 460px; }
.c-product__media img, .c-product__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-product__media .tag-code { position: absolute; left: 16px; top: 16px; font-family: var(--mono); font-size: .72rem; color: #f2f2ef; background: rgba(24,24,26,.55); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 999px; }
.c-product__body { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.c-product__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; font-weight: 500; }
.c-product__body > p { font-size: .95rem; }
.c-product__specs { margin-top: 8px; border-top: 1px solid var(--rule-strong); }
.c-product__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .88rem; }
.c-product__specs dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); padding-top: 2px; }
.c-product__specs dd { text-align: right; color: var(--fg); }
.c-product__body .btn { margin-top: auto; align-self: flex-start; }
.c-product__stack { display: none; }
.c-product__next { margin-top: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.c-product__slot { border: 1px dashed var(--rule-strong); border-radius: var(--r-lg); padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.c-product__slot strong { font-weight: 500; letter-spacing: -0.015em; }
.c-product__slot span { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- c-steps (process line) ---------- */
.c-steps__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); position: relative; }
.c-steps__grid::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--rule-strong); }
.c-step { position: relative; padding: 34px 24px 0 0; }
.c-step::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg); }
.c-step:first-child::before { background: var(--signal); border-color: var(--signal); }
.c-step .num { display: block; margin-bottom: 10px; }
.c-step h3 { margin-bottom: 8px; }
.c-step p { font-size: .92rem; color: var(--fg-2); max-width: 22em; }

/* ---------- c-statement ---------- */
.c-statement blockquote { font-size: clamp(1.8rem, 3.8vw, 3.2rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.04em; color: var(--fg); max-width: 20ch; }
.c-statement blockquote em { font-style: normal; color: var(--fg-muted); }
.c-statement.wide blockquote { max-width: 28ch; }
.c-statement figcaption { margin-top: 24px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--fg-muted); }
.c-statement .eyebrow { margin-bottom: 24px; }

/* ---------- c-cta ---------- */
.c-cta__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.c-cta h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); letter-spacing: -0.05em; line-height: .96; }
.c-cta__side p { margin-bottom: 24px; }
.c-cta__mail { display: block; margin-top: 18px; font-family: var(--mono); font-size: .8rem; color: var(--fg-muted); }

/* ---------- c-footer ---------- */
.c-footer { background: var(--graphite); color: #f2f2ef; padding-block: 64px 28px; border-top: 1px solid rgba(242,242,239,.08); }
.c-footer__top { display: none; }
.c-footer__cols { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 28px; padding-bottom: 56px; }
.c-footer__brand { display: block; width: 104px; overflow: hidden; }
.c-footer__brand img { width: 144px; max-width: none; }
.c-footer__about { margin-top: 18px; color: #8b8b8d; font-size: .86rem; max-width: 26em; }
.c-footer h4 { font-family: var(--mono); font-size: .7rem; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: #8b8b8d; margin-bottom: 14px; }
.c-footer__cols a { display: block; padding: 4px 0; font-size: .86rem; color: #c9c9c5; text-decoration: none; }
.c-footer__cols a:hover { color: #fff; }
.c-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid rgba(242,242,239,.12); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .03em; color: #8b8b8d; }
.c-footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.c-footer__legal a { text-decoration: none; }
.c-footer__legal a:hover { color: #f2f2ef; }

/* ==========================================================================
   Secondary components (used on interior pages)
   ========================================================================== */
.c-prose { font-size: 1.04rem; line-height: 1.68; }
.c-prose > * + * { margin-top: 1.05em; }
.c-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.c-prose h3 { margin-top: 1.5em; }
.c-prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.c-prose ul, .c-prose ol { padding-left: 1.2em; color: var(--fg-2); }
.c-prose li + li { margin-top: .4em; }
.c-prose li::marker { color: var(--fg-muted); }
.c-prose strong { color: var(--fg); font-weight: 500; }
.c-prose blockquote { border-left: 2px solid var(--fg); padding-left: 20px; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); }
.c-prose code { font-family: var(--mono); font-size: .86em; background: var(--surface); padding: 2px 6px; border-radius: var(--r); }
.c-prose-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 6vw, 96px); }
.c-prose-layout aside { position: sticky; top: 90px; align-self: start; font-size: .88rem; }
.c-prose-layout aside .eyebrow { margin-bottom: 14px; }
.c-prose-layout aside a { display: block; padding: 6px 0; color: var(--fg-muted); text-decoration: none; border-top: 1px solid var(--rule); }
.c-prose-layout aside a:hover { color: var(--fg); }
.c-prose-layout .c-prose { max-width: 720px; }

.c-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.c-split--reverse .c-split__media { order: 2; }
.c-split__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; background: var(--alu-2); }
.c-split__media img, .c-split__media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5); }
.c-split__body h2 { margin: 18px 0 22px; }
.c-split__body .actions { margin-top: 28px; }
.c-split__list { list-style: none; margin-top: 24px; border-top: 1px solid var(--rule-strong); }
.c-split__list li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--fg-2); font-size: .95rem; }

.c-cards__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 10px; }
.c-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); text-decoration: none; min-height: 170px; transition: border-color .2s; }
a.c-card:hover { border-color: var(--rule-strong); }
.c-card__label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); }
.c-card h3 { font-size: 1.08rem; }
.c-card p { font-size: .9rem; color: var(--fg-muted); }
.c-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.c-card__more { margin-top: auto; padding-top: 10px; font-size: .86rem; font-weight: 500; color: var(--fg); }
.c-card__img { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--alu-2); margin-bottom: 4px; }
.c-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5); }
.tag { display: inline-block; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--fg-muted); white-space: nowrap; }

.c-index__list { list-style: none; border-top: 1px solid var(--rule-strong); }
.c-index__row { display: grid; grid-template-columns: 64px 1fr 1.2fr 32px; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.c-index__row h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.03em; }
.c-index__row p { font-size: .92rem; color: var(--fg-muted); }
.c-index__row .arr { justify-self: end; font-family: var(--mono); color: var(--fg-muted); transition: transform .2s var(--ease); }
a.c-index__row:hover .arr { transform: translateX(3px); color: var(--fg); }

.c-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); }
.c-faq__grid > * { min-width: 0; }
.c-faq details { border-top: 1px solid var(--rule); }
.c-faq details:last-child { border-bottom: 1px solid var(--rule); }
.c-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.015em; color: var(--fg); }
.c-faq summary span { min-width: 0; flex: 1; }
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after { content: "+"; flex: none; width: 1em; text-align: center; font-family: var(--mono); color: var(--fg-muted); transition: transform .2s var(--ease); }
.c-faq details[open] summary::after { transform: rotate(45deg); }
.c-faq details > div { padding: 0 0 20px; max-width: 40em; }

.c-table__scroll { overflow-x: auto; border-top: 1px solid var(--rule-strong); }
.c-table table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.c-table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.c-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); color: var(--fg-2); vertical-align: top; }
.c-table td:first-child { color: var(--fg); font-weight: 500; }
.c-table caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: .82rem; color: var(--fg-muted); }

.c-timeline ol { list-style: none; border-left: 1px solid var(--rule-strong); margin-left: 5px; }
.c-timeline li { position: relative; padding: 0 0 32px 30px; display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.c-timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg); }
.c-timeline .when { font-family: var(--mono); font-size: .8rem; color: var(--fg-muted); }
.c-timeline h3 { margin-bottom: 4px; }

.c-facts__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid var(--rule-strong); }
.c-fact { padding: 18px 20px 4px 0; min-width: 0; }
.c-fact + .c-fact { padding-left: 20px; border-left: 1px solid var(--rule); }
.c-facts__grid.cols-2 > .c-fact:nth-child(2n+1), .c-facts__grid.cols-3 > .c-fact:nth-child(3n+1), .c-facts__grid.cols-4 > .c-fact:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.c-fact dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); margin-bottom: 8px; }
.c-fact dd { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.025em; color: var(--fg); }
.c-fact dd small { display: block; margin-top: 6px; font-size: .86rem; font-weight: 400; color: var(--fg-muted); letter-spacing: 0; }

.c-post-list__list { list-style: none; border-top: 1px solid var(--rule-strong); }
.c-post-list__item a { display: grid; grid-template-columns: 130px 1fr 160px; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; align-items: baseline; }
.c-post-list__item time { font-family: var(--mono); font-size: .76rem; color: var(--fg-muted); }
.c-post-list__item h3 { font-size: 1.2rem; letter-spacing: -0.025em; }
.c-post-list__item p { font-size: .9rem; margin-top: 6px; color: var(--fg-muted); }
.c-post-list__item .tag { justify-self: end; }
.c-post-list__item a:hover h3 { color: var(--fg-2); }

.c-article-header { padding-block: clamp(48px, 7vw, 104px) clamp(28px, 4vw, 48px); }
.c-article-header h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 20px 0 22px; max-width: 18ch; }
.c-article-header__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; color: var(--fg-muted); margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); }
.c-article-header__img { margin-top: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; }
.c-article-header__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5); }

.c-form__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); }
.c-form__grid > * { min-width: 0; }
.c-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.c-form label { display: grid; gap: 6px; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); }
.c-form label.full { grid-column: 1 / -1; }
.c-form input, .c-form select, .c-form textarea { font: inherit; font-family: var(--sans); font-size: .98rem; text-transform: none; letter-spacing: -0.01em; color: var(--fg); background: var(--surface); border: 1px solid var(--rule); padding: 12px 14px; border-radius: 10px; transition: border-color .2s; }
.c-form textarea { min-height: 140px; resize: vertical; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--fg); }
.c-form .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.c-form .chips label { display: inline-flex; }
.c-form .chips input { position: absolute; opacity: 0; pointer-events: none; }
.c-form .chips span { padding: 8px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; font-family: var(--sans); text-transform: none; letter-spacing: -0.01em; font-size: .86rem; color: var(--fg-2); cursor: pointer; }
.c-form .chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.c-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.c-form__foot p { font-size: .84rem; color: var(--fg-muted); max-width: 32em; }
.c-form__aside dl { margin-top: 28px; }
.c-form__aside dl div { padding: 12px 0; border-top: 1px solid var(--rule); }
.c-form__aside dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--fg-muted); }
.c-form__aside dd { margin-top: 4px; color: var(--fg); }

.c-marquee { overflow: hidden; border-block: 1px solid var(--rule); padding-block: 18px; }
.c-marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; }
.c-marquee__track span { font-family: var(--mono); font-size: .9rem; text-transform: uppercase; color: var(--fg-muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .c-marquee__track { animation: none; } }

.c-notice__box { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--surface); }
.c-notice__box > div > strong { display: block; font-weight: 500; color: var(--fg); margin-bottom: 4px; }
.c-notice__icon { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--signal); font-size: 0; }

.c-media figure { border-radius: var(--r-lg); overflow: hidden; }
.c-media img, .c-media video { width: 100%; height: auto; aspect-ratio: var(--ratio, 21/9); object-fit: cover; filter: saturate(.5); }
.c-media__pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.c-media__pair img { aspect-ratio: auto; height: 100%; border-radius: var(--r-lg); }

.c-stack { border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--surface); padding: 6px; }
.c-stack__head { display: flex; justify-content: space-between; padding: 12px 12px 12px; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--fg-muted); }
.c-stack__layer { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 13px 12px; border-top: 1px solid var(--rule); border-radius: 8px; transition: background .3s, color .3s; }
.c-stack__layer strong { font-weight: 500; }
.c-stack__layer small { font-family: var(--mono); font-size: .7rem; color: var(--fg-muted); text-align: right; text-transform: uppercase; }
.c-stack__layer.on { background: var(--ink); color: #f2f2ef; border-top-color: transparent; }
.c-stack__layer.on + .c-stack__layer { border-top-color: transparent; }
.c-stack__foot { padding: 12px; font-size: .86rem; color: var(--fg-muted); }

.c-sitemap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.c-sitemap h3 { font-size: 1rem; padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong); margin-bottom: 8px; }
.c-sitemap a { display: block; padding: 4px 0; text-decoration: none; color: var(--fg-2); font-size: .9rem; }
.c-sitemap a:hover { color: var(--fg); }

.c-search input { width: 100%; font-family: var(--sans); font-size: clamp(1.4rem, 3.4vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); padding: 10px 0; color: var(--fg); }
.c-search input:focus { outline: none; border-color: var(--fg); }
.c-search__count { margin: 16px 0 8px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--fg-muted); }
.c-search__results { list-style: none; }
.c-search__results a { display: grid; grid-template-columns: 1fr 160px; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.c-search__results strong { font-weight: 500; font-size: 1.1rem; }
.c-search__results p { font-size: .88rem; margin-top: 4px; color: var(--fg-muted); }
.c-search__results span { text-align: right; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--fg-muted); }

.c-terminal__win { background: #0e0e0f; color: #e6e6e2; border-radius: var(--r-lg); overflow: hidden; font-family: var(--mono); font-size: .88rem; }
.c-terminal__bar { display: flex; gap: 7px; padding: 12px 14px; background: #19191b; }
.c-terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3d; }
.c-terminal__bar i:first-child { background: var(--signal); }
.c-terminal__out { padding: 16px 18px 6px; min-height: 280px; max-height: 440px; overflow-y: auto; white-space: pre-wrap; line-height: 1.6; }
.c-terminal__out .p { color: #fff; }
.c-terminal__out .d { color: #8b8b8d; }
.c-terminal__in { display: flex; gap: 10px; padding: 6px 18px 18px; }
.c-terminal__in span { color: var(--signal); }
.c-terminal__in input { flex: 1; background: transparent; border: 0; color: inherit; font: inherit; caret-color: var(--signal); }
.c-terminal__in input:focus { outline: none; }

.c-tags__list { display: flex; flex-wrap: wrap; gap: 6px; }
.c-tags .tag { font-size: .74rem; padding: 7px 12px; color: var(--fg-2); }

.app-loading { min-height: 60vh; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--steel); }
.app-error { padding: 120px 0; }

/* min-width safety for grid children holding text */
.c-hero__grid > *, .c-page-header__grid > *, .c-cta__grid > *, .c-section-head > *, .c-prose-layout > *, .c-split__grid > *, .c-dossier__grid > *, .c-product__card > *, .c-modules__group > * { min-width: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .c-nav__links, .c-nav__cta { display: none; }
  .c-nav__menu { display: inline-flex; }
  .c-menu__grid { grid-template-columns: 1fr 1fr; }
  .c-menu__primary { grid-column: 1 / -1; }
  .c-footer__cols { grid-template-columns: repeat(3, 1fr); }
  .c-footer__cols > div:first-child { grid-column: 1 / -1; }
  .c-sitemap__grid { grid-template-columns: repeat(3, 1fr); }
  .c-modules__group { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 900px) {
  .c-hero__grid, .c-page-header__grid, .c-section-head, .c-split__grid, .c-faq__grid, .c-cta__grid, .c-product__card, .c-form__grid, .c-prose-layout, .c-dossier__grid { grid-template-columns: 1fr; }
  .c-split--reverse .c-split__media { order: 0; }
  .c-product__media { min-height: 300px; }
  .c-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .c-spec__grid { grid-template-columns: 1fr 1fr; }
  .c-spec__cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  .c-spec__cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .c-steps__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .c-steps__grid::before { display: none; }
  .c-facts__grid { grid-template-columns: 1fr 1fr; }
  .c-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .c-index__row { grid-template-columns: 48px 1fr 24px; }
  .c-index__row p { grid-column: 2 / 3; }
  .c-index__row .arr { grid-row: 1; grid-column: 3; }
  .c-post-list__item a { grid-template-columns: 1fr; gap: 6px; }
  .c-post-list__item .tag { justify-self: start; }
  .c-prose-layout aside { position: static; }
  .c-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .c-media__pair { grid-template-columns: 1fr; }
  .c-dossier__models { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .c-menu__grid { grid-template-columns: 1fr; padding-top: 32px; }
  .c-cards__grid, .c-steps__grid, .c-facts__grid, .c-product__next { grid-template-columns: 1fr; }
  .c-fact, .c-fact + .c-fact { padding-left: 0; border-left: 0; }
  .c-fact + .c-fact { border-top: 1px solid var(--rule); }
  .c-form form { grid-template-columns: 1fr; }
  .c-footer__cols { grid-template-columns: 1fr 1fr; }
  .c-sitemap__grid { grid-template-columns: 1fr 1fr; }
  .c-search__results a { grid-template-columns: 1fr; }
  .c-search__results span { text-align: left; }
  .c-stack__layer { grid-template-columns: 30px 1fr; }
  .c-stack__layer small { display: none; }
  .c-modules__grid { grid-template-columns: 1fr; gap: 8px; }
  .c-module { min-height: 0; padding: 14px 16px; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: center; }
  .c-module__top { grid-row: span 2; }
  .c-module__top .num { display: none; }
  .c-module h4 { margin-top: 0; }
  .c-iso text { font-size: 15px; }
  .c-iso text.sub { display: none; }
  .c-dossier__row { grid-template-columns: 40px 1fr; }
}

/* ==========================================================================
   Assurance sites (trust., security., public., accessibility., impact.legocia.com)
   c-site-nav · c-status-list · c-register · lg-pill · lg-confirm
   ========================================================================== */

/* ---------- lg-pill (status) ---------- */
.lg-pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--rule-strong); font-family: var(--mono); font-size: .66rem; line-height: 1; text-transform: uppercase; letter-spacing: .04em; color: var(--fg); white-space: nowrap; background: transparent; }
.lg-pill i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.lg-pill--done { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.lg-pill--done i { background: var(--bg); }
.lg-pill--progress i { background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 20%, transparent); }
.lg-pill--planned { color: var(--fg-2); }
.lg-pill--planned i { background: transparent; border: 1px solid var(--fg-muted); }
.lg-pill--request { border-color: var(--fg); }
.lg-pill--none { border-style: dashed; color: var(--fg-muted); }
.lg-pill--none i { width: 7px; height: 1px; border-radius: 0; background: var(--fg-muted); }
.lg-pill--confirm { border-color: var(--signal); }
.lg-pill--confirm i { border-radius: 1px; transform: rotate(45deg); background: var(--signal); }

/* ---------- lg-confirm ("To confirm:" note) ---------- */
.lg-confirm { margin-top: 10px; padding: 6px 10px 6px 12px; border-left: 2px solid var(--signal); background: color-mix(in srgb, var(--signal) 6%, transparent); font-size: .84rem; color: var(--fg-2); border-radius: 0 var(--r) var(--r) 0; }
.lg-confirm strong { font-family: var(--mono); font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg); margin-right: 4px; }

/* ---------- c-site-nav ---------- */
.c-site-nav { position: relative; z-index: 5; }
.c-site-nav__network { background: var(--graphite); color: #c9c9c5; }
.c-site-nav__network .wrap { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.c-site-nav__kicker { flex: none; font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: #8b8b8d; }
.c-site-nav__network nav { min-width: 0; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.c-site-nav__network nav::-webkit-scrollbar { display: none; }
.c-site-nav__network ul { list-style: none; display: flex; gap: 2px; }
.c-site-nav__network a { display: block; padding: 9px 10px; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: #a9a9a6; text-decoration: none; white-space: nowrap; transition: color .15s; }
.c-site-nav__network a:hover { color: #fff; }
.c-site-nav__network a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); }
.c-site-nav__main { background: var(--plate); border-bottom: 1px solid var(--hair); }
.c-site-nav__bar { display: flex; align-items: center; gap: 28px; min-height: 56px; }
.c-site-nav__home { flex: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .98rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.c-site-nav__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 18%, transparent); }
.c-site-nav__tabs { min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; align-self: stretch; display: flex; }
.c-site-nav__tabs::-webkit-scrollbar { display: none; }
.c-site-nav__tabs ul { list-style: none; display: flex; gap: 4px; align-items: stretch; }
.c-site-nav__tabs li { display: flex; }
.c-site-nav__tabs a { display: flex; align-items: center; padding: 0 12px; font-size: .86rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; box-shadow: inset 0 -1px 0 transparent; transition: color .15s, box-shadow .15s; }
.c-site-nav__tabs a:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--hair-strong); }
.c-site-nav__tabs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.c-site-nav__tabs a:focus-visible, .c-site-nav__network a:focus-visible { outline-offset: -4px; }
.c-site-nav__action { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair-strong); font-size: .82rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.c-site-nav__action:hover { border-color: var(--ink); }
.c-site-nav__action span { font-family: var(--mono); }

/* ---------- c-status-list ---------- */
.c-status-list__list { list-style: none; border-top: 1px solid var(--rule-strong); }
.c-status-list__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px; gap: 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.c-status-list__row .num { padding-top: 4px; }
.c-status-list__body h3 { font-size: 1.12rem; }
.c-status-list__body h3 a { text-decoration: none; }
.c-status-list__body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.c-status-list__body p { margin-top: 6px; font-size: .94rem; max-width: 46em; }
.c-status-list__body p a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.c-status-list__state { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.c-status-list__state small { font-size: .8rem; color: var(--fg-muted); max-width: 22em; }
.c-status-list__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.c-status-list__legend .label { margin-right: 6px; }

/* ---------- c-register ---------- */
.c-register__frame { border-top: 1px solid var(--rule-strong); }
.c-register table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.c-register thead th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); padding: 12px 18px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: bottom; }
.c-register tbody th, .c-register tbody td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--fg-2); font-weight: 400; }
.c-register tbody th { color: var(--fg); font-weight: 500; letter-spacing: -0.01em; min-width: 9em; }
.c-register td a, .c-register th a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.c-register caption { caption-side: bottom; text-align: left; padding-top: 14px; font-size: .84rem; color: var(--fg-muted); }
.c-register code { font-family: var(--mono); font-size: .86em; }

@media (max-width: 900px) {
  .c-status-list__row { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 16px; }
  .c-status-list__state { grid-column: 2; align-items: flex-start; text-align: left; }
  .c-site-nav__network .c-site-nav__kicker { display: none; }
  .c-site-nav__network nav { margin-left: calc(-1 * 10px); }
}
@media (max-width: 720px) {
  .c-site-nav__bar { flex-wrap: wrap; gap: 0 16px; padding-top: 12px; }
  .c-site-nav__home { order: 0; }
  .c-site-nav__action { order: 1; margin-left: auto; height: 30px; font-size: .78rem; }
  .c-site-nav__tabs { order: 2; flex-basis: 100%; margin-inline: -12px; min-height: 46px; }
  .c-register thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .c-register table, .c-register tbody, .c-register tr, .c-register tbody th, .c-register tbody td { display: block; width: 100%; }
  .c-register tr { padding: 14px 0 6px; border-bottom: 1px solid var(--rule); }
  .c-register tbody th { padding: 0 0 8px; border: 0; font-size: 1.02rem; }
  .c-register tbody td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 6px 0; border: 0; }
  .c-register tbody td::before { content: attr(data-label); font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-muted); padding-top: 3px; }
  .c-register tbody td > span { min-width: 0; }
  .c-register table { display: flex; flex-direction: column; }
  .c-register caption { display: block; order: 2; }
  .c-site-nav [data-fade]:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
