:root {
  --midnight: #0d1b2a;
  --deep-navy: #1b3a4b;
  --amber: #e8a838;
  --cream: #faf8f5;
  --warm-white: #f5f2ed;
  --text-primary: #1a1a1a;
  --text-secondary: #5a6474;
  --border: #e2ddd6;
  --section-pad: 80px;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.15;
}

/* NAV */
.nav {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--midnight);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* HERO */
.hero {
  padding: 80px 48px 100px;
  background: var(--cream);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-proof {
  display: flex;
  gap: 32px;
}
.proof-item {
  display: flex;
  flex-direction: column;
}
.proof-number {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--midnight);
}
.proof-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 380px;
}
.doc-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
}
.doc-card {
  position: absolute;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(13, 27, 42, 0.08);
}
.doc-card-back {
  width: 240px;
  height: 300px;
  top: 30px;
  left: 40px;
  background: var(--warm-white);
  border: 1px solid var(--border);
}
.doc-card-mid {
  width: 250px;
  height: 310px;
  top: 15px;
  left: 20px;
  background: white;
  border: 1px solid var(--border);
}
.doc-card-front {
  width: 260px;
  height: 320px;
  top: 0;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(13, 27, 42, 0.12);
  padding: 20px;
  z-index: 2;
}
.doc-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.doc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.doc-dot.red { background: #e05c5c; }
.doc-dot.amber { background: #e8a838; }
.doc-dot.green { background: #3cb371; }
.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.doc-line {
  height: 8px;
  border-radius: 4px;
  background: var(--warm-white);
}
.doc-line.wide { width: 100%; }
.doc-line.medium { width: 75%; }
.doc-line.short { width: 45%; }
.doc-citation {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--midnight);
  color: white;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
}
.cite-icon {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--amber);
}
.cite-text { color: rgba(255,255,255,0.9); }

.search-bubble {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(13, 27, 42, 0.12);
  overflow: hidden;
}
.bubble-query {
  background: var(--midnight);
  color: white;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.bubble-answer {
  padding: 16px 18px;
}
.bubble-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.bubble-answer p {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 10px;
}
.bubble-sources {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* SECTIONS */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 48px;
  max-width: 580px;
}

/* FEATURES */
.features {
  padding: var(--section-pad) 48px;
  background: white;
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--midnight);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}
.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* WORKFLOW */
.workflow {
  padding: var(--section-pad) 48px;
  background: var(--cream);
}
.workflow-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.step {
  display: flex;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.step:nth-child(odd) { padding-right: 48px; }
.step:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--border); }
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* SECURITY */
.security {
  padding: var(--section-pad) 48px;
  background: var(--midnight);
  color: white;
}
.security-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.security .section-eyebrow { color: var(--amber); }
.security .section-heading { color: white; }
.security-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.7;
}
.security-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pillar strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}
.pillar p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.security-quote {
  padding: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  align-self: center;
}
.security-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: white;
  line-height: 1.5;
  margin-bottom: 20px;
}
.security-quote cite {
  font-size: 13px;
  color: var(--amber);
  font-style: normal;
}

/* PRICING */
.pricing {
  padding: var(--section-pad) 48px;
  background: white;
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.pricing-lead {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  margin-top: -32px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.pricing-card {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--cream);
}
.pricing-card-enterprise {
  background: var(--midnight);
  border-color: var(--midnight);
}
.pricing-card-enterprise .plan-name { color: var(--amber); }
.pricing-card-enterprise .plan-desc { color: rgba(255,255,255,0.7); }
.pricing-card-enterprise .plan-features li { color: rgba(255,255,255,0.8); }
.plan-name {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.plan-price {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 12px;
}
.currency {
  font-size: 24px;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
}
.period {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}
.custom-tag {
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
}
.plan-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 14px;
  color: var(--text-primary);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* CLOSING */
.closing {
  padding: 100px 48px;
  background: var(--cream);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
}
.cta-block {
  display: inline-block;
}
.cta-label {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--midnight);
  font-weight: 600;
}
.cta-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* FOOTER */
.footer {
  padding: 40px 48px;
  background: var(--midnight);
  color: white;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  width: 100%;
  margin-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { border-left: none; padding-left: 0; }
  .security-inner { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero, .features, .workflow, .security, .pricing, .closing, .footer, .nav {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-proof { gap: 20px; }
}