/* Her Next ErAI — shared styles */

:root {
  --plum: #3b1f47;
  --plum-deep: #2a1533;
  --violet: #6d3b8e;
  --orchid: #9d5bb5;
  --gold: #c9a227;
  --gold-soft: #e3c76b;
  --cream: #faf7f2;
  --ink: #2b2430;
  --ink-soft: #5c5364;
  --line: #e8e0d5;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 21, 51, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--plum);
}

img { max-width: 100%; }

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.wordmark {
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--plum);
  letter-spacing: 0.01em;
}

.wordmark .ai { color: var(--gold); font-style: italic; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--plum); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--plum) 0%, var(--violet) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(43, 21, 51, 0.2); }

.btn-gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--plum-deep);
}

.btn-gold:hover { transform: translateY(-2px); }

.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(157, 91, 181, 0.18), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(180deg, #f6eefa 0%, var(--cream) 85%);
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(109, 59, 142, 0.09);
  border: 1px solid rgba(109, 59, 142, 0.18);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--violet), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 44rem;
  margin: 0 auto 2.2rem;
}

.hero .cta-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Sections */
.section { padding: 4.5rem 0; }

.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }

.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 0.8rem; }

.section-head p { color: var(--ink-soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 4px 14px rgba(43, 21, 51, 0.05);
}

.section.alt .card { background: var(--cream); }

.card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 59, 142, 0.12), rgba(201, 162, 39, 0.16));
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; counter-reset: step; }

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
}

.step .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--gold-soft);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }

.step p { color: var(--ink-soft); font-size: 0.93rem; }

/* Community band */
.band {
  background:
    radial-gradient(800px 300px at 85% 0%, rgba(227, 199, 107, 0.14), transparent 55%),
    linear-gradient(120deg, var(--plum-deep), var(--plum) 55%, var(--violet));
  color: #f4ecf8;
  text-align: center;
  padding: 4.5rem 0;
}

.band h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: 0.9rem; }

.band p { color: #d9c9e4; max-width: 42rem; margin: 0 auto 2rem; }

/* Footer */
.site-footer {
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer .container { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }

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

/* ---------- Apply page ---------- */

.page-hero { padding: 4rem 0 2.5rem; text-align: center; }

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.9rem; }

.page-hero p { color: var(--ink-soft); max-width: 44rem; margin: 0 auto; }

.apply-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.6rem;
  align-items: start;
  padding-bottom: 5rem;
}

@media (max-width: 860px) { .apply-layout { grid-template-columns: 1fr; } }

.apply-info h2 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; }

.apply-info h2:first-child { margin-top: 0; }

.apply-info p, .apply-info li { color: var(--ink-soft); font-size: 0.97rem; }

.apply-info ul { padding-left: 1.2rem; margin-top: 0.4rem; }

.apply-info li { margin-bottom: 0.45rem; }

.pill-list { list-style: none; padding: 0; }

.pill-list li {
  padding-left: 1.6rem;
  position: relative;
}

.pill-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
}

.form-card h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }

.form-card .form-sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1.4rem; }

.field { margin-bottom: 1.05rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

label, .field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.req { color: var(--violet); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(109, 59, 142, 0.35);
  border-color: var(--violet);
}

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

.optional-note { font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }

.form-card .btn { width: 100%; margin-top: 0.4rem; }

#form-status { margin-top: 0.8rem; font-size: 0.9rem; color: #a3253a; min-height: 1.2em; }

.form-success { text-align: center; padding: 1.5rem 0.5rem; }

.form-success h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

.form-success p { color: var(--ink-soft); }

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
