/* Mecipe — design tokens mirrored from src/Mecipe/Mecipe/Core/Theme */
:root {
  --primary: #E47A2E;
  --accent: #5FA36A;
  --secondary-brown: #8B5A3C;

  --bg: #FFFFFF;
  --surface: #FAF6F1;
  --text-primary: #1E1E1E;
  --text-secondary: #6B6B6B;
  --divider: #E6E1DA;

  --footer-bg: #1E1E1E;
  --footer-text: #F5F5F5;
  --footer-text-muted: #A1A1A1;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 34px;

  --shadow-cta: 0 4px 12px rgba(228, 122, 46, 0.25);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1C1C1C;
    --text-primary: #F5F5F5;
    --text-secondary: #A1A1A1;
    --divider: #2A2A2A;

    --primary: #F08A3C;
    --accent: #6DBB7A;

    --shadow-cta: 0 4px 12px rgba(240, 138, 60, 0.30);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.40);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Hero ----- */
.hero {
  padding: 56px 0 72px;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mascot-inline {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--text-primary);
}

.wordmark .dot { color: var(--primary); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(228, 122, 46, 0.12);
  border-radius: var(--radius-pill);
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

h1.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin: 20px 0 16px;
  color: var(--text-primary);
}

.subhead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 24px;
}

/* ----- Perks teaser pill ----- */
.perks-teaser {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  margin: 0 0 28px;
  background: rgba(228, 122, 46, 0.10);
  border: 1px solid rgba(228, 122, 46, 0.28);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.perks-teaser:hover {
  background: rgba(228, 122, 46, 0.16);
  border-color: rgba(228, 122, 46, 0.40);
}

.perks-teaser:active { transform: translateY(1px); }

.teaser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(228, 122, 46, 0.18);
  flex-shrink: 0;
}

.teaser-arrow {
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.15s;
}

.perks-teaser:hover .teaser-arrow { transform: translateX(3px); }

/* ----- Waitlist form ----- */
.waitlist {
  max-width: 480px;
}

.waitlist-fallback {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.waitlist-fallback input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text-primary);
  transition: border-color 0.15s;
}

.waitlist-fallback input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-primary {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.1s, box-shadow 0.15s;
}

.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.waitlist-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ----- Perks milestone band ----- */
.perks-band {
  background: linear-gradient(135deg, #2A1810 0%, #3A2418 60%, #4A2C1C 100%);
  color: #F5E9DC;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 16px;
}

.band-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  align-items: center;
  gap: 28px;
}

.band-label {
  padding-right: 24px;
  border-right: 1px solid rgba(245, 233, 220, 0.14);
}

.band-small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 233, 220, 0.55);
  margin: 0 0 6px;
}

.band-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.3px;
  margin: 0;
  color: #FFFFFF;
}

.milestone {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.milestone .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: #F5E9DC;
  opacity: 0.85;
  position: relative;
  padding-bottom: 8px;
  flex-shrink: 0;
}

.milestone .num::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.milestone .m-text .when {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(245, 233, 220, 0.6);
  margin: 0 0 3px;
}

.milestone .m-text .what {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0;
}

.band-note {
  margin: 24px 0 0;
  font-size: 13px;
  color: rgba(245, 233, 220, 0.55);
  text-align: center;
}

/* ----- Features ----- */
.features {
  padding: 80px 0 96px;
  background: var(--surface);
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 8px;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0;
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(228, 122, 46, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.feature-body {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

/* ----- Footer ----- */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand .wordmark { color: var(--footer-text); }
.footer-brand p {
  margin: 12px 0 0;
  color: var(--footer-text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-contact {
  font-size: 14px;
  color: var(--footer-text-muted);
}
.footer-contact a:hover { color: var(--footer-text); }

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  transition: background 0.15s;
}

.footer-socials a:hover { background: rgba(255, 255, 255, 0.12); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--footer-text-muted);
}

.footer-bottom .legal a {
  margin-left: 20px;
  color: var(--footer-text-muted);
  opacity: 0.6;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: 1fr; gap: 20px; }
  .band-label {
    border-right: none;
    border-bottom: 1px solid rgba(245, 233, 220, 0.14);
    padding: 0 0 16px;
  }
  .perks-band { padding: 48px 0 40px; }
}

@media (max-width: 600px) {
  .hero { padding: 28px 0 40px; }
  .brand-row { gap: 10px; }
  .mascot-inline { width: 44px; height: 44px; border-radius: 11px; }
  .wordmark { font-size: 30px; }
  .badge { margin-top: 18px; font-size: 12px; padding: 5px 12px; }
  h1.headline { font-size: 30px; margin: 14px 0 12px; letter-spacing: -0.5px; }
  .subhead { font-size: 15px; margin: 0 0 18px; }
  .perks-teaser { font-size: 13px; padding: 8px 14px 8px 12px; margin-bottom: 20px; }
  .waitlist-note { font-size: 12px; }
  h2.section-title { font-size: 28px; }
  .features { padding: 48px 0 56px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
