@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-variable-v1.woff2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: #18181b;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 5px;
  border-radius: 4px;
}
::selection { background: #e0e7ff; }
.site-container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed; top: -100px; left: 24px; z-index: 100;
  padding: 12px 20px; border: 1px solid #e4e4e7; border-radius: 6px; background: #fff;
}
.skip-link:focus { top: 16px; }

/* Match the landing's Inter typography, header, buttons and indigo accents. */
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid #e4e4e780;
  background: #ffffffed; backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; min-height: 80px;
}
.brand-lockup {
  display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px;
  font-size: 23px; font-weight: 700; letter-spacing: -0.7px;
}
.brand-lockup img { display: block; width: 36px; height: 36px; border-radius: 9px; }
.header-actions { display: flex; align-items: center; gap: 32px; }
.main-navigation { display: flex; gap: 28px; font-size: 14px; color: #3f3f46; }
.main-navigation a:hover { color: #4f46e5; }
.site-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 6px;
  background: #18181b; color: #fff; font-size: 14px; font-weight: 500;
  white-space: nowrap; box-shadow: 0 1px 2px #0000000d;
}
.site-button:hover { background: #27272a; }

.legal-hero {
  padding: 72px 24px 64px; text-align: center;
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
}
.eyebrow {
  display: inline-block; margin: 0 0 20px; padding-bottom: 6px;
  border-bottom: 2px solid #4f46e5;
  color: #4f46e5; font-size: 14px; line-height: 1.5; font-weight: 600;
}
h1 {
  margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.15;
  font-weight: 800; letter-spacing: -0.045em;
  color: #312e81;
}
.legal-summary {
  max-width: 680px; margin: 24px auto 0;
  color: #52525b; font-size: 18px; line-height: 1.75;
}
.document-meta { margin: 24px 0 0; color: #71717a; font-size: 14px; line-height: 1.7; }
.legal-tabs { border-bottom: 1px solid #e4e4e7; }
.legal-tabs-inner { display: flex; justify-content: center; gap: 36px; }
.legal-tabs a {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 16px 4px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: #71717a; font-size: 14px; line-height: 1.5; font-weight: 500;
}
.legal-tabs a:hover, .legal-tabs a[aria-current="page"] { color: #4f46e5; }
.legal-tabs a[aria-current="page"] { border-bottom-color: #4f46e5; }

.document-layout {
  display: grid; grid-template-columns: 240px minmax(0, 720px);
  justify-content: center; align-items: start; gap: 64px;
  width: min(1120px, calc(100% - 48px)); margin: 64px auto 88px;
}
.document-sidebar { position: sticky; top: 112px; }
.contents-title { margin: 0 0 16px; color: #18181b; font-size: 14px; font-weight: 600; }
.contents-links { display: grid; gap: 2px; }
.contents-links a {
  padding: 8px 12px; border-left: 1px solid #e4e4e7;
  color: #71717a; font-size: 13px; line-height: 1.5;
}
.contents-links a:hover { border-left-color: #4f46e5; background: #eef2ff80; color: #4f46e5; }
.mobile-contents { display: none; }
.document { min-width: 0; }
.document section + section { margin-top: 40px; }
.document h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.35; font-weight: 650; letter-spacing: -0.035em; }
.document p, .document li {
  color: #52525b; font-size: 16px; line-height: 1.8;
  overflow-wrap: anywhere;
}
.document p { margin: 0; }
.document p + p, .document ul + p { margin-top: 16px; }
.document ul { margin: 12px 0 0; padding-left: 22px; }
.document li + li { margin-top: 8px; }
.document li::marker { color: #a1a1aa; }
.document a { color: #4f46e5; text-decoration: underline; text-underline-offset: 4px; }
.document a:hover { color: #4338ca; }
.document .external-link {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-top: 16px; padding: 8px 16px; border: 1px solid #e4e4e7; border-radius: 6px;
  color: #18181b; font-size: 14px; font-weight: 500; text-decoration: none;
}
.document .external-link:hover { background: #f4f4f5; }
.document-intro { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid #e4e4e7; }
.document .document-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e4e4e7; color: #71717a; font-size: 13px; }

.site-footer { padding: 56px 0 24px; border-top: 1px solid #e4e4e7; background: #fafafa; }
.footer-top { display: flex; justify-content: space-between; gap: 64px; padding-bottom: 40px; }
.footer-about { max-width: 300px; }
.footer-about p { margin: 20px 0 0; color: #71717a; font-size: 14px; line-height: 1.8; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.footer-columns h2 { margin: 0 0 16px; color: #71717a; font-size: 14px; line-height: 1.35; font-weight: 500; }
.footer-columns ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-columns a { color: #3f3f46; font-size: 14px; line-height: 1.7; }
.footer-columns a:hover, .footer-bottom a:hover { color: #4f46e5; }
.footer-columns a[aria-current="page"] { color: #4f46e5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #e4e4e7; color: #71717a; font-size: 13px; line-height: 1.7; }
.footer-bottom p { margin: 0; }

@media (max-width: 1100px) {
  .main-navigation { gap: 20px; }
  .header-actions { gap: 24px; }
  .document-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
  .footer-columns { gap: 32px; }
}
@media (max-width: 900px) {
  .main-navigation { display: none; }
  .document-layout { display: block; max-width: 720px; margin-top: 40px; }
  .document-sidebar { display: none; }
  .mobile-contents { display: block; margin-bottom: 36px; border: 1px solid #e4e4e7; border-radius: 6px; }
  .mobile-contents summary { min-height: 48px; padding: 14px 18px; cursor: pointer; font-size: 14px; font-weight: 500; }
  .mobile-contents nav { padding: 0 18px 16px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-about { max-width: 440px; }
}
@media (max-width: 600px) {
  .site-container, .document-layout { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand-lockup { gap: 8px; font-size: 21px; }
  .brand-lockup img { width: 32px; height: 32px; border-radius: 8px; }
  .site-button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .legal-hero { padding: 48px 20px 40px; }
  .legal-summary { margin-top: 20px; font-size: 16px; }
  .document-meta { margin-top: 20px; font-size: 13px; }
  .legal-tabs-inner { gap: 28px; }
  .legal-tabs a { min-height: 60px; }
  .document-layout { margin-block: 32px 56px; }
  .document h2 { font-size: 21px; }
  .document section + section { margin-top: 32px; }
  .document p, .document li { font-size: 15px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .site-footer { padding-top: 40px; }
}
@media (max-width: 360px) {
  .site-button { gap: 0; padding-inline: 10px; font-size: 11px; }
  .site-button span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
