* {
  box-sizing: border-box;
}

:root {
  --primary: #7bf6cd;
  --secondary: #1c838d;
  --title: #01627c;
  --bg-color: #163238;
  --bg-deep: #0f262c;
  --panel: #eee9df;
  --panel-soft: #f5f1e9;
  --text: #10333d;
  --muted: #38575f;
  --gold: #ae7c2b;
  --gold-soft: #f2de7a;
  --focus: #f2de7a;
  --shadow: rgba(3, 19, 23, 0.32);
  --surface-gutter: 1rem;
  --surface-max-width: 900px;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(123, 246, 205, 0.09), transparent 28rem),
    radial-gradient(circle at 82% 80%, rgba(106, 199, 212, 0.09), transparent 30rem),
    linear-gradient(145deg, #10282e 0%, #19383d 48%, #112a30 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: #01627c;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #004f64;
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.8rem;
  color: var(--text);
  background: var(--gold-soft);
  border-radius: 0.35rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--surface-gutter);
  overflow: hidden;
}

.home-page {
  min-height: 34rem;
  min-height: max(100svh, 34rem);
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  pointer-events: none;
}

.orb-a {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  top: -10rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(123, 246, 205, 0.14), transparent 70%);
}

.orb-b {
  width: min(36vw, 430px);
  height: min(36vw, 430px);
  bottom: -9rem;
  left: -7rem;
  background: radial-gradient(circle, rgba(28, 131, 141, 0.13), transparent 72%);
}

.hero,
.content-surface {
  width: min(var(--surface-max-width), 100%);
}

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(42px, 6vw, 76px);
  text-align: center;
  border: 1px solid rgba(242, 222, 122, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(244, 240, 232, 0.98), rgba(233, 227, 216, 0.96));
  box-shadow:
    0 28px 90px var(--shadow),
    0 6px 24px rgba(3, 19, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-logo {
  display: block;
  width: clamp(220px, 30vw, 330px);
  height: auto;
  margin: 0 auto;
}

.divider {
  width: min(62vw, 620px);
  height: 2px;
  margin: 26px auto 28px;
  background: linear-gradient(
    90deg,
    rgba(242, 222, 122, 0) 0%,
    rgba(174, 124, 43, 0.42) 20%,
    rgba(242, 222, 122, 0.88) 50%,
    rgba(174, 124, 43, 0.42) 80%,
    rgba(242, 222, 122, 0) 100%
  );
  box-shadow: 0 0 16px rgba(242, 222, 122, 0.14);
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1.02;
}

.hero p {
  max-width: 700px;
  margin: 26px auto 0;
  color: rgba(16, 51, 61, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.78;
}

.home-footer {
  position: absolute;
  z-index: 1;
  right: var(--surface-gutter);
  bottom: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: var(--surface-gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(238, 233, 223, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.035em;
}

.site-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(242, 222, 122, 0.14);
  border-radius: 1rem;
  background: rgba(238, 233, 223, 0.96);
  box-shadow: 0 12px 40px rgba(3, 19, 23, 0.18);
}

.brand-link {
  display: inline-flex;
  flex: 0 1 auto;
}

.header-logo {
  display: block;
  width: min(192px, 45vw);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--title);
  text-decoration: underline;
}

.content-surface {
  margin: 1.5rem auto 0;
  padding: clamp(1.5rem, 5vw, 4rem);
  overflow-wrap: anywhere;
  border: 1px solid rgba(242, 222, 122, 0.16);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(245, 241, 233, 0.99), rgba(238, 233, 223, 0.98));
  box-shadow: 0 24px 70px var(--shadow);
}

.content-surface h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.legal-content h1 {
  max-width: 22ch;
}

.content-surface h2 {
  margin: 2.5rem 0 0.75rem;
  color: var(--title);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.25;
}

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

.content-surface li + li {
  margin-top: 0.65rem;
}

.content-surface ul,
.content-surface ol {
  padding-left: 1.4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.effective-date {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.28rem 0.65rem;
  color: #62430e;
  border: 1px solid rgba(174, 124, 43, 0.3);
  border-radius: 999px;
  background: rgba(242, 222, 122, 0.22);
  font-size: 0.82rem;
}

.lede {
  max-width: 72ch;
  margin: 1.25rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
}

.table-of-contents {
  margin: 2.25rem 0 2.75rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid rgba(174, 124, 43, 0.72);
  background: rgba(255, 255, 255, 0.28);
}

.table-of-contents h2 {
  margin: 0;
  font-size: 1rem;
}

.table-of-contents ol {
  columns: 2;
  column-gap: 2rem;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.table-of-contents li {
  break-inside: avoid;
}

.contact-callout {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(1, 98, 124, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.33);
}

.contact-callout h2 {
  margin-top: 0;
}

.primary-link {
  display: inline-block;
  margin: 0.3rem 0;
  padding: 0.7rem 1rem;
  color: #fff;
  border-radius: 0.45rem;
  background: var(--title);
  font-weight: 650;
  text-decoration: none;
}

.primary-link:hover,
.primary-link:focus-visible {
  color: #fff;
  background: #004f64;
}

.resource-list,
.steps {
  padding-left: 1.5rem;
}

.steps li::marker {
  color: var(--gold);
  font-weight: 700;
}

.back-to-top {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  padding: 1.25rem 1rem 0;
  font-size: 0.8rem;
}

.site-footer a {
  color: rgba(238, 233, 223, 0.72);
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a[aria-current="page"] {
  color: var(--panel);
}

@media (max-width: 720px) {
  .home-page {
    min-height: 34rem;
    min-height: max(100svh, 34rem);
  }

  .hero {
    padding: 34px 20px 38px;
    border-radius: 22px;
  }

  .brand-logo {
    width: min(250px, 76vw);
  }

  .divider {
    width: 78vw;
    margin: 22px auto;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .hero p {
    margin-top: 20px;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .site-shell {
    padding-top: 0.5rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .content-surface {
    margin-top: 0.75rem;
    padding: 1.35rem;
    border-radius: 1rem;
  }

  .table-of-contents ol {
    columns: 1;
  }
}

@media (max-height: 690px) and (min-width: 721px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .brand-logo {
    width: 250px;
  }

  .divider {
    margin: 20px auto;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero p {
    margin-top: 18px;
  }
}

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