/* === BASE === */
:root {
  --nav-bg: #0B1F3A;
  --hero-bg: #0B1F3A;
  --problem-bg: #0D2340;
  --features-bg: #F7F5F1;
  --workflow-bg: #F7F5F1;
  --outcomes-bg: #0B1F3A;
  --closing-bg: #0B2040;
  --footer-bg: #071428;

  --amber: #F6AD55;
  --amber-dark: #ED8936;
  --amber-light: #FEEBC8;

  --text-light: #FFFFFF;
  --text-mid: rgba(255,255,255,0.65);
  --text-dark: #1A202C;
  --text-muted: #4A5568;
  --text-muted-light: rgba(255,255,255,0.55);

  --ok-bg: rgba(72, 199, 116, 0.15);
  --ok-text: #48C774;
  --alert-bg: rgba(246, 173, 85, 0.15);
  --alert-text: #F6AD55;

  --border-light: rgba(255,255,255,0.08);
  --border-dark: rgba(26,32,44,0.12);
}

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

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

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--hero-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Spectral', Georgia, serif;
  line-height: 1.2;
}

/* === NAV === */
.nav {
  background: var(--nav-bg);
  padding: 1.25rem 2.5rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Spectral', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  font-weight: 300;
}

/* === HERO === */
.hero {
  background: var(--hero-bg);
  padding: 5rem 2.5rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246,173,85,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 0.375rem;
}
.hero-card-value {
  font-family: 'Spectral', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.hero-card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted-light);
  margin-bottom: 0.75rem;
}
.hero-card-status {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  display: inline-block;
}
.hero-card-status.ok { background: var(--ok-bg); color: var(--ok-text); }
.hero-card-status.alert { background: var(--alert-bg); color: var(--alert-text); }

/* === PROBLEM === */
.problem {
  background: var(--problem-bg);
  padding: 5rem 2.5rem;
}
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-header { margin-bottom: 4rem; }
.problem-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.35;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 3rem;
}
.problem-item {}
.problem-num {
  font-family: 'Spectral', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.problem-desc {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.problem-closing {
  font-size: 1rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  max-width: 640px;
  font-style: italic;
}

/* === SHARED SECTION === */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.section-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3rem;
  line-height: 1.3;
}

/* === FEATURES === */
.features { background: var(--features-bg); padding: 5rem 2.5rem; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 2rem 2rem 2.25rem;
  position: relative;
  transition: box-shadow 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(11,31,58,0.1);
}
.feature-icon {
  color: var(--amber-dark);
  margin-bottom: 1.25rem;
}
.feature-title {
  font-family: 'Spectral', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === WORKFLOW === */
.workflow { background: #EEEAE4; padding: 5rem 2.5rem; }
.workflow-inner { max-width: 1200px; margin: 0 auto; }
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Spectral', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber-dark);
  opacity: 0.5;
  line-height: 1;
  padding-top: 0.25rem;
}
.step-title {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.625rem;
}
.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === OUTCOMES === */
.outcomes { background: var(--outcomes-bg); padding: 5rem 2.5rem; }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-header { margin-bottom: 3rem; }
.outcomes-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.35;
}
.outcomes-table {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: start;
}
.outcomes-col { padding: 0; }
.outcomes-col-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.outcomes-before .outcomes-col-label { color: var(--text-muted-light); }
.outcomes-after .outcomes-col-label { color: var(--amber); }
.outcomes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outcomes-list li {
  font-size: 0.9375rem;
  line-height: 1.5;
  padding-left: 1.5rem;
  position: relative;
}
.outcomes-before .outcomes-list li { color: var(--text-muted-light); }
.outcomes-before .outcomes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 1px;
  background: var(--text-muted-light);
}
.outcomes-after .outcomes-list li { color: var(--text-light); }
.outcomes-after .outcomes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 2px;
  background: var(--amber);
}
.outcomes-divider {
  width: 1px;
  background: var(--border-light);
  align-self: stretch;
}

/* === CLOSING === */
.closing {
  background: var(--closing-bg);
  padding: 6rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(246,173,85,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { max-width: 680px; margin: 0 auto; position: relative; }
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
}

/* === FOOTER === */
.footer {
  background: var(--footer-bg);
  padding: 2.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  margin-top: 0.25rem;
}
.footer-note {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-aside { display: none; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-table { grid-template-columns: 1fr; gap: 2rem; }
  .outcomes-divider { display: none; }
  .step { grid-template-columns: 60px 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .hero { padding: 3.5rem 1.5rem 4rem; }
  .problem, .features, .workflow, .outcomes, .closing { padding: 4rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}