/* StitchFlow — Warm, editorial, craft-inspired */
:root {
  --bg: #FAF7F2;
  --bg-warm: #F3EDE3;
  --fg: #2C2416;
  --fg-muted: #7A6F5E;
  --accent: #C8622A;
  --accent-warm: #E8A87C;
  --sage: #6B8E6B;
  --border: #E2D9CC;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.site-nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-stitch { color: var(--fg); }
.logo-flow { color: var(--accent); }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  padding: 5rem 2rem 4rem;
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Mockup window */
.hero-visual { display: flex; justify-content: center; }
.mockup-window {
  background: #1C1814;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.mockup-header {
  background: #2D2820;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4A3F30;
}
.mockup-dots span:first-child { background: #C8622A; }
.mockup-dots span:nth-child(2) { background: #E8A87C; }
.mockup-dots span:nth-child(3) { background: #6B8E6B; }
.mockup-title {
  font-size: 0.72rem;
  color: #A89880;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.mockup-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.task-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #8A7E70;
}
.task-done { color: #7A9E7A; }
.task-active { color: #E8C89A; }
.task-icon {
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}
.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Manifesto ── */
.manifesto {
  background: var(--bg-warm);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.manifesto-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  font-style: italic;
}
.manifesto-right p {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.manifesto-right p:last-child { margin-bottom: 0; }

/* ── Features ── */
.features {
  padding: 6rem 2rem;
  background: var(--bg);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 2rem;
}
.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── How It Works ── */
.how-it-works {
  padding: 5rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
}
.step {
  flex: 1;
  padding: 2.5rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
}
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.step-arrow {
  font-size: 2rem;
  color: var(--accent);
  padding: 0 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
}

/* ── Closing ── */
.closing {
  padding: 6rem 2rem;
  background: var(--fg);
  text-align: center;
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-statement {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #FAF7F2;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.closing-tagline {
  font-size: 1rem;
  color: #C8B89A;
  letter-spacing: 0.03em;
}

/* ── Footer ── */
.site-footer {
  padding: 2.5rem 2rem;
  background: #1C1814;
  border-top: 1px solid #2D2820;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.82rem;
  color: #6A5E50;
  flex: 1;
}
.footer-meta {
  font-size: 0.72rem;
  color: #4A3F30;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-headline { font-size: 2.5rem; }
  .hero-visual { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .manifesto-headline { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 1rem; }
  .step-arrow { display: none; }
  .closing-statement { font-size: 1.5rem; }
  .footer-inner { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .manifesto, .features, .how-it-works { padding: 3.5rem 1.5rem; }
  .closing { padding: 4rem 1.5rem; }
  .site-nav { padding: 1rem 1.5rem; }
}