:root {
  color-scheme: light;
  --paper: #fafaf9;
  --ink: #242424;
  --muted: #686864;
  --line: #e5e5e1;
  --link: #505050;
  --link-hover: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.7; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .65rem 1rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }
.shell { width: min(100% - 3rem, 46rem); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem; }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .65rem; color: var(--ink); font-weight: 600; letter-spacing: -.025em; text-decoration: none; font-size: .95rem; }
.brand-mark { display: inline-block; flex-shrink: 0; width: 1.35rem; height: 1.35rem; background: url("logo.svg") center / contain no-repeat; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); text-decoration: none; font-size: .85rem; }
.site-nav a[aria-current="page"] { color: var(--ink); }
h1, h2, h3 { font-weight: 500; line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 4.25rem); }
.eyebrow { margin: 0 0 1.5rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.intro { color: var(--muted); font-size: 1.1rem; line-height: 1.7; }

.landing-shell { display: flex; flex-direction: column; min-height: 100svh; width: min(100% - 4rem, 40rem); }
.landing .site-header { padding-block: 2.75rem; }
.landing-main { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 3rem 5.5rem; container-type: inline-size; }
.landing-main h1 { font-size: clamp(1rem, 6.8vw, 3.2rem); font-size: clamp(1rem, 8cqi, 3.25rem); white-space: nowrap; text-wrap: nowrap; }
.landing-main .intro { max-width: 100%; margin: 1.75rem 0 0; }
.invite-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; margin-top: 1.75rem; font-size: .9rem; font-weight: 500; text-decoration: none; }
.invite-link span[aria-hidden="true"] { font-size: 1.1em; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; font-size: .8rem; color: var(--muted); }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.footer-links a:hover { color: var(--link-hover); }

.text { padding-block: 2rem 4rem; }
.text h1 { font-size: clamp(2.5rem, 6vw, 3.25rem); }
.text .intro { margin-top: 1.5rem; }
.text h2 { margin: 2.5rem 0 .75rem; font-size: 1.4rem; }
.text h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.text li + li { margin-top: .6rem; }
.text ul, .text ol { padding-left: 1.3rem; }
.callout { margin-block: 1.75rem; padding-left: 1.25rem; border-left: 2px solid var(--line); }
.callout p { margin: 0; }
.contact { overflow-wrap: anywhere; }

.policy-shell { display: flex; flex-direction: column; min-height: 100svh; width: min(100% - 4rem, 40rem); }
.policy .site-header { padding-block: 2.75rem; }
.policy-main { flex: 1; padding-block: 2rem 4rem; font-size: .95rem; line-height: 1.75; }
.policy-main h1 { font-size: clamp(2.5rem, 5vw, 3.25rem); }
.policy-main p { margin: .65rem 0; color: var(--muted); }
.policy-main .eyebrow { margin: 0 0 .75rem; font-size: .75rem; }
.policy-main .intro { margin: 1.25rem 0 .75rem; font-size: 1rem; }
.policy-main .policy-updated { margin: 0 0 2.5rem; font-size: .8rem; }
.policy-main h2 { margin: 2rem 0 .65rem; font-size: 1.1rem; letter-spacing: -.02em; }
.policy .footer-links a[aria-current="page"] { color: var(--ink); }

.brand:hover,
.site-nav a:hover,
.policy .footer-links a:hover { color: var(--link-hover); }

@media (max-width: 30rem) {
  .shell, .landing-shell { width: calc(100% - 3rem); }
  .site-header { align-items: flex-start; flex-direction: column; gap: .5rem; padding-block: 1.5rem; }
  .landing .site-header, .policy .site-header { padding-block: 1.5rem; }
  .landing-main { padding-block: 2.5rem 4rem; }
  .site-footer { padding-bottom: 1.5rem; }
}

@media print {
  body { background: white; color: black; font-size: 11pt; }
  .shell { width: 100%; }
  .site-nav, .skip-link, .footer-links { display: none; }
  .landing-shell { min-height: 0; }
  .text, .landing-main { padding-block: 1rem; }
  a { color: inherit; }
}
