:root {
  --nav-bg: #0f1b2d;
  --bg: #faf8f4;
  --fg: #0f1b2d;
  --accent: #f5a623;
  --accent-dark: #c47d0e;
  --muted: #6b7280;
  --border: #e5e0d8;
  --card-bg: #ffffff;
  --doc-bg: #f5f3ef;
}

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

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

/* Navigation */
.nav {
  background: var(--nav-bg);
  padding: 1rem 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  background: var(--nav-bg);
  padding: 5rem 2rem 6rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
}

/* Chart Card */
.chart-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem;
}
.chart-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
.chart-bars { display: flex; flex-direction: column; gap: 0.9rem; }
.chart-row {
  display: grid;
  grid-template-columns: 90px 1fr 80px;
  align-items: center;
  gap: 1rem;
}
.chart-row-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.bar-wrap { background: rgba(255,255,255,0.08); border-radius: 4px; height: 24px; overflow: hidden; }
.bar { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.bar-low { background: #5a9fd4; }
.bar-mid { background: #e8913a; }
.bar-high { background: #e05252; }
.chart-row-val { font-size: 0.78rem; color: rgba(255,255,255,0.85); text-align: right; font-weight: 500; }
.chart-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.4rem; }
.legend-dot.low { background: #5a9fd4; }
.legend-dot.mid { background: #e8913a; }
.legend-dot.high { background: #e05252; }

/* Risk Matrix */
.risk-matrix { padding: 6rem 2rem; }
.risk-matrix-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 3rem;
  color: var(--fg);
}
.risk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.risk-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.risk-icon { margin-bottom: 1.2rem; }
.risk-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.risk-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }

/* Acknowledgment Section */
.acknowledgment {
  background: var(--nav-bg);
  padding: 6rem 2rem;
}
.ack-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ack-content .section-eyebrow { color: var(--accent); }
.ack-content .section-title { color: #ffffff; }
.ack-body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Doc Window */
.doc-window {
  background: var(--doc-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.doc-header {
  background: #e8e4dc;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #d4cfc5;
}
.doc-dots { display: flex; gap: 0.4rem; }
.doc-dots span { width: 10px; height: 10px; border-radius: 50%; background: #c4bfb5; display: block; }
.doc-title { font-size: 0.78rem; color: var(--muted); font-weight: 500; margin-left: 0.5rem; }
.doc-body { padding: 1.8rem; }
.doc-section-label { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.doc-check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: var(--fg);
}
.check-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.doc-sig { margin-top: 1.8rem; }
.sig-line { border-bottom: 1px solid var(--border); margin-bottom: 0.3rem; }
.doc-sig span { font-size: 0.72rem; color: var(--muted); }

/* How It Works */
.how-it-works { padding: 6rem 2rem; background: #f4f1ec; }
.hiw-inner { max-width: 1100px; margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* Closing */
.closing {
  background: var(--accent);
  padding: 5rem 2rem;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--nav-bg);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.closing-sub {
  font-size: 1rem;
  color: rgba(15,27,45,0.7);
}

/* Footer */
.footer {
  background: var(--nav-bg);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-note p { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: right; max-width: 400px; line-height: 1.5; }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner, .ack-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .risk-cards, .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-note p { text-align: left; }
  .hero { padding: 3rem 1.5rem 4rem; }
  .chart-row { grid-template-columns: 80px 1fr 70px; }
}