:root {
  color-scheme: light;
  --ink: #08131d;
  --navy: #0c1f2d;
  --blue: #1c5f8f;
  --teal: #0c7568;
  --teal-dark: #074d47;
  --gold: #b58a3b;
  --bg: #f4f7f7;
  --surface: #ffffff;
  --surface-soft: #eef5f4;
  --text: #22323c;
  --muted: #61737f;
  --line: #d7e2df;
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(8, 19, 29, 0.16);
  --shadow-soft: 0 18px 44px rgba(8, 19, 29, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--blue);
}

a:focus-visible {
  outline: 3px solid rgba(12, 117, 104, 0.32);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 9px 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(8, 19, 29, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 12px 24px rgba(8, 19, 29, 0.22);
  color: #fff;
  font-size: 13px;
}

.brand-text {
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 7px;
  color: #344954;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(12, 117, 104, 0.1);
  color: var(--teal-dark);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(8, 19, 29, 0.14);
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 7px;
  color: #344954;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.language-switch span {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 84px;
  background:
    linear-gradient(135deg, rgba(12, 117, 104, 0.32), rgba(28, 95, 143, 0.18) 46%, rgba(8, 19, 29, 0) 76%),
    radial-gradient(circle at 82% 22%, rgba(181, 138, 59, 0.26), transparent 30%),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(29px, 3.8vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d5e3e2;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus,
.project-card a:hover,
.project-card a:focus {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus {
  background: #e6f1ef;
  color: var(--ink);
}

.button-secondary {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.trust-panel {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  color: #fff;
  backdrop-filter: blur(16px);
}

.panel-title {
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.status-list {
  margin: 0;
}

.status-list div {
  display: grid;
  gap: 5px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-dark);
}

.status-list div:last-child {
  border-bottom: 0;
}

.status-list dt {
  color: #b5cbc9;
  font-size: 13px;
}

.status-list dd {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.intro-band {
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.metric-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--ink);
  font-size: 17px;
}

.content-section {
  padding: 78px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  gap: 68px;
}

.section-label {
  align-self: start;
}

.rich-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.rich-copy p,
.section-heading p,
.standards-grid p,
.project-card p,
.closing-panel p {
  margin: 0;
  color: var(--muted);
}

.standards-section {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff, var(--surface-soft));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

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

.standards-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.standards-grid article::before {
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  content: "";
}

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

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.project-card-feature {
  background:
    linear-gradient(135deg, rgba(12, 117, 104, 0.08), rgba(28, 95, 143, 0.05)),
    #fff;
}

.project-card::after {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
  content: "";
}

.card-topline {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

.service-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(12, 117, 104, 0.22);
  border-radius: 8px;
  background: #e5f2ef;
  color: var(--teal-dark);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.service-links a::after {
  margin-left: 9px;
  content: "->";
}

.service-links a:hover,
.service-links a:focus {
  border-color: rgba(12, 117, 104, 0.48);
  background: #d2eae5;
  color: var(--teal-dark);
}

.closing-section {
  padding-top: 0;
  background: var(--surface);
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.46fr) minmax(0, 1fr);
  gap: 52px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(8, 19, 29, 0.04), rgba(12, 117, 104, 0.06)),
    #fff;
}

.legal-main {
  background: var(--surface);
}

.legal-hero {
  padding: 74px 0 64px;
  background:
    linear-gradient(135deg, rgba(12, 117, 104, 0.26), rgba(28, 95, 143, 0.14) 48%, rgba(8, 19, 29, 0) 76%),
    var(--ink);
}

.legal-hero h1 {
  max-width: 860px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #d5e3e2;
  font-size: 19px;
}

.legal-section {
  padding: 64px 0 78px;
}

.legal-content {
  display: grid;
  max-width: 860px;
  gap: 24px;
}

.legal-content article {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-content article:last-of-type {
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
}

.legal-updated {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(12, 117, 104, 0.18), transparent 48%),
    var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: 38px;
  padding: 48px 0 38px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.footer-logo:hover,
.footer-logo:focus {
  color: #fff;
}

.footer-slogan {
  margin: 18px 0 10px;
  color: #edf5f4;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.footer-note {
  margin: 0;
  color: #a9bebc;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-nav h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #c9d9d7;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p,
.footer-bottom p {
  margin: 0;
  color: #d7e3e2;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .project-layout,
  .closing-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .trust-panel {
    max-width: 560px;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

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

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-nav a {
    padding-inline: 8px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions,
  .service-links {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button,
  .service-links a {
    width: 100%;
  }

  .intro-band {
    margin-top: -24px;
  }

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

  .content-section {
    padding: 56px 0;
  }

  .project-card,
  .closing-panel {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-hero {
    padding: 56px 0 48px;
  }

  .legal-section {
    padding: 46px 0 58px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 39px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }
}
