:root {
  --bg:           #FAF8F5;
  --surface:      #FFFFFF;
  --border:       #E7E2DA;
  --text-main:    #1C1917;
  --text-muted:   #57534E;

  --color-heart:  #C2593F;  /* Warm terracotta — HeArt */
  --color-logic:  #2B4C65;  /* Cool slate blue — LogIc */
  --color-ai:     #D97706;  /* Burnished amber — the A in HeArt */
  --color-ai-i:   #0284C7;  /* Crisp cyan-blue — the I in LogIc */
  --color-amp:    #78716C;

  --heart-tint:   rgba(194, 89, 63, 0.06);
  --logic-tint:   rgba(43, 76, 101, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #0F172A;
    --surface:      #1E293B;
    --border:       #334155;
    --text-main:    #F8FAFC;
    --text-muted:   #94A3B8;

    --color-heart:  #E07A5F;
    --color-logic:  #6BA3BE;
    --color-ai:     #FBBF24;
    --color-ai-i:   #38BDF8;
    --color-amp:    #64748B;

    --heart-tint:   rgba(224, 122, 95, 0.08);
    --logic-tint:   rgba(107, 163, 190, 0.08);
  }
}

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Wordmark */
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  line-height: 1;
}

.brand-wordmark.small {
  font-size: 1.25rem;
}

.wm-heart, .text-heart { color: var(--color-heart); }
.wm-logic, .text-logic { color: var(--color-logic); }
.wm-amp { color: var(--color-amp); font-weight: 400; margin: 0 0.04em; }
.wm-ai, .text-ai { color: var(--color-ai); font-weight: 700; }
.wm-ai-i, .text-ai-i { color: var(--color-ai-i); font-weight: 700; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
}

.nav-link:hover { color: var(--text-main); }

.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.825rem;
  color: var(--color-logic);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

/* Hero */
.hero {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ai);
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 1.5rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-logic);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  transition: opacity 0.15s ease;
}

.btn-primary:hover { opacity: 0.92; }

.btn-secondary {
  display: inline-block;
  background-color: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
}

/* Pillars */
.pillars, .engagement {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--border);
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 2.25rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.card-heart {
  border-top: 4px solid var(--color-heart);
  background: linear-gradient(180deg, var(--heart-tint) 0%, var(--surface) 35%);
}

.card-logic {
  border-top: 4px solid var(--color-logic);
  background: linear-gradient(180deg, var(--logic-tint) 0%, var(--surface) 35%);
}

.card-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.spec-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.spec-list li { margin-bottom: 0.65rem; }
.spec-list strong { color: var(--text-main); }

/* Engagement Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-ai);
  display: block;
  margin-bottom: 0.65rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Prompt Band */
.prompt-band {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.prompt-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--color-ai);
  border-radius: 12px;
  padding: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.prompt-box h2 {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.prompt-box p {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Meta AI polish - AI hint + built-on */
.ai-hint { font-family: 'IBM Plex Mono', monospace; font-size: 0.95rem; font-weight: 600; margin: -0.75rem 0 1.75rem; color: var(--text-main); }
.ai-hint-sub { color: var(--text-muted); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 0.9rem; font-weight: 400; }
.built-on { margin-top: 1.75rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.footer-note { font-size: 0.8rem !important; }
@media (max-width: 640px) { .hero { padding-top: 3.5rem; padding-bottom: 3rem; } .ai-hint-sub { display: block; margin-top: 0.25rem; } }
