:root {
  --ink: #151610;
  --paper: #f3efe4;
  --paper-deep: #e5e0d4;
  --line: #c8c4b9;
  --muted: #6f706e;
  --accent: #e5b93f;
  --accent-dark: #b78d1e;
  --white: #fffefa;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button, .button {
  display: inline-block;
  padding: .95rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
}
button:hover, .button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(229, 185, 63, .42);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing {
  --dark: #11120f;
  --dark-raised: #191a16;
  --light: #f0ecdf;
  --dark-line: #515149;
  --dark-muted: #aaa79c;
  background: var(--dark);
  color: var(--light);
}
.landing-shell {
  width: min(100%, 1400px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 1.8rem clamp(1.25rem, 4vw, 4rem) 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}
.masthead {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--dark-line);
}
.wordmark {
  color: var(--light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-decoration: none;
}
.home .hero {
  min-height: 67vh;
  padding: clamp(5.5rem, 12vh, 9rem) 0 clamp(5rem, 11vh, 8rem);
}
.eyebrow {
  margin: 0 0 1.7rem;
  color: var(--accent);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1, .legal h1 {
  margin: 0;
  max-width: 1100px;
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(4.5rem, 10.5vw, 9.8rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.065em;
}
.hero h1 > span, .legal h1 > span { color: var(--accent); }
.promise {
  margin: 2.6rem 0 2.8rem;
  max-width: 44rem;
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.75rem, 3.25vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.promise.smaller {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.28;
}
.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem);
  width: min(100%, 48rem);
}
.signup-form input {
  min-width: 0;
  padding: 1.05rem 1rem;
  border: 1px solid var(--light);
  border-right: 0;
  border-radius: 0;
  background: var(--light);
  color: var(--ink);
}
.signup-form input::placeholder { color: #74736d; }
.signup-form button {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}
.signup-form button:hover {
  border-color: #f1cb61;
  background: #f1cb61;
}
.field-error {
  grid-column: 1 / -1;
  margin: .55rem 0 0;
  color: #ff8f83;
  font-size: .78rem;
}
.manifesto {
  padding: 2.7rem 0 3.2rem;
  border-top: 1px solid var(--dark-line);
  display: grid;
  grid-template-columns: 1.15fr 1fr .8fr auto;
  align-items: end;
  gap: clamp(1.5rem, 4.5vw, 5rem);
}
.manifesto p {
  margin: 0;
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.02rem, 1.4vw, 1.3rem);
  line-height: 1.42;
}
.manifesto small {
  color: var(--dark-muted);
  font-size: .68rem;
  white-space: nowrap;
}
.site-footer {
  padding: 1.15rem 0 .15rem;
  border-top: 1px solid var(--dark-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--dark-muted);
  font-size: .68rem;
}
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a:hover { color: var(--light); }
.short-page { grid-template-rows: auto 1fr auto; }
.short-page .hero {
  min-height: 72vh;
  padding: clamp(4rem, 10vh, 8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .75fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}
.short-page .promise { margin-bottom: 0; }
.confirmation-page .message-hero {
  min-height: 0;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}
.confirmation-page .message-hero .eyebrow { margin-bottom: 1.25rem; }
.confirmation-page .message-hero h1 { font-size: clamp(4.5rem, 10vw, 8rem); }
.confirmation-page .message-hero .promise {
  max-width: 34rem;
  margin: 0;
}

.legal {
  max-width: 52rem;
  padding: clamp(4rem, 10vh, 8rem) 0;
  font: 1.1rem/1.7 Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
}
.legal h1 {
  margin-bottom: 3rem;
  font-size: clamp(4.6rem, 10vw, 8rem);
  line-height: .8;
}
.legal > p:not(.eyebrow):not(.legal-note) { max-width: 43rem; }
.legal-note {
  margin-top: 3rem;
  color: var(--dark-muted);
  font: .7rem Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.flash-stack {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 50%;
  width: min(92vw, 42rem);
  transform: translateX(-50%);
}
.flash { padding: .9rem 1rem; background: var(--ink); color: white; box-shadow: 0 6px 28px rgba(0, 0, 0, .18); }
.flash.error { background: #982b26; }
.flash.success { background: #245c43; }

/* Admin */
.admin-page { background: #f4f3ef; }
.admin-nav {
  min-height: 4.5rem;
  padding: 1rem max(1.25rem, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid #d7d4cc;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-brand {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-decoration: none;
}
.admin-brand span { color: var(--muted); font-weight: 500; }
.admin-nav nav { display: flex; align-items: center; gap: 1.5rem; font-size: .82rem; }
.admin-nav nav form { margin: 0; }
.link-button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 400;
  text-decoration: underline;
}
.link-button:hover { background: transparent; color: var(--ink); }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
.page-heading {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.page-heading h1, .login-panel h1 {
  margin: 0;
  font: 400 clamp(2.8rem, 6vw, 5.5rem)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.actions form { margin: 0; }
.button.secondary, button.secondary { border-color: #aaa69d; background: transparent; color: var(--ink); }
.button.secondary:hover, button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.stat-grid {
  margin-bottom: 1.5rem;
  border: 1px solid #d2cfc8;
  background: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-grid div { padding: 1.4rem; border-right: 1px solid #d2cfc8; border-bottom: 1px solid #d2cfc8; }
.stat-grid strong { display: block; margin-bottom: .35rem; font: 400 2.3rem Georgia, serif; text-transform: capitalize; }
.stat-grid span { color: var(--muted); font-size: .76rem; }
.admin-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.panel { padding: 1.5rem; border: 1px solid #d2cfc8; background: white; }
.panel.narrow { max-width: 780px; }
.panel h2 { margin: 0 0 1.25rem; font: 400 1.65rem Georgia, serif; }
.panel h3 { margin: 1rem 0 .5rem; font-size: 1.15rem; }
.panel article + article { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e1ded8; }
.status {
  display: inline-block;
  padding: .3rem .45rem;
  background: #e7e4de;
  color: #555;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.status.approved, .status.sent { background: #d9eadf; color: #275d42; }
.status.scheduled { background: #e1e5f2; color: #344577; }
.status.failed { background: #f4dbd6; color: #8f2417; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th { color: var(--muted); font-weight: 550; text-align: left; }
th, td { padding: .8rem .35rem; border-bottom: 1px solid #e1ded8; }
th:last-child, td:last-child { text-align: right; }
.stacked-form { display: grid; gap: .65rem; }
.stacked-form label { margin-top: .7rem; font-size: .8rem; font-weight: 700; }
.stacked-form label span { color: var(--muted); font-weight: 400; }
.stacked-form input, .stacked-form textarea {
  width: 100%;
  padding: .8rem;
  border: 1px solid #aaa49a;
  border-radius: 0;
  background: #fff;
  resize: vertical;
}
.stacked-form button { justify-self: start; margin-top: .8rem; }
.form-help { margin: .25rem 0; color: var(--muted); font-size: .76rem; }
.field-row { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.field-row > div { display: grid; gap: .65rem; }
.login-panel { max-width: 28rem; margin: 10vh auto; padding: 2rem; border: 1px solid #d2cfc8; background: white; }
.login-panel h1 { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .short-page .hero { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .manifesto { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .landing-shell { padding-top: 1.2rem; }
  .home .hero { min-height: auto; padding: 5rem 0; }
  .hero h1 { font-size: clamp(4.3rem, 21vw, 7rem); line-height: .88; }
  .promise { margin: 2rem 0 2.25rem; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form input { border-right: 1px solid var(--light); border-bottom: 0; }
  .signup-form button { min-height: 3.25rem; }
  .manifesto { grid-template-columns: 1fr; align-items: start; gap: 1.65rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .admin-nav { align-items: flex-start; gap: 1rem; }
  .admin-nav nav { gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
  .admin-main { padding-top: 2.5rem; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .actions { justify-content: flex-start; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-columns, .field-row { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
