/* Folia — Forest Green + Cream */
:root {
  --bg: #f5f0e8;
  --fg: #1a3a2a;
  --fg-mid: #2d5240;
  --fg-light: #3d6b52;
  --accent: #4CAF50;
  --accent-dark: #1a3a2a;
  --muted: rgba(26, 58, 42, 0.5);
  --card-bg: rgba(26, 58, 42, 0.04);
  --card-border: rgba(26, 58, 42, 0.1);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --radius: 12px;
  --section-pad: clamp(60px, 10vw, 120px);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px clamp(24px, 8vw, 120px);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(76,175,80,0.07) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(76,175,80,0.05) 0%, transparent 40%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 24px;
}
.headline em {
  font-style: italic;
  color: var(--accent);
}
.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--fg-mid);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mid);
}
.meta-icon { display: flex; align-items: center; }

/* DASHBOARD MOCK */
.hero-right { display: flex; justify-content: center; align-items: center; }
.dashboard-mock {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(26,58,42,0.12), 0 4px 20px rgba(26,58,42,0.06);
  overflow: hidden;
  border: 1px solid rgba(26,58,42,0.08);
}
.mock-header {
  background: var(--fg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.mock-title { color: rgba(245,240,232,0.7); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; }
.mock-body { padding: 20px; }
.mock-section { margin-bottom: 20px; }
.mock-section:last-child { margin-bottom: 0; }
.mock-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.mock-stat-row { display: flex; gap: 12px; }
.mock-stat { flex: 1; text-align: center; background: var(--card-bg); border-radius: 8px; padding: 8px; }
.mock-num { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--fg); }
.mock-sub { font-size: 10px; color: var(--muted); }
.mock-posts { display: flex; flex-direction: column; gap: 8px; }
.mock-post { display: flex; align-items: center; gap: 10px; }
.post-slot { width: 36px; height: 36px; border-radius: 8px; background: var(--card-bg); flex-shrink: 0; }
.post-slot-alt { background: rgba(76,175,80,0.15); }
.post-info { display: flex; flex-direction: column; gap: 2px; }
.post-platform { font-size: 12px; font-weight: 600; color: var(--fg); }
.post-time { font-size: 11px; color: var(--muted); }
.agent-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,175,80,0.1);
  border-radius: 8px;
  padding: 8px 12px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.agent-status span { font-size: 11px; color: var(--fg-mid); font-weight: 500; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* HOW IT WORKS */
.how { padding: var(--section-pad) clamp(24px, 8vw, 120px); background: var(--bg); }
.how-inner { max-width: 1000px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); font-weight: 400; line-height: 1.2; color: var(--fg); }
.steps-grid { display: grid; grid-template-columns: auto 40px auto 40px auto; align-items: start; gap: 0; margin-bottom: 50px; }
.step-connector { display: flex; align-items: center; justify-content: center; padding-top: 24px; }
.step-number { font-family: var(--font-display); font-size: 48px; font-weight: 400; color: rgba(26,58,42,0.15); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 17px; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--fg-mid); line-height: 1.55; }
.how-output { display: flex; flex-direction: column; gap: 12px; }
.output-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.output-card { background: var(--fg); border-radius: 16px; padding: 24px 28px; display: flex; align-items: center; gap: 20px; }
.output-icon { flex-shrink: 0; }
.output-text { color: var(--bg); font-size: 15px; line-height: 1.5; }
.output-text strong { color: #fff; }

/* DIFFERENCE */
.difference { padding: var(--section-pad) clamp(24px, 8vw, 120px); background: #ffffff; }
.difference-inner { max-width: 1000px; margin: 0 auto; }
.diff-header { text-align: center; margin-bottom: 50px; }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diff-card { border-radius: 16px; padding: 32px; border: 1.5px solid; }
.diff-other { background: var(--bg); border-color: var(--card-border); }
.diff-folia { background: var(--fg); }
.diff-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.diff-badge-folia { color: rgba(245,240,232,0.5); }
.diff-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.diff-other h3 { color: var(--fg-mid); }
.diff-folia h3 { color: var(--bg); }
.diff-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.diff-list li { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.diff-other .diff-list li { color: var(--fg-mid); }
.diff-folia .diff-list li { color: rgba(245,240,232,0.8); }
.diff-x { color: var(--muted); display: flex; }
.diff-check { color: var(--accent); display: flex; }

/* FEATURES */
.features { padding: var(--section-pad) clamp(24px, 8vw, 120px); background: var(--bg); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #ffffff; border-radius: 16px; padding: 28px; border: 1px solid var(--card-border); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(26,58,42,0.08); }
.feature-icon { margin-bottom: 18px; }
.feature-card h3 { font-size: 16px; font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--fg-mid); line-height: 1.55; }

/* MANIFESTO */
.manifesto { padding: var(--section-pad) clamp(24px, 8vw, 120px); background: var(--fg); }
.manifesto-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.manifesto-rule { height: 1px; background: rgba(245,240,232,0.12); margin-bottom: 48px; }
.manifesto-rule:last-child { margin-bottom: 0; margin-top: 48px; }
.manifesto-quote { font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 28px); font-style: italic; color: var(--bg); line-height: 1.5; font-weight: 400; }
.manifesto-attribution { margin-top: 24px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,240,232,0.35); }

/* CLOSING */
.closing { padding: var(--section-pad) clamp(24px, 8vw, 120px); background: var(--bg); }
.closing-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 48px; }
.closing-visual { position: relative; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; }
.closing-ring { position: absolute; border-radius: 50%; border: 1px solid var(--card-border); }
.outer-ring { width: 160px; height: 160px; border-color: rgba(26,58,42,0.1); }
.middle-ring { width: 110px; height: 110px; border-color: rgba(26,58,42,0.15); }
.inner-ring { width: 60px; height: 60px; background: var(--card-bg); border-color: rgba(76,175,80,0.2); border-style: dashed; }
.closing-center { position: relative; z-index: 1; }
.closing-text h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; color: var(--fg); line-height: 1.25; margin-bottom: 16px; }
.closing-text p { font-size: 16px; color: var(--fg-mid); line-height: 1.6; max-width: 520px; }

/* FOOTER */
.footer { padding: 40px clamp(24px, 8vw, 120px); background: var(--fg); border-top: 1px solid rgba(245,240,232,0.08); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-name { font-family: var(--font-display); font-size: 22px; color: var(--bg); }
.footer-tagline { font-size: 13px; color: rgba(245,240,232,0.4); margin-top: 4px; display: block; }
.footer-note { font-size: 12px; color: rgba(245,240,232,0.25); font-style: italic; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding-top: 60px; padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .closing-text h2 br { display: none; }
}
@media (max-width: 480px) {
  .hero-meta { gap: 8px; }
  .meta-pill { font-size: 12px; }
  .output-card { flex-direction: column; text-align: center; }
}
