:root {
  color-scheme: light;
  --forest-950: #0a2419;
  --forest-900: #103323;
  --forest-800: #17472f;
  --forest-700: #1d6b47;
  --forest-600: #2a8058;
  --sage-300: #b8c9b8;
  --sage-100: #e3ebdf;
  --cream: #f5efe1;
  --cream-deep: #ede4d1;
  --paper: #fffdf7;
  --ink: #17241d;
  --muted: #5e685f;
  --muted-strong: #465149;
  --line: #d9d1bd;
  --line-strong: #b9ad93;
  --gold: #b88b45;
  --gold-soft: #e4c88d;
  --error: #8d2d23;
  --error-bg: #fbede9;
  --success: #1e6846;
  --success-bg: #e8f3ea;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --sans: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --measure: 68ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 14%, rgba(29, 107, 71, 0.1), transparent 32%),
    radial-gradient(circle at 93% 4%, rgba(184, 139, 69, 0.12), transparent 28%),
    linear-gradient(180deg, #f8f3e7 0%, var(--cream) 52%, #f1eadb 100%);
}

[hidden] {
  display: none !important;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--forest-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest-800);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-soft);
  color: var(--forest-950);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--forest-900);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(185, 173, 147, 0.55);
  background: rgba(248, 243, 231, 0.84);
  backdrop-filter: blur(14px);
}

.site-header .wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand:hover {
  color: var(--forest-950);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.brand .brand-dot {
  width: 5px;
  height: 5px;
  margin-left: -4px;
  background: var(--gold);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a:not(.button) {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:not(.button):hover {
  color: var(--forest-800);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button-primary {
  color: var(--paper);
  background: var(--forest-800);
  border-color: var(--forest-800);
}

.button-primary:hover {
  color: var(--paper);
  background: var(--forest-700);
  border-color: var(--forest-700);
}

.button-secondary {
  color: var(--forest-900);
  background: transparent;
  border-color: var(--line-strong);
}

.button-secondary:hover {
  color: var(--forest-900);
  background: rgba(255, 253, 247, 0.7);
  border-color: var(--forest-700);
}

.button-small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
}

.button-block {
  width: 100%;
}

.button .arrow {
  display: inline-block;
  transition: transform 160ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px);
}

.hero::after {
  position: absolute;
  top: -20%;
  right: -16%;
  z-index: -1;
  width: 58vw;
  height: 58vw;
  min-width: 480px;
  min-height: 480px;
  content: "";
  border: 1px solid rgba(29, 107, 71, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(29, 107, 71, 0.035),
    0 0 0 88px rgba(29, 107, 71, 0.025),
    0 0 0 138px rgba(29, 107, 71, 0.02);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.88fr);
  align-items: start;
  gap: clamp(32px, 6vw, 90px);
}

.hero-copy {
  padding-top: 12px;
  animation: rise-in 620ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--forest-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(3.15rem, 7vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--forest-700);
  font-style: italic;
}

.hero-lede {
  max-width: 50ch;
  margin: 26px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero-note {
  max-width: 48ch;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
}

.check {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  place-items: center;
  color: var(--forest-700);
  background: rgba(29, 107, 71, 0.1);
  border: 1px solid rgba(29, 107, 71, 0.18);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.hero-card-wrap {
  animation: rise-in 680ms 90ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.join-card {
  position: relative;
  padding: clamp(22px, 3.5vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(251, 247, 238, 0.98)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.join-card::before {
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.join-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.join-card h2 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.join-card-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.live-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: var(--forest-700);
  background: rgba(29, 107, 71, 0.07);
  border: 1px solid rgba(29, 107, 71, 0.16);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.live-pill::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--forest-600);
  border-radius: 50%;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  color: var(--forest-950);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.field input[type="email"],
.field input[type="text"],
.field input[type="password"],
.field input[type="date"],
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field input:hover,
.field select:hover {
  border-color: var(--forest-600);
}

.field input:focus,
.field select:focus {
  border-color: var(--forest-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 107, 71, 0.14);
}

.field .hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  margin: 0 0 10px;
  color: var(--muted-strong);
  background: rgba(245, 239, 225, 0.75);
  border: 1px solid rgba(217, 209, 189, 0.9);
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  cursor: pointer;
}

.consent.optional {
  background: transparent;
  border-color: rgba(217, 209, 189, 0.65);
}

.consent input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--forest-700);
  cursor: pointer;
}

.consent span {
  display: block;
}

.consent a {
  font-weight: 700;
}

.consent strong {
  color: var(--forest-900);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-wrap {
  display: flex;
  min-height: 65px;
  align-items: center;
  margin: 14px 0 4px;
}

.turnstile-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.turnstile-note a {
  color: inherit;
}

.form-status {
  min-height: 21px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-status.is-error {
  padding: 9px 11px;
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid rgba(141, 45, 35, 0.18);
  border-radius: 9px;
}

.form-status.is-success {
  padding: 9px 11px;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(30, 104, 70, 0.18);
  border-radius: 9px;
}

.form-status.is-info {
  color: var(--muted-strong);
}

.form-fineprint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.form-fineprint a {
  color: inherit;
  text-decoration: underline;
}

.setup-notice {
  padding: 14px;
  color: var(--muted-strong);
  background: rgba(245, 239, 225, 0.9);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.success-panel {
  padding: 12px 2px 4px;
  text-align: center;
}

.success-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--forest-800);
  background: var(--sage-100);
  border: 1px solid rgba(29, 107, 71, 0.2);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
}

.success-panel h3 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.success-panel p {
  max-width: 38ch;
  margin: 12px auto 20px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.65;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.trust-strip {
  border-block: 1px solid rgba(185, 173, 147, 0.5);
  background: rgba(255, 253, 247, 0.38);
}

.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  color: var(--muted-strong);
  border-right: 1px solid rgba(185, 173, 147, 0.45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-item svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--forest-700);
}

.section {
  padding: clamp(58px, 8vw, 100px) 0;
}

.section-tight {
  padding: clamp(42px, 6vw, 72px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.section-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 1;
}

.section-heading p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  padding: 30px 30px 8px 0;
  border-right: 1px solid var(--line);
}

.feature + .feature {
  padding-left: 30px;
}

.feature:last-child {
  padding-right: 0;
  border-right: 0;
}

.feature-index {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--forest-700);
  background: rgba(29, 107, 71, 0.08);
  border: 1px solid rgba(29, 107, 71, 0.14);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.feature h3 {
  margin: 0 0 10px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.feature p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.7;
}

.story-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 66px);
  color: var(--cream);
  background: var(--forest-900);
  border-radius: var(--radius-lg);
}

.story-panel::before {
  position: absolute;
  top: -52%;
  right: -12%;
  width: 60%;
  padding-top: 60%;
  content: "";
  border: 1px solid rgba(248, 242, 226, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(248, 242, 226, 0.04),
    0 0 0 98px rgba(248, 242, 226, 0.025);
}

.story-panel::after {
  position: absolute;
  right: 7%;
  bottom: -100px;
  width: 260px;
  height: 260px;
  content: "";
  background: radial-gradient(circle, rgba(184, 139, 69, 0.24), transparent 68%);
}

.story-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.story-copy .eyebrow {
  color: var(--gold-soft);
}

.story-copy .eyebrow::before {
  background: var(--gold-soft);
}

.story-copy h2 {
  margin: 0 0 20px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.story-copy p {
  max-width: 55ch;
  margin: 0;
  color: rgba(248, 242, 226, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.story-mark {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 242, 226, 0.16);
}

.story-mark img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 13px;
}

.story-mark p {
  margin: 0;
  color: rgba(248, 242, 226, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.story-mark strong {
  display: block;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.faq-intro h2 {
  margin: 0 0 15px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.faq-intro p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 20px 42px 20px 0;
  color: var(--forest-950);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 3px;
  content: "+";
  color: var(--forest-700);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 62ch;
  margin: 0;
  padding: 0 42px 22px 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.75;
}

.faq-item a {
  font-weight: 600;
}

.cta-band {
  padding: 0 0 clamp(58px, 8vw, 96px);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cta-inner h2 {
  margin: 0 0 6px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.cta-inner p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
}

.site-footer {
  padding: 36px 0 44px;
  color: var(--muted);
  background: rgba(255, 253, 247, 0.42);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  max-width: 330px;
}

.footer-brand .brand {
  font-size: 21px;
}

.footer-brand .brand img {
  width: 34px;
  height: 34px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--forest-800);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  margin-top: 28px;
  border-top: 1px solid rgba(185, 173, 147, 0.45);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.footer-bottom p {
  max-width: 760px;
  margin: 0;
}

.footer-bottom .footer-operator {
  flex: 0 0 auto;
  text-align: right;
}

/* Simple pages: privacy, resend, verify, manage, unsubscribe */
.simple-main {
  min-height: calc(100vh - 76px);
  padding: clamp(38px, 6vw, 76px) 0 clamp(64px, 8vw, 100px);
}

.simple-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 231, 0.84);
}

.simple-header .wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.simple-header .back-link {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.simple-header .back-link:hover {
  color: var(--forest-800);
  text-decoration: underline;
}

.panel {
  padding: clamp(24px, 4.5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.panel-narrow {
  max-width: 600px;
  margin-inline: auto;
}

.panel-header {
  margin-bottom: 26px;
}

.panel-header h1 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.panel-header p {
  margin: 13px 0 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.7;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.state-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--forest-800);
  background: var(--sage-100);
  border: 1px solid rgba(29, 107, 71, 0.18);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 700;
}

.state-icon.warn {
  color: #7c5a1f;
  background: #f7edd7;
  border-color: rgba(184, 139, 69, 0.28);
}

.state-icon.error {
  color: var(--error);
  background: var(--error-bg);
  border-color: rgba(141, 45, 35, 0.18);
}

.state-title {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.state-copy {
  max-width: 48ch;
  margin: 14px 0 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.7;
}

.state-form {
  max-width: 440px;
  margin-top: 24px;
}

.status-page .panel {
  max-width: 670px;
  margin-inline: auto;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.link-row a {
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 26px;
}

.legal-aside h1 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.legal-aside p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.legal-copy {
  padding: clamp(24px, 4vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.legal-copy section + section {
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin: 0 0 11px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.legal-copy h3 {
  margin: 19px 0 8px;
  color: var(--forest-900);
  font-size: 14px;
  font-weight: 800;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.8;
}

.legal-copy p {
  margin: 0 0 11px;
}

.legal-copy ul {
  padding-left: 20px;
  margin: 10px 0 14px;
}

.legal-copy li + li {
  margin-top: 7px;
}

.legal-copy strong {
  color: var(--forest-900);
}

.legal-copy .notice {
  padding: 14px 16px;
  margin: 16px 0;
  color: var(--muted-strong);
  background: rgba(245, 239, 225, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.65;
}

.manage-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.manage-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--forest-900);
  background: rgba(245, 239, 225, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.manage-links a:hover {
  background: rgba(245, 239, 225, 0.9);
  border-color: var(--line-strong);
}

.danger-zone {
  padding: 18px;
  margin-top: 26px;
  background: rgba(141, 45, 35, 0.035);
  border: 1px solid rgba(141, 45, 35, 0.2);
  border-radius: 12px;
}

.danger-zone h2 {
  margin: 0 0 6px;
  color: var(--error);
  font-size: 15px;
  font-weight: 800;
}

.danger-zone p {
  margin: 0 0 14px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.6;
}

.danger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-danger {
  color: var(--paper);
  background: var(--error);
  border-color: var(--error);
}

.button-danger:hover {
  color: var(--paper);
  background: #76241c;
  border-color: #76241c;
}

.confirm-delete {
  padding: 14px;
  margin-top: 14px;
  background: var(--paper);
  border: 1px solid rgba(141, 45, 35, 0.3);
  border-radius: 10px;
}

.confirm-delete p {
  margin: 0 0 10px;
  color: var(--error);
  font-size: 13px;
  font-weight: 700;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6.5vw, 4.7rem);
  }

  .feature {
    padding-right: 22px;
  }

  .feature + .feature {
    padding-left: 22px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .join-card {
    max-width: 560px;
  }

  .trust-strip .wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(3) {
    padding-left: 0;
  }

  .section-heading,
  .faq-grid,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading p {
    max-width: 62ch;
  }

  .faq-intro {
    max-width: 620px;
  }

  .legal-aside {
    position: static;
  }

  .legal-aside p {
    max-width: 50ch;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature + .feature {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .feature-index {
    margin-bottom: 14px;
  }

  .footer-top {
    flex-direction: column;
    gap: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom .footer-operator {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-narrow {
    width: min(100% - 32px, 1180px);
  }

  .site-header .wrap {
    min-height: 68px;
  }

  .brand {
    font-size: 21px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a:not(.button) {
    display: none;
  }

  .site-nav .button {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 13px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero::after {
    right: -70%;
    min-width: 380px;
    min-height: 380px;
  }

  .join-card {
    padding: 20px;
    border-radius: 18px;
  }

  .join-card-head {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .live-pill {
    align-self: flex-start;
  }

  .consent {
    padding: 11px;
    font-size: 12px;
  }

  .button {
    min-height: 48px;
  }

  .trust-strip .wrap {
    gap: 15px 0;
    padding-block: 18px;
  }

  .trust-item {
    padding: 0 14px;
    font-size: 11px;
  }

  .trust-item:nth-child(odd) {
    padding-left: 0;
  }

  .trust-item:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading h2,
  .faq-intro h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .section-heading p,
  .story-copy p {
    font-size: 15px;
  }

  .feature h3 {
    font-size: 23px;
  }

  .story-panel {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .story-mark {
    gap: 14px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .cta-inner .button {
    width: 100%;
  }

  .simple-header .wrap {
    min-height: 68px;
  }

  .panel {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .panel-header h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .panel-actions .button {
    flex: 1 1 auto;
  }

  .legal-copy {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .footer-links {
    gap: 12px 18px;
  }
}

@media (max-width: 390px) {
  .wrap,
  .wrap-narrow {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .join-card {
    padding: 17px;
  }

  .join-card h2 {
    font-size: 25px;
  }

  .consent {
    grid-template-columns: 20px 1fr;
    gap: 8px;
  }

  .success-actions .button,
  .panel-actions .button {
    width: 100%;
  }

  .trust-item {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .button:hover {
    transform: none;
  }
}

/* Owner-supplied contact details are still unverified; show that honestly. */
.contact-pending {
  display: inline-block;
  padding: 7px 10px;
  color: var(--muted-strong, #5c665f);
  background: var(--sage-100, #eef3e9);
  border: 1px dashed var(--line-strong, #c8d2c6);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.5;
}
