:root {
  color-scheme: light;
  --background: #edeae3;
  --surface: #ffffff;
  --primary: #4a7358;
  --primary-dark: #3a5d47;
  --primary-soft: #dce7de;
  --text: #1b1b19;
  --muted: #706d64;
  --border: #ddd9d0;
  --error: #b3261e;
  --error-soft: #f8dedb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--primary-dark); }
a:hover { text-decoration-thickness: 2px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: .65rem 1rem;
  border-radius: 10px;
  background: var(--text);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(237, 234, 227, .94);
}

.header-inner,
.page,
.site-footer {
  width: min(100% - 2rem, 880px);
  margin-inline: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { font-size: .9rem; font-weight: 650; }

.page { padding-block: 3.5rem 5rem; }
.eyebrow {
  margin: 0 0 .45rem;
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { margin-top: 2.25rem; font-size: 1.45rem; }
h3 { margin-top: 1.5rem; font-size: 1.05rem; }
.lede { max-width: 66ch; color: var(--muted); font-size: 1.08rem; }
.meta { color: var(--muted); font-size: .9rem; }

.card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
}

.notice {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--primary-soft);
}

.danger-notice { background: var(--error-soft); }
ul { padding-left: 1.3rem; }
li + li { margin-top: .35rem; }

label { display: block; margin-bottom: .45rem; font-weight: 650; }
input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(74, 115, 88, .32);
  outline-offset: 2px;
}

button {
  min-height: 52px;
  margin-top: 1rem;
  padding: .8rem 1.2rem;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: var(--primary-dark); }
button:disabled { cursor: not-allowed; opacity: .55; }
.danger-button { background: var(--error); }
.danger-button:hover { background: #8f1f19; }

.check-row { display: flex; align-items: flex-start; gap: .7rem; }
.check-row input { margin-top: .35rem; }
.check-row label { font-weight: 500; }
.status { min-height: 1.6em; margin-top: 1rem; font-weight: 600; }
.status[data-kind="error"] { color: var(--error); }
.status[data-kind="success"] { color: var(--primary-dark); }
[hidden] { display: none !important; }

.site-footer {
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .88rem;
}

@media (max-width: 560px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .page { padding-top: 2.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  button, a { transition: color .16s ease, background-color .16s ease; }
}

