/* Her Next Fifty: shared styles
   Palette and type follow the brand kit: warm neutrals, one evergreen accent,
   Fraunces headlines, Inter body, 18px minimum body text for easy reading. */

:root {
  --ivory: #FAF7F2;
  --sand: #EDE4D3;
  --taupe: #CBBFA9;
  --espresso: #33261E;
  --evergreen: #1E5945;
  --evergreen-dark: #174434;
  --sage: #DCE8E0;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: "Inter", "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--espresso);
  margin: 0 0 0.6em;
}

h1 { font-size: 2.9rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

a {
  color: var(--evergreen);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--evergreen-dark); }

/* Layout */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.prose { max-width: 42rem; }

section { padding: 64px 0; }
section.tight { padding: 40px 0; }

/* Header */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--taupe);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: block;
}
.wordmark {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.01em;
}
.wordmark .accent { color: var(--evergreen); }
.main-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--espresso);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--evergreen);
  border-bottom-color: var(--evergreen);
}

/* Hero */
.hero {
  padding: 84px 0 72px;
  text-align: left;
}
.hero .eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--evergreen);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 3.4rem;
  max-width: 20ch;
}
.hero .lede {
  font-size: 1.3rem;
  max-width: 40rem;
  color: var(--espresso);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--evergreen);
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--evergreen-dark); color: var(--white); }
.btn.disabled,
.btn[disabled] {
  background: var(--taupe);
  color: var(--espresso);
  cursor: not-allowed;
}

/* Section headings */
.section-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--evergreen);
  margin-bottom: 14px;
}

/* Pillars */
.pillars-band { background: var(--sand); }
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.pillar-card {
  background: var(--ivory);
  border: 1px solid var(--taupe);
  border-radius: 14px;
  padding: 32px;
}
.pillar-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--evergreen);
  display: block;
  margin-bottom: 10px;
}
.pillar-card h3 { margin-bottom: 0.4em; }
.pillar-card p { margin: 0; }

/* Signup placeholder */
.guide-band { background: var(--sage); }
.guide-card {
  background: var(--ivory);
  border: 1px solid var(--taupe);
  border-radius: 16px;
  padding: 44px;
  max-width: 760px;
}
.guide-form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 10px;
}
.guide-form input {
  flex: 1 1 220px;
  font-size: 1rem;
  font-family: inherit;
  padding: 14px 16px;
  border: 1px solid var(--taupe);
  border-radius: 10px;
  background: var(--white);
  color: var(--espresso);
}
.guide-form input[disabled] { background: #F1ECE3; color: #7A6A5C; }
.small-print { font-size: 0.95rem; }
.launch-note {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--taupe);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Closing statement */
.closing {
  text-align: center;
  padding: 80px 0;
}
.closing p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.45;
  max-width: 34ch;
  margin: 0 auto;
}

/* Content pages */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: 2.7rem; }
.content-block { padding: 26px 0; }
.content-block + .content-block { border-top: 1px solid var(--sand); }
.note-card {
  background: var(--sand);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 28px 0;
}
.note-card p:last-child { margin-bottom: 0; }

/* Resource lists */
.resource-list { list-style: none; padding: 0; margin: 24px 0 0; }
.resource-list li {
  background: var(--white);
  border: 1px solid var(--taupe);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.resource-list h3 { margin-bottom: 0.3em; }
.resource-list p { margin: 0; }

/* Legal page */
.legal-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
  font-size: 1rem;
}
.legal-section { padding: 34px 0; }
.legal-section + .legal-section { border-top: 1px solid var(--sand); }

/* Footer */
.site-footer {
  background: var(--espresso);
  color: var(--ivory);
  padding: 52px 0 40px;
  margin-top: 0;
}
.site-footer a { color: var(--sage); }
.site-footer a:hover { color: var(--white); }
.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.footer-note {
  max-width: 46rem;
  font-size: 1rem;
  color: #E9E1D4;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 1rem;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 760px) {
  h1 { font-size: 2.3rem; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 2.6rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .guide-card { padding: 30px 24px; }
  section { padding: 48px 0; }
  .header-inner { justify-content: flex-start; }
}
