/* esignit.app landing: same tokens as the app (apps/web/src/index.css). No scripts. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f6;
  --ink: #0b1020;
  --ink-2: #334155;
  --muted: #5b6478;
  --line: #e6e8f0;
  --accent: #2f4bd8;
  --accent-hover: #2639b5;
  --accent-text: #2639b5;
  --chip: #e0e7ff;
  --grad: linear-gradient(135deg, #2f4bd8 0%, #4f6cf0 45%, #06b6d4 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f2c;
    --surface: #111845;
    --surface-2: #1a2157;
    --ink: #f2f4fa;
    --ink-2: #d3d8e8;
    --muted: #9aa3bd;
    --line: #262e66;
    --accent: #4a63ec;
    --accent-hover: #5d74f0;
    --accent-text: #a5b4fc;
    --chip: #252d6e;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif; letter-spacing: -0.01em; }
a { color: var(--accent-text); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.bar { height: 4px; background: var(--grad); }
header.top { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand .word b { color: var(--accent-text); font-weight: 800; }
nav.links { margin-left: auto; display: flex; gap: 4px; align-items: center; }
nav.links a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
nav.links a:hover { background: var(--surface-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: #fff !important; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.secondary { background: var(--surface); color: var(--ink) !important; border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); }
nav.links .btn { height: 38px; padding: 0 16px; }
.hero { padding: 72px 0 56px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.08; margin: 0; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 20px 0 28px; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 20px 50px -20px rgb(17 24 39 / 0.25); }
.doc .line { height: 10px; border-radius: 6px; background: var(--surface-2); margin: 10px 0; }
.doc .line.s { width: 60%; }
.doc .line.m { width: 82%; }
.doc .sig { margin-top: 22px; border: 2px dashed var(--accent); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc .sig .name { font-family: "Caveat", cursive; font-size: 30px; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--chip); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.chip.good { background: #ecfdf3; color: #067647; }
@media (prefers-color-scheme: dark) { .chip.good { background: #0b2a1c; color: #47cd89; } }
.doc .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
section { padding: 56px 0; }
section h2 { font-size: 34px; margin: 0 0 8px; }
section p.sub { color: var(--ink-2); margin: 0 0 28px; max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--accent-text); font-weight: 800; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.logos span { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 10px 0 4px; font-family: "Plus Jakarta Sans", Inter, sans-serif; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 18px; color: var(--ink-2); font-size: 15px; flex: 1; }
.plan .btn { margin-top: 12px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final { text-align: center; }
.final .cta { justify-content: center; display: flex; gap: 12px; flex-wrap: wrap; }
footer.bottom { padding: 28px 0 40px; color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
footer.bottom a { color: var(--muted); }
footer.bottom .right { margin-left: auto; display: flex; gap: 16px; }
.legal { max-width: 760px; padding: 40px 16px 64px; }
.legal h1 { font-size: 38px; margin: 0 0 4px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.draft { background: #fffaeb; color: #b54708; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 16px 0 8px; }
@media (prefers-color-scheme: dark) { .draft { background: #2e2208; color: #fdb022; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0; gap: 32px; }
  .hero h1 { font-size: 38px; }
  .grid, .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  nav.links a.hide-sm { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  section h2 { font-size: 28px; }
  footer.bottom .right { margin-left: 0; }
}
