@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("assets/fonts/outfit-extrabold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page-background: #fafafa;
  --text-primary: #111115;
  --text-secondary: #636366;
  --footer-background: #081021;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page-background); color: var(--text-primary); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; border-radius: 4px; }
.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.container { width: min(100% - 160px, 1280px); margin-inline: auto; }
.hero-shell { flex: 1; min-height: 900px; padding-block: 56px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 22px/1.3 Outfit, sans-serif; }
.brand img { display: block; width: 60px; height: 60px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 560px; align-items: center; gap: 48px; margin-top: 64px; }
.hero-copy h1 { margin: 0 0 20px; font: 800 64px/74px Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.hero-copy p { margin: 0; color: var(--text-secondary); font-size: 18px; line-height: 28px; }
.hero-artwork { position: relative; width: 560px; height: 520px; }
.hero-artwork img { display: block; position: absolute; top: -20px; left: 0; width: 100%; height: auto; }
.site-footer { color: #fff; background: var(--footer-background); border-top: 1px solid rgb(255 255 255 / 8%); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; font-size: 12px; line-height: 15px; }
.footer-inner p { margin: 0; }
.policy-links { display: flex; flex-shrink: 0; gap: 24px; }
.policy-links a { text-decoration: none; text-underline-offset: 4px; }
.policy-links a:hover { text-decoration: underline; }

.legal-header { padding-block: 32px; border-bottom: 1px solid #dedee3; }
.legal-header .brand img { width: 48px; height: 48px; }
.legal-main { flex: 1; }
.legal-document { width: min(100%, 820px); margin-inline: auto; padding-block: 72px 96px; font-size: 16px; line-height: 1.7; }
.legal-document .eyebrow { margin: 0 0 8px; color: var(--text-secondary); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.legal-document h1 { margin: 0; font: 800 clamp(42px, 7vw, 64px)/1.1 Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.legal-document .legal-date { margin: 16px 0 48px; color: var(--text-secondary); }
.legal-document h2 { margin: 56px 0 16px; font: 800 28px/1.25 Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; scroll-margin-top: 24px; }
.legal-document h3 { margin: 32px 0 12px; font-size: 19px; line-height: 1.4; }
.legal-document p { margin: 0 0 18px; }
.legal-document ul, .legal-document ol { margin: 0 0 24px; padding-left: 24px; }
.legal-document li { margin-bottom: 9px; }
.legal-document a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-document address { margin-top: 24px; padding: 24px; border: 1px solid #dedee3; border-radius: 16px; background: #fff; font-style: normal; }
.legal-toc { margin: 48px 0 64px; padding: 28px 32px; border: 1px solid #dedee3; border-radius: 20px; background: #fff; }
.legal-toc h2 { margin: 0 0 16px; font-size: 22px; }
.legal-toc ol { columns: 2; column-gap: 48px; margin: 0; }
.legal-toc li { break-inside: avoid; margin-bottom: 8px; }
.legal-table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid #dedee3; border-radius: 16px; background: #fff; }
.legal-document table { width: 100%; border-collapse: collapse; min-width: 680px; }
.legal-document th, .legal-document td { padding: 16px; border-bottom: 1px solid #dedee3; text-align: left; vertical-align: top; }
.legal-document th { font-size: 14px; line-height: 1.4; }
.legal-document tr:last-child td { border-bottom: 0; }
.policy-links a[aria-current="page"] { text-decoration: underline; }

@media (max-width: 1199px) {
  .container { width: calc(100% - 96px); }
  .hero-shell { min-height: 780px; padding-block: 40px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .hero-copy h1 { font-size: 52px; line-height: 1.16; }
  .hero-artwork { width: 100%; height: auto; aspect-ratio: 560 / 520; }
  .hero-artwork img { top: -3.85%; }
}

@media (max-width: 767px) {
  .container { width: calc(100% - 48px); }
  .hero-shell { min-height: 0; padding-block: 28px 48px; }
  .brand { font-size: 20px; }
  .brand img { width: 48px; height: 48px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
  .hero-copy { max-width: 560px; }
  .hero-copy h1 { font-size: clamp(36px, 7.7vw, 52px); line-height: 1.14; margin-bottom: 20px; }
  .hero-copy p { font-size: 16px; line-height: 26px; }
  .hero-artwork { max-width: 480px; justify-self: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; line-height: 20px; }
  .legal-header { padding-block: 20px; }
  .legal-document { padding-block: 48px 72px; }
  .legal-document .legal-date { margin-bottom: 36px; }
  .legal-document h2 { margin-top: 44px; font-size: 25px; }
  .legal-toc { margin-block: 36px 48px; padding: 24px; }
  .legal-toc ol { columns: 1; }
}
