@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The app's brand scale (tailwind.config.ts in Retabled-Agent) */
:root {
  --brand-50: #f4f5fd;
  --brand-100: #e9ebfb;
  --brand-600: #5a5ec8;
  --brand-700: #4a4daf;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --accent: var(--brand-600);
  --accent-hover: var(--brand-700);
  --accent-soft: var(--brand-50);
  --accent-text: var(--brand-700);
  --danger: #b91c1c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14;
    --surface: #151826;
    --text: #f3f4f6;
    --muted: #b8bdc9;
    --border: #2b3040;
    --accent: #6f75d6;
    --accent-hover: #8e96e2;
    --accent-soft: #1b1d36;
    --accent-text: #b4bbee;
    --danger: #f87171;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    'Plus Jakarta Sans',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent-text);
}
[hidden] {
  display: none !important;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .site-header,
  main,
  .site-footer {
    padding: 0 2rem;
  }
}

.site-header {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.wordmark {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.hero {
  text-align: center;
  padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.875rem;
  font-weight: 600;
}
h1 {
  margin: 0 auto 1rem;
  max-width: 44rem;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 strong {
  font-weight: 700;
}
.lead {
  margin: 0 auto 2rem;
  text-wrap: pretty;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s;
}
.button:hover {
  background: var(--accent-hover);
}
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.points {
  display: grid;
  gap: 1rem;
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
@media (min-width: 768px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.point {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}
.point h2 {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.point p {
  margin: 0;
  color: var(--muted);
}

.join {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  scroll-margin-top: 1rem;
}
@media (min-width: 900px) {
  .join {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
  }
}
.join-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.join-intro p {
  margin: 0;
  color: var(--muted);
}

.card {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

form {
  display: grid;
  gap: 1.125rem;
}
.field {
  display: grid;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field-row {
  display: grid;
  gap: 1.125rem;
}
@media (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.org-only {
  display: grid;
  gap: 1.125rem;
}
label,
legend {
  font-weight: 600;
  font-size: 0.9375rem;
}
legend {
  margin-bottom: 0.375rem;
  padding: 0;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
input:not([type='radio']):not([type='checkbox']),
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
textarea {
  resize: vertical;
}
[aria-invalid='true'] {
  border-color: var(--danger) !important;
}
.choice {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-weight: 400;
  padding: 0.25rem 0;
}
.choice input {
  margin: 0.3rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  flex: none;
}
.consent {
  color: var(--muted);
  font-size: 0.9375rem;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.human-check:empty {
  display: none;
}
.error {
  margin: 0;
  color: var(--danger);
  font-weight: 600;
}
form .button {
  width: 100%;
}
.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.thanks h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
}
.thanks p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

/* The privacy notice */
.prose {
  max-width: 44rem;
  padding: 2rem 0 4rem;
}
.prose h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}
.prose h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
}
.prose p,
.prose li {
  color: var(--muted);
}

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