/* WePay v2 chrome — brand tokens, buttons, header and footer shared by EVERY page.
   v2 pages: chrome.css + site.css. Older pages: styles.css + chrome.css + legacy.css. */
:root {
  --bg: #ffffff;
  --mint: #f3faef;
  --mint-2: #e5f6dc;
  --line: #dcebd4;
  --ink: #17402a;        /* headings */
  --text: #2c332f;       /* body */
  --muted: #56625b;
  --green-ink: #0b7a2c;  /* links, accent text — 5.6:1 on white */
  --lime: #6ff758;       /* brand lime: fills only, dark text on it */
  --green: #12c53c;
  --yellow: #fff94d;
  --radius-l: 28px;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(23, 64, 42, .10), 0 2px 6px rgba(23, 64, 42, .06);
  --font-display: 'Nunito', ui-rounded, system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max: 1160px;
}

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1 var(--font-display); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #5fee48; color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .92rem; }
.appstore { display: inline-block; line-height: 0; border-radius: 12px; }
.appstore img { height: 56px; width: auto; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid #edf3ea;
}
.site-header .container { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 10px 12px; border-radius: 10px;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--mint); }
.nav .btn { margin-left: 8px; }
.header-cta { display: none; }
.site-header .appstore img { height: 40px; width: auto; }
.nav .nav-badge { margin-left: 10px; }
.btn { white-space: nowrap; }
.nav-toggle {
  display: none; margin-left: 8px; width: 44px; height: 44px; padding: 0; border-radius: 50%; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.nav-toggle[aria-expanded="true"] { background: var(--mint); }
@media (max-width: 899px) {
  .header-cta { display: inline-flex; margin-left: auto; }
  .nav-toggle { display: inline-grid; }
  .brand .logo { height: 28px; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
  .nav .nav-badge { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #10301f; color: #c9dcc4; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e7f3e3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.foot-grid .about { grid-column: 1 / -1; max-width: 360px; }
.foot-grid .about p { margin-top: 12px; color: #a9c2a3; }
.foot-grid h4 { margin: 0 0 10px; font: 800 .8rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: #8fb088; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-grid .about { grid-column: auto; } }
.site-footer .brand .logo { height: 36px; }
.legal-line { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; line-height: 1.6; color: #93ad8d; }
.legal-line p + p { margin-top: 8px; }

