/* ===========================================================
   mAIn human — landing page styles
   Plain CSS, no framework. Light/dark via CSS variables.
   =========================================================== */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EAE0;
  --text: #211D19;
  --text-muted: #5B534A;
  --accent: #B25B25;
  --accent-contrast: #FFFFFF;
  --border: #DED4C4;
  --card-bg: #FFFFFF;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: 16px;
  --max-width: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17140F;
    --bg-alt: #211C15;
    --text: #F3EDE3;
    --text-muted: #B8AC9A;
    --accent: #E08A4B;
    --accent-contrast: #17140F;
    --border: #3A3227;
    --card-bg: #1F1A13;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
}

p {
  margin: 0 0 1em 0;
}

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

.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 {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}

.wordmark.small {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

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

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

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 6px 12px;
  border-radius: 6px;
}

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

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-link {
  display: inline-block;
  padding: 12px 8px;
  text-decoration: underline;
  color: var(--text);
  font-weight: 500;
}

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

.hero {
  padding: 56px 0 48px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 360px;
  min-width: 0;
}

.hero-media {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.ed-hero-frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
}

.ed-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.hero-media {
  flex-direction: column;
  align-items: center;
}

.hero-media-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 48ch;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.tagline {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--accent);
  margin-bottom: 0.75em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---------- sections ---------- */

.section {
  padding: 48px 0;
}

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

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.feature-list {
  list-style: none;
  margin: 1em 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 60ch;
}

.feature-list li {
  padding-left: 1.4em;
  position: relative;
}

.feature-list li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- roadmap ---------- */

.roadmap-list {
  list-style: none;
  margin: 1.25em 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 60ch;
}

.roadmap-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 2px 10px;
  margin-right: 8px;
}

/* ---------- faq ---------- */

.faq-list {
  margin: 1.5em 0 0;
  display: grid;
  gap: 24px;
  max-width: 70ch;
}

.faq-item dt {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.faq-item dd {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- waitlist ---------- */

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 480px;
  margin-top: 1.25em;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.waitlist-form button {
  border: none;
  cursor: pointer;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

/* ---------- phone width ---------- */

@media (max-width: 600px) {
  .site-nav {
    gap: 12px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 36px 0 32px;
  }

  .hero-inner {
    flex-direction: column-reverse;
  }

  .section {
    padding: 36px 0;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }
}
.waitlist-actions {
  margin-top: 1.25em;
}

.get-ed-price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  margin: 0.25em 0 0.5em;
}

.price-note {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 6px;
}
