:root {
  /* Exact cream sampled from final EVOTED logo background (RGB 253,249,238). */
  --bg: #fdf9ee;
  --bg-soft: #f7f3e6;
  --surface: #ffffff;
  --text: #38383a;
  --text-secondary: #6b6b6b;
  --text-muted: #999999;
  --accent: #babfa8;
  --accent-dark: #697463;
  --accent-light: #edefe8;
  --border: #e8e8e8;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 42rem;
  --wide: 56rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent-dark);
  color: var(--surface);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  background: transparent;
}

.brand-word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.08em;
  color: var(--accent-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-cta:hover {
  background: var(--accent-light);
}

/* Hero */

.hero {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4.5rem;
}

.hero-inner {
  width: 100%;
  max-width: 30rem;
  text-align: center;
  animation: rise 700ms ease both;
}

.hero-mark {
  width: 4.75rem;
  height: 4.75rem;
  margin: 0 auto 0.85rem;
  object-fit: contain;
  background: transparent;
}

.hero-brand {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.25rem, 12vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.1em;
  color: var(--accent-dark);
}

.hero-tagline {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--text-secondary);
}

.hero-offer {
  margin-top: 2rem;
  padding: 1.35rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(56, 56, 58, 0.05);
  text-align: left;
}

.hero-offer-label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero-offer-headline {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text);
}

.hero-offer-sub {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hero-offer-foot {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-offer strong {
  font-weight: 600;
  color: var(--accent-dark);
}

/* Waitlist CTA (opens MailerLite popup) */

.waitlist-cta {
  margin-top: 2rem;
  text-align: center;
}

.btn-hero {
  width: 100%;
  max-width: 22rem;
  min-height: 3.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 0.85rem;
  background: var(--accent);
  color: var(--surface);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-inline {
  margin-top: 0.5rem;
  padding-inline: 1.75rem;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.form-note a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  min-height: 1.35rem;
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-status.is-success {
  color: var(--accent-dark);
}

.form-status.is-error {
  color: #9a4d4d;
}

.form-status.is-info {
  color: var(--text-secondary);
}

/* Sections */

.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.15;
  color: var(--accent-dark);
}

.section-copy {
  margin: 1.25rem 0 0;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 34rem;
}

.about {
  background: var(--bg);
}

.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

.reasons h3 {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.reasons p {
  margin: 0;
  color: var(--text-secondary);
}

.closing {
  padding-bottom: 6rem;
}

.closing-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing .section-copy {
  max-width: 22rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem 2.75rem;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.08em;
  color: var(--accent-dark);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Legal pages */

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--accent-dark);
}

.legal-updated {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-secondary);
}

.legal p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.legal a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.legal-back {
  margin-top: 2.5rem !important;
}

/* Waitlist modal (MailerLite embed fallback) */

body.waitlist-modal-open {
  overflow: hidden;
}

.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.waitlist-modal[hidden] {
  display: none;
}

.waitlist-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(56, 56, 58, 0.45);
}

.waitlist-modal-dialog {
  position: relative;
  width: min(100%, 26rem);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.waitlist-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(253, 249, 238, 0.92);
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56, 56, 58, 0.12);
}

.waitlist-modal-close:hover {
  color: var(--accent-dark);
  background: var(--surface);
}

.waitlist-iframe {
  display: block;
  width: 100%;
  min-height: 24rem;
  border: 0;
  border-radius: 1rem;
  background: #babfa8;
  box-shadow: 0 24px 48px rgba(56, 56, 58, 0.18);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .site-header {
    padding: 1.5rem 2rem;
  }

  .reasons {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 4rem;
  }

  .section {
    padding: 6.5rem 2rem;
  }
}

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

  .hero-inner {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
