:root {
  --green: #1F4D3A;
  --green-deep: #14332A;
  --green-light: #E4EBDB;
  --gold: #E8A93B;
  --gold-deep: #C98F27;
  --ink: #20241C;
  --bg: #F1F4EC;
  --white: #FFFFFF;
  --tee-red: #B5482F;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.55;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', sans-serif;
  color: var(--green-deep);
  margin: 0;
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  padding: 28px 0 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-img {
  display: block;
  height: 42px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.header-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--green-deep);
  opacity: 0.75;
}
.header-nav .nav-link:hover { opacity: 1; }
.header-nav .nav-link.active {
  opacity: 1;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.header-cta {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  white-space: nowrap;
}
.header-cta:hover { border-color: var(--green-deep); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}
.pill {
  display: inline-block;
  background: var(--white);
  border: 1px solid #D7DECB;
  color: var(--green-deep);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero p.lede {
  margin-top: 18px;
  font-size: 1.1rem;
  max-width: 46ch;
  color: #3B4136;
}

form.waitlist {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  max-width: 440px;
  flex-wrap: wrap;
}
.field {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
}
input[type="email"] {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid #C9D2BB;
  background: var(--white);
  color: var(--ink);
  outline-offset: 2px;
}
input[type="email"]:focus-visible {
  outline: 2.5px solid var(--green);
}
input[type="email"]::placeholder { color: #8B9382; }

button.submit {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 10px;
  border: none;
  background: var(--gold);
  color: var(--green-deep);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
button.submit:hover { background: var(--gold-deep); }
button.submit:active { transform: translateY(1px); }
button.submit:focus-visible { outline: 2.5px solid var(--green-deep); outline-offset: 2px; }
button.submit:disabled { opacity: 0.6; cursor: default; }

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #5C6353;
}
.form-note strong { color: var(--green-deep); }

.form-status {
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.3em;
}
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: var(--tee-red); }

/* ---------- Mascot ---------- */
.mascot-wrap {
  display: flex;
  justify-content: center;
}
.mascot-img {
  width: min(78%, 220px);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- How it works ---------- */
.how {
  background: var(--green);
  border-radius: 28px;
  padding: 56px 40px;
  margin: 24px 0 72px;
}
.how h2 {
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 600;
  max-width: 26ch;
}
.steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  color: var(--green-light);
}
.step .num {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
}
.step h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 6px;
}
.step p {
  margin: 8px 0 0;
  font-size: 0.97rem;
  color: #C9D7C0;
}

/* ---------- Details ---------- */
.details {
  padding: 24px 0 72px;
  max-width: 640px;
}

.details h2 {
  font-size: 1.8rem;
  font-weight: 600;
}
.details p.intro {
  margin-top: 14px;
  color: #3B4136;
  max-width: 52ch;
}
.spec-list {
  margin-top: 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.spec-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink);
}
.spec-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}
.spec-list strong { color: var(--green-deep); }

/* ---------- Future editions ---------- */
.future {
  border-top: 1px solid #DEE5D2;
  padding: 56px 0;
}
.future-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  max-width: 30ch;
}
.future-text p {
  margin-top: 12px;
  color: #3B4136;
  max-width: 62ch;
}
.future-tags {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.future-tags li {
  background: var(--white);
  border: 1px solid #D7DECB;
  color: var(--green-deep);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
}

/* ---------- Story ---------- */
.story {
  border-top: 1px solid #DEE5D2;
  padding: 56px 0;
}
.story h2 {
  font-size: 1.5rem;
  font-weight: 600;
  max-width: 30ch;
}
.story > div { margin-top: 12px; }
.story p {
  color: #3B4136;
  max-width: 60ch;
}
.story p + p { margin-top: 14px; }

/* ---------- Footer CTA ---------- */
.footer-cta {
  background: var(--green-deep);
  border-radius: 28px;
  margin-bottom: 40px;
  padding: 56px 40px;
  text-align: center;
}
.footer-cta h2 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 600;
}
.footer-cta p {
  color: #C9D7C0;
  margin-top: 10px;
}
.footer-cta form.waitlist {
  margin: 26px auto 0;
  justify-content: center;
}
.footer-cta .form-note { color: #9DAE93; }
.waitlist-count {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #9DAE93;
}
.waitlist-count strong { color: var(--gold); font-weight: 600; }

.footer-cta .btn { margin-top: 26px; }

footer.site-footer {
  padding: 0 0 40px;
  font-size: 0.85rem;
  color: #6B7261;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
footer.site-footer a { text-decoration: none; }
footer.site-footer a:hover { color: var(--green-deep); }

/* ---------- Buttons (shared) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  border: none;
}
.btn-primary:hover { background: var(--gold-deep); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover { border-color: var(--white); }
.btn-outline {
  background: var(--white);
  color: var(--green-deep);
  border: 1.5px solid #D7DECB;
}
.btn-outline:hover { border-color: var(--green-deep); }

/* ---------- About page: profile hero ---------- */
.profile-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
}
.profile-photo-wrap {
  display: flex;
  justify-content: center;
}
.profile-photo {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 12px 28px rgba(20, 51, 42, 0.14);
}
.profile-hero .pill { margin-bottom: 20px; }
.profile-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.profile-role {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold-deep);
}
.profile-hero p.lede {
  margin-top: 16px;
  font-size: 1.05rem;
  max-width: 54ch;
  color: #3B4136;
}
.profile-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- About page: sections ---------- */
.about-section {
  border-top: 1px solid #DEE5D2;
  padding: 48px 0;
}
.about-section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  max-width: 32ch;
}
.about-section p {
  color: #3B4136;
  max-width: 66ch;
}
.about-section p + p { margin-top: 14px; }
.about-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--white);
  border: 1px solid #D7DECB;
  border-radius: 18px;
  padding: 26px;
}
.about-card .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.about-card h3 {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}
.about-card p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #3B4136;
}

.timeline {
  margin-top: 30px;
  display: grid;
  gap: 22px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
}
.timeline-item .when {
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.92rem;
}
.timeline-item .what h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
.timeline-item .what p {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #3B4136;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .mascot-wrap { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .how, .footer-cta { padding: 40px 24px; }

  .profile-hero { grid-template-columns: 1fr; padding-top: 32px; }
  .profile-photo-wrap { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .header-row { flex-wrap: wrap; }
}
