:root {
  --bg: #FAFAF5;
  --bg-alt: #F0F0E8;
  --fg: #1A1A1A;
  --fg-muted: #6B7280;
  --accent: #E76F51;
  --accent-dark: #D45A3C;
  --green: #2D8B4E;
  --green-light: #D1FAE5;
  --green-dark: #1B4332;
  --warm-gray: #9CA3AF;
  --border: #E5E5D8;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
  padding: 6rem 5vw;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-label { margin-bottom: 1.5rem; }

.pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-headline .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat { display: flex; flex-direction: column; gap: 0.2rem; }

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero graphic card */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
}

.craft-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}

.craft-header {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.craft-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.craft-dot.green { background: #34D399; }
.craft-dot.yellow { background: #FBBF24; }
.craft-dot.red { background: #F87171; }

.craft-body { padding: 1.2rem; }

.craft-prompt-label, .craft-response-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}

.craft-prompt {
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: var(--fg);
  margin-bottom: 0.8rem;
  font-style: italic;
}

.craft-vs {
  text-align: center;
  font-size: 0.9rem;
  color: var(--green);
  margin: 0.5rem 0;
}

.craft-response {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  color: #166534;
  line-height: 1.5;
}

.craft-score {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  padding: 0.5rem 0.8rem;
  background: var(--green-light);
  border-radius: 6px;
}

.score-bar {
  flex: 1;
  height: 6px;
  background: #D1FAE5;
  border-radius: 3px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}

.score-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-dark);
  white-space: nowrap;
}

.craft-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-icon { font-size: 1.1rem; }
.badge-text { line-height: 1.3; }

/* Why section */
.why {
  background: var(--green-dark);
  color: #fff;
  padding: 6rem 5vw;
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why-quote blockquote p {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  font-style: italic;
  color: #D1FAE5;
  margin-bottom: 1rem;
}

.why-quote footer {
  font-size: 0.85rem;
  color: #6B7280;
}

.why-body h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

.why-body p {
  color: #A8D5BA;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Features */
.features {
  padding: 6rem 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.features-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.feature-icon {
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.feature p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* How section */
.how {
  background: var(--bg-alt);
  padding: 6rem 5vw;
}

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

.how-inner h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

.loop-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 180px;
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.step-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  margin: 0 1rem;
  margin-bottom: 2.5rem;
}

/* Closing */
.closing {
  padding: 8rem 5vw;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.closing-tagline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.closing-statement {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.closing-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Footer */
footer {
  background: var(--fg);
  color: #fff;
  padding: 2.5rem 5vw;
}

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

.footer-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-left: 0.8rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: #6B7280;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 6vw;
    min-height: auto;
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .loop-steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .step { max-width: 100%; }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-wrap: wrap;
  }

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