:root {
  --bg: #FDFCF9;
  --bg-alt: #F5F2EC;
  --fg: #1A1A1A;
  --fg-muted: #5C5C5C;
  --fg-subtle: #9A9A9A;
  --border: #E0DAD0;
  --border-strong: #C8BFB3;
  --accent: #D64541;
  --accent-hover: #B83835;
  --green: #2E7D5E;
  --green-bg: #EAF4EE;
  --amber: #C47D1A;
  --amber-bg: #FDF3E3;
  --red: #D64541;
  --red-bg: #FDF0EE;
  --surface: #FFFFFF;
}

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

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

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Fraunces', serif;
  border-radius: 6px;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 64px 100px;
  align-items: start;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-highlight {
  color: var(--accent);
  font-style: italic;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 48px;
}

/* Document preview in hero */
.hero-document {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.doc-label {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.doc-clauses {
  padding: 0;
}

.clause {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.clause:last-child { border-bottom: none; }

.clause-risk { background: var(--red-bg); }
.clause-neutral { background: var(--amber-bg); }
.clause-safe { background: var(--green-bg); }

.clause-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.badge-risk { background: var(--accent); color: #fff; }
.badge-neutral { background: var(--amber); color: #fff; }
.badge-safe { background: var(--green); color: #fff; }

.clause-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 5px;
}

.clause-explainer {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Upload zone (hero right) */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}

.upload-zone {
  width: 100%;
  max-width: 380px;
  border: 2px dashed var(--border-strong);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  background: var(--surface);
}

.upload-icon {
  margin: 0 auto 16px;
  width: 40px;
}

.upload-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.upload-sub {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ── SECTIONS SHARED ── */
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.65;
}

.section-header {
  margin-bottom: 56px;
}

/* ── HOW IT WORKS ── */
.howitworks {
  background: var(--bg-alt);
  padding: 96px 64px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  position: relative;
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--border-strong);
  margin-bottom: 20px;
  line-height: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  width: 64px;
  height: 2px;
  background: var(--border);
  margin: 24px 32px 0;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 28px;
}

/* ── RISK SCALE ── */
.riskscale {
  padding: 96px 64px;
}

.riskscale-intro {
  margin-bottom: 48px;
}

.risk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.risk-card {
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
}

.risk-high { background: var(--red-bg); border-color: #F5C4C0; }
.risk-neutral { background: var(--amber-bg); border-color: #F0D9A8; }
.risk-safe { background: var(--green-bg); border-color: #B8D9C8; }

.risk-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.risk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.risk-high .risk-dot { background: var(--accent); }
.risk-neutral .risk-dot { background: var(--amber); }
.risk-safe .risk-dot { background: var(--green); }

.risk-label {
  font-size: 15px;
  font-weight: 700;
}

.risk-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}

.risk-high .risk-badge { background: var(--accent); color: #fff; }
.risk-neutral .risk-badge { background: var(--amber); color: #fff; }
.risk-safe .risk-badge { background: var(--green); color: #fff; }

.risk-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.risk-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.risk-examples li {
  font-size: 13px;
  color: var(--fg);
  padding-left: 14px;
  position: relative;
}

.risk-examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
}

/* ── PRIVACY ── */
.privacy {
  background: var(--bg-alt);
  padding: 96px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.privacy-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.privacy-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

.privacy-claims {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-claim {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.disclaimer {
  max-width: 280px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
  align-self: center;
}

.disclaimer strong {
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}

/* ── PRICING ── */
.pricing {
  padding: 96px 64px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}

.price-card-featured {
  border-color: var(--fg);
  box-shadow: 0 0 0 1px var(--fg);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.price-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}

.price-period {
  font-size: 20px;
  font-weight: 400;
}

.price-desc {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  font-size: 14px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='%232E7D5E' fill-opacity='0.15'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%232E7D5E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ── CLOSING ── */
.closing {
  padding: 96px 64px;
  background: var(--fg);
  color: #fff;
}

.closing-inner {
  max-width: 680px;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 560px;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-alt);
  padding: 40px 64px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-legal {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: var(--fg-subtle);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 20px 28px; }
  .nav-tagline { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 28px 72px;
  }

  .hero-headline { font-size: 40px; }

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    width: 32px;
    height: 32px;
    background: none;
    margin: 0;
  }

  .step-connector::before {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background: var(--border);
    margin: 0 auto;
  }

  .risk-cards {
    grid-template-columns: 1fr;
  }

  .privacy {
    grid-template-columns: 1fr;
    padding: 64px 28px;
    gap: 32px;
  }

  .disclaimer { max-width: 100%; }

  .pricing { padding: 64px 28px; }
  .pricing-cards { grid-template-columns: 1fr; }

  .howitworks { padding: 64px 28px; }
  .riskscale { padding: 64px 28px; }
  .closing { padding: 64px 28px; }

  .section-title { font-size: 30px; }
  .closing-headline { font-size: 30px; }
}