
:root {
  color-scheme: light;
  --navy-975: #04101f;
  --navy-950: #071426;
  --navy-900: #0b1b31;
  --navy-800: #132a45;
  --navy-700: #1f3d5d;
  --ink: #122033;
  --muted: #607086;
  --muted-light: #a9b7c8;
  --line: #dbe3ec;
  --line-strong: #c4cfdb;
  --paper: #ffffff;
  --surface: #f5f7fa;
  --surface-raised: #f9fbfc;
  --surface-strong: #eaf0f5;
  --teal: #16bfb3;
  --teal-deep: #087e77;
  --teal-pale: #e8f8f6;
  --danger: #a52a2a;
  --shadow-sm: 0 8px 24px rgba(7, 20, 38, .06);
  --shadow-lg: 0 26px 68px rgba(7, 20, 38, .11);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy-800); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(22, 191, 179, .55);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: .75rem;
  z-index: 1000;
  transform: translateY(-180%);
  background: #fff;
  color: var(--navy-950);
  border: 2px solid var(--teal);
  border-radius: 10px;
  padding: .7rem 1rem;
  box-shadow: var(--shadow-sm);
  font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(196, 207, 219, .85);
  box-shadow: 0 4px 18px rgba(7, 20, 38, .035);
  backdrop-filter: blur(18px);
}
.header-inner, .footer-inner, .page-shell, .home-section {
  width: min(var(--content), calc(100% - 3rem));
  margin-inline: auto;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: .65rem;
}
.brand-cluster { display: flex; align-items: center; gap: 1.15rem; min-width: 0; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand-logo { width: 168px; height: auto; }
.section-label {
  padding-left: 1rem;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .085em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }
.primary-nav a {
  color: #526277;
  border-radius: 999px;
  padding: .55rem .8rem;
  font-size: .89rem;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--navy-900); background: var(--surface-strong); }
.primary-nav a[aria-current="page"] { color: var(--navy-950); background: var(--teal-pale); box-shadow: inset 0 0 0 1px #bee8e3; }

.page-shell { padding-block: clamp(2.2rem, 5vw, 5.2rem); }
.legal-layout { display: grid; grid-template-columns: minmax(220px, 276px) minmax(0, 1fr); gap: clamp(1.5rem, 3.8vw, 3.8rem); align-items: start; }
.toc {
  position: sticky;
  top: 106px;
  max-height: calc(100vh - 128px);
  overflow: auto;
  scrollbar-width: thin;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow-sm);
}
.toc strong { display: block; margin: 0 .4rem .75rem; color: var(--navy-900); font-size: .75rem; letter-spacing: .11em; text-transform: uppercase; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li + li { margin-top: .18rem; }
.toc li.level-3 { padding-left: .7rem; }
.toc a {
  display: block;
  color: var(--muted);
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  padding: .38rem .55rem;
  font-size: .83rem;
  line-height: 1.35;
  text-decoration: none;
}
.toc a:hover { color: var(--navy-900); border-left-color: var(--teal); background: var(--teal-pale); }
.toc-mobile { display: none; }
.toc-mobile summary {
  color: var(--navy-900);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.toc-mobile[open] summary { margin-bottom: .85rem; }

.document-card, .support-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.support-card {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}
.support-card a, .footer a, address { overflow-wrap: anywhere; }
.document-hero, .support-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.4rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(22, 191, 179, .25), transparent 32%),
    linear-gradient(142deg, var(--navy-975), var(--navy-800));
}
.document-hero::after, .support-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .025), 0 0 0 58px rgba(22, 191, 179, .025);
  pointer-events: none;
}
.eyebrow { margin: 0 0 .85rem; color: #6ee0d7; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.18; letter-spacing: -.025em; scroll-margin-top: 112px; }
.document-hero h1, .support-hero h1 { position: relative; z-index: 1; margin: 0; max-width: 20ch; color: #fff; font-size: clamp(2.25rem, 5vw, 4rem); }
.hero-description { position: relative; z-index: 1; max-width: 68ch; margin: 1rem 0 0; color: #d7e1ec; font-size: clamp(1rem, 2vw, 1.12rem); }
.meta-list { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin: 1.55rem 0 0; padding: 0; list-style: none; color: #aebfd0; font-size: .84rem; }
.meta-list b { color: #fff; }

.legal-document, .support-content { padding: clamp(1.5rem, 5vw, 4.4rem); }
.legal-document > :first-child, .support-content > :first-child { margin-top: 0; }
.legal-document p, .legal-document li, .support-content > p, .support-content > ul, .support-content > ol { max-width: 76ch; }
.legal-document h2 { margin-top: 3.3rem; padding-top: 1.35rem; border-top: 1px solid var(--line); font-size: clamp(1.45rem, 3vw, 2rem); }
.legal-document h3 { margin-top: 2rem; font-size: 1.18rem; }
.legal-document h1 { margin-top: 3.4rem; padding-top: 1.35rem; border-top: 2px solid var(--line-strong); font-size: 1.62rem; }
.legal-document li + li, .support-content li + li { margin-top: .48rem; }
.legal-document strong { color: #0b1b31; }
.legal-document blockquote { margin: 1.75rem 0; padding: 1.15rem 1.35rem; border: 1px solid #bfe7e2; border-left: 5px solid var(--teal); border-radius: 12px; background: var(--teal-pale); }
.legal-document hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
.legal-document table { display: block; width: 100%; overflow-x: auto; border-collapse: separate; border-spacing: 0; margin: 1.6rem 0 2rem; font-size: .9rem; }
.legal-document th, .legal-document td { min-width: 10rem; padding: .8rem .9rem; text-align: left; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-document th { color: var(--navy-900); background: var(--surface-strong); }
.legal-document tr > :first-child { border-left: 1px solid var(--line); }
.legal-document thead tr:first-child > * { border-top: 1px solid var(--line); }
.legal-document thead tr:first-child > :first-child { border-top-left-radius: 10px; }
.legal-document thead tr:first-child > :last-child { border-top-right-radius: 10px; }
address { font-style: normal; }

.notice { margin: 1.6rem 0; border: 1px solid #b7e4df; border-left: 5px solid var(--teal); border-radius: 14px; padding: 1.1rem 1.25rem; background: var(--teal-pale); }
.notice strong { color: var(--navy-900); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; margin-block: 1.7rem; }
.info-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.35rem; background: linear-gradient(180deg, #fff, var(--surface-raised)); box-shadow: 0 8px 24px rgba(7, 20, 38, .035); }
.info-card h2, .info-card h3 { margin-top: 0; font-size: 1.12rem; }
.info-card p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.7rem 0; }
.steps li { position: relative; padding: .05rem 0 1.35rem 3.4rem; min-height: 2.55rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.35rem; height: 2.35rem; border-radius: 999px; display: grid; place-items: center; color: #fff; background: var(--navy-900); box-shadow: 0 0 0 5px var(--teal-pale); font-weight: 800; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.05rem; border: 1px solid transparent; border-radius: 11px; color: #fff; background: var(--teal-deep); text-decoration: none; font: inherit; font-weight: 760; cursor: pointer; box-shadow: 0 8px 20px rgba(8, 126, 119, .18); }
.button:hover { color: #fff; background: var(--navy-800); }
.button.secondary { color: var(--navy-900); background: #fff; border-color: var(--line-strong); box-shadow: none; }
.button.secondary:hover { color: var(--navy-950); background: var(--surface-strong); }
.button.destructive { color: #fff; background: var(--danger); border-color: var(--danger); box-shadow: 0 8px 20px rgba(180, 35, 24, .18); }
.button.destructive:hover { color: #fff; background: #8f1d15; border-color: #8f1d15; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.25rem; }
.field label, .field legend { display: block; margin-bottom: .42rem; color: var(--navy-900); font-weight: 750; }
.field small { display: block; margin-top: .4rem; color: var(--muted); }
.field input[type="email"], .field input[type="text"], .field textarea { width: 100%; min-height: 48px; padding: .76rem .85rem; border: 1px solid #9eabba; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(22, 191, 179, .12); }
.field textarea { min-height: 132px; resize: vertical; }
.check-row { display: grid; grid-template-columns: 1.2rem 1fr; gap: .72rem; align-items: start; }
.check-row input { width: 1.12rem; height: 1.12rem; margin-top: .27rem; accent-color: var(--teal-deep); }
.required { color: var(--danger); }
.error-summary { border: 2px solid var(--danger); border-radius: 14px; padding: 1.1rem; margin-bottom: 1.35rem; background: #fff4f3; }
.error-summary h2 { margin-top: 0; font-size: 1.18rem; }
.success { border: 2px solid var(--teal-deep); border-radius: 14px; padding: 1.2rem; background: var(--teal-pale); }
.bot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.home-main { overflow: hidden; }
.home-hero-wrap { padding: clamp(1.4rem, 3vw, 2.25rem) 0 clamp(4rem, 9vw, 7.5rem); }
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(2.4rem, 7vw, 6.4rem);
  border: 1px solid #17314f;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(22, 191, 179, .24), transparent 25%),
    radial-gradient(circle at 20% 100%, rgba(39, 78, 118, .52), transparent 40%),
    linear-gradient(145deg, var(--navy-975), var(--navy-800));
  box-shadow: 0 36px 90px rgba(7, 20, 38, .2);
}
.home-hero::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, black, transparent 78%); pointer-events: none; }
.home-copy, .system-card { position: relative; z-index: 1; }
.status-pill { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.3rem; padding: .48rem .78rem; border: 1px solid rgba(110,224,215,.35); border-radius: 999px; color: #b8eeea; background: rgba(22,191,179,.08); font-size: .76rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(22,191,179,.12); }
.home-hero h1 { max-width: 12ch; margin: 0; color: #fff; font-size: clamp(3rem, 7vw, 6rem); line-height: .99; letter-spacing: -.055em; }
.home-hero h1 span { color: #70e1d8; }
.home-lede { max-width: 59ch; margin: 1.45rem 0 0; color: #cedae6; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.home-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.home-actions .button { min-height: 50px; padding-inline: 1.3rem; }
.home-actions .button.secondary { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
.home-actions .button.secondary:hover { background: rgba(255,255,255,.14); }
.system-card { padding: 1.35rem; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: rgba(4,16,31,.5); box-shadow: 0 24px 54px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.system-card-label { margin: 0 0 1rem; color: #91a6bb; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.system-list { list-style: none; padding: 0; margin: 0; }
.system-list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem; align-items: start; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.system-list li:first-child { border-top: 0; padding-top: 0; }
.system-list li:last-child { padding-bottom: 0; }
.system-index { color: #70e1d8; font-size: .73rem; font-weight: 800; letter-spacing: .08em; }
.system-list strong { display: block; color: #fff; font-size: 1rem; }
.system-list span:last-child { display: block; margin-top: .2rem; color: #aebdcb; font-size: .88rem; }

.trust-section { padding-bottom: clamp(4rem, 8vw, 7rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 2rem; align-items: end; margin-bottom: 1.8rem; }
.section-kicker { margin: 0 0 .5rem; color: var(--teal-deep); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading > p { max-width: 58ch; margin: 0; color: var(--muted); font-size: 1.02rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust-card { position: relative; min-height: 226px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.trust-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(7,20,38,.1); }
.trust-number { color: var(--teal-deep); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.trust-card h3 { margin: 2.3rem 0 .6rem; font-size: 1.15rem; }
.trust-card p { margin: 0 0 1.2rem; color: var(--muted); font-size: .91rem; }
.trust-card a { position: absolute; right: 1.4rem; bottom: 1.35rem; left: 1.4rem; color: var(--navy-900); font-size: .88rem; font-weight: 760; text-decoration: none; }
.trust-card a::after { content: " →"; color: var(--teal-deep); }

.site-footer { background: var(--navy-975); color: #afbecd; border-top: 1px solid #16314d; }
.footer-inner { padding-block: 3rem 1.5rem; }
.footer-top { display: grid; grid-template-columns: minmax(230px, .85fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5rem); }
.footer-brand-logo { width: 154px; height: auto; }
.footer-summary { max-width: 36ch; margin: .9rem 0 0; color: #9dafc0; font-size: .9rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .62rem 1.2rem; align-content: start; }
.footer-links a { color: #d4dee8; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.15rem; border-top: 1px solid #1b3551; color: #8698aa; font-size: .78rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1040px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .35rem; padding-bottom: .8rem; }
  .primary-nav { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: thin; }
  .home-hero { grid-template-columns: 1fr; }
  .system-card { max-width: 620px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .header-inner, .footer-inner, .page-shell, .home-section { width: min(var(--content), calc(100% - 2rem)); }
  .legal-layout { grid-template-columns: 1fr; }
  .toc-desktop { display: none; }
  .toc-mobile { display: block; position: static; max-height: none; overflow: visible; }
  .grid, .footer-top, .form-grid, .section-heading { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 580px) {
  .header-inner, .footer-inner, .page-shell, .home-section { width: min(var(--content), calc(100% - 1.25rem)); }
  .brand-logo { width: 148px; }
  .section-label { padding-left: .75rem; font-size: .68rem; }
  .primary-nav { overflow: visible; flex-wrap: wrap; gap: .1rem .25rem; padding-bottom: 0; }
  .primary-nav a { padding: .42rem .55rem; font-size: .82rem; }
  .page-shell { padding-block: 1.2rem 3rem; }
  .document-card, .support-card { border-radius: 20px; }
  .document-hero, .support-hero, .legal-document, .support-content { padding: 1.35rem; }
  .document-hero h1, .support-hero h1 { font-size: 2.25rem; }
  .home-hero-wrap { padding-top: .75rem; }
  .home-hero { padding: 1.6rem; border-radius: 24px; }
  .home-hero h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .system-card { padding: 1.1rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 205px; }
  .footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trust-card { transition: none; }
}
@media print {
  body { background: #fff; font-size: 10.5pt; }
  .site-header, .site-footer, .toc, .skip-link, .button { display: none !important; }
  .page-shell { width: 100%; padding: 0; }
  .legal-layout { display: block; }
  .document-card, .support-card { border: 0; box-shadow: none; }
  .document-hero, .support-hero { color: #000; background: #fff; border-bottom: 2px solid #000; padding: 0 0 1rem; }
  .document-hero::after, .support-hero::after { display: none; }
  .document-hero h1, .support-hero h1, .eyebrow, .hero-description, .meta-list, .meta-list b { color: #000; }
  .legal-document, .support-content { padding: 0; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; }
  h1, h2, h3 { break-after: avoid; }
  p, li, table { break-inside: avoid; }
}
