/* nuvekta — site-wide styles. Palette matched to the RNAFrontEnd app design system. */
:root {
  --bg: #f5f7f3;
  --bg-2: #ebefe7;
  --panel: #ffffff;
  --ink: #0b1410;
  --ink-2: #2a352f;
  --muted: #6a7269;
  --muted-2: #a5ada3;
  --line: #d9ddd3;
  --line-2: #e6e9e1;
  --green: #47a558;   /* nuvekta green — canonical brand accent (olive-jade) */
  --green-2: #47a558;
  --green-3: #47a558;
  --green-soft: #d7f1e1;
  --green-glow: #8cf2b2;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.serif { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.02em; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ── Header ───────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,246,241,0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 28px;
  padding: 0 36px; height: 60px;
}
.site-nav .brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.site-nav .brand svg { display: block; }
.site-nav .nav-links { display: flex; gap: 26px; }
.site-nav .nav-links a { font-size: 13.5px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .15s, color .15s; }
.site-nav .nav-links a:hover { color: var(--green-2); }
.site-nav .nav-links a.active { color: var(--ink); border-bottom-color: var(--green-2); }
.site-nav .spacer { flex: 1; }
.site-nav .nav-meta a { font-size: 13.5px; color: var(--muted); margin-right: 22px; }
.site-nav .cta {
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 6px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  transition: background .15s;
}
.site-nav .cta:hover { background: var(--green-2); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  margin-top: 96px;
  padding: 64px 48px 36px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.site-footer .grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 56px;
}
.site-footer h5 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 13.5px; color: var(--ink-2); }
.site-footer ul a:hover { color: var(--green-2); }
.site-footer .end {
  max-width: 1240px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--muted);
}

/* ── Shared page chrome ───────────────────────────────── */
.page { max-width: 1240px; margin: 0 auto; padding: 72px 48px 0; }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
h1.display { font-size: 64px; line-height: 1.0; letter-spacing: -0.035em; font-weight: 400; max-width: 880px; }
h1.display em { font-style: italic; color: var(--green-2); }
.lede { margin-top: 22px; max-width: 640px; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.section { margin-top: 96px; }
.section-label { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; display: flex; align-items: baseline; gap: 14px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); transform: translateY(-3px); }
.section-label .roman { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 16px; color: var(--ink-2); letter-spacing: 0; text-transform: none; }

/* ── Buttons ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 6px; font-size: 13.5px; font-weight: 500; transition: all .15s; cursor: pointer; border: 1px solid transparent; }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green); filter: brightness(0.92); }
.btn.ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--green-2); color: var(--green-2); }
.btn.green { background: var(--green-2); color: #fff; }
.btn.green:hover { background: var(--green-3); }

/* ── Forms (waitlist + contact) ───────────────────────── */
/* Honeypot: off-screen, never shown to humans or screen readers. Bots that
   autofill it get silently accepted-without-send (audit R5 anti-spam). */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Inline error state, shown only when a real POST fails. */
.form-err { display: none; margin-top: 12px; font-size: 13px; color: #b3261e; }
.form-err a { color: #b3261e; text-decoration: underline; }
button[disabled] { opacity: 0.6; cursor: default; }

/* ── Minimal footer (coming-soon interior pages) ──────── */
.site-footer .grid-min { max-width:1240px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.site-footer .foot-links { display:flex; gap:24px; flex-wrap:wrap; }
.site-footer .foot-links a { font-size:13.5px; color:var(--ink-2); }
.site-footer .foot-links a:hover { color:var(--green-2); }
.site-footer .end .mono a { color:var(--muted); }
.site-footer .end .mono a:hover { color:var(--green-2); }
