/* Formix Landing Page — Dark editorial, industrial palette */

:root {
  --bg: #0F0F0D;
  --bg-surface: #171714;
  --bg-surface-2: #1F1F1B;
  --fg: #F0ECE4;
  --fg-muted: #8A857C;
  --accent: #E8870A;
  --accent-dim: rgba(232, 135, 10, 0.12);
  --rule: rgba(240, 236, 228, 0.1);
  --rule-strong: rgba(240, 236, 228, 0.18);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  background: rgba(15, 15, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 32px;
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  font-weight: 300;
}

/* Hero right */
.hero-stat-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.stat {
  background: var(--bg-surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 135, 10, 0.25);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--fg);
  font-weight: 500;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 80px 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-surface);
}

.manifesto-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
  max-width: 900px;
  margin-bottom: 20px;
}

.manifesto-attr {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-style: normal;
}

/* ── FEATURES ── */
.features {
  padding: 100px 48px;
  border-bottom: 1px solid var(--rule);
}

.features-header {
  max-width: 1400px;
  margin: 0 auto 64px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  font-weight: 300;
}

.feature-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.feature-card {
  background: var(--bg-surface);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-surface-2);
}

.feature-icon-wrap {
  margin-bottom: 8px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── OUTCOMES ── */
.outcomes {
  padding: 80px 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-surface);
}

.outcomes-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.outcomes-header {
  margin-bottom: 56px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.outcome {
  background: var(--bg);
  padding: 48px 40px;
}

.outcome-big {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.outcome-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 48px;
  border-bottom: 1px solid var(--rule);
}

.closing-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── FOOTER ── */
.site-footer {
  padding: 40px 48px;
}

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

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .site-header { padding: 0 24px; }
  .hero, .manifesto, .features, .outcomes, .closing { padding-left: 24px; padding-right: 24px; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
}

@media (max-width: 600px) {
  .stat-row { grid-template-columns: 1fr; }
  .hero-headline { font-size: 3rem; }
}