/* ============================================================
   byteprotect — Shared Design System
   Bright engineering aesthetic · Accent: #000080 (Navy)
   Display: Geologica · Body: IBM Plex Sans · Utility: IBM Plex Mono
   ============================================================ */

/* ===== Lokale Schriften (DSGVO-konform, kein externer Request) ===== */
@font-face {
  font-family: "Geologica";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/geologica-v5-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geologica";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/geologica-v5-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Geologica";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/geologica-v5-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Geologica";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/geologica-v5-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-v23-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-sans-v23-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-v23-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-v20-latin-500.woff2") format("woff2");
}

:root {
  /* Color tokens */
  --paper:      #FAFBFE;
  --paper-soft: #F2F5FC;
  --ice:        #E9EFFF;
  --ink:        #0A0F2E;
  --muted:      #4B5478;
  --navy:       #000080;
  --navy-deep:  #000066;
  --navy-soft:  rgba(0, 0, 128, 0.07);
  --line:       rgba(0, 0, 128, 0.14);
  --line-soft:  rgba(0, 0, 128, 0.08);
  --allow:      #0E9F6E;
  --block:      #D6453D;
  --white:      #FFFFFF;

  /* Type */
  --font-display: "Geologica", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 2px rgba(10, 15, 46, 0.04), 0 12px 32px -12px rgba(0, 0, 128, 0.12);
  --shadow-lift: 0 2px 4px rgba(10, 15, 46, 0.05), 0 24px 48px -16px rgba(0, 0, 128, 0.20);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--navy); color: var(--white); }

/* Faint engineering grid on the page background */
.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 640px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 640px);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 650;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }

strong { font-weight: 600; color: var(--ink); }

/* Mono eyebrow — the directional label that opens every section */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--navy);
  display: inline-block;
}
.eyebrow::after { content: "→"; font-weight: 400; }

/* ---------- Layout primitives ---------- */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section--tint { background: linear-gradient(180deg, var(--paper-soft), var(--paper)); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 128, 0.5);
}
.btn--primary:hover { background: var(--navy-deep); box-shadow: 0 14px 30px -10px rgba(0, 0, 128, 0.55); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--navy-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 254, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 24px -16px rgba(10, 15, 46, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
}

.nav__logo img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 0.3em 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover { text-decoration: none; color: var(--navy); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--navy); }

.nav__cta { white-space: nowrap; }

.nav__toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
}

/* Announcement ribbon */
.ribbon {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.55rem 1rem;
  letter-spacing: 0.02em;
}
.ribbon a { color: #AEBDFF; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero h1 .accent { color: var(--navy); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero__meta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hero__meta span::before { content: "▪"; color: var(--navy); margin-right: 0.55em; font-size: 0.6em; vertical-align: 2px; }

/* ---------- Signature: the live diode schematic ---------- */
.diode-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.4rem 1.1rem;
  position: relative;
}
.diode-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.diode-panel__status { display: inline-flex; align-items: center; gap: 0.5em; color: var(--allow); }
.diode-panel__status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--allow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(14, 159, 110, 0); }
}

.diode-svg { width: 100%; height: auto; display: block; }

/* SVG packet animation — forward packets pass, reverse packet is blocked */
.pkt { animation: pkt-forward 3.2s linear infinite; }
.pkt--d1 { animation-delay: 0s; }
.pkt--d2 { animation-delay: 1.05s; }
.pkt--d3 { animation-delay: 2.1s; }
@keyframes pkt-forward {
  0%   { transform: translateX(0);     opacity: 0; }
  6%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(352px); opacity: 0; }
}

.pkt-blocked { animation: pkt-blocked 6.4s linear infinite; }
@keyframes pkt-blocked {
  0%    { transform: translateX(0);      opacity: 0; }
  55%   { transform: translateX(0);      opacity: 0; }
  58%   { opacity: 1; }
  72%   { transform: translateX(-146px); opacity: 1; }
  76%   { transform: translateX(-152px); opacity: 0; }
  100%  { transform: translateX(-152px); opacity: 0; }
}
.block-flash { opacity: 0; animation: block-flash 6.4s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes block-flash {
  0%, 70%  { opacity: 0; transform: scale(0.6); }
  73%      { opacity: 1; transform: scale(1.15); }
  80%      { opacity: 0; transform: scale(1.3); }
  100%     { opacity: 0; }
}

.diode-panel__caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.8rem 0 0;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.diode-panel__caption .k { display: inline-flex; align-items: center; gap: 0.45em; }
.diode-panel__caption .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--allow { background: var(--allow); }
.dot--block { background: var(--block); }

/* ---------- Feature cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), #4D4DFF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--ice);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Certification wall ---------- */
.cert-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.cert {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.2rem;
  background: var(--white);
  text-align: left;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.cert:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.cert__level {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.cert__name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ---------- Use case split rows ---------- */
.usecase { align-items: center; }
.usecase__img {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
}
.usecase ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.9rem; }
.usecase li { padding-left: 1.7rem; position: relative; color: var(--muted); }
.usecase li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 600;
  font-family: var(--font-mono);
}
.usecase li strong { display: block; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(1100px 420px at 85% -20%, rgba(77, 77, 255, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #1A1AB3);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.6rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 58ch; }
.cta-band .btn--primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.4);
}
.cta-band .btn--primary:hover { background: var(--ice); }
.cta-band .eyebrow { color: #B8C4FF; }
.cta-band .eyebrow::before { background: #B8C4FF; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--paper-soft);
  padding: 3.5rem 0 2rem;
  margin-top: clamp(4rem, 8vw, 6.5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__grid img { height: 34px; width: auto; margin-bottom: 1rem; }
.footer__grid p { font-size: 0.92rem; color: var(--muted); max-width: 36ch; }
.footer__grid h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer__grid ul a { color: var(--ink); font-size: 0.95rem; }
.footer__grid ul a:hover { color: var(--navy); }
.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   Product page components
   ============================================================ */

/* Stack diagram — interactive layer list */
.stack {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.stack__layers { display: grid; gap: 0.65rem; }
.stack__layer {
  background: var(--white);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.stack__layer .idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  min-width: 2.6em;
}
.stack__layer .name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.stack__layer:hover { border-color: var(--line); }
.stack__layer.is-active {
  border-color: var(--navy);
  background: var(--ice);
  transform: translateX(8px);
}
.stack__layer.is-active .idx { color: var(--navy); }

.stack__detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  position: sticky;
  top: 96px;
  min-height: 280px;
}
.stack__detail .eyebrow { margin-bottom: 0.7rem; }
.stack__detail p { color: var(--muted); margin: 0; }

/* Variant tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-bottom: 1.5px solid var(--line-soft);
  margin-bottom: 2.5rem;
}
.tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 0.8em 1.1em;
  margin-bottom: -1.5px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--navy); border-bottom-color: var(--navy); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: panel-in 0.45s var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.variant {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.variant__media { display: grid; gap: 1rem; position: sticky; top: 96px; }
.variant__media figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.4rem;
}
.variant__media figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.9rem;
}
.variant__intro { color: var(--muted); margin-bottom: 2rem; }

/* Spec sheet */
.spec-group { margin-bottom: 2rem; }
.spec-group h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 0.55rem;
  margin-bottom: 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.93rem;
}
.spec-row dt { color: var(--muted); margin: 0; }
.spec-row dd { margin: 0; font-weight: 500; }
dl { margin: 0; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; }
.badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: var(--ice);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3em 0.9em;
}

/* Page hero (subpages) */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero .lead { margin-top: 0.4rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .grid-2, .stack, .variant { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cert-wall { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stack__detail, .variant__media { position: static; }
  .usecase--flip .usecase__img { order: -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.5rem 1.6rem;
    gap: 1.1rem;
    box-shadow: 0 24px 32px -20px rgba(10, 15, 46, 0.2);
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
}

@media (max-width: 520px) {
  .cert-wall, .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .pkt, .pkt-blocked, .block-flash { animation: none; opacity: 0; }
}

/* ============================================================
   Extension: Use Cases, FAQ & Legal pages
   ============================================================ */

/* Use case benefit panel */
.benefit-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.8rem 1.7rem;
}
.benefit-panel h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.benefit-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.benefit-panel li { padding-left: 1.6rem; position: relative; color: var(--muted); font-size: 0.95rem; }
.benefit-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--allow);
  font-weight: 700;
}
.benefit-panel .note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.88rem;
  color: var(--muted);
}
.benefit-panel .btn { margin-top: 1.3rem; }

.uc-row { align-items: start; }
.uc-row .badge-row { margin-top: 1.4rem; }

/* FAQ accordion (native details/summary) */
.faq-list { display: grid; gap: 0.9rem; max-width: 880px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--navy); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-item summary .chev {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: transform 0.3s var(--ease-out), background 0.25s, border-color 0.25s;
}
.faq-item[open] summary .chev { transform: rotate(45deg); background: var(--ice); border-color: var(--navy); }
.faq-item__body { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: 0.97rem; }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__body ul { padding-left: 1.2rem; margin: 0.6rem 0 1em; display: grid; gap: 0.45rem; }
.faq-item__body strong { color: var(--ink); }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1rem 0 0.5rem; }
.compare th, .compare td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.compare thead th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1.5px solid var(--line);
}
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td { color: var(--muted); }
.compare-wrap { overflow-x: auto; }

/* Legal prose */
.legal { max-width: 780px; }
.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.legal h2:first-of-type { margin-top: 1.8rem; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 2rem; }
.legal h4 { font-size: 1rem; margin-top: 1.5rem; color: var(--ink); }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; }
.legal ul { padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; }
