:root {
  --bg: #0D1117;
  --surface: #161B22;
  --surface-2: #21262D;
  --fg: #E6EDF3;
  --fg-muted: #8B949E;
  --accent: #FFA940;
  --accent-dim: rgba(255, 169, 64, 0.12);
  --border: #30363D;
  --done: #3FB950;
  --active: #FFA940;
}

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

html { scroll-behavior: smooth; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 80px 40px 60px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* Portal Mockup */
.portal-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
}
.mockup-header {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #28CA41; }
.mockup-title {
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
  font-weight: 500;
}
.mockup-body { padding: 24px; }
.mockup-project-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
}
.mockup-bar-wrap { margin-bottom: 20px; }
.mockup-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.mockup-bar {
  height: 6px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
}
.mockup-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
}
.mockup-milestones { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mockup-ms {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--fg-muted);
}
.mockup-ms.done, .mockup-ms.active { color: var(--fg); }
.ms-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.ms-dot.done { background: var(--done); border-color: var(--done); }
.ms-dot.active { background: var(--accent); border-color: var(--accent); }
.mockup-update {
  background: var(--accent-dim);
  border: 1px solid rgba(255,169,64,0.2);
  border-radius: 10px;
  padding: 14px 16px;
}
.mockup-update-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.mockup-update-text {
  font-size: 12px;
  color: var(--fg);
  line-height: 1.6;
}

/* Proof */
.proof {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.proof-stats {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.proof-stat { text-align: center; }
.proof-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.proof-desc {
  font-size: 13px;
  color: var(--fg-muted);
}
.proof-div {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* Features */
.features {
  padding: 80px 40px;
}
.features-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.features-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.features-sub {
  font-size: 17px;
  color: var(--fg-muted);
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(255,169,64,0.3);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* How it Works */
.howitworks {
  padding: 80px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.howitworks h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
}
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.step { flex: 1; }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.6;
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}
.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* Outcomes */
.outcomes {
  padding: 80px 40px;
}
.outcomes-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.outcome h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.outcome p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Closing */
.closing {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.closing-statement {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  text-align: center;
  color: var(--fg-muted);
  letter-spacing: -0.5px;
}

/* Footer */
footer {
  padding: 48px 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
  color: var(--fg);
}
.footer-brand p {
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: flex-start; }
  .step-connector { width: 40px; height: 1px; }
  .proof-stats { flex-direction: column; gap: 24px; }
  .proof-div { display: none; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 32px; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 24px 40px; }
  .features { padding: 48px 24px; }
  .howitworks { padding: 48px 24px; }
  .outcomes { padding: 48px 24px; }
  .closing { padding: 48px 24px; }
  .hero-headline { font-size: 32px; }
}