/* Stemwise — shared design system
   Aesthetic: warm editorial flower-farm. Cream, sage, terracotta. */

:root {
  --cream: #faf7f0;
  --cream-2: #f3ede1;
  --paper: #fffdf8;
  --ink: #2b2a26;
  --ink-soft: #5b574e;
  --sage: #46584b;
  --sage-deep: #344137;
  --sage-soft: #7d9082;
  --terra: #c2724f;
  --terra-deep: #a85c3c;
  --blush: #e7c7b4;
  --gold: #d9a441;
  --line: #e3dccd;
  --good: #4f7d53;
  --good-bg: #e7f0e6;
  --warn: #b9742f;
  --warn-bg: #f6e9d6;
  --bad: #b14b3c;
  --bad-bg: #f4e0da;
  --shadow: 0 1px 2px rgba(52,65,55,.06), 0 8px 24px rgba(52,65,55,.06);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--sage-deep); }
a { color: var(--terra-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--terra-deep); }
.btn-ghost { background: transparent; color: var(--sage-deep); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(250,247,240,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--sage-deep); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
@media (max-width: 720px){ .nav-links a:not(.btn){ display:none; } }

/* tag/pill */
.pill { display:inline-block; font-size:.78rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color: var(--terra-deep); background: var(--blush); padding: 5px 12px; border-radius:999px; }

/* cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* utility */
.row { display:flex; gap: 16px; }
.col { flex:1; }
.grid { display:grid; gap: 20px; }
.hide { display:none !important; }
hr { border:none; border-top:1px solid var(--line); margin: 28px 0; }

/* ===== LANDING PAGE ===== */
.section { padding: 72px 24px; }
.band { background: var(--cream-2); padding: 72px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.narrow { max-width: 760px; margin: 0 auto; }
.big { font-size: 1.15rem; }
.micro { font-size: .85rem; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pad { padding: 26px; }
@media (max-width: 860px){ .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* hero */
.hero { padding: 64px 0 24px; }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin: 16px 0 18px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36ch; }
.hero-cta { display:flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero h1 em, .lede em { font-style: italic; color: var(--terra-deep); }

/* hero reconcile peek */
.reconcile-peek { padding: 22px; }
.rp-head { font-weight:600; color: var(--sage-deep); margin-bottom: 14px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.rp-row { display:flex; justify-content: space-between; align-items:center; padding: 9px 12px; border-radius: 10px; margin-bottom: 8px; font-size: .95rem; }
.rp-row.good { background: var(--good-bg); }
.rp-row.bad { background: var(--bad-bg); }
.rp-row.warn { background: var(--warn-bg); }
.rp-num { font-weight:700; font-variant-numeric: tabular-nums; }
.rp-row.good .rp-num { color: var(--good); }
.rp-row.bad .rp-num { color: var(--bad); }
.rp-row.warn .rp-num { color: var(--warn); }
.rp-foot { margin-top: 14px; padding-top: 14px; border-top:1px solid var(--line); font-size:.92rem; color: var(--ink-soft); }
.rp-foot b { color: var(--sage-deep); }

/* how steps */
.how-grid { margin-top: 40px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--sage-deep); color: #fff; display:grid; place-items:center; font-family: var(--serif); font-weight:600; margin-bottom: 14px; }
.how-grid h3 { margin: 0 0 8px; font-size: 1.15rem; }

/* reconcile section */
.reconcile-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
@media (max-width: 860px){ .reconcile-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); }
.checks li::before { content: "✿"; position:absolute; left:0; color: var(--terra); font-size: 1.05rem; }
.checks.sm li { margin-bottom: 8px; font-size: .95rem; }
.rd-head { font-weight:600; color: var(--sage-deep); margin-bottom: 12px; }
.rd-table { width:100%; border-collapse: collapse; font-size: .95rem; }
.rd-table th { text-align: left; font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; color: var(--ink-soft); padding: 6px 8px; border-bottom: 2px solid var(--line); }
.rd-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rd-table .pos { color: var(--good); font-weight:700; }
.rd-table .neg { color: var(--bad); font-weight:700; }
.rd-table .even { color: var(--ink-soft); }

/* pricing */
.price-grid { margin-top: 40px; align-items: start; }
.price { position: relative; display:flex; flex-direction: column; }
.price h3 { font-size: 1.3rem; margin: 0 0 6px; }
.price-amt { font-family: var(--serif); font-size: 2.4rem; color: var(--terra-deep); margin: 6px 0 10px; }
.price-amt span { font-size: 1rem; color: var(--ink-soft); }
.price .checks { flex: 1; }
.price .btn { width: 100%; justify-content:center; margin-top: 10px; }
.price.featured { border-color: var(--terra); box-shadow: 0 8px 30px rgba(194,114,79,.18); }
.ribbon { position:absolute; top: -12px; right: 20px; background: var(--terra); color:#fff; font-size:.74rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; padding: 4px 12px; border-radius: 999px; }

/* waitlist */
.waitlist-form { display:flex; gap: 10px; max-width: 480px; margin: 22px auto 10px; }
.waitlist-form input { flex:1; padding: 13px 16px; border-radius: 999px; border:1px solid var(--line); font: inherit; background: var(--paper); }
.waitlist-form input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(194,114,79,.15); }
@media (max-width: 520px){ .waitlist-form { flex-direction: column; } .waitlist-form .btn { justify-content:center; } }

/* footer */
.footer { padding: 48px 0 32px; border-top:1px solid var(--line); background: var(--paper); }
.foot-grid { display:flex; justify-content: space-between; align-items:flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.foot-links { display:flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); font-size:.92rem; }
.micro { line-height: 1.5; }
