/* The website's only stylesheet. System fonts; nothing loaded from elsewhere. */

:root {
  --ink: #1d2733;
  --muted: #4a5564;
  --paper: #ffffff;
  --tint: #f2f5f8;
  --line: #d5dce4;
  --accent: #0b4f8a;
  --accent-dark: #083a66;
  --focus: #b45309;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--paper);
  padding: 0.5rem 1rem;
}
.skip:focus { left: 1rem; }

/* Header and navigation */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  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.25rem;
  color: var(--ink);
  text-decoration: none;
}
nav ul, .site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Content */

main.wrap { padding: 2rem 1rem 3rem; }

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.375rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.125rem; margin: 1.5rem 0 0.25rem; }
p, li { max-width: 42rem; }

.lead { font-size: 1.25rem; color: var(--muted); }
.lead-action { color: var(--ink); }

.hero { padding: 1rem 0 0.5rem; }
.hero h1 { font-size: 2.25rem; }

.example {
  border-left: 4px solid var(--line);
  padding-left: 1rem;
  margin: 1.5rem 0;
}
.example p { margin: 0.25rem 0; }
.example-label { color: var(--muted); font-size: 0.9375rem; }

/* Under *Join the waiting list*: what's kept, what for, how to be removed (decision 052). */
.privacy-line { color: var(--muted); font-size: 0.9375rem; margin-top: -0.75rem; max-width: 40rem; }

.lines { list-style: none; margin: 1.5rem 0; padding: 0; }
.lines li { margin-bottom: 1rem; }

ol.steps { padding-left: 1.5rem; }
ol.steps li { margin-bottom: 0.75rem; }

.notice {
  border-left: 4px solid var(--accent);
  background: var(--tint);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0;
}
.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); color: #ffffff; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--tint);
  color: var(--muted);
  font-size: 0.9375rem;
  padding: 1.5rem 0;
}
.site-footer p { margin: 0.5rem 0; }

@media (max-width: 30rem) {
  h1, .hero h1 { font-size: 1.75rem; }
  .lead { font-size: 1.125rem; }
  .site-header .wrap { flex-wrap: nowrap; }
  nav ul { flex-wrap: nowrap; gap: 0.75rem; }
  nav a { white-space: nowrap; font-size: 1rem; }
}

/* The narrowest phones: the header still fits on one line. */
@media (max-width: 22.5rem) {
  .site-header .wrap { gap: 0.75rem; }
  nav ul { gap: 0.5rem; }
  nav a { font-size: 0.9375rem; }
}
