/* studio / 26 — v1.1
   monochrome, typography-led, hairline borders, no decoration, no motion.
   dark is the default; a light OS preference substitutes six tokens only. */

:root {
  --ink: #f2f2f2;
  --page: #1a1a1a;
  --surface: #242424;
  --border: #333333;
  --muted: #8a8a8a;   /* palette token; not applied to small text — see note below */
  --secondary: #a8a8a8;
}

@media (prefers-color-scheme: light) {
  :root {
    --ink: #1a1a1a;
    --page: #ffffff;
    --surface: #f9f9f9;
    --border: #e8e8e8;
    --muted: #888888;
    --secondary: #555555;
  }
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  overflow-wrap: break-word;
}

/* --muted is part of the palette but is not used for the 11-12px label, mark,
   note and date text: on the light page it measures 3.5:1, below AA. Those use
   --secondary, which measures 7.3:1 dark and 7.5:1 light. */

/* ---------------------------------------------------------------- layout */

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

main {
  padding-top: 72px;
  padding-bottom: 88px;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .wrap {
  padding-top: 28px;
  padding-bottom: 40px;
}

/* ------------------------------------------------------------ typography */

h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

.lede {
  color: var(--secondary);
  margin-top: 20px;
}

.label {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin: 0;
}

.mark {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  white-space: nowrap;
}

.note {
  font-size: 12px;
  line-height: 1.35;
  color: var(--secondary);
}

.date {
  font-size: 12px;
  line-height: 1.35;
  color: var(--secondary);
  margin: 16px 0 0;
}

/* ---------------------------------------------------------------- blocks */

.section {
  margin-top: 56px;
}

.section > .label {
  margin-bottom: 20px;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
}

.facts li {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.facts li:last-child {
  border-bottom: 0;
}

.policy section {
  margin-top: 40px;
}

.policy h2 {
  color: var(--ink);
}

.policy ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--secondary);
}

.policy li {
  margin-bottom: 6px;
}

.policy p {
  color: var(--secondary);
}

.policy .limited-use {
  margin-top: 40px;
  padding: 20px;
  background: var(--surface);
}

.policy .limited-use p {
  color: var(--ink);
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 56px 0 0;
}

/* ----------------------------------------------------------------- links */

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

a:hover {
  border-bottom-color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.site-header a,
.site-footer a {
  color: var(--secondary);
}

.site-footer a:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------------- mobile */

@media (max-width: 480px) {
  .wrap {
    padding: 0 20px;
  }

  main {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .site-header .wrap {
    gap: 16px;
  }
}
