:root {
  color-scheme: light;
  --ink: #0a1c31;
  --navy: #001838;
  --navy-soft: #0b2240;
  --green: #0b7a63;
  --green-bright: #12a183;
  --muted: #56657a;
  --line: #e1e7ef;
  --bg: #ffffff;
  --tint: #f5f8fb;
  --radius: 14px;
  --wrap: 1140px;
  --shadow-sm: 0 1px 2px rgba(0, 24, 56, 0.05);
  --shadow: 0 24px 48px -32px rgba(0, 24, 56, 0.35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(18, 161, 131, 0.18);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  z-index: 100;
}

.skip:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 208px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:not(.btn) {
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav a:not(.btn):hover {
  color: var(--navy);
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green-bright);
  transition: width 0.2s ease;
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid var(--navy);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -16px rgba(0, 24, 56, 0.7);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #c9d4e2;
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 92px 0 84px;
  background:
    radial-gradient(46rem 26rem at 76% -14%, rgba(18, 161, 131, 0.14), transparent 62%),
    radial-gradient(38rem 24rem at 6% 10%, rgba(0, 24, 56, 0.07), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 28, 49, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 28, 49, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(60% 60% at 62% 36%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 60% at 62% 36%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(18, 161, 131, 0.15);
}

h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.15rem);
  line-height: 1.01;
  margin-bottom: 22px;
}

.lead {
  max-width: 33rem;
  font-size: 1.14rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-meta li {
  position: relative;
  padding-left: 18px;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(11, 122, 99, 0.3);
}

/* ---------- Record card ---------- */

.record-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 60px -40px rgba(0, 24, 56, 0.55), var(--shadow-sm);
}

.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.record-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pill-ok {
  background: rgba(18, 161, 131, 0.12);
  color: var(--green);
}

.record-rows {
  margin: 0;
}

.record-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(225, 231, 239, 0.9);
}

.record-rows > div:last-child {
  border-bottom: 0;
}

.record-rows dt {
  font-size: 0.86rem;
  color: var(--muted);
}

.record-rows dd {
  margin: 0;
  font-size: 0.84rem;
  color: var(--navy);
}

.mono {
  font-family: var(--mono);
  font-size: 0.8rem !important;
}

.ok {
  color: var(--green) !important;
  font-weight: 600;
}

.record-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Strip ---------- */

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

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.strip-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.strip-inner li {
  color: var(--navy-soft);
  font-weight: 600;
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
  scroll-margin-top: 96px;
}

.section-tint {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 56px;
}

.section-head h2,
.split h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.4rem);
  margin-bottom: 18px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: #cdd8e6;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(18, 161, 131, 0.1);
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 700;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: 1.06rem;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.card p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.split-reverse > :first-child {
  order: 2;
}

.checklist li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 0.99rem;
  color: var(--navy-soft);
}

.checklist li:first-child {
  border-top: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: rgba(18, 161, 131, 0.12);
  box-shadow: inset 0 0 0 1px rgba(18, 161, 131, 0.35);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 6px;
  height: 10px;
  margin-top: -6px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(42deg);
}

.checklist-compact li {
  font-size: 0.94rem;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ---------- Dark band ---------- */

.dark {
  background: var(--navy);
  color: #dfe8f3;
}

.dark h2 {
  color: #fff;
}

.dark .section-lead {
  color: #a9bacc;
}

.eyebrow-light {
  color: #6fd6bd;
}

.eyebrow-light .dot {
  background: #6fd6bd;
  box-shadow: 0 0 0 4px rgba(111, 214, 189, 0.18);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
}

.compliance-item {
  padding: 26px 24px;
  background: var(--navy);
}

.compliance-item h3 {
  color: #fff;
  font-size: 1rem;
  margin: 12px 0 8px;
}

.compliance-item p {
  font-size: 0.89rem;
  color: #a9bacc;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(111, 214, 189, 0.35);
  color: #6fd6bd;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

/* ---------- Steps ---------- */

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

.step {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-num {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-wrap {
  max-width: var(--wrap);
}

.faq {
  max-width: 900px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(40rem 20rem at 85% 0%, rgba(18, 161, 131, 0.28), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 66px 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 8px;
}

.cta-inner p {
  color: #a9bacc;
  font-size: 0.98rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--tint);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 48px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 20rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-nav h3 {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-nav a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--navy-soft);
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--green);
}

.footer-simple {
  border-top: 0;
  padding-top: 0;
}

/* ---------- Legal pages ---------- */

.doc {
  padding: 72px 0 96px;
}

.doc-head {
  max-width: 44rem;
  margin-bottom: 44px;
}

.doc h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.doc-body {
  max-width: 46rem;
}

.doc-body h2 {
  font-size: 1.2rem;
  margin: 40px 0 12px;
}

.doc-body h3 {
  font-size: 1rem;
  margin: 24px 0 8px;
}

.doc-body p,
.doc-body li {
  color: var(--muted);
  font-size: 0.98rem;
}

.doc-body p + p {
  margin-top: 12px;
}

.doc-body ul {
  margin: 10px 0 0;
}

.doc-body ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(11, 122, 99, 0.45);
}

.doc-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.note {
  margin-top: 40px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-bright);
  border-radius: 8px;
  background: var(--tint);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split-reverse > :first-child {
    order: 0;
  }

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

  .section {
    padding: 72px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(0, 24, 56, 0.45);
  }

  .nav.open {
    display: flex;
  }

  .nav a:not(.btn) {
    width: 100%;
    padding: 10px 0;
  }

  .nav .btn {
    margin-top: 10px;
    width: 100%;
  }

  .brand img {
    width: 170px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .record-card {
    padding: 18px 16px 14px;
  }

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

@media (max-width: 430px) {
  h1 {
    font-size: 2.3rem;
  }

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

  .btn {
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .record-rows > div {
    gap: 10px;
  }

  .mono {
    font-size: 0.74rem !important;
  }
}

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

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