/* === BASE === */
:root {
  --bg: #FAFAF8;
  --dark: #1A1A1A;
  --accent: #E8622A;
  --accent-light: #FFF3EC;
  --mid: #6B6B6B;
  --border: #E5E4E0;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  font-weight: 600;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 2rem 6rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.manifesto__inner {
  flex: 1;
  max-width: 580px;
}

.manifesto__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.manifesto__headline {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.manifesto__headline em {
  color: var(--accent);
  font-style: italic;
}

.manifesto__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 440px;
}

.manifesto__visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Doc card stack */
.doc-stack {
  position: relative;
  width: 220px;
  height: 280px;
}

.doc-card {
  position: absolute;
  width: 200px;
  background: #2A2A2A;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
  overflow: hidden;
}

.doc-card--back {
  top: 0; left: 20px;
  transform: rotate(-4deg);
  opacity: 0.5;
}

.doc-card--mid {
  top: 20px; left: 10px;
  transform: rotate(-2deg);
  opacity: 0.75;
}

.doc-card--front {
  top: 40px; left: 0;
  transform: rotate(0deg);
  background: #252525;
}

.doc-card__bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.doc-card__bar--live {
  background: var(--accent);
}

.doc-card__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-card__line {
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  width: 100%;
}

.doc-card__line--short { width: 60%; }
.doc-card__line--med { width: 80%; }

.doc-card__status {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.doc-card__status--stale { background: rgba(255,80,80,0.2); color: #FF8080; }
.doc-card__status--draft { background: rgba(255,200,60,0.2); color: #FFD060; }
.doc-card__status--live { background: rgba(232,98,42,0.2); color: var(--accent); }

/* === PROBLEM === */
.problem {
  padding: 6rem 2rem;
  background: var(--bg);
}

.problem__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem__header {
  margin-bottom: 4rem;
}

.problem__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 560px;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.problem__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.problem__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.problem__item h3 {
  font-size: 1.2rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}

.problem__item p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
}

/* === PROCESS === */
.process {
  padding: 6rem 2rem;
  background: var(--dark);
  color: var(--white);
}

.process__inner {
  max-width: 900px;
  margin: 0 auto;
}

.process__inner .section-tag {
  margin-bottom: 1rem;
}

.process__inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 3.5rem;
  color: var(--white);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step__icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.step__body h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step__body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.step__connector {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  margin-top: 24px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 24px;
}

/* === FEATURES === */
.features {
  padding: 6rem 2rem;
  background: var(--white);
}

.features__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features__inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  max-width: 480px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.feature__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature h3 {
  font-size: 1rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}

.feature p {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 6rem 2rem;
  background: var(--accent-light);
}

.philosophy__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.philosophy blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 2rem;
}

.philosophy p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
}

/* === CLOSING === */
.closing {
  padding: 7rem 2rem;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.closing__inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.closing p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

.closing__cta {
  display: inline-block;
  margin-top: 2rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.closing__cta:hover { opacity: 0.85; }

/* === FOOTER === */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer__links { display: flex; gap: 0;; }
.footer__links a { transition: color 0.15s; }
.footer__links a:hover { color: var(--accent) !important; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .manifesto {
    flex-direction: column;
    padding: 3rem 1.5rem 4rem;
    min-height: auto;
    gap: 2rem;
  }

  .manifesto__headline {
    font-size: 2.75rem;
  }

  .doc-stack {
    width: 180px;
    height: 230px;
  }

  .doc-card {
    width: 160px;
  }

  .problem__grid,
  .features__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process__steps {
    flex-direction: column;
    gap: 2rem;
  }

  .step__connector {
    display: none;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}