/* =====================
   TOKENS
   ===================== */
:root {
  --navy:     #0D1F3C;
  --navy-mid: #152942;
  --teal:     #00B4A6;
  --teal-dim: #009389;
  --teal-faint: rgba(0, 180, 166, 0.1);
  --amber:    #F5A623;
  --bg:       #F7F9FC;
  --bg-dark:  #EEF1F7;
  --text:     #0D1F3C;
  --text-mid: #3D5572;
  --text-soft: #6B7E99;
  --white:    #FFFFFF;
  --border:   #D6E0EC;
}

/* =====================
   BASE
   ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; }

/* =====================
   NAV
   ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-tag {
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =====================
   HERO
   ===================== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 28px;
}
.headline-em {
  font-style: italic;
  color: var(--teal);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.stat {
  flex: 1;
  padding: 20px 24px;
}
.stat-divider {
  width: 1px;
  background: var(--border);
}
.stat-value {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.4;
}

/* =====================
   HERO VISUAL
   ===================== */
.hero-visual {
  position: relative;
}
.visual-panel {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(13, 31, 60, 0.2), 0 4px 16px rgba(13, 31, 60, 0.1);
  position: relative;
  z-index: 2;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.p-red    { background: #FF5F57; }
.p-amber  { background: #FFBD2E; }
.p-green  { background: #28CA41; }
.panel-title {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
  font-family: 'DM Sans', sans-serif;
}
.panel-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.chat-line.user .chat-tag  { color: #7DB8F5; }
.chat-line.ai   .chat-tag  { color: var(--teal); }
.chat-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
}
.chat-line.user .chat-text { background: rgba(255,255,255,0.06); }
.chat-line.ai   .chat-text { background: rgba(0,180,166,0.15); }
.summary-block {
  margin-top: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(0,180,166,0.2);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.summary-row strong { color: rgba(255,255,255,0.95); }
.urgency-mod { color: #FFBD2E !important; }
.draft-yes   { color: var(--teal) !important; }

.visual-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.shape-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,180,166,0.12) 0%, transparent 70%);
  top: -40px;
  right: -40px;
  z-index: 1;
}
.shape-2 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  bottom: -20px;
  left: -60px;
  z-index: 1;
}

/* =====================
   HOW IT WORKS
   ===================== */
.hiw {
  background: var(--white);
  padding: 100px 40px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.section-headline {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 72px;
  max-width: 680px;
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
}
.step {
  flex: 1;
  padding: 0 40px;
}
.step:first-child { padding-left: 0; }
.step:last-child  { padding-right: 0; }
.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 48px;
  flex-shrink: 0;
  background-image: repeating-linear-gradient(90deg, var(--teal) 0, var(--teal) 4px, transparent 4px, transparent 8px);
  background-size: 8px 2px;
  background-repeat: repeat-x;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.step-icon {
  margin-bottom: 16px;
}
.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* =====================
   GDPR
   ===================== */
.gdpr {
  background: var(--navy);
  padding: 100px 40px;
}
.gdpr-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.gdpr-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,180,166,0.12);
  border: 1px solid rgba(0,180,166,0.3);
  border-radius: 40px;
  padding: 12px 24px;
  margin-bottom: 56px;
}
.gdpr-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gdpr-badge-text strong { color: var(--white); font-size: 14px; }
.gdpr-badge-text span { color: rgba(255,255,255,0.6); font-size: 12px; }
.gdpr-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: 40px;
}
.gdpr-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 48px;
}
.gdpr-col-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
}
.gdpr-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gdpr-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding-left: 20px;
  position: relative;
}
.gdpr-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.gdpr-footnote {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  max-width: 500px;
}

/* =====================
   OUTCOMES
   ===================== */
.outcomes {
  padding: 100px 40px;
  background: var(--bg);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin-bottom: 32px;
}
.outcome-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.outcome-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.outcome-val {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
}
.outcome-change {
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}
.outcome-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.outcomes-note {
  font-size: 12px;
  color: var(--text-soft);
  max-width: 500px;
  font-style: italic;
}

/* =====================
   CLOSING
   ===================== */
.closing {
  background: var(--navy);
  padding: 120px 40px;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing-badge {
  display: inline-block;
  background: rgba(0,180,166,0.15);
  border: 1px solid rgba(0,180,166,0.3);
  border-radius: 24px;
  padding: 6px 16px;
  margin-bottom: 32px;
}
.badge-text {
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.closing-body {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-soft);
}
.footer-meta {
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-sep { color: var(--border); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: -1;
  }
  .steps-grid {
    flex-direction: column;
    gap: 48px;
  }
  .step-connector {
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--teal) 0, var(--teal) 4px, transparent 4px, transparent 8px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    margin: 0 auto;
    transform: rotate(90deg);
  }
  .gdpr-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gdpr-divider { display: none; }
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
  }
  .stat-divider { display: none; }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero { padding: 60px 24px 72px; }
  .hiw, .gdpr, .outcomes, .closing { padding: 72px 24px; }
  .footer { padding: 24px; }
  .nav-inner { padding: 14px 24px; }
}