:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5a6573;
  --line: #e3e0d8;
  --accent: #c2410c;
  --accent-text: #ffffff;
  --accent-soft: #fff1e8;
  --radius: 10px;
  --max: 68rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --surface: #1a2029;
    --text: #e8eaed;
    --muted: #a3acb8;
    --line: #2d3540;
    --accent: #fb923c;
    --accent-text: #12161c;
    --accent-soft: #2a1d14;
  }
}

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

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

a {
  color: var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-header nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
  max-width: 22ch;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 60ch;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 70ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
  padding: 0;
  list-style: none;
}

.stats li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.stats strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.2;
}

.stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.services li {
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.95rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 46rem;
  font-size: 0.95rem;
}

caption {
  text-align: left;
  padding: 0.75rem 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

th,
td {
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.num {
  text-align: right;
  white-space: nowrap;
}

/* The standard and the issue date read as one token each: never break them. */
td:nth-child(4),
td:nth-child(5) {
  white-space: nowrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.steps li::before {
  content: counter(step);
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.5rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.plan.featured {
  border-color: var(--accent);
}

.plan .price {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.plan .price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.legal {
  max-width: 46rem;
}

.legal h1 {
  max-width: none;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

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

.notices p {
  color: var(--text);
}
