:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #161a1e;
  background: #f5f6f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

/* Interface symbols use an installed system fallback—there is no webfont or
   icon CDN that could disappear after the site is hosted. */
.note-icon, .note-check, .preview-head > span, .score-pill,
.feature-points > div > span, .mini-icon, .header-cta span,
.button span, .coming-badge span {
  font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.65;
  background:
    radial-gradient(circle at 14% 4%, rgba(206, 197, 237, .34), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(247, 205, 217, .27), transparent 31rem),
    #f5f6f8;
}

a { color: inherit; text-underline-offset: .18em; }
a:hover { color: #566068; }
a:focus-visible { outline: 3px solid #7671a7; outline-offset: 4px; border-radius: 4px; }

.shell { width: min(100% - 48px, 1080px); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid rgba(22, 26, 30, .1);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.primary-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.primary-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #566068;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.primary-nav a[aria-current="page"], .primary-nav a:hover { color: #161a1e; background: #e9ebee; }

.hero { padding: clamp(56px, 9vw, 110px) 0 42px; }
.eyebrow { margin: 0 0 14px; color: #59636b; font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; max-width: 850px; font-size: clamp(44px, 7vw, 76px); line-height: 1.04; letter-spacing: -.065em; }
.lede { max-width: 690px; margin: 22px 0 0; color: #566068; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.updated { margin: 22px 0 0; color: #737c84; font-size: 14px; }

.document-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: 100px; }
.toc { position: sticky; top: 32px; padding-top: 38px; }
.toc-label { margin: 0 0 12px; color: #737c84; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: #566068; font-size: 14px; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: #161a1e; }

.document {
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid #e1e5e9;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 24, 29, .04);
}
.document section + section { margin-top: 39px; padding-top: 39px; border-top: 1px solid #e9ecef; }
.document h2 { margin: 0 0 16px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -.035em; scroll-margin-top: 24px; }
.document p { margin: 0; color: #4e5962; font-size: 16px; line-height: 1.75; }
.document p + p { margin-top: 14px; }
.document a { color: #161a1e; font-weight: 650; }

.site-footer { border-top: 1px solid #dfe3e7; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; min-height: 100px; padding-block: 24px; color: #667079; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 640px); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 22px; }
  .primary-nav { gap: 0; }
  .primary-nav a { padding: 7px 9px; font-size: 13px; }
  .hero { padding: 58px 0 30px; }
  .document-layout { display: block; padding-bottom: 64px; }
  .toc { display: none; }
  .document { border-radius: 22px; }
}

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

/* Legal pages use the same restrained monochrome system as the main site. */
body:not(.home) { color: #111; background: #fff; }
body:not(.home) .site-header { position: sticky; top: 0; z-index: 20; border-bottom-color: #dedede; background: rgba(255,255,255,.94); }
body:not(.home) .header-inner { min-height: 76px; }
body:not(.home) .primary-nav { margin-left: auto; }
body:not(.home) .primary-nav a { color: #666; }
body:not(.home) .primary-nav a[aria-current="page"], body:not(.home) .primary-nav a:hover { color: #111; background: #f0f0ee; }
.legal-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 39px; padding: 0 15px; border-radius: 999px; color: #fff; background: #111; font-size: 12px; font-weight: 700; text-decoration: none; }
.legal-cta:hover { color: #fff; background: #333; }
.legal-cta-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body:not(.home) .hero { position: relative; overflow: hidden; margin-top: 34px; padding: clamp(46px, 7vw, 82px) clamp(28px, 6vw, 76px); border: 1px solid #111; background: #111; color: #fff; }
body:not(.home) .hero::after { content: ""; position: absolute; top: -150px; right: -105px; width: 395px; height: 395px; border: 1px solid #505050; border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.02); }
body:not(.home) .hero .eyebrow { position: relative; z-index: 1; color: #bcbcbc; }
body:not(.home) .hero h1 { position: relative; z-index: 1; max-width: 760px; color: #fff; font-size: clamp(46px, 6vw, 76px); }
body:not(.home) .hero .lede { position: relative; z-index: 1; max-width: 630px; color: #c9c9c9; }
body:not(.home) .updated { position: relative; z-index: 1; display: inline-flex; margin-top: 27px; padding: 7px 10px; border: 1px solid #505050; color: #d0d0d0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body:not(.home) .document-layout { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(38px, 6vw, 92px); padding-top: 42px; padding-bottom: 110px; }
body:not(.home) .toc { top: 110px; padding-top: 0; }
body:not(.home) .toc-label { margin-bottom: 16px; color: #111; font-size: 10px; }
body:not(.home) .toc a { padding: 8px 0; border-bottom: 1px solid #e9e9e7; color: #666; font-size: 13px; }
body:not(.home) .toc a:hover { color: #111; }
body:not(.home) .document { padding: clamp(28px, 5vw, 65px); border: 0; border-top: 3px solid #111; border-radius: 0; background: #fff; box-shadow: none; }
body:not(.home) .document section + section { margin-top: 42px; padding-top: 42px; border-top-color: #dedede; }
body:not(.home) .document h2 { color: #111; font-size: clamp(22px, 2.5vw, 29px); letter-spacing: -.045em; }
body:not(.home) .document p { color: #4c4c49; font-size: 16px; line-height: 1.78; }
body:not(.home) .document a { color: #111; text-decoration-thickness: 1px; }
body:not(.home) .site-footer { border-top: 0; background: #111; }
body:not(.home) .footer-inner { min-height: 96px; color: #aaa; }
body:not(.home) .footer-links a { color: #e6e6e4; }
body:not(.home) .footer-links a:hover { color: #fff; }

@media (max-width: 760px) {
  .legal-cta { display: none; }
  body:not(.home) .hero { margin-top: 18px; padding: 48px 26px; }
  body:not(.home) .hero::after { top: -205px; right: -175px; }
  body:not(.home) .document-layout { padding-top: 30px; }
  body:not(.home) .document { padding-inline: 0; }
  body:not(.home) .document p { font-size: 15px; }
}
