:root {
  --bg: #f3efe6;
  --bg-card: #fbf8f2;
  --ink: #1c1a16;
  --muted: #5e584f;
  --line: #d8d0c3;
  --accent: #8a3b1c;
  --accent-hover: #6c2c14;
  --ok: #21583a;
  --ok-bg: #e6efe8;
  --err: #8a2018;
  --err-bg: #f6e6e3;
  --max: 42rem;
  --wide: 58rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-underline-offset: 0.14em;
}

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

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

.wrap {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow { width: min(var(--max), 100%); }

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

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

.wordmark {
  color: inherit;
  text-decoration: none;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.wordmark:hover { color: inherit; }

nav.site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  font-size: 0.875rem;
}

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

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

main { padding-bottom: 4rem; }

.hero {
  padding: 4.25rem 0 3.25rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.lede, .prose p, .section p { margin: 0 0 1rem; color: var(--ink); }
.lede, .prose, .section { color: var(--ink); }
.lede { max-width: 44rem; }

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

.section h2 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem 1.15rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.disclaimer {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
}

.disclaimer h2 { margin-bottom: 0.85rem; font-size: 1.35rem; }
.disclaimer p { color: var(--muted); font-size: 0.98rem; }
.disclaimer p:last-child { margin-bottom: 0; }

form.subscribe {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
  max-width: 28rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 2px;
}

input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

button, .btn {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  border-radius: 2px;
}

button:hover, .btn:hover { background: #000; }

a.btn {
  display: inline-block;
  text-decoration: none;
  color: var(--bg);
}
a.btn:hover { color: var(--bg); }

.cta-row { margin: 1.25rem 0 0.7rem; }

.disclose { max-width: 36rem; }

.hint { margin: 0; color: var(--muted); font-size: 0.9rem; }

.msg {
  display: none;
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.msg.ok { display: block; background: var(--ok-bg); color: var(--ok); }
.msg.err { display: block; background: var(--err-bg); color: var(--err); }


.yt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.yt-icon { flex: 0 0 auto; display: block; }
.card .yt {
  margin-top: 0.9rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  width: fit-content;
  border-radius: 2px;
}
.card .yt:hover {
  color: var(--ink);
  border-color: var(--ink);
}
footer.site {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

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

.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--muted);
  border-radius: 2px;
}

.social-link:hover { color: var(--ink); }

.social-link svg {
  display: block;
  flex: 0 0 auto;
}

.legal { margin-top: 2.5rem; }
.legal h1 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
.legal .meta { color: var(--muted); margin-bottom: 2rem; }
.legal h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.25rem;
  margin: 2rem 0 0.7rem;
}
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2rem; }

.center-404 {
  padding: 5rem 0 4rem;
  text-align: left;
}
.center-404 h1 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 2.2rem;
  margin: 0 0 0.8rem;
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wide), calc(100% - 1.75rem)); }
  header.site .wrap { flex-direction: column; align-items: flex-start; padding: 0.9rem 0; min-height: 0; gap: 0.55rem; }
  .hero { padding: 2.6rem 0 2.2rem; }
  .section { padding: 2.5rem 0; }
  .grid { grid-template-columns: 1fr; }
}
