/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #1a1a2e;
  --surface: #252540;
  --surface-hover: #2e2e50;
  --accent: #d4a853;
  --accent-dim: #a8833f;
  --text: #f5f4f0;
  --text-muted: #8a8a9a;
  --text-dim: #5a5a70;
  --border: rgba(212, 168, 83, 0.15);
  --green: #4caf7d;
  --amber: #e8954a;
}

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

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

/* === NAVIGATION === */
.site-nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

/* === HERO === */
.hero {
  padding: 5rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 420px;
}

.hero-stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-top: 0.35rem;
}

/* === POLICY WIDGET === */
.policy-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.widget-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.widget-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(76, 175, 125, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.widget-body {
  padding: 0.75rem 0;
}

.policy-row {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.25rem 1rem;
}

.policy-row:last-of-type {
  border-bottom: none;
}

.policy-client {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.policy-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  grid-column: 1;
}

.policy-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  align-self: start;
  justify-self: end;
  grid-row: 1;
  grid-column: 2;
}

.status-renewal {
  background: rgba(232, 149, 74, 0.15);
  color: var(--amber);
}

.status-ok {
  background: rgba(76, 175, 125, 0.12);
  color: var(--green);
}

.widget-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.action-dots {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--green);
}

.action-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* === STATS === */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 3rem;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.stat-item {
  padding: 0 3rem;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

/* === HOW IT WORKS === */
.how {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4rem;
  letter-spacing: -0.01em;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.step-number {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 3rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === OUTCOMES === */
.outcomes {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 3rem;
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.outcome-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}

.outcome-icon {
  margin-bottom: 1.25rem;
}

.outcome-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.outcome-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === PULL QUOTE === */
.quote-section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pull-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text);
  line-height: 1.5;
  max-width: 780px;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}

.quote-attribution {
  margin-top: 1.25rem;
  padding-left: 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* === CLOSING === */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6rem 3rem;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-dim);
  border-left: 1px solid var(--border);
  padding-left: 0.75rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-right {
    order: -1;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .outcomes-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav, .hero, .how, .quote-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .stats, .outcomes, .closing, .site-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-headline {
    font-size: 2rem;
  }
}
