/* ═══════════════════════════════════════════════════════════════
   QUANTOS — Shared stylesheet
   Single source of truth for variables, reset, nav, footer,
   buttons, and utilities. Imported by every page.
   Page-specific styles live in quantos-linear.css (index)
   and quantos.css (sub-pages).
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Backgrounds */
 --bg: #09090b;
--surface-1: #151517;
--surface-2: #1d1d20;
--surface-3: #121214;
--surface-4: #252529;

  /* Lines */
  --line: rgba(242,242,238,0.10);
  --line-2: rgba(242,242,238,0.16);
  --line-3: rgba(242,242,238,0.32);

  /* Ink */
  --ink-1: #f4f4ef;
  --ink-2: #e2e2da;
  --ink-3: #c4c6c1;
  --ink-4: #9a9f9d;
  --ink-5: #7f8583;

  /* Monochrome accent */
  --em: #f2f2ee;
  --em-hi: #ffffff;
  --em-lo: #c4c6c1;
  --em-ink: #f4f4ef;
  --em-08: rgba(242,242,238,0.08);
  --em-12: rgba(242,242,238,0.12);
  --em-20: rgba(242,242,238,0.22);
  --em-40: rgba(242,242,238,0.44);

  /* Semantic */
  --red: #f2f2ee;
  --red-dim: rgba(242,242,238,0.10);
  --amber: #e2e2da;
  --amber-dim: rgba(242,242,238,0.10);
  --cyan: #f2f2ee;

  /* Layout */
  --nav-h: 56px;
  --page-max: 1180px;
  --page-pad: 32px;

  /* Type — mono scale */
  --fs-mono-xxs: 10px;
  --fs-mono-xs: 11px;
  --fs-mono-sm: 12px;
  --fs-mono-md: 14px;
  --fs-mono-base: 15px;
  --fs-mono-lg: 16px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 10px;
  --r-lg: 10px;
  --r-xl: 10px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Section padding */
  --sec-pad: 80px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: #09090b;
  background-image:
    radial-gradient(
      circle,
      rgba(255,255,255,0.022) 1px,
      transparent 1.2px
    ),
    radial-gradient(
      ellipse at 45% 32%,
      #323236 0%,
      #222225 42%,
      #151517 72%,
      #09090b 100%
    );
  background-size:
    24px 24px,
    100% 100%;
  background-attachment: fixed;

  color: var(--ink-1);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: var(--em-40); color: #fff; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 2px; border-radius: 6px; }

/* ── Layout ─────────────────────────────────────────────────── */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  width: 100%;
}
@media (max-width: 640px) {
  .hero-industries .page {
    padding: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

/* ── Type primitives ────────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fs-mono-xs); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--em);
}

.divider { height: 1px; background: var(--line); }

/* ── Utilities ──────────────────────────────────────────────── */
.mono { font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  background: var(--em-08); border: 1px solid var(--em-20); color: var(--em);
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fs-mono-xs); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.pill--neutral { background: var(--surface-2); border-color: var(--line-2); color: var(--ink-3); }
.pill--amber { background: var(--amber-dim); border-color: rgba(245,158,11,0.25); color: var(--amber); }
.pill--red { background: var(--red-dim); border-color: rgba(239,68,68,0.25); color: var(--red); }

/* ═══ BUTTONS ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-sm);
  font-size: var(--fs-mono-base); font-weight: 600;
  transition: all 160ms var(--ease);
  border: 1px solid transparent;
  white-space: nowrap; text-decoration: none;
  cursor: pointer;
}
.btn svg { width: 14px; height: 14px; }
.btn--primary { background: var(--em); color: #0a0a0b; }
.btn--primary:hover { background: var(--em-hi); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(226,226,218,0.45); }
.btn--ghost { color: var(--ink-2); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--ink-1); border-color: var(--line-3); background: var(--surface-2); }
.btn--pri { background: var(--em); color: #0a0a0b; border: none; padding: 10px 16px; border-radius: var(--r-sm); font-size: var(--fs-mono-md); font-weight: 600; }
.btn--pri:hover { background: var(--em-hi); }
.btn--sec { background: transparent; color: var(--ink-3); border: 1px solid var(--line); padding: 10px 16px; border-radius: var(--r-sm); font-size: var(--fs-mono-md); font-weight: 500; }
.btn--sec:hover { color: var(--ink-1); border-color: var(--line-2); }
.btn--sm { padding: 8px 14px; font-size: var(--fs-mono-md); border-radius: 8px; }
/* ═══ NEXT-ALIGNED NAV / FOOTER ═══════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 64px;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.nav__inner {
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 180ms ease;
}

.nav__brand:hover { opacity: 1; }

.nav__brand img,
.nav__logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav__links {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.nav__link {
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 180ms ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--ink-1);
  background: transparent;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav__cta:hover {
  border-color: var(--line-3);
  background: rgba(242, 242, 238, 0.045);
  color: var(--ink-1);
  transform: none;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  color: var(--ink-4);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav__menu-btn:hover {
  color: var(--ink-1);
  border-color: var(--line-3);
}

/* Dropdowns */
.nav__drop { position: relative; }

.nav__dropdown,
.nav__drop-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 300px;
  padding: 16px;
  background: rgba(15, 15, 17, 0.96);
  border: 1px solid var(--line-2);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  display: flex;
  gap: 24px;
  z-index: 200;
}

.nav__drop-menu {
  left: 0;
  transform: translateY(-6px);
  min-width: 220px;
  display: block;
  list-style: none;
}

.nav__drop:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__drop:hover .nav__drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.nav__dropdown-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}

.nav__dropdown a,
.nav__drop-menu li a {
  display: block;
  padding: 7px 0;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  transition: color 160ms ease;
}

.nav__dropdown a:hover,
.nav__drop-menu li a:hover {
  color: var(--ink-1);
  background: transparent;
}

.nav__drop-menu li a span {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
}

.nav__drop-menu li a small {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* Mobile navigation */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 70;
  min-height: calc(100svh - 72px);
  padding: 32px;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  overflow-y: auto;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.nav__mobile.open { display: block; }

.nav__mobile-group-title {
  margin: 28px 0 10px;
  color: var(--ink-4);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav__mobile a {
  display: block;
  padding: 14px 0;
  border-bottom: none;
  color: var(--ink-3);
  font-size: clamp(24px, 6vw, 48px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  transition: color 180ms ease;
}

.nav__mobile a:hover { color: var(--ink-1); }

.nav-caret {
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  position: relative;
  top: -1px;
  opacity: 0.65;
}

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .nav__inner { padding: 0 20px; }
  .nav__brand img,
  .nav__logo { height: 22px; }
  .nav__cta { display: none; }
}

/* ═══ NEXT-ALIGNED FOOTER ════════════════════════════════════ */

.footer--quantos {
  padding: 0;
  border-top: 1px solid var(--line);
  background: rgba(9, 9, 11, 0.92);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.footer--quantos .page {
  max-width: 1280px;
  padding: 0 32px;
}

.footerQ__brand {
  margin: 0 0 20px;
  display: block;
}

.footerQ__brand img {
  height: 32px;
  width: auto;
  opacity: 0.95;
  display: block;
}

.footerQ__top {
  max-width: 560px;
  margin: 0 0 0;
}

.footerQ__headline {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
}

.footerQ__subhead {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
}

.footerQ__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.75fr 1fr;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.footerQ__label {
  display: block;
  margin: 0 0 20px;
  color: var(--ink-4);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footerQ__links {
  display: grid;
  gap: 12px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.footerQ__links a,
.footerQ__groupText a {
  color: inherit;
  transition: color 180ms ease;
}

.footerQ__links a:hover,
.footerQ__groupText a:hover {
  color: var(--ink-1);
}

.footerQ__group {
  margin-bottom: 16px;
}

.footerQ__group:last-child { margin-bottom: 0; }

.footerQ__groupTitle {
  margin-bottom: 5px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
}

.footerQ__groupText {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.footerQ__meta {
  margin: 0;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.footerQ__metaRow {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr;
  gap: 40px;
  color: var(--ink-3);
}

.footerQ__metaBlock {
  display: block;
}

.footerQ__metaText {
  margin: 0;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
}

.footerQ__bottom {
  padding: 32px 0;
  border-top: none;
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footerQ__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footerQ__legal a {
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
  text-transform: none;
  transition: color 180ms ease;
}

.footerQ__legal a:hover { color: var(--ink-1); }

@media (max-width: 980px) {
  .footerQ__grid,
  .footerQ__metaRow {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .footer--quantos .page { padding: 0 22px; }
  .footerQ__grid { padding: 44px 0; }
  .footerQ__brand img { height: 28px; }
  .footerQ__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   QUANTOS SUPASTE NAV OVERRIDE
   ============================================================ */

.nav {
  position: sticky;
  top: 12px;
  left: auto;
  right: auto;
  z-index: 100;

  width: calc(100% - 32px);
  max-width: 1380px;
  height: 60px;
  margin: 12px auto 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.075) 0%,
      rgba(255,255,255,0.025) 42%,
      rgba(255,255,255,0.012) 100%
    ),
    rgba(10,10,12,0.58);

  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;

  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);

  box-shadow:
    0 20px 70px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(255,255,255,0.025);

  overflow: visible;
}

.nav__inner {
  width: 100%;
  height: 58px;
  max-width: none;
  margin: 0;
  padding: 0 12px 0 18px;
  gap: 24px;
}

.nav__brand {
  min-width: 170px;
  opacity: 1;
}

.nav__brand img,
.nav__logo {
  height: 27px;
  width: auto;
}

.nav__links {
  justify-content: center;
  gap: 4px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;

  border-radius: 11px;

  color: rgba(244, 244, 239, 0.62);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.055);
}

.nav__cta {
  height: 38px;
  padding: 0 18px;

  background: #f2f2ee;
  border: 1px solid #f2f2ee;
  border-radius: 12px;

  color: #09090b;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;

  box-shadow: none;
}

.nav__cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #09090b;
  transform: none;
}

.nav__menu-btn {
  height: 38px;
  min-width: 72px;
  padding: 0 14px;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;

  color: var(--ink-2);
}

.nav__dropdown,
.nav__drop-menu {
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.07),
      rgba(255,255,255,0.018)
    ),
    rgba(10,10,12,0.72);

  border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(28px) saturate(135%);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
}

.nav__dropdown a,
.nav__drop-menu li a {
  padding: 9px 10px;
  border-radius: 8px;
}

.nav__dropdown a:hover,
.nav__drop-menu li a:hover {
  background: rgba(255, 255, 255, 0.055);
}

.nav__mobile {
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.07),
      rgba(255,255,255,0.018)
    ),
    rgba(10,10,12,0.78);

  border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
}

.nav__mobile.open {
  display: block;
}

.nav__mobile-group-title {
  margin: 24px 0 8px;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.nav__mobile-group-title:first-child {
  margin-top: 0;
}

.nav__mobile a {
  padding: 10px 0;

  color: rgba(244, 244, 239, 0.62);
  font-size: clamp(21px, 6vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.nav__mobile a:hover {
  color: #ffffff;
}

@media (max-width: 1180px) {
  .nav {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .nav__inner {
    padding: 0 10px 0 16px;
  }

  .nav__brand {
    min-width: 0;
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .nav {
    top: 8px;
    width: calc(100% - 16px);
    height: 56px;
    margin-top: 8px;
    border-radius: 16px;
  }

  .nav__inner {
    height: 54px;
    padding: 0 8px 0 14px;
  }

  .nav__brand img,
  .nav__logo {
    height: 23px;
  }

  .nav__cta {
    display: none;
  }

  .nav__menu-btn {
    height: 36px;
    min-width: 68px;
    border-radius: 10px;
  }

  .nav__mobile {
    top: 8px;
    right: 8px;
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
    padding: 70px 24px 24px;
    border-radius: 18px;
  }
}

/* ============================================================
   QUANTOS RIGHT CLUSTER NAV FINAL
   Logo left / compact glass navigation capsule right
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: none;
  height: 88px;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.nav__inner {
  width: 100%;
  max-width: 1440px;
  height: 88px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav__brand {
  min-width: 0;
  flex: 0 0 auto;
}

.nav__brand img,
.nav__logo {
  height: 28px;
  width: auto;
}

.nav__cluster {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.075) 0%,
      rgba(255,255,255,0.025) 45%,
      rgba(255,255,255,0.012) 100%
    ),
    rgba(9,9,11,0.68);

  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;

  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);

  box-shadow:
    0 16px 48px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.09);
}

.nav__links {
  flex: 0 1 auto;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
}

.nav__link {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;

  color: rgba(244,244,239,0.66);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.10em;
}

.nav__link:hover,
.nav__link.active {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  height: 38px;
  padding: 0 17px;
  margin-left: 3px;

  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9px;
  background: rgba(242,242,238,0.94);

  color: #09090b;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.nav__cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #09090b;
}

.nav__menu-btn {
  height: 38px;
  min-width: 70px;
  padding: 0 14px;
  border-radius: 9px;
  background: rgba(255,255,255,0.055);
}

.nav__dropdown,
.nav__drop-menu {
  top: calc(100% + 14px);
  background: rgba(10,10,12,0.94);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

@media (max-width: 1180px) {
  .nav {
    height: 76px;
  }

  .nav__inner {
    height: 76px;
    padding: 0 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 68px;
  }

  .nav__inner {
    height: 68px;
    padding: 0 14px 0 18px;
  }

  .nav__brand img,
  .nav__logo {
    height: 22px;
  }

  .nav__cluster {
    padding: 4px;
    border-radius: 12px;
  }

  .nav__cta {
    display: none;
  }

  .nav__menu-btn {
    height: 36px;
    min-width: 66px;
    border-radius: 8px;
  }
}

/* ============================================================
   QUANTOS AUTO-HIDE HEADER — SINGLE FINAL CONTROL
   ============================================================ */

.nav {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  z-index: 1000;

  width: 100%;
  height: 88px;
  margin: 0;

  background: transparent;
  border: 0;
  box-shadow: none;

  transform: translateY(0) !important;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform;
}

.nav.nav--hidden {
  transform: translateY(-100%) !important;
}

.nav__inner {
  position: relative;
  width: 100%;
  height: 88px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
}

main {
  position: relative;
  z-index: 1;
}

@media (max-width: 1180px) {
  .nav,
  .nav__inner {
    height: 76px;
  }
}

@media (max-width: 640px) {
  .nav,
  .nav__inner {
    height: 68px;
  }
}
/* QUANTOS FOOTER TYPOGRAPHY FIX START */

/* Use Geist for readable footer copy. */
.footer--quantos {
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}

/* Keep compact technical labels in IBM Plex Mono. */
.footerQ__label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  color: rgba(244, 244, 239, 0.58);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.20em;
}

/* Brand statement. */
.footerQ__headline {
  color: rgba(244, 244, 239, 0.90);
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: -0.01em;
}

/* Supporting description. */
.footerQ__subhead {
  color: rgba(244, 244, 239, 0.72);
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.008em;
}

/* Navigation links. */
.footerQ__links {
  gap: 10px;
  color: rgba(244, 244, 239, 0.78);
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.6;
  letter-spacing: -0.006em;
}

.footerQ__links a:hover,
.footerQ__groupText a:hover {
  color: #ffffff;
}

/* Footer paragraph copy. */
.footerQ__groupTitle {
  color: rgba(244, 244, 239, 0.86);
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.footerQ__groupText {
  color: rgba(244, 244, 239, 0.74);
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.006em;
}

/* Address and institutional details. */
.footerQ__metaText {
  color: rgba(244, 244, 239, 0.76);
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.004em;
}

/* Keep legal metadata technical but readable. */
.footerQ__bottom,
.footerQ__legal,
.footerQ__legal a {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  color: rgba(244, 244, 239, 0.58);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .footerQ__headline,
  .footerQ__subhead,
  .footerQ__links,
  .footerQ__groupTitle,
  .footerQ__groupText {
    font-size: 14px;
  }

  .footerQ__metaText {
    font-size: 13px;
  }
}

/* QUANTOS FOOTER TYPOGRAPHY FIX END */
/* QUANTOS BUTTON RADIUS STANDARD START */

/*
  Buttons use one institutional rounded-rectangle shape.
  Pills, chips, cards, panels, dots and circular controls are excluded.
*/

.btn,
.btn--primary,
.btn--ghost,
.btn--pri,
.btn--sec,
.btn--sm,
.nav__cta,
.nav__menu-btn,
.def-cta,
button.btn,
a.btn,
input[type="submit"],
input[type="button"] {
  border-radius: 10px !important;
}

/* QUANTOS BUTTON RADIUS STANDARD END */

/* QUANTOS GLOBAL SITE BACKGROUND START */

/*
  One static background across the complete website.
  Cards, panels, tables and component surfaces retain their own backgrounds.
*/

html {
  background-color: #050608;
}

body {
  background-color: #050608 !important;
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 6, 8, 0.14) 0%,
      rgba(5, 6, 8, 0.24) 48%,
      rgba(5, 6, 8, 0.48) 100%
    ),
    url("../assets/logos/quantos-hero.png") !important;

  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Main page shell remains transparent. Individual sections are controlled below. */
body main {
  background: transparent !important;
}

body .qx-hero {
  background-color: transparent !important;
}

/* Remove any page-specific hero pseudo background. */
body .qx-hero::before {
  content: none !important;
  display: none !important;
  animation: none !important;
}

/* Navigation remains readable while showing the background underneath. */
body .nav {
  background: rgba(9, 9, 11, 0.22) !important;
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
}

/* Footer remains part of the same visual field. */
body .footer--quantos {
  background: rgba(9, 9, 11, 0.72) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Existing component surfaces stay intact. */
body .card,
body .panel,
body .prob,
body .det,
body .fvr__strip,
body .calc__frame,
body .vol__recorder,
body .ind-scen__card,
body .ind-signals,
body .stack-map,
body .policy-intro,
body .int-flow,
body .int-obj__cell {
  background-image: none;
}

@media (max-width: 640px) {
  body {
    background-position: 42% top !important;
    background-attachment: scroll !important;
  }
}

/* QUANTOS SECTION SURFACE SYSTEM START */

:root {
  --q-section-clear: transparent;
  --q-section-soft: rgba(7, 8, 10, 0.08);
  --q-section-dense: rgba(7, 8, 10, 0.16);
}

/*
  Normal website sections alternate between soft and dense surfaces.
  Only background colour is changed. Background images are untouched.
*/
body main > section:not(.qx-hero):not(.arch):not(.hero-industries):not([class*="pagehead"]):not([class*="def-"]):not([class*="br-"]) {
  position: relative;
  background-color: var(--q-section-soft) !important;
}

body main > section:not(.qx-hero):not(.arch):not(.hero-industries):not([class*="pagehead"]):not([class*="def-"]):not([class*="br-"]):nth-of-type(even) {
  background-color: var(--q-section-dense) !important;
}

/*
  Photo and specialised presentation sections remain unchanged.
*/
body main > section.qx-hero,
body main > section.arch,
body main > section.hero-industries,
body main > section[class*="pagehead"],
body main > section[class*="def-"],
body main > section[class*="br-"] {
  background-color: transparent;
}

/*
  Homepage-controlled section rhythm.
*/
body.home-page #problem {
  background-color: var(--q-section-soft) !important;
}

body.home-page section.stats {
  background-color: var(--q-section-dense) !important;
}

body.home-page #intro {
  background-color: var(--q-section-clear) !important;
}

body.home-page #det-proof {
  background-color: var(--q-section-soft) !important;
}

body.home-page #forecast {
  background-color: var(--q-section-dense) !important;
}

body.home-page #calc {
  background-color: var(--q-section-soft) !important;
}

body.home-page #lifecycle {
  background-color: var(--q-section-dense) !important;
}

body.home-page #vs {
  background-color: var(--q-section-soft) !important;
}

body.home-page #governance {
  background-color: var(--q-section-dense) !important;
}

body.home-page #pilots {
  background-color: var(--q-section-soft) !important;
}

body.home-page #cta {
  background-color: var(--q-section-dense) !important;
}

/*
  Component surfaces remain controlled by their existing CSS.
  No card, table, form, panel, screenshot, or architecture rule is changed.
*/

@media (max-width: 640px) {
  :root {
    --q-section-soft: rgba(7, 8, 10, 0.12);
    --q-section-dense: rgba(7, 8, 10, 0.22);
  }
}

/* QUANTOS SECTION SURFACE SYSTEM END */

/* QUANTOS GLOBAL SITE BACKGROUND END */



/* QUANTOS ARCHITECTURE SECTION FIX START */

/* The section shows the global website background. */
body main > section.arch,
body main > section.arch.sec,
body #arch {
  background-color: transparent !important;
  background-image: none !important;
}

/* The architecture system itself remains a contained panel. */
body #arch .arch__frame {
  background:
    linear-gradient(
      180deg,
      rgba(34, 34, 38, 0.92) 0%,
      rgba(8, 8, 10, 0.96) 100%
    ) !important;

  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 12px !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

/* QUANTOS ARCHITECTURE SECTION FIX END */

/* QUANTOS FINAL ENTERPRISE CARD SYSTEM START */

:root {
  --q-enterprise-card-top: rgba(16, 16, 19, 0.96);
  --q-enterprise-card-bottom: rgba(5, 5, 7, 0.98);

  --q-enterprise-card-border: rgba(255, 255, 255, 0.075);
  --q-enterprise-card-border-hover: rgba(255, 255, 255, 0.13);

  --q-enterprise-card-shadow:
    0 10px 26px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.018);

  --q-enterprise-card-shadow-hover:
    0 14px 34px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.024);

  --q-enterprise-card-radius: 10px;
}

/*
  Repeating content cards only.

  Excluded intentionally:
  architecture, deterministic system, forecast table,
  calculator frame, lifecycle recorder, comparison table,
  forms, photo headers, Defence panels and system consoles.
*/

body .card,
body .prob,
body .stats__item,
body .proof__stat,
body .trust__cell,
body .ind-scen__card,
body .int-obj__cell,
body .stack-map__cell,
body .ind-signals__cell,
body .di-cell,
body .pat__cell,
body .policy-intro {
  background:
    linear-gradient(
      180deg,
      var(--q-enterprise-card-top) 0%,
      var(--q-enterprise-card-bottom) 100%
    ) !important;

  border: 1px solid var(--q-enterprise-card-border) !important;
  border-radius: var(--q-enterprise-card-radius) !important;

  box-shadow: var(--q-enterprise-card-shadow);

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

/*
  Grid containers retain their structural divider background.
  Only the cells receive the card treatment.
*/

body .trust__grid,
body .stack-map,
body .ind-signals {
  box-shadow: none !important;
}

/*
  Restrained desktop hover.
  No glow, colour change or exaggerated movement.
*/

@media (hover: hover) and (pointer: fine) {
  body .card:hover,
  body .prob:hover,
  body .stats__item:hover,
  body .proof__stat:hover,
  body .trust__cell:hover,
  body .ind-scen__card:hover,
  body .int-obj__cell:hover,
  body .stack-map__cell:hover,
  body .ind-signals__cell:hover,
  body .di-cell:hover,
  body .pat__cell:hover {
    border-color: var(--q-enterprise-card-border-hover) !important;
    box-shadow: var(--q-enterprise-card-shadow-hover);
    transform: translateY(-1px);
  }
}

/*
  Embedded cards inside joined grids should not create
  double-rounded corners or broken divider lines.
*/

body .trust__grid .trust__cell,
body .stack-map .stack-map__cell,
body .ind-signals .ind-signals__cell {
  border-radius: 0 !important;
  box-shadow: none;
}

/*
  First and last cells preserve the outer container geometry.
*/

body .trust__grid .trust__cell:first-child,
body .stack-map .stack-map__cell:first-child,
body .ind-signals .ind-signals__cell:first-child {
  border-top-left-radius: var(--q-enterprise-card-radius) !important;
  border-bottom-left-radius: var(--q-enterprise-card-radius) !important;
}

body .trust__grid .trust__cell:last-child,
body .stack-map .stack-map__cell:last-child,
body .ind-signals .ind-signals__cell:last-child {
  border-top-right-radius: var(--q-enterprise-card-radius) !important;
  border-bottom-right-radius: var(--q-enterprise-card-radius) !important;
}

/*
  Explicit exclusions.
*/

body .arch__frame,
body .arch__detail,
body .arch__log,
body .det,
body .det__run,
body .det__hash,
body .det__verdict,
body .fvr__strip,
body .calc__frame,
body .calc__cost,
body .calc__surface,
body .vol__recorder,
body .vs,
body .proof__pilot,
body .br-form,
body .br-agenda,
body .di-command,
body .fracture-map,
body .pagehead--photo,
body .def-panel,
body .ind-panel {
  transform: none;
}

/*
  Mobile keeps the same visual system with reduced depth.
*/

@media (max-width: 640px) {
  body .card,
  body .prob,
  body .stats__item,
  body .proof__stat,
  body .trust__cell,
  body .ind-scen__card,
  body .int-obj__cell,
  body .stack-map__cell,
  body .ind-signals__cell,
  body .di-cell,
  body .pat__cell,
  body .policy-intro {
    border-radius: 8px !important;

    box-shadow:
      0 7px 20px rgba(0, 0, 0, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.016);
  }

  body .trust__grid .trust__cell,
  body .stack-map .stack-map__cell,
  body .ind-signals .ind-signals__cell {
    border-radius: 0 !important;
  }
}

/* QUANTOS FINAL ENTERPRISE CARD SYSTEM END */

/* QUANTOS LARGE SYSTEM PANEL COLOR START */

:root {
--q-system-panel-top: rgba(14, 14, 17, 0.98);
--q-system-panel-bottom: rgba(4, 4, 6, 0.99);

--q-system-panel-bar: rgba(255, 255, 255, 0.018);
--q-system-panel-footer: rgba(2, 2, 4, 0.54);

--q-system-panel-border: rgba(255, 255, 255, 0.075);
--q-system-panel-divider: rgba(255, 255, 255, 0.065);
}

/*
Large system and institutional panels only.
Layout, spacing, radius and component structure are unchanged.
*/

body .arch__frame,
body .det,
body .fvr__strip,
body .calc__frame,
body .vol__recorder,
body .vs,
body .proof__pilot,
body .br-form,
body .br-agenda,
body .di-command,
body .fracture-map,
body .manifesto,
body .cyclep,
body .pat__panel {
background:
linear-gradient(
180deg,
var(--q-system-panel-top) 0%,
var(--q-system-panel-bottom) 100%
) !important;

border-color: var(--q-system-panel-border) !important;
}

/*
Top chrome and title bars.
*/

body .arch__chrome,
body .det__bar,
body .fvr__strip-bar,
body .vol__bar,
body .cyclep__panel-head {
background: var(--q-system-panel-bar) !important;
border-bottom-color: var(--q-system-panel-divider) !important;
}

/*
Bottom status, control and summary bars.
*/

body .fvr__foot,
body .det__controls,
body .calc__assumptions,
body .vol__footer {
background: var(--q-system-panel-footer) !important;
border-top-color: var(--q-system-panel-divider) !important;
}

/*
Internal system rows remain near-black without changing
table structure, typography or spacing.
*/

body .fvr__table tbody tr,
body .vol__event,
body .det__grid,
body .arch__detail,
body .arch__log,
body .calc__cost,
body .calc__surface {
background-color: rgba(5, 5, 7, 0.30);
}

/*
Explicitly leave photographs and repeating content cards alone.
*/

body .pagehead--photo,
body .pagehead--photo .pagehead__bg,
body .def-panel,
body .def-panel__bg,
body .ind-panel,
body .ind-panel__img,
body .hero__shot {
background-color: initial;
}

/* QUANTOS LARGE SYSTEM PANEL COLOR END */

/* QUANTOS FINAL PUBLIC MOBILE SYSTEM START */

/* One shared public navigation system for every page. */
html.nav-menu-open,
body.nav-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Keep the website background visible on tablets and phones. */
@media (max-width: 980px) {
  html,
  body {
    min-width: 320px;
    overflow-x: clip !important;
  }

  body {
    background-color: #050608 !important;
    background-image:
      linear-gradient(
        180deg,
        rgba(5, 6, 8, 0.08) 0%,
        rgba(5, 6, 8, 0.20) 48%,
        rgba(5, 6, 8, 0.40) 100%
      ),
      url("../assets/logos/quantos-hero.png") !important;
    background-position: 50% top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }

  body main {
    background: transparent !important;
  }

  body .nav,
  body .nav__inner {
    height: 72px !important;
  }

  body .nav__inner {
    padding: 0 22px !important;
    gap: 14px !important;
  }

  body .nav__brand {
    min-width: 0 !important;
    flex: 0 1 auto;
    overflow: hidden;
  }

  body .nav__brand img,
  body .nav__logo {
    width: auto !important;
    max-width: min(220px, calc(100vw - 250px)) !important;
    height: 24px !important;
  }

  body .nav__links {
    display: none !important;
  }

  body .nav__menu-btn {
    display: inline-flex !important;
    min-width: 62px !important;
    height: 36px !important;
    padding: 0 11px !important;
    font-size: 8.5px !important;
    letter-spacing: 0.14em !important;
  }

  /* Tablet keeps the briefing action in the header. */
  body .nav__cta {
    display: inline-flex !important;
    height: 36px !important;
    padding: 0 14px !important;
    font-size: 8.5px !important;
    letter-spacing: 0.11em !important;
  }

  body .nav__mobile {
    display: block !important;
    position: fixed !important;
    top: 72px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 990 !important;

    width: min(520px, 100vw) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding:
      28px
      30px
      calc(96px + env(safe-area-inset-bottom)) !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    background:
      linear-gradient(180deg, rgba(10,10,12,.985), rgba(5,5,7,.995)) !important;
    border: 0 !important;
    border-left: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 0 !important;
    box-shadow: -28px 0 70px rgba(0,0,0,.38) !important;
    backdrop-filter: blur(24px) saturate(115%);
    -webkit-backdrop-filter: blur(24px) saturate(115%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(24px);
    transition:
      opacity 160ms ease,
      visibility 160ms ease,
      transform 220ms cubic-bezier(.22,1,.36,1);
  }

  body .nav__mobile.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  body .nav__mobile-group-title {
    margin: 24px 0 8px !important;
    padding-bottom: 9px !important;
    border-bottom: 1px solid rgba(255,255,255,.075) !important;
    color: rgba(244,244,239,.44) !important;
    font-family: 'IBM Plex Mono', ui-monospace, monospace !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
  }

  body .nav__mobile-group-title:first-child {
    margin-top: 0 !important;
  }

  body .nav__mobile a {
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.045) !important;
    color: rgba(244,244,239,.76) !important;
    font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: -.01em !important;
  }

  body .nav__mobile a::after {
    content: '→';
    margin-left: auto;
    padding-left: 18px;
    color: rgba(244,244,239,.28);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 9px;
  }

  body .nav__mobile a:hover,
  body .nav__mobile a:focus-visible {
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,.13) !important;
  }

  /* Company and briefing remain in normal scroll flow. */
  body .nav__mobile-group-title:last-of-type {
    margin-bottom: 10px !important;
  }

  body .nav__mobile-cta {
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 0 calc(24px + env(safe-area-inset-bottom)) !important;
    padding: 0 18px !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 9px !important;
    background: #f2f2ee !important;
    color: #09090b !important;
    box-shadow: none !important;
    font-family: 'IBM Plex Mono', ui-monospace, monospace !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
  }
}

@media (max-width: 640px) {
  body {
    background-position: 48% top !important;
    background-size: auto max(100dvh, 860px) !important;
  }

  body .nav,
  body .nav__inner {
    height: 66px !important;
  }

  body .nav__inner {
    padding: 0 14px !important;
    gap: 8px !important;
  }

  body .nav__brand img,
  body .nav__logo {
    max-width: calc(100vw - 92px) !important;
    height: 22px !important;
  }

  /* Do not crowd the phone header. Briefing remains pinned in the menu. */
  body .nav__cta {
    display: none !important;
  }

  body .nav__menu-btn {
    min-width: 58px !important;
    height: 34px !important;
    padding: 0 9px !important;
    font-size: 8px !important;
  }

  body .nav__mobile {
    top: 66px !important;
    width: 100vw !important;
    padding:
      22px
      20px
      calc(28px + env(safe-area-inset-bottom)) !important;
    border-left: 0 !important;
    box-shadow: none !important;
  }

  body .nav__mobile-group-title {
    margin-top: 20px !important;
  }

  body .nav__mobile a {
    min-height: 40px !important;
    padding: 7px 0 !important;
    font-size: 14px !important;
  }
}

@media (min-width: 981px) {
  body .nav__mobile {
    display: none !important;
  }
}


/* QUANTOS INSTITUTIONAL GRAPHITE ACTION SYSTEM START */

:root {
  --q-button-bg: #18191a;
  --q-button-bg-hover: #29805e;
  --q-button-bg-active: #242629;

  --q-button-border: rgba(255, 255, 255, 0.15);
  --q-button-border-hover: rgba(255, 255, 255, 0);

  --q-button-text: #f2f2ee;
}

/* Primary actions across the public website */

.btn--primary,
.btn--pri,
.nav__cta,
.nav__mobile-cta,
.nav__mobile-group-title:last-of-type + a,
a[href="./briefing.html"].btn,
button[type="submit"],
input[type="submit"] {
  background: var(--q-button-bg) !important;
  color: var(--q-button-text) !important;

  border: 1px solid var(--q-button-border) !important;
  border-radius: 5px !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 6px 18px rgba(0, 0, 0, 0.18) !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease !important;
}

.btn--primary:hover,
.btn--pri:hover,
.nav__cta:hover,
.nav__mobile-cta:hover,
.nav__mobile-group-title:last-of-type + a:hover,
a[href="./briefing.html"].btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--q-button-bg-hover) !important;
  color: #ffffff !important;

  border-color: var(--q-button-border-hover) !important;

  box-shadow:
    inset 0 1px 0 rgba(49, 49, 49, 0.075),
    0 8px 20px rgba(0, 0, 0, 0.22) !important;

  transform: translateY(-1px);
}

.btn--primary:active,
.btn--pri:active,
.nav__cta:active,
.nav__mobile-cta:active,
.nav__mobile-group-title:last-of-type + a:active,
a[href="./briefing.html"].btn:active,
button[type="submit"]:active,
input[type="submit"]:active {
  background: var(--q-button-bg-active) !important;

  border-color: rgba(255, 255, 255, 0.12) !important;

  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.28) !important;

  transform: translateY(0);
}

.btn--primary:focus-visible,
.btn--pri:focus-visible,
.nav__cta:focus-visible,
.nav__mobile-cta:focus-visible,
.nav__mobile-group-title:last-of-type + a:focus-visible,
a[href="./briefing.html"].btn:focus-visible,
button[type="submit"]:focus-visible,
input[type="submit"]:focus-visible {
  outline: 1px solid rgba(242, 242, 238, 0.85) !important;
  outline-offset: 3px !important;
}

/* Header action */

.nav__cta {
  min-height: 36px;
  padding: 0 18px !important;

  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
}

/* Mobile menu action */

.nav__mobile-cta,
.nav__mobile-group-title:last-of-type + a {
  min-height: 48px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

.nav__mobile-cta::after,
.nav__mobile-group-title:last-of-type + a::after {
  color: rgba(12, 12, 12, 0.42) !important;
}

