@font-face {
  font-family: "Dailey Manrope";
  src: url("/fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
}

:root {
  color-scheme: light dark;
  --background: #fff;
  --foreground: #0a0a0a;
  --card: #fff;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --ring: #a3a3a3;
  --text-small: 14px;
  --text-body: 16px;
  --text-heading: 24px;
  --text-title: 48px;
  font-family: "Dailey Manrope", sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.75;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--muted-foreground); }
a:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 3px; }
.site-header { border-bottom: 1px solid var(--border); background: var(--background); }
.header-inner, .footer-inner { max-width: 1120px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 72px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; font-family: "Dailey Manrope", sans-serif; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -.02em; }
.brand-name { display: block; flex: none; font: inherit; letter-spacing: inherit; }
.brand-icon { display: block; flex: none; width: 32px; height: 32px; object-fit: contain; border-radius: 22.5%; }
.header-nav { display: flex; align-items: center; gap: 6px; }
.header-nav a { padding: 9px 12px; border-radius: 7px; text-decoration: none; color: var(--muted-foreground); font-size: var(--text-small); line-height: 20px; font-weight: 600; }
.header-nav a:hover, .header-nav a[aria-current="page"] { background: var(--muted); color: var(--foreground); }
.page { max-width: 1120px; margin: auto; padding: 56px 24px 100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-foreground); font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--foreground); }
h1 { max-width: 800px; margin: 16px 0; font-size: var(--text-title); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
.lede { max-width: 700px; margin: 0; color: var(--muted-foreground); font-size: var(--text-body); line-height: 1.75; }
.meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--text-small); line-height: 20px; color: var(--muted-foreground); }
.meta span { border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px; }
.hero-rule { margin: 48px 0 38px; border: 0; border-top: 1px solid var(--border); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); align-items: start; gap: clamp(36px, 6vw, 86px); }
.toc { position: sticky; top: 32px; }
.toc-title { display: block; margin: 0 0 16px; color: var(--muted-foreground); font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: 8px 0 8px 13px; border-left: 1px solid var(--border); color: var(--muted-foreground); font-size: var(--text-small); line-height: 20px; text-decoration: none; }
.toc a:hover { border-color: var(--foreground); color: var(--foreground); }
.legal-content { min-width: 0; }
.callout { padding: 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--muted); font-size: var(--text-body); line-height: 1.75; }
.callout strong { display: block; margin-bottom: 8px; font-size: var(--text-body); font-weight: 600; }
.section { padding: 32px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 24px; }
.section:first-of-type { padding-top: 32px; }
.section:last-child { border: 0; }
h2 { margin: 0 0 16px; font-size: var(--text-heading); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
p, li { font-size: var(--text-body); line-height: 1.75; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 16px; padding-left: 24px; }
li + li { margin-top: 8px; }
.muted { color: var(--muted-foreground); }
.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.document-card { display: block; min-height: 190px; padding: 24px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: background .15s, border-color .15s; }
.document-card:hover { border-color: var(--ring); background: var(--muted); color: var(--foreground); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.document-card .card-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px; }
.card-icon svg, .card-arrow { display: block; flex: none; width: 20px; height: 20px; }
.card-arrow { color: var(--muted-foreground); }
.document-card h2 { margin: 24px 0 16px; }
.document-card p { margin: 0; color: var(--muted-foreground); }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 76px; color: var(--muted-foreground); font-size: var(--text-small); line-height: 20px; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { text-decoration: none; }
@media (prefers-color-scheme: dark) {
  :root { --background: #09090b; --foreground: #fafafa; --card: #09090b; --muted: #17171a; --muted-foreground: #a1a1aa; --border: #27272a; --primary: #fafafa; --primary-foreground: #18181b; --ring: #71717a; }
}
@media (max-width: 720px) {
  :root { --text-title: 36px; }
  .header-inner, .footer-inner { padding: 0 20px; }
  .header-inner { min-height: 64px; }
  .header-nav a { padding: 8px; }
  .page { padding: 42px 20px 72px; }
  .hero-rule { margin: 38px 0 22px; }
  .legal-layout { display: block; }
  .toc { position: static; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
  .toc a { display: inline-block; margin-right: 12px; padding: 6px 0; border: 0; }
  .document-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .document-card { min-height: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding-top: 20px; padding-bottom: 20px; }
}
