@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --ink: #14171f;
  --ink-soft: #5b6472;
  --gold: #f5c518;
  --gold-deep: #d9a900;
  --green: #0f9d58;
  --paper: #faf9f6;
  --paper-raised: #ffffff;
  --line: #e7e4dc;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, .brand { font-family: 'Sora', sans-serif; letter-spacing: -0.01em; }

.mono { font-family: 'JetBrains Mono', monospace; }

a { color: inherit; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.brand .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--gold); display: inline-block; }
nav.links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
nav.links a { text-decoration: none; color: var(--ink-soft); }
nav.links a:hover { color: var(--ink); }
nav.links a.current { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 48px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.15; max-width: 620px; }
.hero p.lede { font-size: 17px; color: var(--ink-soft); max-width: 520px; margin-top: 16px; }
.hero .cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  padding: 12px 22px; border-radius: 8px; text-decoration: none; cursor: pointer; border: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262b38; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--ink-soft); }

/* ---------- Signature: directory rows resolving into a sheet ---------- */
.flow-demo {
  margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-raised); overflow: hidden;
}
.flow-demo .row {
  display: grid; grid-template-columns: 1fr 1fr 90px; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; align-items: center;
}
.flow-demo .row:last-child { border-bottom: none; }
.flow-demo .row.head { background: #f4f2ec; font-weight: 600; color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.flow-demo .row span.muted { color: var(--ink-soft); }
.flow-demo .row .wa {
  justify-self: end; font-size: 11px; font-weight: 700; color: var(--green);
  background: #e8f7ef; padding: 4px 9px; border-radius: 6px;
}

/* ---------- Sections ---------- */
section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 24px; font-weight: 700; margin-bottom: 18px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
.feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
  background: var(--paper-raised); display: flex; flex-direction: column; gap: 10px;
}
.plan.featured { border-color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep) inset; }
.plan .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-deep); }
.plan .price { font-size: 28px; font-weight: 800; font-family: 'Sora', sans-serif; }
.plan .price span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.plan ul { list-style: none; font-size: 13px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.plan ul li::before { content: '— '; color: var(--ink-soft); }

/* ---------- Legal pages ---------- */
.legal h1 { font-size: 28px; margin-bottom: 6px; }
.legal .updated { font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; }
.legal h2 { font-size: 17px; margin-top: 28px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 14px; color: #333; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal .placeholder { background: #fff7d6; border: 1px dashed var(--gold-deep); padding: 2px 6px; border-radius: 4px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.site p { font-size: 13px; color: var(--ink-soft); }
footer.site nav a { font-size: 13px; color: var(--ink-soft); text-decoration: none; margin-left: 16px; }
footer.site nav a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .features { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .flow-demo .row { grid-template-columns: 1fr 1fr; }
  .flow-demo .row .wa { grid-column: span 2; justify-self: start; }
  footer.site .wrap { flex-direction: column; align-items: flex-start; }
  footer.site nav a { margin-left: 0; margin-right: 16px; }
}
