/* Shared legal-site styles. All pages use this single stylesheet. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light dark;
  --bg: #f4f6f0;
  --surface: #ffffff;
  --ink: #111912;
  --muted: #637064;
  --line: #dce2d9;
  --accent: #1f54ff;
  --accent-ink: #ffffff;
  --marker: #c8ff4d;
  --shadow: 0 18px 60px rgba(28, 41, 30, 0.09);
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--marker);
  outline-offset: 3px;
}

.doc-page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 64px 0 80px;
  font-size: 16px;
  line-height: 1.72;
}

.doc-page h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.doc-page .meta {
  margin: 18px 0 42px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.doc-page h2 {
  margin: 42px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
  line-height: 1.25;
}

.doc-page h3 {
  margin: 26px 0 8px;
  font-size: 1.05rem;
}

.doc-page p,
.doc-page ul,
.doc-page ol,
.doc-page address {
  margin: 12px 0;
}

.doc-page ul,
.doc-page ol {
  padding-left: 1.4rem;
}

.doc-page li + li {
  margin-top: 8px;
}

.doc-page strong {
  color: var(--ink);
}

.doc-page address {
  font-style: normal;
}

.doc-page .notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--marker);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc-page .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.landing-page {
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--marker) 55%, transparent) 0 8%, transparent 28%),
    linear-gradient(148deg, var(--bg), color-mix(in srgb, var(--accent) 6%, var(--bg)));
}

.landing-page .container {
  width: min(100%, 660px);
  padding: clamp(28px, 8vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--marker);
  color: #121c0d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-page h1 {
  font-size: clamp(3rem, 13vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.landing-page .subtitle {
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.landing-page .links {
  display: grid;
  gap: 12px;
  list-style: none;
}

.landing-page .links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.landing-page .links a::after {
  content: "\2197";
  color: var(--accent);
  font-size: 1.15rem;
}

.landing-page .links a:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  transform: translateY(-2px);
}

@media (max-width: 520px) {
  .doc-page {
    padding-top: 42px;
  }

  .landing-page .container {
    border-radius: 22px;
  }
}

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

  .landing-page .links a {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101511;
    --surface: #171e18;
    --ink: #f0f4ee;
    --muted: #a5afa5;
    --line: #2d382f;
    --accent: #7c9aff;
    --marker: #b7ef3d;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  }
}
