:root {
  --navy-950: #071929;
  --navy-900: #0e2a47;
  --navy-800: #173b5f;
  --ink: #172536;
  --muted: #607083;
  --line: #dbe4ea;
  --paper: #ffffff;
  --canvas: #f4f7f9;
  --teal: #19a995;
  --teal-light: #dff7f3;
  --shadow: 0 24px 70px rgba(14, 42, 71, 0.10);
  --radius: 22px;
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  color: #fff;
  background: rgba(7, 25, 41, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy-950);
  background: var(--teal);
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.5rem 0.85rem;
  color: #c9d6e1;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .contact-link {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.site-nav .contact-link:hover,
.site-nav .contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(25, 169, 149, 0.24), transparent 28rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 4rem;
  align-items: center;
  width: min(1160px, 90vw);
  min-height: 440px;
  margin: 0 auto;
  padding: 5rem 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero-copy > p {
  max-width: 680px;
  margin: 1.8rem 0 2rem;
  color: #cad7e2;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.meta span {
  padding: 0.55rem 0.85rem;
  color: #dce7ef;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.84rem;
}

.meta strong {
  color: #fff;
}

.hero-seal {
  display: grid;
  width: 200px;
  height: 200px;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-seal svg {
  width: 112px;
  fill: var(--teal);
}

.hero-seal .check {
  fill: none;
  stroke: #fff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.terms-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(25, 169, 149, 0.2), transparent 28rem),
    linear-gradient(135deg, #071929, #214866);
}

.terms-seal span {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  letter-spacing: -0.08em;
}

.page-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: 3.5rem;
  align-items: start;
  width: min(1160px, 90vw);
  margin: 0 auto;
  padding: 4.5rem 0 6rem;
}

.sidebar-inner {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 128px);
  overflow: auto;
  padding-right: 1rem;
  scrollbar-width: thin;
}

.sidebar-title {
  margin: 0 0 1rem;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sidebar nav {
  display: grid;
  gap: 0.15rem;
}

.sidebar nav a {
  padding: 0.38rem 0 0.38rem 0.9rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease, padding 140ms ease;
}

.sidebar nav a:hover,
.sidebar nav a:focus-visible {
  padding-left: 1.05rem;
  color: var(--navy-900);
  border-color: var(--teal);
}

.related-card {
  margin-top: 1.8rem;
  padding: 1rem;
  background: var(--teal-light);
  border: 1px solid #c9eee7;
  border-radius: 12px;
}

.related-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-card a {
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
}

.mobile-toc {
  display: none;
}

.policy-card {
  padding: clamp(1.5rem, 4vw, 4.5rem);
  background: var(--paper);
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1.2rem;
  margin-bottom: 3.8rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.section-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy-900);
  background: var(--teal-light);
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 900;
}

.intro p {
  margin-top: 0;
  color: #35475b;
  font-size: 1.05rem;
}

.policy-section {
  padding: 0.5rem 0 2.8rem;
  scroll-margin-top: 96px;
}

.policy-section + .policy-section {
  padding-top: 2.8rem;
  border-top: 1px solid var(--line);
}

.policy-section h2,
.contact-card h2 {
  margin: 0 0 1.2rem;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.terms-card {
  counter-reset: terms;
}

.terms-card .policy-section {
  position: relative;
}

.term-number {
  display: inline-flex;
  min-width: 46px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy-900);
  background: var(--teal-light);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.policy-section p {
  margin: 0 0 1.15rem;
  color: #3d4d5f;
}

.policy-section ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.policy-section li {
  position: relative;
  padding: 1rem 1rem 1rem 2.8rem;
  color: #3d4d5f;
  background: #f7f9fb;
  border: 1px solid #e7edf1;
  border-radius: 12px;
}

.policy-section li::before {
  position: absolute;
  top: 1.34rem;
  left: 1.1rem;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.contact-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 2rem;
  color: #fff;
  background: var(--navy-900);
  border-radius: 18px;
  scroll-margin-top: 96px;
}

.contact-card .eyebrow {
  margin-bottom: 0.4rem;
}

.contact-card h2 {
  margin-bottom: 0.35rem;
  color: #fff;
}

.contact-card p {
  margin: 0;
  color: #bdccda;
}

.contact-card a {
  flex: none;
  padding: 0.8rem 1rem;
  color: var(--navy-950);
  background: var(--teal);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  background: #4fd3c1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  color: #aebdca;
  background: var(--navy-950);
  font-size: 0.86rem;
}

footer a {
  color: #d9e4ec;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid #67d9cb;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-seal {
    display: none;
  }

  .page-shell {
    display: block;
    padding-top: 1.5rem;
  }

  .sidebar {
    display: none;
  }

  .mobile-toc {
    display: block;
    width: min(90vw, 820px);
    margin: 2rem auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(14, 42, 71, 0.06);
  }

  .mobile-toc summary {
    padding: 1rem 1.2rem;
    color: var(--navy-900);
    cursor: pointer;
    font-weight: 800;
  }

  .mobile-toc nav {
    display: grid;
    max-height: 340px;
    overflow: auto;
    padding: 0 1.2rem 1rem;
  }

  .mobile-toc a {
    padding: 0.55rem 0;
    color: var(--muted);
    border-top: 1px solid #edf1f4;
    font-size: 0.9rem;
    text-decoration: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  .brand > span:last-child {
    display: none;
  }

  .site-nav {
    gap: 0.15rem;
  }

  .site-nav a,
  .site-nav .contact-link {
    padding: 0.42rem 0.58rem;
    font-size: 0.78rem;
  }

  .hero-inner {
    padding: 3.3rem 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .policy-card {
    border-radius: 16px;
  }

  .intro {
    display: block;
  }

  .section-number {
    margin-bottom: 1.2rem;
  }

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

  .contact-card a {
    width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .sidebar,
  .mobile-toc,
  .hero-seal,
  .contact-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .hero {
    color: #000;
    background: #fff;
  }

  .hero-inner {
    display: block;
    min-height: 0;
    width: 100%;
    padding: 0 0 2rem;
  }

  .hero-copy > p,
  .meta span {
    color: #222;
  }

  .page-shell {
    display: block;
    width: 100%;
    padding: 0;
  }

  .policy-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .policy-section,
  .contact-card {
    break-inside: avoid;
  }

  .contact-card {
    color: #000;
    background: #fff;
    border: 1px solid #999;
  }

  .contact-card h2,
  .contact-card p {
    color: #000;
  }

  footer {
    display: none;
  }
}
