/* Agorah: warm, clear, and accessible across every page. */
:root {
  color-scheme: light;
  --agorah-paper: #f7f3eb;
  --agorah-surface: #fffdf8;
  --agorah-white: #fffefa;
  --agorah-ink: #26372e;
  --agorah-muted: #536057;
  --agorah-forest: #294c3c;
  --agorah-forest-dark: #1d392d;
  --agorah-terracotta: #a34f37;
  --agorah-terracotta-dark: #833d2c;
  --agorah-gold: #d3a15b;
  --agorah-sage: #e8eee6;
  --agorah-border: #e2d7c8;
  --agorah-shadow: 0 18px 46px rgba(38, 55, 46, 0.09);
  --agorah-radius: 20px;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--agorah-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(211, 161, 91, 0.15), transparent 28rem),
    radial-gradient(circle at 94% 24%, rgba(41, 76, 60, 0.08), transparent 26rem),
    var(--agorah-paper);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(18px, 1.15vw, 20px);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body :is(h1, h2, h3, h4) {
  color: var(--agorah-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  color: var(--agorah-muted);
}

a {
  color: var(--agorah-forest);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--agorah-terracotta-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--agorah-gold);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px clamp(20px, 5vw, 72px);
  background: rgba(247, 243, 235, 0.92);
  border-bottom: 1px solid var(--agorah-border);
  box-shadow: 0 1px 0 rgba(38, 55, 46, 0.025);
  backdrop-filter: blur(12px);
}

.logo,
.brand {
  color: var(--agorah-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.tagline-small {
  color: var(--agorah-muted);
  font-size: 15px;
  font-style: normal;
  letter-spacing: 0.01em;
}

.header-link,
.footer-link a,
.signup-link a,
.forgot-password,
.skip-link a {
  color: var(--agorah-terracotta-dark);
}

.site-header {
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.site-nav a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: var(--agorah-forest);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
}

.site-nav a:hover {
  background: rgba(41, 76, 60, 0.08);
}

.site-nav .nav-cta {
  padding: 9px 17px;
  background: var(--agorah-forest);
  color: white;
}

.site-nav .nav-cta:hover {
  background: var(--agorah-forest-dark);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--agorah-terracotta-dark);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  width: min(1220px, calc(100% - 48px));
  max-width: none;
  margin: 42px auto 30px;
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
  text-align: left;
  background: linear-gradient(130deg, #fffdf8 0%, #f5ebdc 100%);
  border: 1px solid #e7dac8;
  border-radius: 32px;
  box-shadow: var(--agorah-shadow);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -155px;
  right: -100px;
  width: 420px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(211, 161, 91, 0.18), rgba(211, 161, 91, 0));
  border-radius: 50%;
}

.hero h1 {
  max-width: 13ch;
  margin: 0 0 22px;
  color: var(--agorah-ink);
  font-size: clamp(42px, 5.1vw, 68px);
  font-weight: 600;
  line-height: 1.08;
}

.hero h1 span {
  color: var(--agorah-terracotta);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin: 0;
  color: var(--agorah-muted);
  font-size: clamp(19px, 1.65vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 30px;
}

.button-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 21px;
  color: white;
  background: var(--agorah-terracotta);
  border: 1px solid var(--agorah-terracotta);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(131, 61, 44, 0.16);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button-link:hover {
  color: white;
  background: var(--agorah-terracotta-dark);
  box-shadow: 0 11px 22px rgba(131, 61, 44, 0.2);
  transform: translateY(-1px);
}

.text-link {
  font-size: 17px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(150deg, #e7eee6, #f1e4d2);
  border: 1px solid rgba(41, 76, 60, 0.12);
  border-radius: 24px;
}

.visual-kicker {
  margin: 0 0 3px;
  color: var(--agorah-forest);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.visual-note {
  padding: 17px 20px;
  background: rgba(255, 254, 250, 0.9);
  border: 1px solid rgba(41, 76, 60, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(38, 55, 46, 0.07);
}

.visual-note.highlight {
  background: #fffaf1;
  border-color: rgba(163, 79, 55, 0.2);
}

.visual-note span {
  color: var(--agorah-terracotta-dark);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.visual-note p {
  margin: 5px 0 0;
  color: var(--agorah-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.connection-mark {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: -5px auto;
  color: var(--agorah-terracotta-dark);
  background: #fffdf8;
  border: 1px solid var(--agorah-border);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}

.visual-footnote {
  color: var(--agorah-forest);
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}

.section-heading {
  width: min(1120px, calc(100% - 48px));
  margin: 58px auto 23px;
  text-align: center;
}

.section-heading h2,
.who-belongs h2,
.topic-strip h2,
.how-it-works h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 42px);
}

.two-sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto 66px;
  padding: 0;
}

.side-card,
.audience-card,
.step,
.form-card,
.card,
.modal-card,
.success-card {
  background: var(--agorah-white);
  border: 1px solid var(--agorah-border);
  border-radius: var(--agorah-radius);
  box-shadow: 0 12px 34px rgba(38, 55, 46, 0.055);
}

.side-card {
  padding: clamp(24px, 3.3vw, 38px);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.side-card:hover,
.audience-card:hover,
.step:hover {
  box-shadow: var(--agorah-shadow);
  transform: translateY(-3px);
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 0 20px;
  color: var(--agorah-forest);
  background: var(--agorah-sage);
  border: 1px solid rgba(41, 76, 60, 0.12);
  border-radius: 18px;
}

.icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.side-card:nth-child(2) .icon,
.audience-card:nth-child(even) .icon {
  color: var(--agorah-terracotta-dark);
  background: #f6e8db;
  border-color: rgba(163, 79, 55, 0.12);
}

.side-card h2 {
  margin: 0 0 9px;
  color: var(--agorah-forest);
  font-size: 27px;
}

.side-card p,
.audience-card p,
.step p {
  margin: 0;
  color: var(--agorah-muted);
  font-size: 18px;
  line-height: 1.65;
}

.topic-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 74px;
  padding: clamp(28px, 4.5vw, 50px);
  background: #f1eadf;
  border: 1px solid #e5d8c7;
  border-radius: 26px;
}

.topic-strip h2 {
  margin-bottom: 12px;
}

.topic-strip-copy > p:last-child {
  margin: 0;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-pills li {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 15px;
  color: var(--agorah-forest-dark);
  background: var(--agorah-white);
  border: 1px solid #d7c9b8;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
}

.who-belongs {
  padding: clamp(54px, 7vw, 86px) clamp(24px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(232, 238, 230, 0.75), rgba(247, 243, 235, 0.48));
  border: 0;
  text-align: center;
}

.who-belongs > p {
  max-width: 64ch;
  margin: 0 auto 34px;
  color: var(--agorah-muted);
  font-size: 19px;
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  max-width: none;
  margin: 0 auto;
}

.audience-card {
  width: auto;
  min-height: 100%;
  padding: 23px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.audience-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border-radius: 15px;
}

.audience-card .icon svg {
  width: 25px;
  height: 25px;
}

.audience-card h3 {
  margin: 0 0 8px;
  color: var(--agorah-forest);
  font-size: 20px;
}

.audience-card p {
  font-size: 17px;
  line-height: 1.55;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 10px clamp(24px, 5vw, 60px);
  width: min(1120px, calc(100% - 48px));
  margin: 64px auto;
  padding: clamp(28px, 5vw, 58px);
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(211, 161, 91, 0.22), transparent 24rem),
    linear-gradient(135deg, #244437, #355947);
  border: 1px solid rgba(29, 57, 45, 0.2);
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(29, 57, 45, 0.18);
  text-align: left;
}

.waitlist .eyebrow {
  color: #f0c88f;
}

.waitlist h2 {
  margin: 0 0 12px;
  color: white;
  font-size: clamp(30px, 3.2vw, 42px);
}

.waitlist > p {
  margin: 0;
  color: #e9efe9;
  font-size: 18px;
}

.waitlist-form {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin: 0;
}

.waitlist-field {
  min-width: 0;
}

.waitlist-field.full {
  grid-column: 1 / -1;
}

.waitlist-form label {
  display: block;
  margin: 0 0 6px;
  color: #f5eee2;
  font-size: 16px;
  font-weight: 650;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--agorah-ink);
  background: #fffefa;
  border: 1px solid #d8ccb9;
  border-radius: 12px;
  font-size: 17px;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: 3px solid #f0c88f;
  outline-offset: 2px;
  border-color: white;
}

.waitlist-form button {
  min-height: 52px;
  grid-column: 1 / -1;
  margin-top: 1px;
  color: white;
  background: var(--agorah-terracotta);
  border: 1px solid #c87a58;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 750;
}

.waitlist-form button:hover {
  background: var(--agorah-terracotta-dark);
}

.waitlist .success-message,
.waitlist .error-message {
  grid-column: 2;
  margin: 4px 0 0;
}

.waitlist .success-message {
  color: #eff8ef;
}

.waitlist .error-message {
  color: #fff0df;
  background: rgba(92, 35, 25, 0.3);
  border: 1px solid rgba(255, 225, 195, 0.5);
}

.how-it-works {
  width: min(1120px, calc(100% - 48px));
  margin: 78px auto;
  padding: 0;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  max-width: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  padding: 27px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.how-it-works .step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  color: white;
  background: var(--agorah-terracotta);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 750;
}

.step h3 {
  margin: 0 0 9px;
  color: var(--agorah-forest);
  font-size: 22px;
}

.mission {
  margin: 70px 0 0;
  padding: clamp(48px, 7vw, 82px) 24px;
  color: white;
  background: #284b3b;
  border: 0;
  text-align: center;
}

.mission p {
  max-width: 840px;
  margin: 0 auto;
  color: #f7f4ec;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.3vw, 38px);
  line-height: 1.42;
}

.mission span {
  color: #efc181;
  font-weight: 700;
}

footer {
  padding: 24px;
  background: #203c30;
  border: 0;
  text-align: center;
}

footer p {
  margin: 0;
  color: #e6ece5;
  font-size: 15px;
}

.page-container {
  width: min(100% - 40px, 860px);
  margin: clamp(32px, 5vw, 62px) auto;
  padding: 0;
}

.page-title,
.page-header h1,
.step-title,
.greeting h1 {
  color: var(--agorah-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 43px);
  font-weight: 600;
  line-height: 1.2;
}

.page-subtitle,
.page-header p,
.step-subtitle,
.greeting p {
  color: var(--agorah-muted);
  font-size: 18px;
}

.form-card,
.card,
.modal-card,
.success-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--agorah-white);
  border-color: var(--agorah-border);
  border-radius: var(--agorah-radius);
  box-shadow: var(--agorah-shadow);
}

.card {
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label,
label,
.card-label,
.topic-section-label {
  color: var(--agorah-ink);
  font-size: 17px;
  font-weight: 650;
}

.form-label {
  margin-bottom: 7px;
}

.form-label span,
.form-group .hint,
.career-hint,
.password-hint,
.char-count {
  color: var(--agorah-muted);
  font-size: 15px;
}

.form-input,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  min-height: 52px;
  padding: 12px 15px;
  color: var(--agorah-ink);
  background: #fffefa;
  border: 1px solid #cfc4b5;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1.45;
}

.form-input,
textarea {
  width: 100%;
}

textarea.form-input,
textarea {
  min-height: 130px;
}

.form-input:focus,
input:focus,
select:focus,
textarea:focus {
  background: white;
  border-color: var(--agorah-forest);
  box-shadow: 0 0 0 3px rgba(41, 76, 60, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #69736b;
  opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--agorah-forest);
}

.submit-btn,
.btn-primary,
.btn-next,
.waitlist-form button,
.small-btn.primary,
.primary-link,
.modal-btn.primary {
  color: white;
  background: var(--agorah-terracotta);
  border: 1px solid var(--agorah-terracotta);
  border-radius: 12px;
  font-weight: 750;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.submit-btn:hover,
.btn-primary:hover,
.btn-next:hover,
.waitlist-form button:hover,
.small-btn.primary:hover,
.primary-link:hover,
.modal-btn.primary:hover {
  color: white;
  background: var(--agorah-terracotta-dark);
  border-color: var(--agorah-terracotta-dark);
  box-shadow: 0 8px 18px rgba(131, 61, 44, 0.16);
  transform: translateY(-1px);
}

.submit-btn,
.btn-primary,
.btn-next {
  min-height: 52px;
  padding: 12px 20px;
  font-size: 17px;
}

.submit-btn:disabled,
.btn-primary:disabled,
.btn-next:disabled,
.small-btn:disabled,
.modal-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.nav-link,
.btn-back {
  min-height: 46px;
  padding: 9px 16px;
  color: var(--agorah-forest);
  background: var(--agorah-white);
  border: 1px solid #c9d3c9;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}

.nav-link:hover,
.btn-back:hover {
  color: var(--agorah-forest-dark);
  background: var(--agorah-sage);
  border-color: var(--agorah-forest);
}

.small-btn,
.modal-btn,
.time-btn {
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 650;
}

.small-btn {
  color: var(--agorah-forest);
  background: #f7f8f4;
  border: 1px solid #cbd5cb;
}

.small-btn:hover {
  color: var(--agorah-forest-dark);
  background: var(--agorah-sage);
}

.small-btn.danger,
.modal-btn.danger {
  color: #873b2a;
  background: #fff5f0;
  border-color: #e3b9a9;
}

.time-btn {
  color: var(--agorah-forest);
  background: #fffdf8;
  border: 1px solid #cbd5cb;
}

.time-btn:hover,
.time-btn.selected {
  color: white;
  background: var(--agorah-forest);
  border-color: var(--agorah-forest);
}

.topic-chip,
.topic-tag,
.preference-option,
.role-option,
.consent-option {
  border-color: var(--agorah-border);
  border-radius: 14px;
}

.topic-chip,
.topic-tag {
  color: var(--agorah-forest-dark);
  background: #f5f6f0;
}

.topic-chip:hover,
.preference-option:hover,
.role-option:hover {
  border-color: var(--agorah-gold);
  box-shadow: 0 7px 18px rgba(38, 55, 46, 0.07);
}

.topic-chip.selected,
.preference-option.selected,
.role-option.selected {
  color: var(--agorah-forest-dark);
  background: var(--agorah-sage);
  border-color: var(--agorah-forest);
  box-shadow: 0 0 0 2px rgba(41, 76, 60, 0.12);
}

.match-card {
  background: linear-gradient(140deg, #f1eadf, #fffaf2);
  border-color: #dfcdb7;
  border-radius: var(--agorah-radius);
}

.match-card h2,
.card h2,
.modal-card h2 {
  color: var(--agorah-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
}

.match-card p,
.match-settings label,
.match-item p,
.profile-row .value,
.bio-text,
.empty-note,
.schedule-hint,
.session-when,
.confirm-text {
  color: var(--agorah-muted);
  font-size: 17px;
}

.match-settings {
  border-color: var(--agorah-border);
}

.match-item,
.session-item,
.profile-row {
  border-color: var(--agorah-border);
}

.match-item,
.session-item {
  padding: 17px 0;
}

.match-item h3,
.profile-row .label,
.session-who,
.topic-group-title {
  color: var(--agorah-forest);
  font-size: 18px;
  font-weight: 700;
}

.card-label,
.step-indicator,
.step-number,
.topic-section-label {
  color: var(--agorah-terracotta-dark);
}

.card-label {
  font-size: 14px;
  font-weight: 750;
}

.modal-overlay {
  background: rgba(28, 42, 34, 0.55);
  backdrop-filter: blur(4px);
}

.modal-card {
  max-width: min(520px, calc(100% - 32px));
}

.confirm-bar {
  background: rgba(255, 253, 248, 0.97);
  border-top: 1px solid var(--agorah-border);
  box-shadow: 0 -12px 30px rgba(38, 55, 46, 0.1);
  backdrop-filter: blur(10px);
}

.error-message {
  color: #7d3225;
  background: #fff0ea;
  border-color: #e5b8a8;
  border-radius: 12px;
  font-size: 16px;
}

.success-message,
.notice-message {
  color: var(--agorah-forest-dark);
  background: #edf4ec;
  border-color: #b9d0bb;
  border-radius: 12px;
  font-size: 16px;
}

.loading,
#notice,
.footer-link {
  color: var(--agorah-muted);
  font-size: 16px;
}

#notice {
  padding: 14px 16px;
  background: #edf4ec;
  border: 1px solid #b9d0bb;
  border-radius: 12px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    width: min(100% - 36px, 760px);
    margin-top: 26px;
    padding: clamp(28px, 6vw, 48px);
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-visual {
    max-width: 580px;
    width: 100%;
    margin-inline: auto;
  }

  .audience-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-strip {
    grid-template-columns: 1fr;
  }

  .waitlist {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(100% - 36px, 760px);
  }

  .waitlist-form,
  .waitlist .success-message,
  .waitlist .error-message {
    grid-column: 1;
    grid-row: auto;
  }

  .waitlist .success-message,
  .waitlist .error-message {
    margin-top: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 24px;
  }

  .header-nav,
  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 18px;
  }

  header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
  }

  .logo,
  .brand {
    font-size: 27px;
  }

  .tagline-small {
    display: none;
  }

  .site-header {
    align-items: center;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px;
    margin-left: 0;
  }

  .site-nav a {
    padding: 7px 10px;
    font-size: 15px;
  }

  .hero {
    width: calc(100% - 28px);
    margin: 18px auto 25px;
    padding: 27px 21px;
    border-radius: 23px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions > * {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section-heading,
  .two-sides,
  .topic-strip,
  .how-it-works {
    width: calc(100% - 28px);
  }

  .section-heading {
    margin-top: 42px;
  }

  .two-sides,
  .audience-cards {
    grid-template-columns: 1fr;
  }

  .two-sides {
    gap: 14px;
    margin-bottom: 42px;
  }

  .topic-strip {
    padding: 24px 20px;
    margin-bottom: 46px;
  }

  .topic-pills {
    gap: 8px;
  }

  .topic-pills li {
    font-size: 15px;
  }

  .who-belongs {
    padding: 48px 17px;
  }

  .audience-card {
    min-height: 0;
  }

  .waitlist {
    width: calc(100% - 28px);
    padding: 25px 20px;
    margin: 44px auto;
    border-radius: 22px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .waitlist-field.full,
  .waitlist-form button {
    grid-column: 1;
  }

  .mission {
    margin-top: 48px;
  }

  .page-container {
    width: calc(100% - 28px);
    margin: 30px auto;
  }

  .form-card,
  .card,
  .modal-card {
    padding: 23px 20px;
    border-radius: 17px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .add-row {
    flex-wrap: wrap;
  }

  .add-row .form-input,
  .add-row button {
    min-width: 100%;
  }

  .profile-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .confirm-inner {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.email-action {
  background: transparent;
  border: 0;
  color: #284b3b;
  cursor: pointer;
  font: inherit;
  padding: .65rem .5rem;
  text-decoration: underline;
}
.email-action:disabled { opacity: .62; cursor: default; }
