:root {
  --bg: #F9F8F4;
  --bg-alt: #F0EEE8;
  --ink: #1A1A1A;
  --ink-light: #6B6B6B;
  --accent: #2563EB;
  --accent-warm: #1D4ED8;
  --paper: #FFFFFF;
  --border: #E2E0DA;
  --tag-bg: #EEF2FF;
  --tag-text: #1D4ED8;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', 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: 24px 48px;
  border-bottom: 1px solid var(--border);
}

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

.logo-mark {
  font-size: 20px;
  color: var(--accent);
}

.logo-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--ink-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 48px 100px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-light);
}

.hero-body {
  font-size: 17px;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 28px;
}

.meta-badge {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Contract preview */
.contract-preview {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  overflow: hidden;
}

.contract-header {
  background: var(--bg-alt);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.contract-dots {
  display: flex;
  gap: 6px;
}

.contract-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.contract-dots span:first-child { background: #FF5F57; }
.contract-dots span:nth-child(2) { background: #FFBD2E; }
.contract-dots span:last-child { background: #28CA41; }

.contract-title {
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 500;
}

.contract-body {
  padding: 28px 24px;
}

.contract-line {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.4s ease forwards;
  opacity: 0;
}

.l1 { animation-delay: 0.2s; }
.l2 { animation-delay: 0.6s; }
.l3 { animation-delay: 1.0s; }
.l4 { animation-delay: 1.4s; }
.l5 { animation-delay: 1.8s; }
.l6 { animation-delay: 2.2s; border: none; }

.blinking {
  color: var(--accent);
  font-size: 20px;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.blinking { animation: blink 1.2s ease-in-out infinite; }

.contract-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cf-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.cf-icon {
  font-size: 18px;
  color: var(--accent);
}

/* ── HOW IT WORKS ── */
.how {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}

.how-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 48px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.how-step {
  padding: 40px 40px 40px 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-step:nth-child(even) {
  padding: 40px 0 40px 40px;
  border-right: none;
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--border);
  margin-bottom: 16px;
}

.how-step h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.how-step p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ── CONTRACT TYPES ── */
.contracts {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.contracts-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.contracts-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  max-width: 500px;
  margin-bottom: 48px;
}

.contract-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.c-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow 0.2s;
}

.c-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.c-card-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 20px;
}

.c-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.c-card p {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 20px;
}

.c-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tag-text);
  background: var(--tag-bg);
  padding: 4px 10px;
  border-radius: 8px;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 640px;
  margin: 0 auto;
}

.manifesto-pull {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 40px;
  color: var(--ink);
}

.manifesto-body p {
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ── CLOSING ── */
.closing {
  padding: 100px 48px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  max-width: 600px;
  margin: 0 auto 24px;
  letter-spacing: -1px;
}

.closing-body {
  font-size: 16px;
  color: rgba(249, 248, 244, 0.55);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.footer-tagline {
  font-size: 13px;
  color: var(--ink-light);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px; }
  .hero-right { display: none; }
  .how { padding: 60px 24px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none; padding: 32px 0; }
  .how-step:nth-child(even) { padding-left: 0; }
  .contracts { padding: 60px 24px; }
  .contract-cards { grid-template-columns: 1fr 1fr; }
  .manifesto { padding: 60px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .contract-cards { grid-template-columns: 1fr; }
}