﻿/* getCE - Clean Custom Styles */

/* Honeypot field: hide from humans but keep in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

:root {
  --primary: #0066cc;
  --primary-hover: #0052a3;
  --text: #1a1a2e;
  --text-muted: #555;
  --bg: #fff;
  --bg-secondary: #f5f5f5;
  --border: #ddd;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  line-height: 1.3;
}
h1 { font-size: 2.2em; margin: 0 0 20px; }
h2 { font-size: 1.6em; margin: 0 0 16px; }
h3 { font-size: 1.2em; margin: 0 0 12px; }
p { margin: 0 0 16px; }

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Icons */
.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 8px;
  background: center/contain no-repeat;
  opacity: 0.92;
}
.ico.sm {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
/* icon sources (paths are relative to assets/styles.css) */
.ico.stethoscope { background-image: url("icons/stethoscope.svg"); }
.ico.shield      { background-image: url("icons/shield.svg"); }
.ico.clock       { background-image: url("icons/clock.svg"); }
.ico.pin         { background-image: url("icons/pin.svg"); }
.ico.database    { background-image: url("icons/database.svg"); }
.ico.checklist   { background-image: url("icons/checklist.svg"); }
.ico.flask       { background-image: url("icons/flask.svg"); }
.ico.bottle      { background-image: url("icons/bottle.svg"); }
.ico.document    { background-image: url("icons/document.svg"); }
.ico.cart        { background-image: url("icons/cart.svg"); }
.ico.chip        { background-image: url("icons/chip.svg"); }
.ico.headset     { background-image: url("icons/headset.svg"); }

.hero.hero-cover .ico {
  filter: invert(1) brightness(1.25);
  opacity: 0.98;
}

/* Lists */
ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}

/* Top bar */
.site-topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.topbar-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar-item {
  color: var(--text-muted);
}
.topbar-item a {
  color: var(--text-muted);
  text-decoration: none;
}
.topbar-item a:hover {
  color: var(--primary);
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  line-height: 0;
}
.topbar-social .icon-fb {
  width: 16px;
  height: 16px;
  display: block;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-row {
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.brand {
  flex: 0 0 auto;
  text-decoration: none;
}
.brand-logo {
  height: 48px;
  width: auto;
}

/* Language switch */
.lang-switch {
  display: flex;
  gap: 4px;
}
.lang {
  padding: 6px 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
}
.lang:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.lang.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Navigation */
.main-nav-wrap {
  flex: 1 1 auto;
  background: transparent;
  border-top: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

.main-nav .nav-link {
  white-space: nowrap;
}

.main-nav-wrap .container {
  padding: 0;
}

.main-nav-wrap nav {
  align-items: center;
}
.nav-link {
  padding: 8px 8px;
  text-decoration: none;
  color: var(--text);
  border-radius: 4px;
}
.nav-link:hover {
  background: var(--bg-secondary);
  text-decoration: none;
}
.nav-link.active {
  background: var(--bg-secondary);
  font-weight: 600;
}

/* Dropdown */
.nav-dd, .nav-dd-sub {
  position: relative;
}
.nav-dd > summary, .nav-dd-sub > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.nav-dd > summary:hover, .nav-dd-sub > summary:hover {
  background: var(--bg-secondary);
}
.nav-dd > summary::-webkit-details-marker,
.nav-dd-sub > summary::-webkit-details-marker {
  display: none;
}
.nav-caret {
  font-size: 10px;
  opacity: 0.5;
}

.dd-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  z-index: 1000;
  margin-top: 4px;
}
.nav-dd[open] > .dd-panel {
  display: block;
}

.dd-item {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--text);
  border-radius: 4px;
}
.dd-item:hover {
  background: var(--bg-secondary);
  text-decoration: none;
}
.dd-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
.dd-grid {
  display: grid;
  gap: 2px;
}

.nav-dd-sub {
  display: block;
}
.nav-dd-sub > summary {
  width: 100%;
}
.nav-dd-sub > .dd-panel {
  position: static;
  box-shadow: none;
  border: none;
  padding: 4px 0 0 12px;
  margin: 0;
  min-width: auto;
}
.nav-dd-sub[open] > .dd-panel {
  display: block;
}

/* Page */
.page {
  padding: 32px 0 48px;
}

/* Hero */
.hero {
  padding: 40px 0 20px;
}
.hero h1 {
  font-size: 2.4em;
  margin: 0 0 16px;
}
.hero p {
  font-size: 1.1em;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 0 20px;
}

.hero-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  margin-bottom: 14px;
}
.hero.hero-cover .btn.secondary {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.hero.hero-cover .btn.secondary:hover {
  background: rgba(255,255,255,0.18);
}

/* Small highlight numbers */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.kpi {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 14px 16px;
}
.kpi .kpi-title {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.kpi .kpi-value {
  font-size: 18px;
  font-weight: 650;
}

/* Icon lists */
.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.list-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 10px;
}
.list-check li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: url("icons/tick.svg") center/contain no-repeat;
}

/* Service cards */
.card .pill {
  display: inline-block;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* CTA band */
.cta-band {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.cta-band h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}

/* Country list with flags */
.country-flags {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 16px;
}
.country-flags li {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 12px;
}
.country-flags .flag-img {
  width: 22px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.08);
  object-fit: cover;
  flex: 0 0 auto;
}

/* Partners */
.partners {
  margin-top: 10px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.partner-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 170px;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.partner-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}
.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
}
.partner-logo {
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.92;
}
.partner-card:hover .partner-logo {
  filter: none;
  opacity: 1;
}
.partner-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}
.partner-links {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.partner-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  text-decoration: none;
}
.partner-links a:hover {
  border-color: var(--primary);
  text-decoration: none;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.card-media {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg);
}
.card:hover {
  border-color: var(--primary);
}
.card h3 {
  margin: 0 0 10px;
}
.card h3 a {
  color: var(--text);
  text-decoration: none;
}
.card h3 a:hover {
  color: var(--primary);
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95em;
}


/* Forms */
input, textarea, select {
  font-family: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.application-form {
  max-width: 600px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group .required {
  color: #c00;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.checkbox-group label,
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"],
.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.form-submit {
  margin-top: 24px;
}
.form-note {
  font-size: 13px;
  color: var(--text-muted);
}
.form-consent-submit {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
  flex-wrap: wrap;
}
.consent-inline {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}
.consent-inline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.form-consent-submit .btn {
  flex: 0 0 auto;
}
.hp-field {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8em;
  }
  .hero.hero-cover {
    padding: 44px 22px 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .header-row {
    flex-wrap: wrap;
  }
  .brand-logo {
    height: 46px;
  }
  .topbar-row {
    justify-content: center;
  }
  .main-nav-wrap {
    flex-basis: 100%;
  }
  .main-nav {
    justify-content: center;
    padding-top: 8px;
  }
  .footer-row {
    justify-content: center;
    text-align: center;
  }
  .dd-panel {
    min-width: 260px;
  }
}


/* Application enhancements */
.app-info{border:1px solid var(--border); background: var(--bg-secondary); padding:16px 16px; border-radius:10px; margin: 12px 0 18px;}
.app-info h3{margin:0 0 8px;}
.app-info p{margin:0 0 10px;}
.app-next{margin-top: 22px;}
.app-next ol{margin: 10px 0 0 18px;}


/* Services checklist enhancements */
.svc-rec{margin: 0 0 10px; color: var(--text-muted);}
.svc-recommended{padding: 8px 10px; border: 1px solid rgba(31,209,139,0.35); border-radius: 8px; background: rgba(31,209,139,0.08);}
.svc-more{margin-top: 10px;}
.svc-more summary{cursor: pointer; color: var(--primary); font-weight: 600;}
.svc-more-grid{margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 12px;}

/* Local resource pages */
.resource-page .resource-hero {
  padding-bottom: 10px;
}
.resource-section {
  margin: 28px 0 0;
}
.resource-section h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}
.resource-section .section-kicker {
  margin: 0 0 14px;
  color: var(--text-muted);
}
.resource-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.95em;
}
.resource-table th,
.resource-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  vertical-align: top;
}
.resource-table th {
  background: var(--bg-secondary);
  font-weight: 700;
}
/* Global application CTA */
.application-cta {
  margin: 34px 0 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.application-cta h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.application-cta p {
  margin: 0;
  color: var(--text-muted);
  max-width: 720px;
}
.application-cta .btn {
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .application-cta {
    align-items: stretch;
    flex-direction: column;
  }
  .application-cta .btn {
    text-align: center;
  }
}

/* AI Act flagship */
.ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
}
.trust-line {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hero-flow {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
}
.hero-flow div {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-weight: 700;
  text-align: center;
}
.hero-flow span {
  color: var(--primary);
  font-weight: 700;
}
.marker-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.marker-grid article,
.process-grid article {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.marker-grid strong {
  display: block;
  margin-bottom: 8px;
}
.marker-grid p,
.process-grid p {
  margin: 0;
  color: var(--text-muted);
}
.inline-cta {
  margin-top: 14px;
  font-weight: 700;
}
.risk-note {
  padding: 22px;
  border: 1px solid rgba(210, 64, 64, 0.25);
  border-radius: 12px;
  background: rgba(210, 64, 64, 0.06);
}
.penalty-note {
  margin-bottom: 0;
  font-weight: 700;
}
.process-grid span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.process-grid h3 {
  margin: 12px 0 6px;
}
.faq-list h3 {
  margin: 18px 0 6px;
}
.faq-list h3:first-child {
  margin-top: 0;
}
.cta-stack {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: wrap;
}
@media (max-width: 820px) {
  .ai-hero {
    grid-template-columns: 1fr;
  }
  .cta-stack {
    flex-direction: column;
  }
}

/* representAI regtech surface */
:root {
  --primary: #155eef;
  --primary-hover: #0f47bd;
  --accent: #13a36f;
  --text: #0e1726;
  --text-muted: #5f6b7a;
  --bg: #f7f9fc;
  --bg-secondary: #eef3fb;
  --border: #d9e2ef;
  --surface: #fff;
  --shadow: 0 18px 50px rgba(20, 41, 80, 0.11);
}

body {
  background: var(--bg);
  color: var(--text);
}

.site-topbar {
  background: #0e1726;
  border-bottom: 0;
}

.topbar-item,
.topbar-item a {
  color: #d9e6ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-row {
  padding: 12px 0;
}

.main-nav-wrap {
  flex: 1 1 auto;
  background: transparent;
  border-top: 0;
}

.main-nav {
  gap: 3px;
  justify-content: flex-end;
  padding: 0;
}

.nav-link {
  border-radius: 999px;
  font-size: 0.875rem;
}

.nav-link:hover {
  background: #eef4ff;
  color: var(--primary);
  text-decoration: none;
}

.page {
  padding-top: 34px;
  padding-bottom: 54px;
}

section {
  margin: 30px 0;
}

.hero {
  margin-top: 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: var(--shadow);
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #174ea6;
  font-size: 0.82rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(21, 94, 239, 0.22);
}

.btn.primary:hover {
  background: var(--primary-hover);
  color: #fff;
  text-decoration: none;
}

.btn.secondary {
  border: 1px solid #cfe0ff;
  background: #fff;
  color: var(--primary);
}

.btn.secondary:hover {
  background: #eef4ff;
  text-decoration: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.trust-line {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-check-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 41, 80, 0.1);
}

.hero-check-card h2 {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  font-size: 1.15rem;
}

.hero-check-card label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-check-card select,
.hero-check-card input,
.hero-check-card textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdff;
  font: inherit;
}

.hero-check-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pricing-section {
  margin: 20px 0;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  background: #fff;
  max-width: 520px;
}

.pricing-headline {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-amount {
  font-size: 2.4em;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.95em;
}

.pricing-sub {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.pricing-includes {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pricing-includes li {
  padding-left: 22px;
  position: relative;
}

.pricing-includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-note {
  font-size: 0.9em;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 16px 0 28px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.proof-strip span,
.proof-strip strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f1f6ff;
  color: #24415f;
  font-weight: 700;
}

.flow-strip strong {
  background: #fff;
  color: var(--primary);
}

.card,
.marker-grid article,
.process-grid article {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 41, 80, 0.07);
}

.resource-table {
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 41, 80, 0.05);
}

.application-cta {
  border-radius: 18px;
  background: linear-gradient(135deg, #0e1726, #173b78);
  color: #fff;
  box-shadow: var(--shadow);
}

.application-cta h2,
.application-cta p {
  color: #fff;
}

.application-cta .btn.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer {
  margin-top: 54px;
  padding: 44px 0 22px;
  border-top: 1px solid var(--border);
  background: #0e1726;
  color: #d9e6ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.65fr));
  gap: 28px;
  align-items: start;
}

.footer-brand-block p {
  max-width: 440px;
  margin: 10px 0 18px;
  color: #aebdd0;
}

.footer-brand {
  display: inline-flex;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-brand:hover {
  color: #fff;
  text-decoration: none;
}

.footer-action {
  width: fit-content;
}

.footer-col {
  display: grid;
  gap: 8px;
}

.footer-col h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.footer-col a,
.footer-col span {
  color: #aebdd0;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:first-of-type,
.footer-contact a[data-email] {
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 230, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #8fa0b8;
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .tool-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px;
  }

  .proof-strip {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ECP-inspired blue header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0d2f6e;
  border-bottom: 3px solid #f4b63f;
  box-shadow: 0 10px 28px rgba(14, 23, 38, 0.12);
  backdrop-filter: none;
}

.site-header .header-row {
  max-width: none;
  width: 100%;
  min-height: 68px;
  padding: 6px 16px;
}

.site-header .main-nav-wrap {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
}

.site-header .main-nav {
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
}

.site-header .nav-link {
  padding: 8px 9px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-family: Inter, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14.72px;
  font-weight: 500;
  line-height: 1.6;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.language-selector {
  position: relative;
  flex: 0 0 auto;
}

.language-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: Inter, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14.72px;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.language-button::-webkit-details-marker {
  display: none;
}

.language-button .lang-code {
  display: inline-flex;
  min-width: 25px;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #fff;
  color: #123a7a;
  font-size: 0.72rem;
  font-weight: 700;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: none;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(13, 47, 110, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(14, 23, 38, 0.18);
}

.language-selector[open] .language-menu {
  display: grid;
  gap: 3px;
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #0e1726;
  font-family: Inter, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a.active {
  background: #eef4ff;
  color: #0d2f6e;
  text-decoration: none;
}

.language-menu .lang-code {
  display: inline-flex;
  min-width: 28px;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #0d2f6e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-header .brand {
  flex: 0 0 auto;
  order: 0;
  line-height: 0;
}

.site-header .brand-logo {
  height: 56px;
  width: auto;
}

@media (max-width: 1160px) {
  .site-header .header-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header .main-nav-wrap {
    flex: 1 1 100%;
    order: 3;
  }

  .site-header .main-nav {
    justify-content: center;
    padding-top: 4px;
  }

  .site-header .brand {
    margin-right: auto;
    order: 1;
  }

  .language-selector {
    order: 2;
  }
}
