/* Tokens measured off the live equitablesearch.com — see THEME.md.
   Light theme only: the live site has no dark mode, so this page ships none. */
:root {
  --ink:        #1a1a1a;
  --ink-2:      #3a3a3a;
  --muted:      #6a6a6a;
  --muted-2:    #aaaaaa;
  --bg:         #ffffff;
  --surface:    #fafafa;
  --border:     rgba(26, 26, 26, 0.2);
  --hairline:   rgba(26, 26, 26, 0.09);
  --violet:     #997dff;
  --periwinkle: #7688ff;
  --danger:     #b3261e;

  --display: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max:     1152px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 500;          /* the site's whole voice is medium-weight */
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
}

/* --- nav ---------------------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 14px 36px;
}

.btn-primary:hover { opacity: 0.86; }

.btn-sm {
  padding: 12px 24px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
  padding: 16px 28px;
  font-size: 15px;
}

.btn:focus-visible,
.wordmark:focus-visible,
.fineprint a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.arrow { font-size: 1.05em; line-height: 1; }

/* --- hero --------------------------------------------------------------- */

.hero {
  border-radius: 30px;
  background:
    radial-gradient(120% 120% at 12% 18%, #eef0ff 0%, rgba(238, 240, 255, 0) 55%),
    radial-gradient(100% 100% at 88% 22%, #cbb6ff 0%, rgba(203, 182, 255, 0) 60%),
    radial-gradient( 90% 120% at 65% 90%, #b9a3ff 0%, rgba(185, 163, 255, 0) 55%),
    linear-gradient(120deg, #f4f2ff 0%, #e8e3ff 45%, #ded6ff 100%);
  padding: clamp(42px, 6.5vw, 76px) clamp(24px, 4vw, 56px);
  text-align: center;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.62);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 auto;
}

.hero-sub {
  font-family: var(--body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  margin: 20px auto 0;
}

/* --- form card ---------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 32px;
  max-width: 560px;
  margin: clamp(26px, 4vw, 44px) auto 0;
  padding: clamp(24px, 4vw, 40px);
}

.field { margin-bottom: 18px; }

label {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 7px;
}

.opt {
  color: var(--muted);
  font-weight: 400;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  appearance: none;
}

textarea {
  resize: vertical;
  min-height: 86px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236a6a6a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

::placeholder { color: var(--muted-2); opacity: 1; }

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: transparent;
}

/* Honeypot: hidden by CSS, never type="hidden" — bots read that. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
  min-height: 68px;   /* reserve the widget's height so nothing jumps */
  margin: 4px 0 16px;
}

.error {
  font-family: var(--body);
  font-size: 14px;
  color: var(--danger);
  background: rgba(179, 38, 30, 0.06);
  border: 1px solid rgba(179, 38, 30, 0.22);
  border-radius: 14px;
  padding: 10px 13px;
  margin: 0 0 14px;
}

.fineprint {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}

.fineprint a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- success state ------------------------------------------------------ */

.card.is-done { text-align: center; }

.card.is-done h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.1;
}

.card.is-done h2:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: 4px;
}

.card.is-done p {
  font-family: var(--body);
  color: var(--muted);
  font-size: 16px;
  margin: 14px 0 0;
}

.card.is-done a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- footer ------------------------------------------------------------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  border-top: 1px solid var(--hairline);
  margin-top: clamp(44px, 7vw, 84px);
  padding: 26px 0 40px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted-2);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

/* --- small screens ------------------------------------------------------ */

@media (max-width: 460px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 18px 0; }
  .wordmark { font-size: 18px; }
  .btn-sm { padding: 10px 18px; font-size: 12.5px; }
  .card { border-radius: 26px; }
  .site-footer { gap: 4px 10px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
