/* MeteoAct site — shared design system.
   Derived from: the designer's landing palette (ink #1a1b1f, slate neutrals) +
   the verification-page system (Charter/Georgia serif, chart-blue accent).
   Every page uses these tokens; do not introduce new colors or faces per-page. */

:root {
  --paper: #FBFBF9;
  --ink: #1a1b1f;          /* designer's near-black */
  --slate: #5A6B7B;
  --accent: #0E6BA8;       /* chart blue — links, eyebrows, accents */
  --amber: #A87424;        /* reserved: honest-caveat callouts only */
  --rule: #D9DFE4;
  --panel: #F2F4F3;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Charter, Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.55;
}

.sans { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

.shell { max-width: 768px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav.site {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
}
nav.site .bar {
  max-width: 1100px; margin: 0 auto; padding: 6px 24px; /* compact 2026-07-28 (was 14px) */
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
nav.site img.logo { height: 30px; width: auto; display: block; } /* compact (was 48px) */
nav.site .links {
  display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px; font-weight: 550;
}
nav.site .links a { color: var(--ink); text-decoration: none; }
nav.site .links a:hover, nav.site .links a[aria-current="page"] { color: var(--accent); }

/* ── Page scaffold ───────────────────────────────────────────────────────── */
header.page { padding: 40px 0 26px; }
h1 { font-size: 32px; line-height: 1.1; font-weight: 700; margin: 0 0 16px; }
h2 { font-size: 21px; margin: 6px 0 14px; }
h3 { font-size: 16px; margin-bottom: 8px; }
.lede { font-size: 16.5px; color: var(--slate); }
p { margin-bottom: 12px; }
section { margin-bottom: 40px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btnrow { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  padding: 9px 16px; border-radius: 6px; display: inline-block;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #0B5A8E; }
.btn.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Cards / use-case grid ──────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 8px;
  padding: 17px 19px;
}
.card .k {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.card p { font-size: 13.5px; margin-bottom: 0; color: #33404C; }
.card a.more {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px; font-weight: 600; display: inline-block; margin-top: 12px;
  text-decoration: none;
}

/* ── Stat strip ─────────────────────────────────────────────────────────── */
.stats {
  display: flex; flex-wrap: wrap; gap: 0 44px; row-gap: 16px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 20px 0; margin: 30px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.stat .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.stat .v { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }

/* ── Founder / about ────────────────────────────────────────────────────── */
.founder { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.founder .prose { flex: 1; min-width: 240px; }
.founder img {
  width: 220px; height: auto; border-radius: 8px; flex: none;
  border: 1px solid var(--rule);
}
.founder.large img { width: 320px; }
@media (min-width: 641px) { .founder.large img { width: 440px; } }
.founder.stacked { flex-direction: column; }

/* ── Callouts (shared with verification page) ───────────────────────────── */
.callout { border-left: 3px solid var(--accent); background: var(--panel); padding: 12px 16px; font-size: 15.5px; }
.callout.flag { border-left-color: var(--amber); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--rule); margin-top: 52px; padding: 20px 0 32px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12.5px; color: var(--slate);
}
footer.site .shell { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--slate); }
footer.site .right { margin-left: auto; display: flex; gap: 18px; }

@media (max-width: 640px) {
  h1 { font-size: 26px; }
  .lede { font-size: 15px; }
  header.page { padding: 40px 0 28px; }
}

