:root {
  --bg: #08080a;
  --bg-elevated: #111114;
  --bg-card: #16161a;
  --fg: #e8e6e1;
  --fg-muted: #8a877f;
  --accent: #d4a54a;
  --accent-glow: rgba(212, 165, 74, 0.15);
  --accent-bright: #f0c35e;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--max-width);
  margin: 80px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

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

/* ===== CAPABILITIES ===== */
.capabilities {
  padding: 120px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.capabilities-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 60px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cap-card:hover {
  border-color: rgba(212, 165, 74, 0.25);
  transform: translateY(-2px);
}

.cap-large {
  grid-column: span 2;
}

.cap-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.8;
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.cap-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== WORKFLOW ===== */
.workflow {
  padding: 100px 40px 120px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.workflow-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.workflow-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}

.workflow-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.workflow-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 20px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
}

.flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--fg-muted);
  flex-shrink: 0;
  margin-top: 3px;
}

.flow-dot.active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.flow-line {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin-left: 6px;
}

.flow-content { display: flex; flex-direction: column; }

.flow-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

.flow-detail {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 160px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--accent-bright);
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-muted);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: flex-start; padding-left: 0; padding-right: 0; margin-top: 48px; }
  .stat-divider { width: 40px; height: 1px; }
  .capabilities { padding: 80px 24px; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .cap-large { grid-column: span 1; }
  .workflow { padding: 80px 24px; }
  .workflow-inner { grid-template-columns: 1fr; gap: 48px; }
  .closing { padding: 100px 24px; }
  .site-footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}