:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #586174;
  --paper: #ffffff;
  --soft: #f6f7f1;
  --line: #dfe3dc;
  --teal: #177e89;
  --gold: #f5c542;
  --coral: #e85d75;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: #0f626a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 227, 220, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

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

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 68px 0 44px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 4.8vw, 5.25rem);
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 780;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: #243554;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  color: var(--teal);
  border-color: #a8d4d8;
}

.scanner-panel {
  position: relative;
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(23, 126, 137, 0.12), transparent 45%),
    linear-gradient(325deg, rgba(245, 197, 66, 0.24), transparent 48%),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scan-sheet {
  position: absolute;
  inset: 52px 54px;
  border: 1px solid #d8ded8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(20, 33, 61, 0.1);
}

.scan-sheet::before,
.scan-sheet::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  height: 9px;
  border-radius: 99px;
  background: #dfe7e3;
}

.scan-sheet::before {
  top: 74px;
  box-shadow: 0 42px 0 #dfe7e3, 0 84px 0 #dfe7e3;
}

.scan-sheet::after {
  top: 222px;
  right: 88px;
  background: var(--coral);
}

.scan-frame {
  position: absolute;
  inset: 26px;
  border: 3px solid var(--teal);
  border-radius: 10px;
}

.scan-frame::before,
.scan-frame::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 99px;
  background: var(--gold);
}

.scan-frame::before {
  top: 38%;
}

.scan-frame::after {
  top: 62%;
}

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

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

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

.card {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.06);
}

.card h3 {
  font-size: 1.24rem;
}

.card p {
  margin: 12px 0 20px;
  color: var(--muted);
}

.card a {
  margin-top: auto;
  font-weight: 800;
}

.policy-page {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 780px);
  gap: 42px;
  align-items: start;
  padding: 60px 0 86px;
}

.side-note {
  position: sticky;
  top: 88px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.side-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.document {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.document h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.65rem);
}

.document h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.document p,
.document li {
  color: var(--muted);
}

.document ul {
  padding-left: 1.25rem;
}

.meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #b8dfe2;
  border-radius: 8px;
  background: #eefbfc;
}

.contact-strip p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .policy-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 46px;
  }

  .scanner-panel {
    min-height: 330px;
  }

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

  .side-note {
    position: static;
  }
}

@media (max-width: 560px) {
  main,
  .nav,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 2.45rem;
  }

  .document {
    padding: 26px 20px;
  }

  .contact-strip,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .scan-sheet {
    inset: 46px 34px;
  }
}
