:root {
  color-scheme: light;
  --ink: #132238;
  --muted: #52647a;
  --blue: #183f68;
  --blue-dark: #102f51;
  --red: #c9434b;
  --yellow: #ffd166;
  --ice: #eef6f5;
  --line: #d5e0df;
  --white: #ffffff;
  --page: #f9fbfa;
}

* {
  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;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(249, 251, 250, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 7px;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
}

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--blue);
}

.language-button {
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
}

.language-button:hover {
  border-color: var(--blue);
}

.hero {
  min-height: min(680px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(58px, 9vw, 110px) clamp(20px, 7vw, 100px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(238, 246, 245, 0.96), rgba(249, 251, 250, 0.78)),
    url("assets/sign-warning.png") right 12% center / 380px no-repeat;
}

.hero-content {
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 6.5vw, 5.8rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.primary-button {
  background: var(--blue);
  color: var(--white);
}

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

.secondary-button {
  border: 2px solid var(--white);
  color: var(--white);
}

.secondary-button:hover {
  background: var(--white);
  color: var(--blue);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
}

.app-icon {
  width: min(330px, 72vw);
  border: 10px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(16, 47, 81, 0.2);
}

.sign-strip {
  display: flex;
  gap: 12px;
  margin-top: -28px;
}

.sign-strip img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.12);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blue);
  color: var(--white);
}

.trust-band div {
  min-height: 130px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong {
  color: var(--yellow);
  font-size: 2.2rem;
}

.trust-band span {
  font-weight: 700;
}

.content-section {
  padding: clamp(72px, 10vw, 130px) clamp(20px, 7vw, 100px);
}

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

.section-heading h2,
.disclaimer h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-grid article {
  min-height: 265px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
}

.feature-number {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 48px 0 12px;
  font-size: 1.3rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.disclaimer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 7vw, 100px);
  background: var(--red);
  color: var(--white);
}

.disclaimer div {
  max-width: 800px;
}

.disclaimer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #0e1b2b;
  color: var(--white);
}

footer p {
  margin: 0;
  color: #a9b5c4;
  font-size: 0.88rem;
}

.footer-links a {
  color: #cbd5df;
}

.legal-page {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.legal-heading {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.legal-heading h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.legal-heading > p:last-child {
  color: var(--muted);
}

.legal-content {
  margin-top: 54px;
}

.legal-content section {
  padding: 0 0 30px;
}

.legal-content h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: #3f5065;
}

.legal-content ul {
  padding-left: 22px;
}

.provider-links a,
.contact-link {
  color: var(--blue);
  font-weight: 750;
}

.contact-link {
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
  }

  .trust-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .disclaimer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  nav {
    min-width: 0;
    margin-left: auto;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  nav a {
    font-size: 0.86rem;
  }

  .hero {
    overflow: hidden;
    padding-top: 46px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.45rem;
    line-height: 1.03;
  }

  .hero-visual {
    width: 100%;
  }

  .sign-strip img {
    width: 64px;
    height: 64px;
  }

  .trust-band div {
    justify-content: flex-start;
    padding-left: 24px;
  }
}

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