:root {
  --ink: #152029;
  --muted: #5b6773;
  --line: #dce5ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0b7a75;
  --teal-dark: #075b58;
  --blue: #286cb6;
  --signal: #d9842c;
  --panel: #182129;
  --shadow: 0 20px 56px rgba(16, 31, 46, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.policy-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(18, 28, 38, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 154px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.site-header.is-scrolled .brand-logo,
.policy-page .brand-logo {
  filter: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav a,
.nav-action {
  opacity: 0.92;
}

.main-nav a:hover,
.nav-action:hover,
.site-footer a:hover {
  opacity: 1;
  color: var(--teal);
}

.nav-action {
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 720;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(20px, 6vw, 84px) 76px;
  color: var(--white);
}

.compliance-hero {
  min-height: 760px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 16, 24, 0.9) 0%, rgba(6, 16, 24, 0.7) 43%, rgba(6, 16, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 12, 18, 0.58) 0%, rgba(4, 12, 18, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
}

.hero-content.compact {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #83e3db;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 780;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(10, 122, 117, 0.26);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  min-height: 128px;
  padding: 28px clamp(18px, 4vw, 42px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.trust-band span,
.service-card p,
.policy-card p,
.product-copy p,
.check-list,
.company-address,
.site-footer,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.section,
.product-section,
.cta,
.legal-page {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 84px);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading h2 {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card,
.policy-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(24, 39, 54, 0.05);
}

.service-card {
  min-height: 244px;
  padding: 22px;
}

.service-icon {
  color: var(--signal);
  font-size: 0.8rem;
  font-weight: 820;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  color: var(--white);
  background: var(--panel);
}

.product-copy .eyebrow {
  color: #88ddd5;
}

.product-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.06rem;
}

.info-panel {
  padding: 28px;
  color: var(--ink);
}

.info-panel h3 {
  margin-top: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

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

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.policy-card {
  min-height: 220px;
  padding: 26px;
}

.policy-card h3 {
  margin-top: 0;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1180px;
  margin: 26px auto 0;
}

.policy-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--teal-dark);
  background: var(--paper);
  font-weight: 760;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  background: #e9f1f3;
}

.company-address {
  margin-top: 22px;
  font-style: normal;
  font-size: 1.05rem;
}

.company-address a {
  color: var(--teal-dark);
  font-weight: 760;
}

.support-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.support-panel h3 {
  margin-top: 0;
}

.support-panel p {
  margin-bottom: 22px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 0.94rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 820;
}

.site-footer span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.policy-page {
  background: var(--paper);
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 150px;
}

.legal-content {
  margin-top: 34px;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(24, 39, 54, 0.05);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 760;
}

.not-found-page .legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.not-found-links {
  margin-top: 24px;
}

.careers-page .legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 680;
  line-height: 1.08;
}

.careers-page .legal-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 660;
}

.careers-page .legal-content h3 {
  font-size: 1.12rem;
  font-weight: 650;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-block: 14px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.is-menu-open {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(18, 28, 38, 0.1);
    backdrop-filter: blur(16px);
  }

  .site-header.is-menu-open .main-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-menu-open .main-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .site-header.is-menu-open .main-nav a:hover {
    background: var(--paper);
  }

  .hero {
    min-height: 640px;
    padding-top: 92px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 16, 24, 0.94) 0%, rgba(6, 16, 24, 0.78) 58%, rgba(6, 16, 24, 0.12) 100%),
      linear-gradient(90deg, rgba(6, 16, 24, 0.52) 0%, rgba(6, 16, 24, 0.1) 100%);
  }

  .trust-band,
  .service-grid,
  .product-section,
  .policy-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .section,
  .product-section,
  .cta,
  .legal-page {
    padding-block: 56px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .service-card,
  .policy-card {
    min-height: auto;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav-action {
    display: none;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand-logo {
    width: 132px;
  }

  .hero {
    min-height: 590px;
    padding-inline: 18px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 2.22rem;
    line-height: 1.05;
  }

  h2 {
    font-size: 1.9rem;
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .trust-band div {
    min-height: auto;
    padding: 22px 18px;
  }

  .service-card,
  .policy-card,
  .info-panel {
    padding: 20px;
  }

  .support-panel {
    padding: 16px;
  }
}
