/* ============================================================
   Qedis — institutional privacy layer
   Brand palette: Deep Navy #071827 · Silver #C8CED6 ·
   Institutional Blue #3A6EA5 · Off White #F7F9FB
   ============================================================ */

:root {
  --navy:        #071827;
  --navy-1:      #0a1f33;
  --navy-2:      #0c2740;
  --silver:      #c8ced6;
  --silver-dim:  #8b97a6;
  --blue:        #3a6ea5;
  --blue-bright: #5c9bd6;
  --blue-glow:   rgba(92, 155, 214, 0.35);
  --off-white:   #f7f9fb;
  --white:       #ffffff;
  --ok:          #6fd6a8;

  --maxw: 1140px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--silver);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- background layers ---------- */
#lattice {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.55;
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(58,110,165,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,110,165,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(58,110,165,0.28), transparent 60%),
    radial-gradient(40% 40% at 85% 10%, rgba(92,155,214,0.12), transparent 60%);
}
main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- shared layout ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.1rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-lede {
  max-width: 56ch;
  margin-top: 1.1rem;
  font-size: 1.06rem;
  color: var(--silver);
}
.grad {
  background: linear-gradient(100deg, var(--white) 10%, var(--blue-bright) 60%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.98rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(100deg, var(--blue-bright), var(--blue));
  color: var(--white);
  box-shadow: 0 8px 30px -8px var(--blue-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--blue-glow); }
.btn--ghost {
  background: rgba(255,255,255,0.03);
  color: var(--off-white);
  border-color: rgba(200,206,214,0.22);
}
.btn--ghost:hover { border-color: var(--blue-bright); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  backdrop-filter: blur(10px);
  background: rgba(7,24,39,0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(7,24,39,0.9); border-bottom-color: rgba(58,110,165,0.2); }
.nav__logo { height: 30px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a {
  color: var(--silver); text-decoration: none; font-size: 0.92rem;
  transition: color 0.2s;
}
.nav__links a:not(.nav__cta):hover { color: var(--white); }
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px; background: var(--blue-bright); box-shadow: 0 0 10px var(--blue-glow); }
.nav__cta {
  padding: 0.5rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(92,155,214,0.4); color: var(--off-white) !important;
}
.nav__cta:hover { background: var(--blue); border-color: var(--blue); }
@media (max-width: 820px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.2rem, 4vw, 2rem) 4rem;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; gap: 2.5rem; } }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 1.4rem;
}
.hero__lede { font-size: 1.18rem; max-width: 52ch; color: var(--silver); }
.hero__lede em { color: var(--off-white); font-style: normal; border-bottom: 1px solid var(--blue); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1.6rem; }
.hero__assurances { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  color: var(--silver);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,206,214,0.16);
}

/* hero proof card */
.hero__proof { display: flex; justify-content: center; }
.proofcard {
  width: 100%; max-width: 360px;
  background: linear-gradient(160deg, rgba(12,39,64,0.9), rgba(7,24,39,0.85));
  border: 1px solid rgba(92,155,214,0.28);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
  font-family: var(--font-mono); font-size: 0.86rem;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.proofcard__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.proofcard__row span { color: var(--silver-dim); }
.proofcard__line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-top: 1px dashed rgba(200,206,214,0.12); color: var(--silver); }
.proofcard__line code { color: var(--blue-bright); }
.proofcard .ok { color: var(--ok); }
.proofcard__verdict {
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(92,155,214,0.25);
  font-size: 0.74rem; color: var(--silver-dim); text-align: center; letter-spacing: 0.02em;
}

/* ---------- subpage hero ---------- */
.subhero { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 2rem) 2.5rem; }
.subhero__inner { max-width: 60ch; }
.subhero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 1.3rem;
}
.subhero__lede { font-size: 1.12rem; max-width: 56ch; color: var(--silver); margin-bottom: 1.6rem; }
.subhero__lede strong { color: var(--off-white); }

/* ---------- bands & sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 4vw, 2rem); }
.section__head { max-width: 60ch; margin-bottom: 3rem; }
.band { padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 4vw, 2rem); }
.band--alt {
  background: linear-gradient(180deg, rgba(10,31,51,0) 0%, rgba(10,31,51,0.6) 50%, rgba(10,31,51,0) 100%);
  border-block: 1px solid rgba(58,110,165,0.12);
}
.band__inner { max-width: var(--maxw); margin: 0 auto; }

/* contrast block */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }
.contrast__col {
  padding: 1.7rem; border-radius: var(--radius);
  border: 1px solid rgba(200,206,214,0.14);
  background: rgba(255,255,255,0.02);
}
.contrast__col h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.contrast__col--them h3 { color: var(--silver-dim); }
.contrast__col--us {
  border-color: rgba(92,155,214,0.45);
  background: linear-gradient(160deg, rgba(58,110,165,0.12), rgba(255,255,255,0.02));
}
.contrast__col--us h3 { color: var(--white); }
.contrast__col ul { list-style: none; display: grid; gap: 0.7rem; }
.contrast__col li { position: relative; padding-left: 1.5rem; font-size: 0.96rem; }
.contrast__col--them li::before { content: "—"; position: absolute; left: 0; color: var(--silver-dim); }
.contrast__col--us li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-glow);
}
.contrast__col b { color: var(--off-white); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 1.7rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(200,206,214,0.12);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(92,155,214,0.4); background: rgba(58,110,165,0.07); }
.pillar h3 { font-family: var(--font-display); color: var(--white); font-size: 1.12rem; margin: 1rem 0 0.6rem; }
.pillar p { font-size: 0.94rem; }
.pillar__icon { width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(150deg, rgba(92,155,214,0.25), rgba(58,110,165,0.1));
  border: 1px solid rgba(92,155,214,0.35); position: relative;
}
.pillar__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px;
  background: var(--blue-bright); -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.pillar__icon[data-icon="lock"]::after  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.pillar__icon[data-icon="proof"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E"); }
.pillar__icon[data-icon="key"]::after   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='5'/%3E%3Cpath d='M11.5 11.5L21 21M16 16l3-3M19 19l2-2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='5'/%3E%3Cpath d='M11.5 11.5L21 21M16 16l3-3M19 19l2-2'/%3E%3C/svg%3E"); }
.pillar__icon[data-icon="chain"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M9 12a3 3 0 0 1 3-3h3a3 3 0 0 1 0 6h-1.5M15 12a3 3 0 0 1-3 3H9a3 3 0 0 1 0-6h1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M9 12a3 3 0 0 1 3-3h3a3 3 0 0 1 0 6h-1.5M15 12a3 3 0 0 1-3 3H9a3 3 0 0 1 0-6h1.5'/%3E%3C/svg%3E"); }

/* flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; counter-reset: step; }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr; } }
.flow--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .flow--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow--four { grid-template-columns: 1fr; } }
.flow__step {
  padding: 1.7rem; border-radius: var(--radius);
  background: rgba(7,24,39,0.5);
  border: 1px solid rgba(200,206,214,0.12);
  position: relative; overflow: hidden;
}
.flow__step::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--blue-bright), transparent);
}
.flow__num { font-family: var(--font-mono); color: var(--blue-bright); font-size: 0.85rem; letter-spacing: 0.1em; }
.flow__step h3 { font-family: var(--font-display); color: var(--white); margin: 0.6rem 0; font-size: 1.2rem; }
.flow__step p { font-size: 0.94rem; }
.footnote { margin-top: 1.8rem; font-size: 0.9rem; color: var(--silver-dim); max-width: 70ch; }

/* capabilities grid */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  padding: 1.5rem; border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(200,206,214,0.12);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cap:hover { border-color: rgba(92,155,214,0.4); transform: translateY(-3px); }
.cap h4 { font-family: var(--font-display); color: var(--white); font-size: 1.02rem; margin-bottom: 0.5rem; }
.cap p { font-size: 0.92rem; }

/* institutions */
.inst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .inst-grid { grid-template-columns: 1fr; } }
.inst { padding: 1.6rem 1.7rem; border-left: 2px solid var(--blue); background: rgba(255,255,255,0.015); border-radius: 0 12px 12px 0; }
.inst h3 { font-family: var(--font-display); color: var(--white); font-size: 1.12rem; margin-bottom: 0.5rem; }
.inst p { font-size: 0.95rem; }

/* attributes strip */
.strip {
  max-width: var(--maxw); margin: 1rem auto; padding: 1.4rem clamp(1.2rem, 4vw, 2rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 5vw, 3.5rem);
  border-block: 1px solid rgba(58,110,165,0.15);
}
.strip__item { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); color: var(--off-white); letter-spacing: 0.02em; }
.strip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 12px var(--blue-glow); }

/* final CTA */
.cta-final { padding: clamp(4rem, 10vw, 7rem) clamp(1.2rem, 4vw, 2rem); text-align: center; }
.cta-final__inner { max-width: 720px; margin: 0 auto; }
.cta-final__mark { width: 56px; height: auto; margin-bottom: 1.5rem; opacity: 0.95; }
.cta-final h2 { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: clamp(1.8rem, 4.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.01em; }
.cta-final p { margin-top: 1.1rem; font-size: 1.08rem; }
.cta-final__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1rem; }
.cta-final__addr { font-family: var(--font-mono); color: var(--blue-bright); font-size: 0.9rem; }

/* footer */
.footer { border-top: 1px solid rgba(58,110,165,0.18); background: rgba(5,17,28,0.7); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 3rem clamp(1.2rem, 4vw, 2rem);
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.footer__logo { height: 34px; margin-bottom: 0.8rem; }
.footer__tag { font-family: var(--font-display); color: var(--silver); font-size: 0.95rem; }
.footer__meta { text-align: right; font-size: 0.85rem; color: var(--silver-dim); }
.footer__meta p { margin-bottom: 0.4rem; }
.footer__meta strong { color: var(--silver); }
.footer__link { color: var(--silver); text-decoration: none; border-bottom: 1px solid rgba(92,155,214,0.4); }
.footer__link:hover { color: var(--white); }
.footer__copy { margin-top: 0.8rem; line-height: 1.5; }
@media (max-width: 600px) { .footer__inner { flex-direction: column; } .footer__meta { text-align: left; } }

/* ---------- hero watermark (ghosted Q, echoes the brand art) ---------- */
.hero { position: relative; }
.hero__inner, .hero__proof { position: relative; z-index: 1; }
.hero__watermark {
  position: absolute; z-index: 0; pointer-events: none;
  left: clamp(-180px, -10vw, -80px); top: 50%; transform: translateY(-50%);
  width: clamp(360px, 42vw, 620px); aspect-ratio: 1;
  background: url("/assets/logos/qedis-icon-white-1024.png") no-repeat center / contain;
  opacity: 0.05;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
@media (max-width: 920px) { .hero__watermark { display: none; } }

/* ---------- live proof card (self-running) ---------- */
.proofcard__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 0.85rem; margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(92,155,214,0.22);
}
.proofcard__name { color: var(--silver); font-size: 0.82rem; }
.live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ok); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(111,214,168,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,214,168,0.5); } 70% { box-shadow: 0 0 0 8px rgba(111,214,168,0); } 100% { box-shadow: 0 0 0 0 rgba(111,214,168,0); } }
.proofcard__line span:first-child { color: var(--silver-dim); }
#commit { color: var(--blue-bright); }
.proofcard__line .mark { color: var(--ok); opacity: 0; transform: translateX(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.proofcard__line.done .mark { opacity: 1; transform: none; }
.proofcard__verdict { transition: color 0.4s, border-color 0.4s; }
.proofcard__verdict.ok { color: var(--ok); border-top-color: rgba(111,214,168,0.4); text-shadow: 0 0 18px rgba(111,214,168,0.35); }

/* ---------- credibility / stats band ---------- */
.stats { max-width: var(--maxw); margin: 0 auto; padding: 1rem clamp(1.2rem, 4vw, 2rem) 1.5rem; }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(58,110,165,0.10), rgba(255,255,255,0.015));
  border: 1px solid rgba(92,155,214,0.2);
}
@media (max-width: 760px) { .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
.stat { display: flex; flex-direction: column; gap: 0.35rem; text-align: center; }
.stat__big {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  background: linear-gradient(100deg, var(--white), var(--blue-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -0.01em;
}
.stat__cap { font-size: 0.82rem; color: var(--silver-dim); line-height: 1.4; }

/* ---------- brand showcase band (official hero art) ---------- */
/* The hero art has the wordmark + tagline baked in and a navy background that matches
   the page, so we show the WHOLE image (no cropping). The box takes the image's aspect
   ratio, so `cover` fills it without clipping the tagline; max-height caps it on very wide
   screens (only trims empty navy top/bottom, never the centered wordmark). */
.showcase { position: relative; overflow: hidden; background: #0b2236; }
.showcase__img {
  width: 100%;
  aspect-ratio: 2400 / 900;
  max-height: 58vh;
  background: url("/assets/social/qedis-hero.png") no-repeat center center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

/* ---------- footer social ---------- */
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  color: var(--silver); background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,206,214,0.16);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.footer__social a:hover { color: var(--white); border-color: var(--blue-bright); background: rgba(58,110,165,0.18); transform: translateY(-2px); }

/* ---------- 404 ---------- */
.notfound {
  position: relative; z-index: 1;
  min-height: 82vh; max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem clamp(1.2rem, 4vw, 2rem);
}
.notfound__mark { width: 60px; height: auto; margin-bottom: 1.4rem; opacity: 0.95; }
.notfound__title { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.08; margin-bottom: 0.9rem; }
.notfound__lede { font-size: 1.08rem; margin-bottom: 2rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
