/* ─── BRAND SPECIFICATIONS V2 TOKENS ─── */
:root {
  /* Light Neutral Palette */
  --chalk: #FCFCFA; /* Cards & Sheets */
  --shore: #EFF0EC; /* Main Background */
  --wash:  #E4E7E1; /* Pressed/Selected */
  --silt:  #DDDFD8; /* Borders / Lines */
  --lichen:#6E756B; /* Secondary Text & Meta */
  --basalt:#232724; /* Primary Text */

  /* Child Accent Marks (Deep Contrast for Text/Glyphs) */
  --mark-meadow: #2C7350;
  --mark-butter: #8A6410;
  --mark-blush:  #B0454C;
  --mark-sky:    #2A6A8C;

  /* Child Accent Fields (Pastels for Pills/Cards) */
  --field-meadow:#A9D0B4;
  --field-butter:#F2D48A;
  --field-blush: #F3B9B6;
  --field-sky:   #A8CFE4;

  /* Typography */
  --font-sans: 'Familjen Grotesk', -apple-system, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'Spline Sans Mono', monospace;

  --max-w: 1080px;
}

/* ─── GLOBAL RESETS ─── */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--shore);
  color: var(--basalt);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { 
  color: inherit; 
  text-decoration: none; 
}

/* ─── UTILITY CLASSES ─── */
.meta-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lichen);
  margin-bottom: 24px;
}

.card-alt-bg {
  background: var(--shore) !important;
}

.pebble-opacity {
  fill: var(--basalt);
  opacity: 0.2;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(239, 240, 236, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--silt);
}

.nav-logo { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

.nav-logo img { 
  height: 28px; 
  width: auto; 
}

.nav-links { 
  display: flex; 
  list-style: none; 
  gap: 32px; 
  align-items: center; 
}

.nav-links a { 
  font-size: 15px; 
  color: var(--lichen); 
  transition: color 0.2s; 
}

.nav-links a:hover, 
.nav-links a.active { 
  color: var(--basalt); 
}

.nav-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  background: var(--basalt);
  color: var(--shore);
  padding: 10px 20px;
  border-radius: 999px;
  transition: opacity 0.2s;
}

.nav-cta:hover { 
  opacity: 0.88; 
}

.hero-cta {
  padding: 14px 32px;
  font-size: 15px;
}

/* ─── HERO SECTION ─── */
.hero {
  padding: 160px 40px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--basalt);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--lichen);
  margin-bottom: 36px;
  max-width: 480px;
}

/* ─── CARD SPECIMEN (HERO GRAPHIC) ─── */
.journal-specimen {
  background: var(--chalk);
  border: 1px solid var(--silt);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 12px 32px rgba(35, 39, 36, 0.03);
}

.specimen-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.child-pill {
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
}

.child-pill.lea { background: var(--field-meadow); color: var(--basalt); }
.child-pill.finn { background: var(--field-butter); color: var(--basalt); }
.child-pill.nora { background: var(--field-blush); color: var(--basalt); }

.specimen-date { 
  color: var(--lichen); 
  font-size: 13px; 
}

.specimen-entry {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.5;
  color: var(--basalt);
}

.specimen-pebble {
  align-self: flex-end;
  width: 28px;
  height: 14px;
}

/* ─── VALUE PROPOSITIONS / PILLARS ─── */
.pillars-section {
  border-top: 1px solid var(--silt);
  padding: 96px 40px;
  background: var(--shore);
}

.pillars-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--basalt);
  letter-spacing: -0.01em;
}

.pillar-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--lichen);
}

/* ─── MANIFESTO STRIP ─── */
.manifesto {
  background: var(--chalk);
  border-top: 1px solid var(--silt);
  border-bottom: 1px solid var(--silt);
  padding: 100px 40px;
  text-align: center;
}

.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.35;
  color: var(--basalt);
  margin-bottom: 24px;
}

.manifesto-sub {
  font-size: 16px;
  color: var(--lichen);
}

/* ─── HOW IT WORKS (UPDATED 4-STEP WORKFLOW) ─── */
.how-it-works-section {
  padding: 110px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-it-works-header {
  margin-bottom: 64px;
  max-width: 620px;
}

.how-it-works-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.how-it-works-header p {
  font-size: 18px;
  color: var(--lichen);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--chalk);
  border: 1px solid var(--silt);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lichen);
  letter-spacing: 0.12em;
}

.step-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--wash);
  border-radius: 999px;
  color: var(--basalt);
}

.step-body h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--basalt);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--lichen);
}

/* Custom visual micro-components within steps */
.prompt-preview-box {
  background: var(--shore);
  border: 1px solid var(--silt);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--basalt);
}

.pills-group {
  display: flex;
  gap: 8px;
}

/* ─── THE BOOK IS THE PRODUCT ─── */
.product-focus {
  background: var(--chalk);
  border-top: 1px solid var(--silt);
  padding: 110px 40px;
}

.product-focus-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-focus-text h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.product-focus-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--lichen);
  margin-bottom: 24px;
}

/* ─── WAITLIST SIGNUP ─── */
.signup-section {
  background: var(--shore);
  border-top: 1px solid var(--silt);
  padding: 120px 40px;
  text-align: center;
}

.signup-inner {
  max-width: 520px;
  margin: 0 auto;
}

.signup-inner h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.signup-inner p {
  font-size: 16px;
  color: var(--lichen);
  margin-bottom: 36px;
}

.signup-form {
  display: flex;
  gap: 10px;
  background: var(--chalk);
  border: 1px solid var(--silt);
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.signup-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  color: var(--basalt);
}

.signup-form button {
  background: var(--basalt);
  color: var(--shore);
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signup-form button:hover { 
  opacity: 0.88; 
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--silt);
  padding: 40px;
  background: var(--shore);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--lichen);
}

footer img { 
  height: 20px; 
  opacity: 0.6; 
}

/* ─── RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 820px) {
  .hero { 
    grid-template-columns: 1fr; 
    padding-top: 120px; 
    gap: 40px; 
  }

  .pillars-inner, 
  .steps-grid, 
  .product-focus-inner { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }

  nav { 
    padding: 16px 20px; 
  }

  .nav-links { 
    display: none; 
  }

  .signup-form { 
    flex-direction: column; 
    background: transparent; 
    border: none; 
    padding: 0; 
    box-shadow: none; 
  }

  .signup-form input { 
    background: var(--chalk); 
    border: 1px solid var(--silt); 
    padding: 16px 20px; 
    border-radius: 999px; 
  }

  .signup-form button { 
    padding: 16px; 
    width: 100%; 
  }

  footer { 
    flex-direction: column; 
    gap: 16px; 
    text-align: center; 
  }
}
