/* Moorly landing page — static, no build step, no external assets. */

:root {
  --ink: #10151c;
  --ink-2: #46505e;
  --ink-3: #6d7887;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --accent: #0f6b4f;
  --accent-soft: #e8f3ee;
  --warn: #9a6a12;
  --warn-soft: #fdf3df;
  --info: #1d4e79;
  --info-soft: #e7f0f8;
  --radius: 12px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Header ─────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand {
  font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.badge {
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 5px 12px;
  white-space: nowrap;
}

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 72px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  margin: 0 0 14px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3);
}
h1 {
  margin: 0 0 20px; font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.1; letter-spacing: -0.03em; font-weight: 700;
}
.lede { margin: 0 0 28px; font-size: 19px; color: var(--ink-2); }
.lede em { font-style: italic; color: var(--ink); }

/* ── Signup form ────────────────────────────────────── */
.signup { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.center-form { justify-content: center; }
.signup input[type="email"] {
  flex: 1 1 260px; min-width: 0;
  padding: 13px 15px; font: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.signup input[type="email"]:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
/* Honeypot stays in the DOM but out of sight and out of the tab order. */
.signup input[name="company_website"] {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
}
.signup button {
  padding: 13px 22px; font: inherit; font-size: 16px; font-weight: 600;
  color: #fff; background: var(--accent);
  border: 1px solid var(--accent); border-radius: 10px; cursor: pointer;
  transition: opacity 0.15s ease;
}
.signup button:hover { opacity: 0.9; }
.signup button:disabled { opacity: 0.55; cursor: default; }

.form-note { margin: 0 0 8px; font-size: 15px; min-height: 22px; }
.form-note.ok { color: var(--accent); font-weight: 600; }
.form-note.err { color: #a12b2b; }
.form-note.warn {
  color: var(--warn); background: var(--warn-soft);
  padding: 10px 12px; border-radius: 8px; font-weight: 600;
}
.fineprint { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ── Hero dashboard visual ──────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
}
.dash { box-shadow: 0 18px 44px -22px rgba(16, 21, 28, 0.35); overflow: hidden; }
.dash-head {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #d2d8de; }
.dash-title {
  margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.dash-body { padding: 26px 24px 22px; }
.dash-label {
  margin: 0 0 6px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3);
}
.dash-figure {
  margin: 0 0 6px; font-size: 46px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; color: var(--accent);
}
.dash-split { margin: 0 0 16px; font-size: 14px; color: var(--ink-3); }
.dash-rule { height: 1px; background: var(--line); margin: 0 0 14px; }
.dash-rows { list-style: none; margin: 0 0 14px; padding: 0; }
.dash-rows li {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #f1f4f7; font-size: 14px;
}
.dash-rows li:last-child { border-bottom: 0; }
.reason { font-weight: 600; }
.reason-funds { color: var(--info); }
.reason-card { color: var(--warn); }
.reason-temp { color: var(--ink-2); }
.amt { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.state { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.state.ok { color: var(--accent); background: var(--accent-soft); }
.state.wait { color: var(--warn); background: var(--warn-soft); }
.state.pending { color: var(--info); background: var(--info-soft); }
.mock-note {
  margin: 12px 0 0; text-align: center;
  font-size: 13px; color: var(--ink-3);
}

/* ── Sections ───────────────────────────────────────── */
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.section.cta { background: var(--accent-soft); }
h2 {
  margin: 0 0 16px; font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em; line-height: 1.2; font-weight: 700;
}
.section-lede { margin: 0 0 32px; font-size: 18px; color: var(--ink-2); max-width: 720px; }
.center .section-lede { margin-left: auto; margin-right: auto; }
.section-note {
  margin: 32px 0 0; font-size: 16px; color: var(--ink-2);
  max-width: 720px; padding-left: 16px; border-left: 3px solid var(--line);
}

/* ── Quotes ─────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  margin: 0; padding: 22px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.section.alt .quote { background: #fff; }
.quote blockquote {
  margin: 0 0 12px; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.45;
}
.quote figcaption { font-size: 13px; color: var(--ink-3); }

/* ── Feature grid ───────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 24px; background: #fff; }
.feature h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ── Steps ──────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 14px;
  font-size: 15px; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); border-radius: 50%;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ── Plain list ─────────────────────────────────────── */
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: 16px;
}
.plain-list li:last-child { border-bottom: 0; }
.plain-list strong { color: var(--ink); }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3);
}
.site-footer a { color: var(--ink-3); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .quotes, .grid-3, .steps { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 60px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
