/* PickUp Fantasy legal pages. Static, no external assets. */

:root {
  color-scheme: dark;
  --bg: #10151d;
  --surface: #1b2533;
  --elevated: #263447;
  --accent: #85c5ff;
  --accent-deep: #274c70;
  --text: #eef3f9;
  --text-secondary: #aab8ca;
  --border: #2e3d52;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header-inner,
main,
.site-footer-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
}

.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--text);
  background: var(--elevated);
}

.legal-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-deep);
}

main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
  line-height: 1.2;
}

.updated {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
}

.summary {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border-radius: 1.125rem;
  background: var(--surface);
}

.summary p {
  margin: 0;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.3125rem;
  line-height: 1.3;
}

h3 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.0625rem;
  line-height: 1.4;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.375rem;
}

strong {
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.site-footer-inner {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

@media (max-width: 30rem) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.625rem;
  }

  main {
    padding-top: 1.5rem;
  }
}

@media (forced-colors: active) {
  .legal-nav a[aria-current="page"] {
    outline: 2px solid CanvasText;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .summary {
    background: none;
  }

  .skip-link,
  .legal-nav {
    display: none;
  }

  a {
    color: #000;
  }
}
