/* ============================================
   OPTERA — Warm editorial, amber accent
   ============================================ */

:root {
  --bg: #F7F4EF;
  --bg-alt: #EEE9E1;
  --fg: #1A1814;
  --fg-muted: #6B6560;
  --accent: #E8843C;
  --accent-light: #F5D9BC;
  --border: #DDD8CF;
  --white: #FFFFFF;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---- HERO ---- */
.hero {
  padding: 80px 48px 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,132,60,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-light);
  border-radius: 4px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-metric {
  background: var(--fg);
  color: var(--bg);
  border-radius: 16px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}
.hero-metric::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232,132,60,0.25) 0%, transparent 70%);
}
.metric-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.5);
  margin-bottom: 8px;
}
.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-unit {
  font-size: 1.5rem;
  font-weight: 500;
}
.metric-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 16px 0;
  border-radius: 1px;
}
.metric-formula {
  font-size: 0.875rem;
  color: rgba(247,244,239,0.7);
  font-family: 'Syne', sans-serif;
}
.hero-workflows {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
}
.workflow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}
.workflow-row:last-child { border-bottom: none; }
.workflow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-scroll-cue {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--fg-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.scroll-line {
  width: 48px; height: 1px;
  background: var(--border);
  position: relative;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: 0; top: -2px;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border-radius: 1px;
}

/* ---- PROBLEM ---- */
.problem {
  background: var(--fg);
  color: var(--bg);
  padding: 96px 48px;
}
.problem-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
}
.problem-header { margin-bottom: 64px; }
.problem-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 700px;
  color: var(--bg);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(247,244,239,0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}
.problem-stat {
  background: rgba(247,244,239,0.05);
  padding: 40px 36px;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 12px;
}
.stat-desc {
  font-size: 0.9375rem;
  color: rgba(247,244,239,0.6);
  line-height: 1.5;
}
.problem-quote blockquote {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(247,244,239,0.85);
  line-height: 1.5;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  max-width: 700px;
}

/* ---- FEATURES ---- */
.features {
  padding: 96px 48px;
  background: var(--bg);
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
  max-width: 600px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}
.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s ease;
}
.feature-card:hover { background: var(--bg-alt); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  margin-bottom: 24px;
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--fg);
}
.feature-desc {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 4px;
}
.features-pricing-note {
  background: var(--fg);
  color: var(--bg);
  border-radius: 12px;
  padding: 24px 28px;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.features-pricing-note p { color: rgba(247,244,239,0.7); }

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 96px 48px;
  background: var(--bg-alt);
  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 340px;
  gap: 80px;
  align-items: center;
}
.manifesto-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--fg);
}
.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.manifesto-cta {
  background: var(--fg);
  color: var(--bg);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
}
.manifesto-number {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent);
  margin-bottom: 4px;
}
.manifesto-equation {
  font-size: 1rem;
  color: rgba(247,244,239,0.5);
  font-weight: 500;
  margin-bottom: 4px;
}
.manifesto-vs {
  font-size: 0.8125rem;
  color: rgba(247,244,239,0.35);
  margin-bottom: 24px;
}
.manifesto-arrow { margin: 20px 0; display: flex; justify-content: center; }
.manifesto-conclusion {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(247,244,239,0.7);
  line-height: 1.4;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 48px;
  background: var(--fg);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1.0625rem;
  color: rgba(247,244,239,0.6);
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-focus { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.focus-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.4);
}
.focus-list {
  font-family: 'Syne', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ---- FOOTER ---- */
.footer {
  padding: 32px 48px;
  border-top: 1px solid rgba(247,244,239,0.1);
  background: var(--fg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--bg);
}
.footer-tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.35);
}
.footer-meta p {
  font-size: 0.8125rem;
  color: rgba(247,244,239,0.3);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 56px 24px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { gap: 16px; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 1.75rem; }
  .metric-value { font-size: 2.5rem; }
  .stat-number { font-size: 2.25rem; }
  .closing-headline { font-size: 1.75rem; }
  .hero-scroll-cue { display: none; }
}