:root {
  --bg: #090909;
  --surface: #141414;
  --surface2: #1e1e1e;
  --text: #f0ece4;
  --text-dim: #8a857e;
  --accent: #ff4e00;
  --border: rgba(240, 236, 228, 0.07);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(255,78,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-family: 'Syne', sans-serif;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 55ch;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-stat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  font-family: 'Syne', sans-serif;
}

/* Features */
.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6rem 2rem;
}

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

.features-header {
  margin-bottom: 4rem;
}

.features-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.features-sub {
  color: var(--text-dim);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
}

.feature-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Formula */
.formula-section {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.formula-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 4rem;
}

.formula-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.formula-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.formula-body {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 48ch;
}

.formula-example {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.ex-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dim);
}

.ex-item.accent .ex-val { color: var(--accent); }

.ex-key {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.5;
}

.ex-arrow {
  color: var(--text-dim);
  opacity: 0.3;
  font-size: 1.2rem;
}

.formula-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 2rem;
}

.fc-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.5;
  font-family: 'Syne', sans-serif;
  margin-bottom: 0.75rem;
}

.fc-formula {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.fc-rule {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.fc-calcs {
  display: grid;
  gap: 0.75rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.calc-key { color: var(--text-dim); }
.calc-val { color: var(--text); font-weight: 600; font-family: 'Syne', sans-serif; }

/* Metrics */
.metrics-section {
  background: var(--accent);
  padding: 4rem 2rem;
}

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

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0,0,0,0.2);
}

.metric-item {
  background: var(--accent);
  padding: 2.5rem 2rem;
  text-align: center;
}

.mi-val {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.mi-key {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-family: 'Syne', sans-serif;
}

/* Closing */
.closing {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
}

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

.closing-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  max-width: 24ch;
}

.closing-text + .closing-text {
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-loc {
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.5;
}

/* Responsive */
@media (min-width: 768px) {
  .hero { padding: 4rem 4rem 5rem; }
  .features { padding: 7rem 4rem; }
  .formula-section { padding: 7rem 4rem; }
  .closing { padding: 8rem 4rem; }
  .formula-inner { grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}