/* Open Sans (Apache License 2.0) - self-hosted variable font. No third-party requests (privacy / GDPR). */
@font-face{ font-family:'Open Sans'; font-style:normal; font-weight:300 800; font-stretch:100%; font-display:swap; src:url(fonts/opensans-lat.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Open Sans'; font-style:normal; font-weight:300 800; font-stretch:100%; font-display:swap; src:url(fonts/opensans-latext.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root{
  --bg:#0a0a0b;
  --bg-1:#0e0e10;
  --bg-2:#111114;
  --panel:#141417;
  --panel-2:#191a1e;
  --line:rgba(255,255,255,.10);
  --line-2:rgba(255,255,255,.17);
  --text:#f3f4f6;
  --muted:#9aa0a6;
  --muted-2:#c4c8ce;
  --red:#dc2d35;
  --red-1:#ff3b41;
  --red-tint:rgba(220,45,53,.12);
  --ok:#66c08a;
  --white:#fff;
  --wrap:1180px;
  --radius:12px;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Open Sans','Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; }

section{ scroll-margin-top:96px; }

/* skip-link (a11y — „przejdź do treści") */
.skip-link{
  position:absolute; left:8px; top:-56px; z-index:100;
  display:inline-flex; align-items:center;
  background:var(--red); color:#fff; padding:10px 16px;
  border-radius:0 0 8px 8px; font-weight:800; font-size:14px;
  transition:top .15s ease;
}
.skip-link:focus{ top:0; }
main:focus{ outline:none; }   /* skip-link target; id lokalizowany per jezyk (tresc/content) -> selektor neutralny */

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12px; font-weight:800; letter-spacing:2.4px;
  text-transform:uppercase; color:var(--red-1);
  margin:0 0 18px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--red); display:inline-block; }

h2.sec-title{
  margin:0 0 16px;
  font-size:clamp(26px,3.6vw,40px);
  line-height:1.1; font-weight:800; letter-spacing:-.5px; color:var(--white);
}
.sec-lead{ margin:0 0 40px; max-width:760px; color:var(--muted-2); font-size:clamp(16px,1.6vw,18px); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:52px; padding:0 26px; border-radius:8px;
  font-weight:800; font-size:15px; letter-spacing:.2px; cursor:pointer;
  border:1px solid transparent; transition:transform .12s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-red{ background:var(--red); color:var(--white); border-color:var(--red); }
.btn-red:hover{ background:var(--red-1); border-color:var(--red-1); }
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--line-2); }
.btn-ghost:hover{ border-color:var(--red); color:var(--white); }
.btn-sm{ height:42px; padding:0 18px; font-size:13.5px; }

a:focus-visible, button:focus-visible, .btn:focus-visible, .lang a:focus-visible, .lang button:focus-visible, .nav-toggle:focus-visible{
  outline:2px solid var(--red-1); outline-offset:3px; border-radius:6px;
}
.btn-red:focus-visible{ outline-color:#fff; }

/* ---------- Topbar ---------- */
.topbar{
  border-bottom:1px solid var(--line);
  background:#000;
  font-size:12px; color:var(--muted);
}
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:38px; }
.topbar .mono{ font-weight:700; letter-spacing:.4px; }
.topbar .mono b{ color:var(--red-1); }
.topbar .tb-right{ display:flex; align-items:center; gap:14px; }
.owned{ display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--muted-2); }
.owned .brepo{ height:12px; width:auto; opacity:.92; }
.brepo-link{ display:inline-flex; align-items:center; transition:opacity .15s ease; }
.brepo-link:hover{ opacity:.7; }
/* logo BREPO obok napisu „Marka grupy": zejście na linię bazową tekstu (em skaluje się z rozmiarem fontu) */
.owned .brepo-link img{ transform:translateY(0.16em); }
.lang{ display:inline-flex; gap:4px; }
.lang a, .lang button{
  display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; text-decoration:none;
  background:transparent; border:1px solid var(--line-2); color:var(--muted);
  height:26px; min-width:38px; border-radius:5px; font-weight:800; font-size:12px; cursor:pointer;
  transition:all .15s ease;
}
.lang a:hover, .lang button:hover{ color:var(--white); border-color:var(--red); }
.lang a.active, .lang button.active{ background:var(--red); border-color:var(--red); color:#fff; }

/* ---------- Header ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(10,10,11,.82); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
/* Grid zamiast flex+space-between: kotwiczy pozycje niezaleznie od dlugosci tekstu (N4 — PL vs EN
   nie moga „plywac"). Kolumny: brand (lewa, stala) · nav (1fr, przy lewej) · CTA (prawa, stala). */
header.site .wrap{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:20px; min-height:72px; }
.brand{ display:flex; align-items:center; grid-column:1; }
.brand img{ height:34px; width:auto; }
nav.main{ display:flex; align-items:center; gap:28px; grid-column:2; justify-self:start; }
nav.main a{
  font-size:13px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--muted-2);
  position:relative; padding:6px 0; transition:color .15s ease;
}
nav.main a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background:var(--red); transition:right .2s ease;
}
nav.main a:hover{ color:var(--white); }
nav.main a:hover::after{ right:0; }
.header-cta{ display:flex; align-items:center; gap:14px; grid-column:3; justify-self:end; }
.nav-toggle{ display:none; background:transparent; border:1px solid var(--line-2); border-radius:7px; width:44px; height:40px; cursor:pointer; }
.nav-toggle span{ display:block; width:20px; height:2px; background:var(--text); margin:4px auto; }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(220,45,53,.16), transparent 60%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0/64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0/64px 64px;
  mask-image:linear-gradient(#000, rgba(0,0,0,.35));
}
.hero .wrap{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center;
  padding:clamp(56px,8vw,104px) 24px; }
.hero-kicker{ margin:0 0 20px; }
h1{
  margin:0 0 22px; font-size:clamp(34px,5.2vw,60px); line-height:1.03; font-weight:800; letter-spacing:-1.2px; color:var(--white);
  max-width:15ch;
}
.hl{ color:var(--red); }
.hero p.lead{ margin:0 0 30px; max-width:52ch; color:var(--muted-2); font-size:clamp(16px,1.7vw,19px); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:28px; }
.chips{ display:flex; flex-wrap:wrap; gap:9px; }
.chip{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line-2); border-radius:100px; padding:7px 14px;
  font-size:12.5px; font-weight:700; color:var(--muted-2); background:rgba(255,255,255,.02);
}
.chip .dot{ width:7px; height:7px; border-radius:50%; background:var(--red); }
.chip.plan .dot{ background:var(--muted); }

/* Device / telemetry card visual */
.evidence{
  border:1px solid var(--line-2); border-radius:16px; background:linear-gradient(160deg,var(--panel),#0c0c0e);
  box-shadow:0 30px 80px -40px rgba(0,0,0,.9); overflow:hidden;
}
.ev-top{ display:flex; align-items:center; justify-content:space-between; padding:14px 18px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.02); }
.ev-top .tag{ font-size:12px; font-weight:800; letter-spacing:.4px; color:var(--muted); }
.ev-top .tag b{ color:var(--red-1); }
.ev-dots{ display:flex; gap:6px; }
.ev-dots i{ width:9px; height:9px; border-radius:50%; background:var(--line-2); display:block; }
.ev-dots i:first-child{ background:var(--red); }
.ev-body{ padding:20px 18px; display:grid; gap:14px; }
.ev-q{ font-size:13px; color:var(--muted); }
.ev-q b{ color:var(--text); font-weight:700; }
.ev-a{ font-size:14.5px; color:var(--text); border-left:3px solid var(--red); padding-left:14px; }
.ev-src{ display:inline-flex; align-items:center; gap:8px; align-self:flex-start; font-size:12px; font-weight:700;
  color:#ffd7d9; background:var(--red-tint); border:1px solid rgba(220,45,53,.4); border-radius:7px; padding:7px 11px; }
.ev-meta{ display:flex; flex-wrap:wrap; gap:8px; padding-top:4px; border-top:1px dashed var(--line); }
.pill{ font-size:11.5px; font-weight:800; letter-spacing:.3px; border-radius:6px; padding:5px 9px; border:1px solid var(--line-2); color:var(--muted-2); }
.pill.pass{ color:#0c130f; background:var(--ok); border-color:var(--ok); }
.pill.trace{ color:var(--muted-2); }

/* ---------- Statement band ---------- */
.band{ background:var(--red); }
.band .wrap{ padding:clamp(34px,5vw,58px) 24px; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.band p{ margin:0; font-size:clamp(22px,3vw,34px); font-weight:800; letter-spacing:-.5px; color:#fff; max-width:20ch; line-height:1.12; }
.band .btn-ghost{ border-color:rgba(255,255,255,.6); color:#fff; }
.band .btn-ghost:hover{ background:#fff; color:var(--red); border-color:#fff; }

/* ---------- Generic section ---------- */
.s{ padding:clamp(64px,9vw,116px) 0; }
.s.alt{ background:var(--bg-1); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.grid{ display:grid; gap:20px; }
.g-3{ grid-template-columns:repeat(3,1fr); }
.g-2{ grid-template-columns:repeat(2,1fr); }
.g-4{ grid-template-columns:repeat(4,1fr); }

.card{
  border:1px solid var(--line); border-radius:var(--radius); background:var(--panel);
  padding:26px; transition:border-color .18s ease, transform .18s ease, background .18s ease;
}
.card:hover{ border-color:var(--line-2); transform:translateY(-3px); }
.card .ic{ width:44px; height:44px; border-radius:10px; display:grid; place-items:center; background:var(--red-tint); border:1px solid rgba(220,45,53,.35); margin-bottom:16px; }
.card .ic svg{ stroke:var(--red); }   /* brand red for card icons — single source (was inline stroke="#dc2d35") */
.card h3{ margin:0 0 10px; font-size:19px; font-weight:800; color:var(--white); letter-spacing:-.2px; }
.card p{ margin:0; color:var(--muted-2); font-size:14.5px; }
.card .code{ font-family:ui-monospace,"SFMono-Regular",Consolas,monospace; font-size:12.5px; color:var(--red-1); font-weight:700; letter-spacing:.3px; }

.lead-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }

/* meanings */
.meaning{ border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(180deg,var(--panel),var(--bg-2)); padding:24px; }
.meaning .q{ font-size:34px; font-weight:800; color:var(--red); line-height:1; margin-bottom:12px; }
.meaning h3{ margin:0 0 8px; font-size:16px; color:var(--white); font-weight:800; }
.meaning p{ margin:0; font-size:13.5px; color:var(--muted); }

/* knowledge / connectivity layers */
.layer{ position:relative; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); padding:30px; overflow:hidden; }
.layer::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--red); }
.layer .code{ font-family:ui-monospace,Consolas,monospace; font-size:13px; color:var(--red-1); font-weight:800; letter-spacing:.3px; }
.layer h3{ margin:8px 0 12px; font-size:23px; color:var(--white); font-weight:800; letter-spacing:-.3px; }
.layer p{ margin:0 0 16px; color:var(--muted-2); font-size:15px; }
.taglist{ display:flex; flex-wrap:wrap; gap:7px; }
.taglist span{ font-size:11.5px; font-weight:700; color:var(--muted-2); border:1px solid var(--line-2); border-radius:6px; padding:5px 9px; }
.note{ font-size:13px; color:var(--muted); border-top:1px solid var(--line); padding-top:14px; margin-top:18px; }
.note b{ color:var(--red-1); }

/* flow diagram */
.flow-wrap{ display:grid; grid-template-columns:1.35fr .65fr; gap:28px; align-items:center; }
.diagram-box{ border:1px solid var(--line); border-radius:var(--radius); background:var(--bg-2); padding:20px; overflow-x:auto; }
.diagram{ width:100%; min-width:560px; height:auto; }
ol.steps{ margin:0; padding:0; list-style:none; display:grid; gap:12px; counter-reset:step; }
ol.steps li{ position:relative; padding-left:44px; font-size:14px; color:var(--muted-2); }
ol.steps li::before{
  counter-increment:step; content:counter(step,decimal-leading-zero);
  position:absolute; left:0; top:0; font-weight:800; font-size:12px; color:var(--red-1);
  border:1px solid rgba(220,45,53,.45); border-radius:6px; width:30px; height:26px; display:grid; place-items:center; background:var(--red-tint);
}
ol.steps li b{ color:var(--white); font-weight:700; }

/* deployment modes */
.mode{ border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); padding:26px; display:flex; flex-direction:column; }
.mode.feature{ border-color:rgba(220,45,53,.5); background:linear-gradient(180deg,rgba(220,45,53,.06),var(--panel)); }
.mode .top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.mode h3{ margin:0; font-size:20px; color:var(--white); font-weight:800; }
.mode .flag{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; color:var(--red-1); border:1px solid rgba(220,45,53,.5); border-radius:100px; padding:3px 10px; }
.mode .flag.plan{ color:var(--muted); border-color:var(--line-2); }
.mode .sub{ font-size:13px; color:var(--muted); margin:0 0 16px; }
.spec{ margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.spec li{ display:grid; grid-template-columns:104px 1fr; gap:12px; font-size:13.5px; align-items:start; }
.spec li .k{ color:var(--muted); font-weight:700; text-transform:uppercase; font-size:11px; letter-spacing:.5px; padding-top:2px; }
.spec li .v{ color:var(--text); }

/* security / evidence two-col */
.aiact{ display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.arts{ display:flex; flex-wrap:wrap; gap:8px; }
.art{ font-size:12.5px; font-weight:700; color:var(--muted-2); border:1px solid var(--line-2); border-radius:7px; padding:8px 11px; }
.art b{ color:var(--red-1); }
.legal{ margin-top:22px; font-size:12.5px; color:var(--muted); border-left:3px solid var(--line-2); padding-left:14px; }
.legal a{ color:var(--muted-2); text-decoration:underline; text-underline-offset:2px; }
.eu-badge{ display:inline-flex; align-items:center; gap:12px; margin:2px 0 20px; padding:10px 14px; border:1px solid var(--line-2); border-radius:10px; background:rgba(255,255,255,.03); font-size:13px; color:var(--muted-2); max-width:540px; }
.eu-mark{ flex:none; width:36px; height:24px; border-radius:4px; background:#003399; color:#ffcc00; font-weight:800; font-size:12px; letter-spacing:.5px; display:grid; place-items:center; }
.eu-badge b{ color:var(--text); }

/* BREPO band */
.brepo-band{ background:var(--bg-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.brepo-band .wrap{ display:grid; grid-template-columns:.85fr 1.15fr; gap:44px; align-items:center; padding:clamp(48px,7vw,84px) 24px; }
.brepo-band .mk{ display:flex; align-items:center; gap:18px; margin-bottom:22px; }
.brepo-band .mk .plus{ color:var(--muted); font-size:22px; font-weight:400; }
.brepo-band .mk img.q{ height:40px; }
.brepo-band .mk img.b{ height:26px; }
.brepo-band h2{ margin:0 0 14px; font-size:clamp(24px,3.2vw,34px); font-weight:800; color:var(--white); letter-spacing:-.4px; line-height:1.12; }
.brepo-band p{ margin:0 0 12px; color:var(--muted-2); font-size:16px; }
.brepo-band .src{ font-size:13px; color:var(--muted); }

/* contact */
.contact{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; }
.contact .cta-card{ border:1px solid var(--line-2); border-radius:16px; background:linear-gradient(160deg,var(--panel),#0c0c0e); padding:30px; }
.cinfo{ margin:0; padding:0; list-style:none; display:grid; gap:16px; }
.cinfo li{ display:grid; grid-template-columns:120px 1fr; gap:14px; align-items:baseline; }
.cinfo .k{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.6px; color:var(--red-1); }
.cinfo .v{ font-size:15px; color:var(--text); }
.cinfo .v a:hover{ color:var(--red); }

/* footer */
footer.site{ background:#000; border-top:1px solid var(--line); padding:52px 0 30px; }
.foot-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:32px; flex-wrap:wrap; margin-bottom:34px; }
.foot-brand > img{ height:34px; margin-bottom:14px; }
.foot-brand p{ margin:0; max-width:34ch; font-size:13px; color:var(--muted); }
.foot-brand .owned{ margin-top:14px; }
.foot-nav{ display:flex; gap:60px; flex-wrap:wrap; }
.foot-col h3{ margin:0 0 12px; font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }
.foot-col a{ display:block; font-size:13.5px; color:var(--muted-2); padding:5px 0; }
.foot-col a:hover{ color:var(--red); }
.foot-priv{ display:flex; align-items:flex-start; gap:10px; margin-bottom:20px; padding:12px 14px; border:1px solid var(--line); border-radius:9px; background:rgba(102,192,138,.05); font-size:12.5px; color:var(--muted-2); line-height:1.5; }
.foot-priv .privdot{ flex:none; width:8px; height:8px; border-radius:50%; background:var(--ok); margin-top:6px; }
.foot-priv b{ color:var(--text); }
.foot-bottom{ border-top:1px solid var(--line); padding-top:22px; display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.foot-bottom .disc{ max-width:60ch; }

/* language visibility helper (JS sets innerHTML; nothing needed) */

/* dedicated service pages */
.page-hero{ padding:clamp(70px,10vw,118px) 0 clamp(58px,8vw,92px); background:radial-gradient(ellipse at 78% 20%,rgba(220,45,53,.13),transparent 46%),var(--bg); border-bottom:1px solid var(--line); }
.article-wrap{ max-width:900px; }
.page-hero h1{ margin:14px 0 20px; max-width:22ch; color:var(--white); font-size:clamp(38px,6vw,68px); line-height:1.03; letter-spacing:-1.8px; font-weight:800; }
.page-hero .lead{ max-width:68ch; }
.breadcrumb{ display:flex; align-items:center; gap:9px; margin:0 0 30px; color:var(--muted); font-size:12px; }
.breadcrumb a{ color:var(--muted-2); }
.breadcrumb a:hover{ color:var(--red-1); }
.article-section .sec-lead{ max-width:78ch; }
.article-section .sec-lead + .sec-lead{ margin-top:14px; }
.article-section .sec-lead a{ color:var(--red-1); text-decoration:underline; text-underline-offset:3px; }
.article-steps{ margin-top:32px; }
.card-link{ display:inline-flex; margin-top:18px; color:var(--red-1); font-size:13px; font-weight:800; text-decoration:underline; text-underline-offset:4px; }
.card-link:hover{ color:var(--white); }
.faq-list{ display:grid; gap:12px; margin-top:34px; }
.faq-list details{ border:1px solid var(--line-2); border-radius:var(--radius-sm); background:var(--panel); padding:0 20px; }
.faq-list summary{ cursor:pointer; color:var(--white); font-size:16px; font-weight:750; padding:18px 30px 18px 0; }
.faq-list details[open] summary{ color:var(--red-1); }
.faq-list p{ margin:0; padding:0 0 20px; max-width:76ch; color:var(--muted-2); font-size:14px; }
.related-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:34px; }
.related-card{ display:flex; flex-direction:column; gap:8px; min-height:128px; padding:20px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--panel); transition:border-color .15s ease,transform .15s ease; }
.related-card span{ color:var(--red-1); font-size:10px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; }
.related-card strong{ color:var(--text); font-size:15px; line-height:1.35; }
.related-card:hover{ border-color:rgba(220,45,53,.6); transform:translateY(-2px); }

@media (max-width:1080px){
  .hero .wrap{ grid-template-columns:1fr; gap:40px; }
  .evidence{ max-width:520px; margin:0 auto; }
  .flow-wrap{ grid-template-columns:1fr; }
  .aiact{ grid-template-columns:1fr; gap:26px; }
  .contact{ grid-template-columns:1fr; }
  .brepo-band .wrap{ grid-template-columns:1fr; gap:28px; }
}
@media (max-width:880px){
  .g-2,.g-3,.g-4{ grid-template-columns:1fr; }
  .related-grid{ grid-template-columns:1fr 1fr; }
  nav.main{ display:none; }
  .nav-toggle{ display:block; }
  nav.main.open{
    display:flex; flex-direction:column; align-items:flex-start; gap:0;
    position:absolute; top:100%; left:0; right:0; background:#0b0b0d; border-bottom:1px solid var(--line); padding:8px 24px 18px;
  }
  nav.main.open a{ padding:12px 0; width:100%; border-bottom:1px solid var(--line); }
  .owned span.txt{ display:none; }
}
@media (max-width:620px){
  .g-2,.g-3,.g-4{ grid-template-columns:1fr; }
  .related-grid{ grid-template-columns:1fr; }
  .page-hero h1{ letter-spacing:-1px; }
  .spec li{ grid-template-columns:92px 1fr; }
  .topbar .mono{ display:none; }
  .band .wrap{ flex-direction:column; align-items:flex-start; }
  h1{ letter-spacing:-.6px; }
}
@media (prefers-reduced-motion:reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}

/* ---------- utilities & component modifiers (replace former inline styles) ---------- */
.mt-36{ margin-top:36px; }
.mb-16{ margin-bottom:16px; }
.card--alt{ background:var(--panel-2); }
.eu-badge--wide{ max-width:none; margin-top:24px; align-items:flex-start; }
.eu-mark--red{ background:var(--red); color:#fff; }
.link-red{ color:var(--red-1); text-decoration:underline; text-underline-offset:2px; }
.foot-brand .owned .brepo{ height:13px; }

/* ---------- language router (root index.html) ---------- */
.c{ display:flex; min-height:100vh; align-items:center; justify-content:center; flex-direction:column; gap:18px; }
.c a{ color:#fff; font-weight:700; text-decoration:none; border:1px solid rgba(255,255,255,.25); padding:10px 20px; border-radius:8px; }
.c a:hover{ border-color:var(--red); }
