:root {
  --ink: #2a2622;
  --muted: #5b554d;
  --paper: #fdfaf5;
  --card: #ffffff;
  --line: #ebe2d5;
  --accent: #4b6d5a;
  --accent-dark: #34503f;
  --sage-soft: #e3ebe4;
  --sand: #f4ecdf;
  --warm: #f4ecdf;
  --blush: #f7e4da;
  --terracotta: #b8603f;
  --gold: #d9a441;
  --max: 46rem;
  --wide: 72rem;
  --radius: 16px;
  --shadow: 0 6px 22px rgba(42, 38, 34, 0.08);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent-dark); text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  padding: 0.5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(42, 38, 34, 0.04);
  position: sticky;
  top: 0;
  z-index: 5;
}
header.site .wrap {
  max-width: var(--wide);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
}
.brand::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold) 0 30%, var(--terracotta) 31% 100%);
}
nav.main ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
nav.main a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.2rem 0.1rem;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--gold); }

main { padding: 1.5rem 0 3rem; }

h1 { font-family: var(--font-display); font-size: 2.2rem; line-height: 1.2; margin: 0 0 0.75rem; color: var(--ink); }
h2 { font-family: var(--font-display); font-size: 1.55rem; margin: 2.25rem 0 0.6rem; line-height: 1.3; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.25rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.5rem; }
.asof { font-size: 0.9rem; color: var(--muted); }

.notice {
  background: var(--warm);
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1rem;
  margin: 1.5rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  background: var(--card);
}
th, td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--warm); }
td.num, th.num { text-align: right; white-space: nowrap; }

.cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(52, 80, 63, 0.25);
}
.cta:hover { background: var(--accent-dark); }
.cta.secondary { background: var(--card); color: var(--accent-dark); border: 2px solid var(--accent); box-shadow: none; }

.cards {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 1.25rem 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.1rem 1.1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .card-art { display: block; width: calc(100% + 2.2rem); max-width: none; margin: 0 -1.1rem 0.9rem; }
.card h3 { margin-top: 0; }
.card p { margin: 0.4rem 0 0; font-size: 1rem; }

.wizard-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin: 1.5rem 0;
}
.wizard-form label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
}
.wizard-form input,
.wizard-form select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
}
.wizard-form .actions { grid-column: 1 / -1; }
.wizard-error {
  color: #8a2d1f;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  min-height: 1.5rem;
}

ul.checklist { list-style: none; padding-left: 0; }
ul.checklist li::before { content: "\2610  "; font-family: Arial, sans-serif; }

footer.site {
  border-top: 1px solid var(--line);
  background: var(--sand);
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 2rem;
}
footer.site .wrap { max-width: var(--wide); padding-top: 1.75rem; padding-bottom: 1.75rem; }
footer.site ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
footer.site a { color: var(--accent-dark); }
footer.site p { margin: 0.8rem 0 0; }

/* Home hero */
.hero {
  background: linear-gradient(135deg, var(--sage-soft) 0%, var(--blush) 55%, var(--sand) 100%);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0 2.25rem;
}
.hero .wrap {
  max-width: var(--wide);
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}
.hero h1 { font-size: 2.6rem; }
.hero .lede { margin-bottom: 1.25rem; }
.hero-art { width: 100%; max-width: 30rem; height: auto; justify-self: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }

.feature-band {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 2rem 0 0.5rem;
}
.feature {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.feature svg { flex: 0 0 2.5rem; width: 2.5rem; height: 2.5rem; }
.feature strong { display: block; margin-bottom: 0.15rem; }
.feature span { font-size: 0.95rem; color: var(--muted); }

/* Blog */
.post-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 1rem; }
.post-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: var(--shadow);
}
.post-list img { width: 100%; height: auto; border-radius: 10px; }
.post-list h3 { margin: 0.1rem 0 0.3rem; font-size: 1.1rem; }
.post-list p { margin: 0; font-size: 0.97rem; color: var(--muted); }
.meta { font-size: 0.88rem; color: var(--muted); margin: 0 0 0.5rem; }
.post-hero { width: 100%; height: auto; border-radius: var(--radius); margin: 0.5rem 0 1.25rem; }
.post-body h2 { margin-top: 2rem; }
.post-body figure { margin: 1.5rem 0; }
.post-body figure.hero { margin: 0 0 1.5rem; }
.post-body figure.hero img { width: 100%; height: auto; border-radius: 12px; }
.post-body figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.4rem; }

@media (max-width: 760px) {
  h1 { font-size: 1.8rem; }
  .hero h1 { font-size: 2rem; }
  .hero .wrap { grid-template-columns: 1fr; }
  .post-list li { grid-template-columns: 1fr; }
  nav.main ul { gap: 0.3rem 0.8rem; font-size: 0.9rem; }
}

