:root {
  --navy: #0b1b2b;
  --navy-2: #12283f;
  --ink: #101e2c;
  --ink-soft: #41556b;
  --paper: #f7f9fb;
  --paper-2: #eef2f7;
  --teal: #1f8f96;
  --teal-deep: #146b71;
  --mint: #63d3c6;
  --line: #dbe3ec;
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 30px;
  --pad: clamp(20px, 5vw, 56px);
  --stack: clamp(56px, 9vw, 104px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

a {
  color: var(--teal-deep);
}

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

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

.skip:focus {
  left: 0;
}

.wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--navy-2);
  text-decoration: none;
}

.brand svg {
  flex: none;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--teal-deep);
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--navy-2);
  margin: 0 0 0.5em;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
  font-size: clamp(2.2rem, 5.8vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 750;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

section {
  padding-block: var(--stack);
}

section.sink {
  background: var(--paper-2);
}

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

.hero {
  padding-top: clamp(40px, 7vw, 84px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.viz {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--paper-2));
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(11, 27, 43, 0.12);
}

.viz svg {
  width: 100%;
  height: auto;
  display: block;
}

.vizcap {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0 20px 18px;
  margin: 0;
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

.g2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.g3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.g4 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.6vw, 28px);
}

section.sink .card {
  background: var(--paper);
}

.card p:last-child {
  margin-bottom: 0;
}

.card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.card-tint {
  background: var(--paper-2);
  border-color: transparent;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy-2);
}

.panel {
  background: var(--navy);
  color: #dfe8f2;
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px);
}

.panel h2 {
  color: #fff;
}

.panel p {
  color: #b7c8da;
}

.panel .chips li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eaf1f8;
}

.dot-connect {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.dot-connect::before,
.dot-connect::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(99, 211, 198, 0.25);
}

.dot-connect::after {
  background: var(--navy-2);
  box-shadow: 0 0 0 4px rgba(11, 27, 43, 0.12);
}

.dot-connect b {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--teal));
}

.note {
  border-left: 4px solid var(--teal);
  background: var(--paper-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.6vw, 30px);
}

.note :last-child {
  margin-bottom: 0;
}

.site-foot {
  background: var(--navy);
  color: #b7c8da;
  padding-block: clamp(38px, 5vw, 60px);
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
}

.site-foot a {
  color: #eaf1f8;
  text-decoration: none;
  font-weight: 500;
}

.site-foot a:hover {
  text-decoration: underline;
}

.foot-links {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.9rem;
  margin: 0;
}

.legal {
  padding-block: clamp(40px, 6vw, 72px);
}

.legal-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(22px, 3vw, 34px);
  margin-bottom: clamp(26px, 3.4vw, 40px);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  background: var(--paper-2);
  border-radius: var(--r-md);
  padding: 22px 24px;
  font-size: 0.92rem;
}

.toc h2 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 7px;
}

.toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal-deep);
  text-decoration: underline;
}

.legal-body {
  max-width: 74ch;
}

.legal-body h2 {
  font-size: clamp(1.18rem, 2.2vw, 1.45rem);
  margin-top: 2em;
  scroll-margin-top: 88px;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.02rem;
  margin-top: 1.6em;
  color: var(--teal-deep);
}

.legal-body ul {
  padding-left: 1.25em;
  margin: 0 0 1em;
  display: grid;
  gap: 6px;
}

.legal-intro {
  color: var(--ink-soft);
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.shown {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
  }
}

@media (max-width: 600px) {
  .site-head .wrap {
    min-height: 0;
    padding-block: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav {
    gap: 7px 16px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .toc {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
