:root {
  color-scheme: light;
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9e1ea;
  --blue: #173f76;
  --blue-dark: #102f59;
  --blue-soft: #e7f0fb;
  --accent: #2f7d6b;
  --green: #19715f;
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

@keyframes matrix-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 225, 234, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
}

.logo-mark svg {
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
}

.logo-copy {
  display: grid;
  gap: 2px;
}

.logo-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.05;
}

.logo-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.nav-links a {
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--blue);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.language-switch:hover {
  border-color: rgba(23, 63, 118, 0.34);
  background: var(--blue-soft);
}

.nav-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  padding: 0 16px;
}

.hero {
  padding: 84px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 58px;
  align-items: start;
}

.hero-copy {
  animation: fade-up 0.55s ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(43px, 5.7vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.button.primary:hover,
.nav-button:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.wide {
  width: 100%;
}

.assurance-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(36, 91, 159, 0.12), transparent 22rem);
  padding: 24px;
  box-shadow: var(--shadow);
  animation: fade-up 0.55s ease 0.08s both;
}

.assurance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 63, 118, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 118, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
  pointer-events: none;
}

.card-head,
.risk-grid,
.assurance-card h2,
.assurance-card p,
.evidence-list {
  position: relative;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.card-head strong {
  border: 1px solid rgba(47, 125, 107, 0.26);
  border-radius: 999px;
  background: rgba(47, 125, 107, 0.08);
  color: var(--accent);
  padding: 6px 10px;
  font-size: 12px;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 7px;
  margin-bottom: 28px;
}

.cell {
  height: 42px;
  border: 1px solid rgba(23, 63, 118, 0.16);
  border-radius: 6px;
  background: rgba(231, 240, 251, 0.86);
}

.cell.strong {
  background: linear-gradient(135deg, var(--blue), #2b6daf);
  animation: matrix-pulse 3.6s ease-in-out infinite;
}

.cell.strong:nth-child(3) {
  animation-delay: 0.35s;
}

.cell.strong:nth-child(5) {
  animation-delay: 0.7s;
}

.cell.strong:nth-child(6) {
  animation-delay: 1.05s;
}

.cell.strong:nth-child(8) {
  animation-delay: 1.4s;
}

.assurance-card h2 {
  font-size: 24px;
}

.assurance-card p,
.card p,
.text-stack p,
.section-heading p,
.section-note,
.step p,
details p,
.contact-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.62;
}

.evidence-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.evidence-list div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  border-top: 1px solid rgba(217, 225, 234, 0.9);
  padding-top: 12px;
}

.evidence-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 860;
}

.evidence-list p {
  margin: 0;
  color: var(--ink);
  line-height: 1.46;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  min-height: 124px;
  border-right: 1px solid var(--line);
  padding: 24px 22px;
}

.proof-grid div:first-child {
  border-left: 1px solid var(--line);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-white {
  background: var(--surface);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
  font-size: 18px;
}

.text-stack p {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading p,
.section-note {
  margin-bottom: 0;
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 25px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 63, 118, 0.28);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.card li {
  position: relative;
  padding-left: 16px;
}

.card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--blue);
  font-weight: 840;
}

.step p {
  margin-bottom: 0;
}

.standards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.standards div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.standards div:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 63, 118, 0.3);
}

.standards strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
}

.standards span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.contact-section {
  background: var(--page);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 34px;
  align-items: stretch;
}

.contact-copy {
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  padding: 34px;
}

.contact-copy .eyebrow,
.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-copy h2 {
  color: #ffffff;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 30px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  padding: 28px 0;
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 940px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .nav-actions {
    width: 100%;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .standards,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 54px 0 48px;
  }

  .wordmark {
    padding-left: 4px;
  }

  .logo-mark,
  .logo-mark svg {
    width: 38px;
    height: 38px;
  }

  .logo-name {
    font-size: 17px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .actions {
    flex-direction: column;
  }

  .button,
  .nav-button,
  .language-switch {
    width: 100%;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .standards,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    min-height: auto;
    border-left: 1px solid var(--line);
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
