/* ==========================================================================
   Epeius — site styles
   Brand: Midnight #192136 · Aqua #00E7FF
   Module accents taken from the Epeius logo colorways.
   ========================================================================== */

:root {
  --midnight: #192136;
  --ink: #0b1020;
  --ink-2: #10172b;
  --ink-3: #161f38;
  --ink-4: #1e2945;
  --line: rgba(233, 238, 247, 0.09);
  --line-strong: rgba(233, 238, 247, 0.16);
  --text: #e9eef7;
  --text-2: #b4bed2;
  --muted: #8592ad;

  --aqua: #00e7ff;
  --aqua-deep: #00b8cc;
  --aqua-ink: #04313a;
  --purple: #af37ff;
  --pink: #ff00bb;
  --green: #a1ff00;
  --gold: #ffc300;
  --risk: #ff5c7a;

  --paper: #f3f5f9;
  --paper-2: #e6eaf2;
  --paper-text: #192136;
  --paper-muted: #56617a;

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--aqua); color: var(--ink); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--aqua); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; font-stretch: 112%; text-wrap: balance; }
h1 { font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.01em; line-height: 1.15; font-stretch: 106%; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); line-height: 1.55; max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aqua);
}
.eyebrow::before { content: ""; width: 9px; height: 10px; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* Logo-style offset: white type sitting on an aqua shadow */
.offset { color: #fff; text-shadow: 0 0.055em 0 var(--aqua); }
.paper .offset { color: var(--midnight); }

.mono { font-family: var(--f-mono); }

/* ---------- Buttons ---------- */
.btn {
  --bg: #fff; --fg: var(--ink); --sh: var(--aqua);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 700; font-size: 16px; font-stretch: 108%; letter-spacing: -0.005em;
  box-shadow: 0 4px 0 var(--sh);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sh); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sh); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--aqua { --bg: var(--aqua); --fg: var(--ink); --sh: #0089a0; }
.btn--ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); transform: none; }
.btn--ghost:active { transform: none; box-shadow: inset 0 0 0 1.5px var(--aqua); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; box-shadow: 0 3px 0 var(--sh); }
.btn--sm:hover { box-shadow: 0 4px 0 var(--sh); }
.paper .btn { --bg: var(--midnight); --fg: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aqua); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 16, 32, 0.88); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .15s, background .15s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--aqua); margin-top: 3px; border-radius: 2px; }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__toggle { display: inline-flex; }
  .nav__links, .nav__cta { display: none; }
  .nav-open .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .nav__panel { display: flex; }
}
.nav__panel {
  display: none; position: fixed; inset: 76px 0 0 0; z-index: 49; background: var(--ink);
  flex-direction: column; padding: 24px var(--gutter) 40px; gap: 6px; overflow-y: auto;
}
.nav__panel a.m-link { font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.nav__panel .btn { margin-top: 18px; }
@media (min-width: 1101px) { .nav__panel { display: none !important; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 780px; }
.section-head--split { max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 20px; } }

.paper { background: var(--paper); color: var(--paper-text); }
.paper .lede, .paper p { color: var(--paper-muted); }
.paper .eyebrow { color: #0090a3; }
.paper h2, .paper h3 { color: var(--midnight); }

.rule-top { border-top: 1px solid var(--line); }

/* Hex grid background */
.hexbg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.045' stroke-width='1'%3E%3Cpath d='M28 0 56 16.17v32.33L28 64.67 0 48.5V16.17z'/%3E%3Cpath d='M28 64.67 28 97M0 48.5l-28 16.17M56 48.5l28 16.17'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; background: radial-gradient(closest-side, rgba(0,231,255,0.14), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__copy h1 { max-width: 12.5ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero__copy h1 { max-width: 13ch; } }

/* Trust graph console */
.console {
  position: relative; border-radius: 18px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(0,231,255,0.04) inset;
  overflow: hidden;
}
.console__bar { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.console__bar .dots { display: flex; gap: 6px; }
.console__bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-4); display: block; }
.console__bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--aqua); }
.console__bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.console__graph { position: relative; aspect-ratio: 1.18; }
.console__graph svg { width: 100%; height: 100%; }
.console__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.console__legend span { display: inline-flex; align-items: center; gap: 7px; }
.console__legend i { width: 9px; height: 10px; display: block; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.verdict {
  position: absolute; z-index: 2; min-width: 214px; padding: 12px 14px; border-radius: 12px;
  background: rgba(11, 16, 32, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; color: var(--text-2);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.verdict b { color: #fff; font-weight: 600; }
.verdict .row { display: flex; justify-content: space-between; gap: 18px; }
.verdict .tag { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 6px; font-weight: 600; font-size: 11px; letter-spacing: .04em; }
.verdict--risk { left: 14px; bottom: 14px; }
.verdict--risk .tag { background: rgba(255,92,122,.14); color: var(--risk); }
.verdict--ok { right: 14px; top: 14px; }
.verdict--ok .tag { background: rgba(0,231,255,.12); color: var(--aqua); }
.verdict.is-hidden { opacity: 0; transform: translateY(8px); }
@media (max-width: 520px) { .verdict { min-width: 0; font-size: 10.5px; padding: 9px 10px; } .verdict .row { gap: 10px; } }

/* ---------- Clients ---------- */
.clients { padding: 36px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.clients__label { text-align: center; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(44px, 6vw, 80px); padding-right: clamp(44px, 6vw, 80px); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; width: auto; }
  .marquee__set[aria-hidden] { display: none; }
  .marquee__set { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding: 0 var(--gutter); }
}
.client { display: flex; align-items: center; gap: 12px; height: 44px; opacity: .62; transition: opacity .2s; flex-shrink: 0; }
.client:hover { opacity: 1; }
.client img { height: 100%; width: auto; object-fit: contain; }
.client--sm img { height: 22px; }
.client--md img { height: 28px; }
.client--lg img { height: 36px; }
.client--xl img { height: 50px; }
.client--xs img { height: 17px; }
.client span { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }

/* ---------- Problem ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.problem { background: var(--ink); padding: clamp(28px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.problem__num { font-family: var(--f-mono); font-size: 12.5px; color: var(--risk); letter-spacing: .1em; }
.problem p { color: var(--text-2); }
.problem svg { width: 40px; height: 40px; color: var(--risk); margin-bottom: 8px; }
@media (max-width: 860px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Woven (how it works) ---------- */
.woven-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
@media (max-width: 860px) { .woven-intro { grid-template-columns: 1fr; gap: 20px; } }
.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--paper-2); font-weight: 600; font-size: 14.5px; color: var(--midnight); }
.chip small { font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--paper-muted); letter-spacing: .04em; }
.chip--dark { background: var(--midnight); color: #fff; border-color: var(--midnight); box-shadow: 0 3px 0 var(--aqua); }
.chip--dark small { color: #9fb0cc; }
.equation .op { font-family: var(--f-mono); color: var(--paper-muted); font-size: 16px; }
.chip small { font-size: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--paper-2); border-radius: var(--radius); padding: 28px 24px 26px; display: grid; gap: 12px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(25,33,54,.35); border-color: #cfd6e4; }
.step__n { font-family: var(--f-mono); font-size: 12.5px; color: #0090a3; letter-spacing: .1em; }
.step__icon { width: 48px; height: 54px; display: grid; place-items: center; background: var(--midnight); color: var(--aqua); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-bottom: 6px; }
.step__icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 22px; }
.step p { font-size: 15.5px; }
.step__by { margin-top: 6px; font-family: var(--f-mono); font-size: 11.5px; color: var(--paper-muted); letter-spacing: .03em; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.feature-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.feature-row span { font-family: var(--f-mono); font-size: 12.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid #cfd6e4; color: var(--midnight); letter-spacing: .02em; }

/* ---------- Suite (bento) ---------- */
.suite { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mod {
  --c: var(--aqua);
  position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 28px; min-height: 290px;
  border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .3s var(--ease);
}
.mod::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -140px; top: -140px; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); opacity: .55; transition: opacity .3s; }
.mod:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-3px); }
.mod:hover::after { opacity: 1; }
.mod--wide { grid-column: span 3; }
.mod__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mod__mark { width: 38px; height: auto; }
.mod__tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.mod h3 { font-size: 28px; margin-top: auto; padding-top: 24px; }
.mod p { color: var(--text-2); font-size: 15.5px; }
.mod .link-arrow { color: var(--c); font-size: 15px; margin-top: 4px; }
.mod--core { background: linear-gradient(135deg, #0f2a3a 0%, var(--ink-2) 60%); border-color: rgba(0,231,255,.25); }
.mod--core h3 { font-size: 36px; }
@media (max-width: 1020px) { .mod, .mod--wide { grid-column: span 3; } }
@media (max-width: 640px) { .suite { grid-template-columns: 1fr; } .mod, .mod--wide { grid-column: auto; min-height: 0; } .mod h3 { padding-top: 12px; } }

/* ---------- Industries (tabs) ---------- */
.ind { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ind__tabs { display: grid; gap: 4px; position: sticky; top: 100px; }
.ind__tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 12px; border: 1px solid transparent; background: transparent; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: 19px; color: var(--paper-muted); transition: background .2s, color .2s, border-color .2s;
}
.ind__tab small { margin-left: auto; font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: inherit; opacity: .7; }
.ind__tab:hover { color: var(--midnight); background: rgba(25,33,54,.04); }
.ind__tab[aria-selected="true"] { color: var(--midnight); background: #fff; border-color: var(--paper-2); box-shadow: 0 3px 0 var(--aqua); }
.ind__panel { background: #fff; border: 1px solid var(--paper-2); border-radius: 18px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; min-height: 420px; }
.ind__panel[hidden] { display: none; }
.ind__panel h3 { font-size: clamp(26px, 2.6vw, 34px); }
.ind__panel > p { font-size: 18px; max-width: 60ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checks li { position: relative; padding-left: 30px; color: var(--paper-text); font-size: 15.5px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 20px; background: var(--midnight); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 5px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }
.checks b { font-weight: 700; color: var(--midnight); }
.ind__case { margin-top: auto; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--paper); font-size: 15px; }
.ind__case .mono { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #0090a3; white-space: nowrap; }
.ind__case a { font-weight: 600; color: var(--midnight); border-bottom: 1.5px solid var(--aqua); }
@media (max-width: 900px) {
  .ind { grid-template-columns: 1fr; }
  .ind__tabs { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .ind__tabs::-webkit-scrollbar { display: none; }
  .ind__tab { width: auto; white-space: nowrap; font-size: 16px; padding: 12px 16px; border-color: var(--paper-2); }
  .ind__tab small { display: none; }
  .ind__panel { min-height: 0; }
}
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } .ind__case { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- Developer ---------- */
.dev { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dev__copy { display: grid; gap: 24px; justify-items: start; }
.dev__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 18px; }
.dev__list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; color: var(--text-2); }
.dev__list li b { display: block; color: #fff; font-weight: 700; margin-bottom: 2px; }
.dev__list svg { width: 22px; height: 22px; color: var(--aqua); margin-top: 3px; }
@media (max-width: 960px) { .dev { grid-template-columns: 1fr; } }

.code { border-radius: 16px; background: #070b17; border: 1px solid var(--line-strong); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.code__tabs { display: flex; gap: 2px; padding: 8px 8px 0; border-bottom: 1px solid var(--line); }
.code__tabs button { padding: 10px 14px; border: 0; background: transparent; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); cursor: pointer; border-radius: 8px 8px 0 0; }
.code__tabs button[aria-selected="true"] { color: #fff; background: var(--ink-3); }
.code__tabs .note { margin-left: auto; align-self: center; padding-right: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.code pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; font-family: var(--f-mono); font-size: 13.5px; line-height: 1.75; color: #c9d3e6; tab-size: 2; }
.code pre[hidden] { display: none; }
.tk-k { color: #c792ea; } .tk-s { color: #a5e844; } .tk-n { color: var(--gold); } .tk-c { color: #5d6a86; } .tk-p { color: var(--aqua); } .tk-r { color: var(--risk); }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.post:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.post__art { --c: var(--aqua); aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%), var(--ink-3); }
.post__art img { position: absolute; width: 38%; right: 8%; bottom: -18%; opacity: .9; transform: rotate(-8deg); transition: transform .5s var(--ease); }
.post:hover .post__art img { transform: rotate(0) translateY(-6px); }
.post__art .mono { position: absolute; left: 18px; top: 16px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.post__body { padding: 22px 22px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.post__body h3 { font-size: 21px; }
.post__body p { color: var(--text-2); font-size: 15px; }
.post__meta { margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(44px, 7vw, 88px); background: var(--midnight); border: 1px solid rgba(0,231,255,.2); display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: end; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 90% at 100% 100%, rgba(0,231,255,.22), transparent 70%); }
.cta__mark { position: absolute; z-index: -1; right: -40px; top: -60px; width: 300px; opacity: .06; transform: rotate(12deg); }
.cta h2 { font-size: clamp(38px, 5.4vw, 72px); }
.cta p { margin-top: 18px; color: var(--text-2); max-width: 54ch; font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 96px) 0 32px; border-top: 1px solid var(--line); background: var(--ink); margin-top: clamp(80px, 10vw, 130px); }
.site-footer.flush { margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 360px; }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { color: var(--muted); font-size: 15px; }
.footer__col h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-stretch: 100%; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--text-2); font-size: 15px; transition: color .15s; }
.footer__col a:hover { color: var(--aqua); }
.news { margin-top: 56px; padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 24px; align-items: center; }
.news h3 { font-size: 22px; }
.news p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.news form { display: flex; gap: 10px; }
.news input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line-strong); color: #fff; font-size: 15px; }
.news input::placeholder { color: var(--muted); }
.news input:focus { outline: none; border-color: var(--aqua); }
.news .btn { height: 48px; }
.news__ok { font-family: var(--f-mono); font-size: 13px; color: var(--aqua); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 13.5px; color: var(--muted); }
.fp { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.fp img { height: 26px; width: auto; }
.fp b { color: #fff; font-weight: 700; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.footer__legal a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text-2); transition: color .15s, border-color .15s; }
.socials a:hover { color: var(--aqua); border-color: var(--aqua); }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } .news { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr 1fr; } .news form { flex-direction: column; } .news input { flex: none; } .footer__legal { margin-left: 0; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 800px; height: 800px; left: 50%; top: -420px; transform: translateX(-10%); background: radial-gradient(closest-side, rgba(0,231,255,0.12), transparent 70%); pointer-events: none; }
.page-hero__inner { position: relative; display: grid; gap: 26px; justify-items: start; max-width: 900px; }

.page-hero__art { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-46%); pointer-events: none; }
.page-hero__art--single img { width: clamp(220px, 24vw, 340px); transform: rotate(8deg); filter: drop-shadow(0 30px 60px rgba(0,231,255,.18)); }
.honey { display: grid; grid-template-columns: repeat(3, 92px); gap: 6px 10px; }
.page-hero__art.honey { transform: translateY(-46%) rotate(-6deg); }
.honey img { width: 92px; height: auto; }
.honey img:nth-child(4), .honey img:nth-child(5) { transform: translateX(51px); }
@media (max-width: 1100px) { .page-hero__art { display: none; } }

/* ---------- Woven page ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1.1fr; align-items: stretch; gap: 0; }
.flow__node { padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.flow__node .mono { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.flow__node h3 { font-size: 24px; }
.flow__node p { color: var(--text-2); font-size: 15.5px; }
.flow__node--out { background: linear-gradient(135deg, #0f2a3a, var(--ink-2)); border-color: rgba(0,231,255,.3); }
.flow__node--out .mono { color: var(--aqua); }
.flow__op { display: grid; place-items: center; width: 56px; font-family: var(--f-mono); font-size: 22px; color: var(--aqua); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow__op { width: auto; height: 44px; } .flow__op.eq { transform: rotate(90deg); } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,231,255,.1); color: var(--aqua); margin-bottom: 6px; }
.card__icon svg { width: 22px; height: 22px; }
.paper .card { background: #fff; border-color: var(--paper-2); }
.paper .card__icon { background: var(--midnight); }

.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.apps__col { border-radius: 18px; background: #fff; border: 1px solid var(--paper-2); padding: clamp(26px, 3vw, 36px); }
.apps__col h3 { font-size: 26px; margin-bottom: 6px; }
.apps__col > p { margin-bottom: 22px; }
.apps__list { list-style: none; padding: 0; margin: 0; display: grid; }
.apps__list li { padding: 18px 0; border-top: 1px solid var(--paper-2); display: grid; gap: 4px; }
.apps__list b { font-family: var(--f-display); font-stretch: 106%; font-size: 18px; color: var(--midnight); }
.apps__list span { color: var(--paper-muted); font-size: 15.5px; }
@media (max-width: 860px) { .apps { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.compare > div { padding: clamp(26px, 3vw, 40px); }
.compare__old { background: var(--ink-2); }
.compare__new { background: linear-gradient(135deg, #0f2a3a, var(--ink-2)); border-left: 1px solid rgba(0,231,255,.25); }
.compare h3 { font-size: 22px; margin-bottom: 20px; }
.compare .mono { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.compare__old .mono { color: var(--muted); }
.compare__new .mono { color: var(--aqua); }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15.5px; }
.compare__old li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.compare__new li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 13px; background: var(--aqua); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare__new { border-left: 0; border-top: 1px solid rgba(0,231,255,.25); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.about-grid .big { font-family: var(--f-display); font-weight: 700; font-stretch: 106%; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.015em; color: #fff; }
.about-grid p + p { margin-top: 18px; }
.about-grid .body p { color: var(--text-2); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.family .card h3 { font-size: 22px; }
.family .card .mono { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.family .card--epeius { border-color: rgba(0,231,255,.3); background: linear-gradient(135deg, #0f2a3a, var(--ink-2)); }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member { display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-2); transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(25,33,54,.4); }
.member__hex { --c: var(--aqua); width: 60px; height: 68px; display: grid; place-items: center; background: var(--midnight); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: 24px; color: #fff; text-shadow: 0 2px 0 var(--c); }
.member b { display: block; font-family: var(--f-display); font-stretch: 106%; font-size: 19px; color: var(--midnight); line-height: 1.2; }
.member div > span { display: block; font-size: 14px; color: var(--paper-muted); margin-top: 2px; }
@media (max-width: 1020px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } .member { padding: 18px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 32px 32px 0 0; display: grid; gap: 12px; align-content: start; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value .mono { font-size: 12.5px; color: var(--aqua); letter-spacing: .1em; }
.value p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__aside { display: grid; gap: 26px; position: sticky; top: 110px; }
.contact__aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact__aside li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; color: var(--text-2); font-size: 15.5px; }
.contact__aside li b { display: block; color: #fff; }
.contact__aside .n { width: 36px; height: 40px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; color: var(--ink); background: var(--aqua); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font-weight: 600; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }

.form { padding: clamp(24px, 3.5vw, 44px); border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line-strong); display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--text); }
.field label i, .field legend i { color: var(--aqua); font-style: normal; }
.field input, .field textarea { width: 100%; height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--ink); color: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(0,231,255,.15); }
.field input::placeholder, .field textarea::placeholder { color: #5f6b86; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
@media (max-width: 600px) { .options { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--ink); font-size: 15px; color: var(--text-2); cursor: pointer; transition: border-color .15s, background .15s, color .15s; line-height: 1.3; }
.opt span::before { content: ""; flex-shrink: 0; width: 16px; height: 18px; background: var(--ink-4); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .15s; }
.opt span:hover { border-color: rgba(0,231,255,.4); color: #fff; }
.opt input:checked + span { border-color: var(--aqua); background: rgba(0,231,255,.07); color: #fff; }
.opt input:checked + span::before { background: var(--aqua); }
.opt input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__foot small { color: var(--muted); font-size: 13px; max-width: 40ch; }
.form__foot small a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.form__error { color: var(--risk); font-size: 14px; }
.form__done { display: none; text-align: center; padding: 40px 10px; gap: 16px; justify-items: center; }
.form__done img { width: 64px; }
.form__done p { color: var(--text-2); max-width: 42ch; }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { display: grid; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Certifying Authority split */
.mod__split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2px; }
.mod__split div { padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); display: grid; gap: 4px; }
.mod__split b { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.mod__split span { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 1180px) { .mod__split { grid-template-columns: 1fr; } }

/* ---------- Security page ---------- */
.policy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.policy > div { border-radius: 18px; background: #fff; border: 1px solid var(--paper-2); padding: clamp(26px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.policy h3 { font-size: 24px; }
.nevers { list-style: none; padding: 0; margin: 0; display: grid; }
.nevers li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid var(--paper-2); color: var(--paper-text); font-size: 16px; line-height: 1.45; }
.nevers li::before, .nevers li::after { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 2.5px; border-radius: 2px; background: var(--risk); }
.nevers li::before { transform: translateY(-50%) rotate(45deg); }
.nevers li::after { transform: translateY(-50%) rotate(-45deg); }
.channels { list-style: none; padding: 0; margin: 0; display: grid; }
.channels li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--paper-2); }
.channels .mono { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-muted); }
.channels a { font-weight: 600; color: var(--midnight); border-bottom: 1.5px solid var(--aqua); }
.policy__channels p a { color: var(--midnight); font-weight: 600; border-bottom: 1.5px solid var(--aqua); }
@media (max-width: 860px) { .policy { grid-template-columns: 1fr; } }

.disclose { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.disclose__card { border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line-strong); padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; }
.disclose__label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.disclose__email { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; color: #fff; text-shadow: 0 0.06em 0 var(--aqua); justify-self: start; word-break: break-all; }
.disclose__steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: d; display: grid; gap: 16px; }
.disclose__steps li { counter-increment: d; position: relative; padding-left: 44px; color: var(--text-2); font-size: 15.5px; }
.disclose__steps li::before { content: counter(d); position: absolute; left: 0; top: -2px; width: 28px; height: 32px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--aqua); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.disclose__steps b { color: #fff; }
.disclose__card > p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .disclose { grid-template-columns: 1fr; } }
.mod__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mod__chips span { font-family: var(--f-mono); font-size: 11.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(0,231,255,.25); color: var(--text-2); }
.sec-hex { width: clamp(200px, 20vw, 280px); filter: drop-shadow(0 30px 60px rgba(0,231,255,.2)); }

.options .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Compliance Agents ---------- */
.offset--green { text-shadow: 0 0.055em 0 var(--green); }
.hero__meta--green span::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.btn--green { --bg: var(--green); --fg: var(--ink); --sh: #5c9400; }

.queue { border-radius: 18px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); overflow: hidden; }
.queue__list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px; }
.q { --c: var(--green); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px 13px 16px; border-radius: 10px; background: rgba(255,255,255,.025); border: 1px solid var(--line); position: relative; }
.q::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--c); }
.q div { display: grid; gap: 2px; min-width: 0; }
.q b { font-size: 14.5px; font-weight: 600; color: #fff; }
.q span { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q em { flex-shrink: 0; font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 4px 9px; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.q--clear { --c: var(--green); }
.q--med { --c: var(--gold); }
.q--high, .q--block { --c: var(--risk); }
.q--high { background: rgba(255,92,122,.05); border-color: rgba(255,92,122,.22); }
@media (prefers-reduced-motion: no-preference) {
  .queue.is-in .q { animation: qin .5s var(--ease) both; }
  .queue.is-in .q:nth-child(2) { animation-delay: .12s; } .queue.is-in .q:nth-child(3) { animation-delay: .24s; }
  .queue.is-in .q:nth-child(4) { animation-delay: .36s; } .queue.is-in .q:nth-child(5) { animation-delay: .48s; } .queue.is-in .q:nth-child(6) { animation-delay: .6s; }
}
@keyframes qin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .q { flex-direction: column; align-items: flex-start; gap: 8px; } .q span { white-space: normal; } }

.checks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ccard { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: border-color .25s; }
.ccard:hover { border-color: rgba(161,255,0,.35); }
.ccard__n { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: 40px; line-height: 1; color: var(--ink); -webkit-text-stroke: 1.5px var(--green); margin-bottom: 8px; }
.ccard p { color: var(--text-2); font-size: 15.5px; }
.ccard--cta { background: linear-gradient(135deg, rgba(161,255,0,.08), var(--ink-2)); border-color: rgba(161,255,0,.25); align-content: end; }
@media (max-width: 960px) { .checks-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .checks-grid { grid-template-columns: 1fr; } }

.assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.asset { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-2); display: grid; gap: 8px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.asset:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(25,33,54,.4); }
.asset svg { width: 30px; height: 30px; color: var(--midnight); margin-bottom: 8px; }
.asset h3 { font-size: 19px; }
.asset p { font-size: 15px; }
@media (max-width: 1020px) { .assets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .assets { grid-template-columns: 1fr; } }

.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pipeline li { padding: 26px 22px; display: grid; gap: 8px; align-content: start; background: var(--ink-2); position: relative; }
.pipeline li + li { border-left: 1px solid var(--line); }
.pipeline li + li::before { content: ""; position: absolute; left: -7px; top: 30px; width: 12px; height: 12px; background: var(--ink-2); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.pipeline__n { font-family: var(--f-mono); font-size: 12px; color: var(--green); letter-spacing: .1em; }
.pipeline h3 { font-size: 21px; }
.pipeline p { color: var(--text-2); font-size: 15px; }
.pipeline li:nth-child(4) { background: linear-gradient(180deg, rgba(161,255,0,.07), var(--ink-2)); }
@media (max-width: 1020px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li + li { border-left: 0; border-top: 1px solid var(--line); }
  .pipeline li + li::before { display: none; }
}

.card--green .card__icon { background: rgba(161,255,0,.1); color: var(--green); }
.src__n { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.cta--green { border-color: rgba(161,255,0,.22); }
.cta--green::before { background: radial-gradient(60% 90% at 100% 100%, rgba(161,255,0,.16), transparent 70%); }
.cta--green .cta__mark { opacity: .08; }
.mod--full { grid-column: 1 / -1; min-height: 0; }
.mod--full h3 { padding-top: 8px; }
.mod__chips--green span { border-color: rgba(161,255,0,.25); }

/* ---------- Insights hub ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-strong); transition: border-color .25s, transform .3s var(--ease); }
.feature:hover { border-color: rgba(255,195,0,.4); transform: translateY(-3px); }
.feature__art { aspect-ratio: auto; min-height: 320px; }
.feature__art img { width: 34%; }
.feature__body { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: center; justify-items: start; }
.feature__body h2 { font-size: clamp(30px, 3.4vw, 44px); }
.feature__body p { color: var(--text-2); font-size: 18px; max-width: 46ch; }
.feature__body .link-arrow { margin-top: 6px; }
.feature:hover .link-arrow svg { transform: translateX(4px); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature__art { min-height: 200px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(40px, 5vw, 56px) 0 24px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.filter small { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.filter:hover { color: #fff; border-color: var(--aqua); }
.filter[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 3px 0 var(--aqua); }
.filter[aria-pressed="true"] small { color: var(--ink); }
.posts--hub .post[hidden] { display: none; }
.filters__empty { color: var(--muted); }
@media (max-width: 960px) { .posts--hub { max-width: none; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts--hub { grid-template-columns: 1fr; } }

/* ---------- Lynceus stories ---------- */
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story { padding: clamp(26px, 3vw, 36px); border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.story__tag { justify-self: start; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); padding: 5px 10px; border-radius: 6px; background: rgba(161,255,0,.08); }
.story h3 { font-size: 24px; }
.story dl { margin: 6px 0 0; display: grid; }
.story dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.story dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.story dd { margin: 0; color: var(--text-2); font-size: 15.5px; }
.story dl > div:last-child dd { color: #fff; }
@media (max-width: 1020px) { .stories { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .story dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { display: grid; gap: 20px; justify-items: start; position: sticky; top: 110px; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font-family: var(--f-display); font-weight: 700; font-stretch: 106%; font-size: 19px; line-height: 1.3; color: #fff; transition: color .15s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--aqua); border-radius: 2px; transition: transform .25s var(--ease); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--aqua); }
.faq__item p { padding: 0 48px 24px 0; color: var(--text-2); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } .faq__head { position: static; } }
.feature[hidden] { display: none; }
.news__err { grid-column: 1 / -1; color: var(--risk); font-size: 14px; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Contact email directory ---------- */
.directory { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.directory h3 { font-size: 19px; }
.directory ul { list-style: none; margin: 0; padding: 0; display: grid; }
.directory li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.directory li span { color: var(--muted); }
.directory li a { color: #fff; font-family: var(--f-mono); font-size: 13.5px; border-bottom: 1px solid rgba(0,231,255,.4); }
.directory li a:hover { color: var(--aqua); }
.directory p { color: var(--muted); font-size: 13.5px; }
.directory p b { color: var(--text-2); font-weight: 600; }
.channels__val { font-weight: 600; color: var(--midnight); }

/* ---------- Long-form: legal + essays ---------- */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--text-2); min-width: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: #fff; margin-top: 2.2em; scroll-margin-top: 100px; }
.prose h3 { font-size: 20px; color: #fff; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--aqua); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--aqua); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--aqua); color: var(--text); font-size: 1.08em; }

.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal .prose { max-width: 76ch; }
.legal .prose > h2:first-of-type { margin-top: 1.6em; }
.legal__toc { position: sticky; top: 100px; display: grid; gap: 14px; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 8px; }
.legal__toc .mono { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--text-2); transition: background .15s, color .15s; }
.legal__toc a:hover { background: rgba(255,255,255,.05); color: #fff; }
.legal__meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.legal__meta a { color: var(--aqua); }
.legal__contact { font-style: normal; margin-top: 2.4em; padding: 20px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); line-height: 1.7; }
.legal__contact strong { color: #fff; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; max-height: none; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); }
}

.essay__head { display: grid; gap: 22px; justify-items: start; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 48px); max-width: calc(860px + var(--gutter) * 2); }
.essay__head h1 { font-size: clamp(40px, 5.6vw, 76px); }
.essay__meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.crumbs { display: flex; gap: 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.essay__img { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); }
.essay__img img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.prose--essay { max-width: 68ch; margin: clamp(40px, 5vw, 64px) auto 0; font-size: 18.5px; }
.prose--essay > p:first-child { font-size: 1.15em; color: var(--text); }
