@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: oklch(0.16 0.007 255);
  --bg-elevated: oklch(0.19 0.008 255);
  --surface: oklch(0.19 0.008 255);
  --surface-strong: oklch(0.19 0.008 255);
  --surface-soft: oklch(1 0 0 / 0.03);
  --line: oklch(1 0 0 / 0.08);
  --line-strong: oklch(1 0 0 / 0.18);
  --text: oklch(0.94 0.004 255);
  --muted: oklch(0.68 0.012 255);
  --accent: oklch(0.62 0.08 240);
  --accent-strong: oklch(0.72 0.07 240);
  --accent-alt: oklch(0.62 0.08 240);
  --danger: #d98c8c;
  --warning: #d9b26b;
  --success: #8fae95;
  --shadow: none;
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --content-width: min(1160px, calc(100% - 32px));
  --content-type-scale: 0.8;
}

body.light-mode {
  --bg: #f6f5f2;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: rgba(20, 24, 30, 0.03);
  --line: rgba(20, 24, 30, 0.1);
  --line-strong: rgba(20, 24, 30, 0.18);
  --text: #191c22;
  --muted: #666d76;
  --accent: #45688c;
  --accent-strong: #2e4a66;
  --accent-alt: #45688c;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.light-mode {
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-bg {
  display: none;
}

.site-header,
.section,
.site-footer,
.intel-main {
  width: var(--content-width);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 0;
  padding: 14px 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-mode .site-header {
  background: var(--bg);
  border-bottom-color: rgba(11, 31, 51, 0.08);
}

.site-header nav {
  min-width: 0;
  overflow-x: visible;
}

.brand {
  position: relative;
  display: block;
  align-self: stretch;
  width: 200px;
  height: auto;
  flex: 0 0 110px;
  margin-left: -0px;
  margin-block: -24px;
}

.brand-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 167px;
  height: 86.4px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  row-gap: 8px;
}

html[lang='es'] .nav-list {
  gap: 14px;
}

.nav-list a {
  color: inherit;
  transition: color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.lang-btn {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-btn.active {
  color: var(--text);
  background: transparent;
  border-bottom: 1px solid currentColor;
}

.theme-toggle,
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.theme-toggle {
  background-image: url('assets/moon-icon.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.2rem 1.2rem;
  font-size: 0;
}

body.light-mode .theme-toggle {
  background-image: url('assets/sun-icon.svg');
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  opacity: 0.7;
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  position: absolute;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-menu-toggle::before {
  transform: translateY(-0.22rem);
  box-shadow: 0 0.44rem 0 currentColor;
}

.mobile-menu-toggle::after {
  transform: translateY(0.22rem);
}

.cta-btn,
.primary-btn,
.secondary-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cta-btn {
  padding: 11px 14px;
  font-size: 0.86rem;
}

.cta-btn,
.primary-btn {
  background: var(--text);
  color: var(--bg);
  box-shadow: none;
  border-radius: 3px;
}

.secondary-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
  border-radius: 3px;
}

body.light-mode .secondary-btn {
  background: transparent;
  border-color: rgba(11, 31, 51, 0.16);
}

.cta-btn:hover,
.primary-btn:hover {
  background: var(--accent-strong);
  color: var(--bg);
  transform: none;
}

.secondary-btn:hover,
.btn:hover {
  border-color: var(--line-strong);
  transform: none;
}

.section {
  padding: 44px 0 20px;
  animation: fade-in-up 0.45s ease;
}

main > .section:first-child,
.hero.section,
.intel-hero.section,
.assessment-shell.section {
  padding-top: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.light-mode .eyebrow {
  color: var(--accent-strong);
  background: transparent;
  border: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: calc(clamp(1.9rem, 4.2vw, 2.7rem) * var(--content-type-scale));
  font-weight: 600;
  letter-spacing: -0.015em;
}

h2 {
  font-size: calc(clamp(1.5rem, 3vw, 2rem) * var(--content-type-scale));
}

h3 {
  font-size: calc(clamp(1.2rem, 2vw, 1.6rem) * var(--content-type-scale));
}

p,
li,
label,
span,
small,
time {
  color: inherit;
}

main p,
main li,
main label,
main span,
main small,
main time,
main input,
main select,
main textarea,
main .btn,
main .primary-btn,
main .secondary-btn,
main .form-status,
main .feedback {
  font-size: calc(1rem * var(--content-type-scale));
}

main .eyebrow {
  font-size: calc(13px * var(--content-type-scale));
}

.hero-sub,
.intro-text,
.section p,
.card p,
.form-status.pending,
.local-privacy-note {
  color: var(--muted);
}

.hero-actions,
.tool-actions,
.unlock-link-row,
.password-input-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.cards,
.tool-cards-row,
.assessment-options,
.category-grid,
.result-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cards > a {
  display: block;
  color: inherit;
}

.stacked {
  grid-template-columns: 1fr;
}

.card,
.tool-card,
.contact-form,
.assessment-panel,
.assessment-result,
.tool-modal-dialog,
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  backdrop-filter: none;
}

body.light-mode .card,
body.light-mode .tool-card,
body.light-mode .contact-form,
body.light-mode .assessment-panel,
body.light-mode .assessment-result,
body.light-mode .tool-modal-dialog,
body.light-mode .contact-info {
  background: var(--surface);
  border-color: var(--line);
}

.card,
.tool-card,
.contact-form,
.contact-info {
  padding: 16px 22px;
}

.card > :last-child,
.tool-card > :last-child,
.contact-form > :last-child,
.contact-info > :last-child {
  margin-bottom: 0;
}

.card:hover,
.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.frameworks {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.contact-layout,
.tools-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.tools-layout {
  grid-template-columns: 1fr;
}

.services-page {
  display: grid;
  gap: 22px;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: center;
}

.services-hero-copy {
  display: grid;
  gap: 0.9rem;
}

.services-hero-copy .hero-sub {
  max-width: 60ch;
}

.services-hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-hero-placeholder {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.services-hero-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-hero-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.services-grid-lines path,
.services-radar-ring circle,
.services-radar-ring path,
.services-screen-line,
.services-data-stream path {
  fill: none;
  stroke-linecap: round;
}

.services-grid-lines path {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.services-radar-ring circle,
.services-radar-ring path {
  stroke: rgba(79, 255, 176, 0.2);
  stroke-width: 1.4;
}

.services-radar-sweep path {
  fill: rgba(79, 255, 176, 0.15);
  transform-origin: 392px 92px;
  animation: services-radar-spin 5.5s linear infinite;
}

.services-shadow {
  fill: rgba(0, 0, 0, 0.28);
}

.services-body {
  fill: rgba(10, 17, 31, 0.94);
  stroke: rgba(79, 255, 176, 0.18);
  stroke-width: 1.6;
}

.services-hood {
  fill: rgba(111, 192, 204, 0.94);
  stroke: rgba(223, 249, 255, 0.16);
  stroke-width: 2;
}

.services-outer-cloak {
  fill: rgba(110, 191, 204, 0.94);
  stroke: rgba(223, 249, 255, 0.12);
  stroke-width: 1.8;
}

.services-face-void {
  fill: rgba(8, 10, 28, 0.99);
}

.services-face-mask {
  fill: rgba(18, 24, 38, 0.96);
}

.services-eye-left,
.services-eye-right {
  fill: rgba(255, 82, 82, 0.95);
}

.services-mouth {
  fill: none;
  stroke: rgba(228, 247, 251, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
}

.services-drawstring {
  fill: none;
  stroke: rgba(228, 247, 251, 0.92);
  stroke-width: 3;
  stroke-linecap: round;
}

.services-drawstring-tip {
  fill: rgba(228, 247, 251, 0.92);
}

.services-laptop,
.services-laptop-base {
  fill: rgba(15, 152, 190, 0.16);
  stroke: rgba(23, 197, 230, 0.45);
  stroke-width: 1.6;
}

.services-sleeve-left,
.services-sleeve-right {
  fill: rgba(110, 191, 204, 0.96);
  stroke: rgba(223, 249, 255, 0.12);
  stroke-width: 1.5;
}

.services-terminal-line {
  fill: #c9ffdf;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
}

.services-terminal-line--one {
  animation: services-terminal-one 4.8s steps(22, end) infinite;
}

.services-terminal-line--two {
  animation: services-terminal-two 4.8s steps(24, end) infinite;
}

.services-terminal-line--three {
  animation: services-terminal-three 4.8s steps(20, end) infinite;
}

.services-terminal-cursor {
  fill: #4fffb0;
  animation: services-cursor-blink 0.9s steps(1, end) infinite;
}

.services-data-stream path {
  stroke: rgba(23, 197, 230, 0.5);
  stroke-width: 2.5;
  stroke-dasharray: 10 14;
  animation: services-pulse-flow 6s linear infinite;
}

.services-data-stream circle {
  fill: #4fffb0;
  filter: drop-shadow(0 0 8px rgba(79, 255, 176, 0.45));
  animation: services-particle-blink 1.8s ease-in-out infinite alternate;
}

.services-data-stream circle:last-child {
  animation-delay: 0.7s;
}

.services-code-particles text {
  fill: rgba(215, 235, 250, 0.78);
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: services-float 3.8s ease-in-out infinite;
}

.services-code-particles text:nth-child(2) {
  animation-delay: 0.6s;
}

.services-code-particles text:nth-child(3) {
  animation-delay: 1.1s;
}

.services-code-particles text:nth-child(4) {
  animation-delay: 1.6s;
}

@keyframes services-radar-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes services-terminal-one {
  0%,
  12% {
    opacity: 0;
  }

  18%,
  100% {
    opacity: 1;
  }
}

@keyframes services-terminal-two {
  0%,
  28% {
    opacity: 0;
  }

  36%,
  100% {
    opacity: 1;
  }
}

@keyframes services-terminal-three {
  0%,
  46% {
    opacity: 0;
  }

  56%,
  100% {
    opacity: 1;
  }
}

@keyframes services-cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes services-pulse-flow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -96;
  }
}

@keyframes services-particle-blink {
  from {
    opacity: 0.38;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes services-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.46;
  }

  50% {
    transform: translateY(-6px);
    opacity: 0.95;
  }
}

.tool-cards-row .tool-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.tools-layout .tool-cards-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.tool-cards-row .tool-card a.secondary-btn {
  margin-top: auto;
  align-self: flex-start;
}

.contact-form,
.tool-form,
.lead-form {
  display: grid;
  gap: 0.7rem;
}

.contact-form button[type="submit"],
.lead-form button[type="submit"],
.tool-form button[type="submit"] {
  justify-self: start;
  margin-top: 8px;
  padding-left: 26px;
  padding-right: 26px;
  white-space: nowrap;
}

input,
select,
textarea,
pre,
table {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0.95rem;
  background: rgba(6, 18, 29, 0.78);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.light-mode input,
body.light-mode select,
body.light-mode textarea {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(11, 31, 51, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--surface-soft);
}

.checkbox-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.35rem;
  color: var(--muted);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.form-status {
  margin: 0.2rem 0 0;
  min-height: 1.3rem;
  font-size: 0.95rem;
}

.form-status.success,
.feedback.success {
  color: var(--success);
}

.form-status.error,
.feedback.error {
  color: var(--danger);
}

.feedback {
  margin: 0.35rem 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 0 44px;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  justify-self: start;
  text-align: left;
}

.site-footer p:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.site-footer p:last-child {
  justify-self: end;
  text-align: right;
}

body.light-mode .site-footer {
  border-top-color: rgba(11, 31, 51, 0.08);
}

/* Keep "All rights reserved" aligned right now that a 4th footer line exists */
.site-footer p:nth-child(3) {
  justify-self: end;
  text-align: right;
}

/* Discreet staff portal link, full-width row below the footer columns */
.site-footer p.footer-portal {
  grid-column: 1 / -1;
  justify-self: center !important;
  text-align: center;
  margin-top: 6px;
}

.site-footer p.footer-portal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  opacity: 0.6;
  transition: color 0.15s, opacity 0.15s;
}

.site-footer p.footer-portal a:hover {
  color: var(--accent);
  opacity: 1;
}

.tool-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.tool-modal[hidden] {
  display: none;
}

.tool-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 22, 0.72);
  backdrop-filter: blur(5px);
}

.tool-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 22px;
}

.tool-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

body.light-mode .tool-modal-close {
  background: rgba(255, 255, 255, 0.96);
}

body.modal-open {
  overflow: hidden;
}

.tool-panel {
  margin-top: 0;
}

.tool-panel[hidden] {
  display: none;
}

.inline-btn {
  padding: 0.82rem 1rem;
}

.password-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.password-results,
.breach-results {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.password-summary .password-banner,
.breach-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.breach-tags,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.breach-tag,
.risk-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--line-strong);
  color: var(--accent);
}

.risk-badge.sensitive {
  color: var(--danger);
  border-color: rgba(255, 141, 141, 0.45);
}

.reuse-risk.maybe,
.reuse-warning {
  color: var(--warning);
}

.reuse-risk.high {
  color: var(--danger);
}

.password-summary.score-0,
.password-summary.score-1 {
  border-color: rgba(255, 141, 141, 0.42);
}

.password-summary.score-2 {
  border-color: rgba(255, 205, 107, 0.44);
}

.password-summary.score-3 {
  border-color: var(--line-strong);
}

.password-summary.score-4,
.breach-summary {
  border-color: var(--line-strong);
}

.breach-summary.no-breach {
  border-color: var(--line-strong);
}

#reportsTable {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

#reportsTable th,
#reportsTable td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#reportsTable th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

body.light-mode #reportsTable th {
  background: rgba(11, 31, 51, 0.04);
}

pre {
  width: 100%;
  overflow: auto;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(5, 16, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6ebfa;
}

body.light-mode pre {
  background: rgba(241, 247, 255, 0.92);
  color: #0b1f33;
  border-color: rgba(11, 31, 51, 0.08);
}

.dmarc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

#verifyBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
}

.site-header.mobile-nav-enabled {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.site-header.mobile-nav-enabled nav,
.site-header.mobile-nav-enabled .header-actions {
  grid-column: 1 / -1;
  width: 100%;
}

.site-header.mobile-nav-enabled .mobile-menu-toggle {
  display: inline-flex;
  justify-self: end;
}

.site-header.mobile-nav-enabled nav,
.site-header.mobile-nav-enabled .header-actions {
  display: none;
}

.site-header.mobile-nav-enabled.menu-open nav {
  display: block;
}

.site-header.mobile-nav-enabled.menu-open .header-actions {
  display: flex;
  margin-top: 0.6rem;
  justify-content: space-between;
}

.site-header.mobile-nav-enabled.menu-open .mobile-menu-toggle::before {
  transform: rotate(45deg);
  box-shadow: none;
}

.site-header.mobile-nav-enabled.menu-open .mobile-menu-toggle::after {
  transform: rotate(-45deg);
}

.site-header.mobile-nav-enabled .nav-list {
  justify-content: flex-start;
  flex-wrap: wrap;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-header nav,
  .header-actions {
    justify-self: stretch;
  }

  .brand {
    position: relative;
    height: 40px;
    min-height: 40px;
    margin-bottom: 0.35rem;
    margin-left: 0;
    margin-block: 0;
  }

  .header-actions {
    justify-content: center;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-hero {
    grid-template-columns: 1fr;
  }

  .services-hero-visual {
    min-height: 280px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .site-footer p:first-child,
  .site-footer p:nth-child(2),
  .site-footer p:last-child {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 0.5rem;
    width: min(100vw - 16px, var(--content-width));
    max-width: calc(100vw - 16px);
    overflow-x: clip;
  }

  .section {
    padding-top: 32px;
  }

  main > .section:first-child,
  .hero.section,
  .intel-hero.section,
  .assessment-shell.section {
    padding-top: 44px;
  }

  .nav-list {
    width: 100%;
    max-width: max-content;
    min-width: max-content;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.22rem;
    row-gap: 0;
    font-size: 0.7rem;
    letter-spacing: -0.03em;
    touch-action: pan-x;
  }

  .site-header nav {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 2px;
    scroll-behavior: smooth;
    touch-action: pan-x;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .nav-list a {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 2px;
    flex: 0 0 auto;
  }

  .brand {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    margin-left: 0;
    margin-block: 0;
    align-self: auto;
  }

  .brand-logo {
    left: 0;
    width: 167px;
    height: 86.4px;
  }

  .hero-actions,
  .tool-actions,
  .unlock-link-row {
    align-items: stretch;
  }

  .hero-actions a,
  .tool-actions button,
  .tool-actions input,
  .unlock-link-row button {
    width: 100%;
  }

  .header-actions {
    width: auto;
    max-width: calc(100vw - 24px);
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
    justify-self: center;
    overflow: hidden;
  }

  .header-actions .cta-btn {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    max-width: max-content;
    text-align: center;
    padding: 6px 7px;
    font-size: 0.6rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .lang-selector {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .lang-btn {
    padding: 0.22rem 0.38rem;
    font-size: 0.64rem;
  }

  .password-input-row {
    grid-template-columns: 1fr;
  }

  #reportsTable {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .site-header {
    gap: 0.45rem;
  }

  .nav-list {
    gap: 0.18rem;
    font-size: 0.6rem;
  }

  .brand {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    margin-left: 0;
    margin-block: 0;
    align-self: auto;
  }

  .brand-logo {
    left: 0;
    width: 167px;
    height: 86.4px;
  }

  .header-actions .cta-btn {
    padding: 5px 6px;
    font-size: 0.52rem;
  }

  .lang-btn {
    padding: 0.2rem 0.32rem;
    font-size: 0.56rem;
  }
}

/* ============================================================
   Professional refresh (2026) — layered site-wide enhancements
   ============================================================ */

/* Header: solid background, no blur */
.site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-list a {
  position: relative;
  transition: color 0.18s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-list a:hover,
.nav-list a.is-active {
  color: var(--accent);
}
.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

/* Section header: kicker + title + subtitle */
.section-head {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}
.section-head .kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: none;
}
.section-head p {
  color: var(--muted);
  margin: 6px auto 0;
  font-size: 1.02rem;
}

/* Card icon badge + richer hover */
.card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  box-shadow: none;
  border-color: var(--line-strong);
}
body.light-mode .card:hover {
  box-shadow: none;
  border-color: var(--line-strong);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--line);
}
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}
.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}
.card:hover .card-link svg {
  transform: translateX(4px);
}

/* Trust / framework chips row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.trust-row .trust-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.trust-chip {
  padding: 0 14px;
  border-radius: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text);
  background: transparent;
  border: none;
  border-left: 1px solid var(--line);
}

/* Hero: two-column layout with a visual */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: none;
}
.pulse-node {
  display: none;
}
.pulse-node.d1 { animation-delay: 0.3s; }
.pulse-node.d2 { animation-delay: 0.8s; }
.pulse-node.d3 { animation-delay: 1.3s; }
.pulse-node.d4 { animation-delay: 1.8s; }
@keyframes pulse-node {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.hero-report-panel {
  display: flex;
}
.report-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.report-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.report-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.report-card-body {
  padding: 26px 24px;
}
.report-score-label {
  font-size: 12px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  margin-bottom: 4px;
}
.report-score {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text);
}
.report-score span {
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
}
.report-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  margin-bottom: 5px;
}
.report-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-bottom: 14px;
}
.report-bar div {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* Feature grid ("why us") */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature {
  padding: 22px;
}
.feature h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.feature p {
  color: var(--muted);
  margin: 0;
}

/* Methodology stepper */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 22px;
}
.step .step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band {
  margin: 46px 0 12px;
  padding: 46px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}
body.light-mode .cta-band {
  background: var(--surface);
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }
.cta-band .hero-actions { justify-content: center; }

/* Upgraded footer */
.site-footer.footer-rich {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  align-items: start;
  text-align: left;
  padding: 40px 0 48px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-rich .footer-brand strong { font-size: 1.15rem; }
.footer-rich .footer-brand p { color: var(--muted); margin: 8px 0 0; max-width: 30ch; }
.footer-rich h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.footer-rich ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-rich ul a { color: var(--text); opacity: 0.82; transition: color 0.15s, opacity 0.15s; }
.footer-rich ul a:hover { color: var(--accent); opacity: 1; }
.footer-rich .footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-rich .footer-legal a { color: var(--muted); }
.footer-rich .footer-legal a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 300px; }
  .tools-layout .tool-cards-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer.footer-rich { grid-template-columns: 1fr 1fr; }
  .site-footer.footer-rich .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .tools-layout .tool-cards-row { grid-template-columns: 1fr; }
  .site-footer.footer-rich { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
}

body.light-mode .brand-logo {
  width: 167px;
  height: 86.4px;
}
