:root {
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --cream: #faf8f5;
  --green-700: #15803d;
  --green-100: #dcfce7;
  --red-700: #b91c1c;
  --red-100: #fee2e2;
}

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

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

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.3px;
  text-decoration: none;
}
.nav-tagline {
  font-size: 13px;
  color: var(--slate-500);
  padding-left: 16px;
  border-left: 1px solid var(--slate-200);
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-500);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--slate-900); background: var(--slate-100); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--slate-900);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--slate-700); }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: var(--slate-900);
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 8px;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--slate-700); }
.btn-ghost {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-500);
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 8px;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--slate-900); }

/* HERO */
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 16px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* HOW IT WORKS */
.how-it-works { padding: 100px 40px; background: white; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 16px;
}
.how-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.how-sub {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 64px;
}
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 40px; }
.how-step { display: flex; gap: 24px; }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--amber-500);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.step-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.step-body p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}
.how-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate-500);
}

/* PRICING */
.pricing { padding: 100px 40px; background: var(--slate-50); }
.pricing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.pricing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 16px;
}
.pricing-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 12px;
}
.pricing-sub {
  font-size: 17px;
  color: var(--slate-500);
  margin-bottom: 48px;
}
.pricing-card {
  display: inline-block;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 40px;
  text-align: left;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}
.pricing-card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.pricing-plan-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.pricing-price { text-align: right; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1;
}
.price-period { font-size: 16px; color: var(--slate-500); }
.pricing-divider { height: 1px; background: var(--slate-200); margin: 28px 0; }
.pricing-features { list-style: none; margin-bottom: 36px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-700);
  padding: 6px 0;
}
.pricing-cta {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: var(--amber-500);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background 0.15s;
}
.pricing-cta:hover { background: var(--amber-600); color: white; }
.pricing-vs { margin-top: 64px; }
.pricing-vs-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 20px;
}
.pricing-vs-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.vs-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-size: 14px;
}
.vs-tool { color: var(--slate-500); }
.vs-arrow { color: var(--amber-500); font-weight: 600; }
.vs-dc { font-weight: 600; color: var(--slate-900); }
.pricing-vs-note {
  font-size: 13px;
  color: var(--slate-500);
  font-style: italic;
}

/* CLOSING (updated) */
.closing-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.closing-cta-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  background: var(--amber-500);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background 0.15s;
}
.closing-cta-btn:hover { background: var(--amber-600); color: var(--slate-900); }
.closing-cta-note {
  font-size: 14px;
  color: var(--slate-200);
}
.closing-cta-note a { color: var(--amber-500); text-decoration: none; }
.closing-cta-note a:hover { color: var(--amber-600); text-decoration: underline; }

/* HERO */
.hero {
  padding: 80px 40px 100px;
  background: var(--cream);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content {}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 0;
}

/* LEDGER */
.hero-ledger {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
  font-size: 13.5px;
}
.ledger-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 10px 16px;
  background: var(--slate-900);
  color: var(--slate-200);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row span:first-child { font-size: 13px; }
.ledger-row span:nth-child(2) { font-weight: 600; font-variant-numeric: tabular-nums; }

.badge-paid, .badge-overdue, .badge-pending {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-paid { background: var(--green-100); color: var(--green-700); }
.badge-overdue { background: var(--red-100); color: var(--red-700); }
.badge-pending { background: var(--amber-100); color: var(--amber-600); }

.ledger-footer {
  padding: 10px 16px;
  background: var(--slate-100);
  font-size: 12.5px;
  color: var(--slate-500);
}
.ledger-footer strong { color: var(--slate-900); }

/* PROBLEM */
.problem {
  background: var(--slate-900);
  padding: 80px 40px;
  color: white;
}
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 32px;
}
.problem-stacks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 28px;
}
.problem-icon {
  margin-bottom: 16px;
  color: var(--slate-200);
}
.problem-card p {
  font-size: 14px;
  color: var(--slate-200);
  line-height: 1.55;
}
.problem-punchline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  color: white;
  line-height: 1.4;
  font-style: italic;
  max-width: 640px;
}

/* FEATURES */
.features { padding: 100px 40px; background: var(--cream); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 16px;
}
.features-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 60px;
  max-width: 540px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 28px;
}
.feature-icon { margin-bottom: 16px; }
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* WHOS IT FOR */
.whos-it-for {
  background: var(--slate-100);
  padding: 100px 40px;
}
.who-inner { max-width: 1100px; margin: 0 auto; }
.who-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 48px;
}
.who-grid { display: flex; flex-direction: column; gap: 0; }
.who-item {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--slate-200);
}
.who-item:last-child { border-bottom: none; }
.who-rule {
  background: var(--amber-500);
  border-radius: 2px;
  align-self: stretch;
  min-height: 60px;
}
.who-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.who-content p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.65;
  max-width: 560px;
}

/* CLOSING */
.closing { padding: 100px 40px; background: var(--slate-900); color: white; }
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 600px;
}
.closing-body p {
  font-size: 17px;
  color: var(--slate-200);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
}
.closing-coda {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--amber-500);
  font-style: italic;
}

/* WAITLIST FORM */
.waitlist-form {
  margin-top: 40px;
}
.waitlist-input-row {
  display: flex;
  gap: 0;
  max-width: 460px;
}
.waitlist-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--slate-900);
  background: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: 8px 0 0 8px;
  outline: none;
  transition: border-color 0.15s;
}
.waitlist-input::placeholder { color: var(--slate-500); }
.waitlist-input:focus { border-color: var(--amber-500); }
.waitlist-btn {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: var(--slate-900);
  background: var(--amber-500);
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, opacity 0.15s;
}
.waitlist-btn:hover { background: var(--amber-600); color: white; }
.waitlist-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist-subtext {
  margin-top: 12px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.45) !important;
  line-height: 1.5 !important;
  max-width: none !important;
  margin-bottom: 0 !important;
}
.waitlist-success {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #86efac;
  line-height: 1.5;
}
.waitlist-error {
  margin-top: 12px;
  font-size: 14px;
  color: #fca5a5;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .waitlist-input-row { flex-direction: column; max-width: 100%; }
  .waitlist-input { border-right: 1px solid rgba(255,255,255,0.2); border-bottom: none; border-radius: 8px 8px 0 0; }
  .waitlist-btn { border-radius: 0 0 8px 8px; text-align: center; }
}

/* FOOTER */
.footer { padding: 48px 40px; background: var(--cream); border-top: 1px solid var(--slate-200); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  display: block;
  margin-bottom: 8px;
}
.footer-desc { font-size: 13px; color: var(--slate-500); }
.footer-note { font-size: 13px; color: var(--slate-500); max-width: 320px; text-align: right; line-height: 1.55; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-ledger { display: none; }
  .problem-stacks { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .who-item { grid-template-columns: 4px 1fr; gap: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
  .hero { padding: 60px 24px 80px; }
  .problem { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .whos-it-for { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .how-it-works { padding: 60px 24px; }
  .how-steps { grid-template-columns: 1fr; }
  .pricing { padding: 60px 24px; }
  .pricing-card { max-width: 100%; }
  .closing-cta-row { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 48px; }
}
