/* ==========================================================
   VPPS Spend — global stylesheet
   Background #FFFFFF · Accent #FF5B24
   ========================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --surface: #FBF8F6;
  --raised: #F5F0EC;
  --border: #ECE5DF;
  --text: #1D1714;
  --muted: #6F6660;
  --accent: #FF5B24;
  --accent-soft: #FFF1EB;
  --head-h: 68px;
  --radius: 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- Wrapper ---------- */
.till {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 91, 36, .28);
}
.btn svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.btn-sm { padding: 9px 16px; font-size: 13px; gap: 7px; }
.btn-sm svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--head-h);
  gap: 16px;
}
.logo img { height: 26px; width: auto; }
.top-right { display: flex; align-items: center; gap: 10px; }

.nav {
  display: none;
  position: absolute;
  top: var(--head-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 16px;
}
.nav.open { display: block; }
.nav-in { display: flex; flex-direction: column; }
.nav-in a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 20px;
}
.nav-in a:hover { color: var(--text); text-decoration: none; }
.nav-in a.on { color: var(--accent); }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Hero (image left, text right) ---------- */
.till.purse {
  padding-top: 40px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.purse-art {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}
.purse-art img { width: 100%; max-width: 420px; margin: 0 auto; }
.purse-copy h1 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 700;
}
.purse-copy h1 em { font-style: normal; color: var(--accent); }
.purse-copy .lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  max-width: 34em;
}
.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.cta-note { color: var(--muted); font-size: 13px; }

/* ---------- Section heading ---------- */
.till.sect { padding-top: 64px; padding-bottom: 64px; }
.sect-head { max-width: 620px; margin-bottom: 36px; }
.sect-head h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.sect-head p { margin-top: 12px; color: var(--muted); }

/* ---------- Home screen mock (CSS only) ---------- */
.ledge {
  display: grid;
  gap: 14px;
}
.ledge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.ledge-lbl { font-size: 12px; color: var(--muted); font-weight: 500; }
.ledge-big { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.ledge-sub { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.ledge-sub b { color: var(--text); font-weight: 600; }
.meter {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: var(--raised);
  overflow: hidden;
}
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.ledge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ledge-row:last-child { border-bottom: none; padding-bottom: 0; }
.ledge-row span { color: var(--muted); font-size: 12px; display: block; }
.ledge-row .neg { font-weight: 600; }
.ledge-row .pos { font-weight: 600; color: var(--accent); }
.quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.quick div {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
}

/* ---------- Feature rows (alternating, with illustration) ---------- */
.lane {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.lane:first-of-type { border-top: none; padding-top: 0; }
.lane-art {
  background: var(--surface);
  border-radius: 28px;
  padding: 24px;
}
.lane-art img { width: 100%; max-width: 340px; margin: 0 auto; }
.lane-copy h3 { font-size: 26px; margin-top: 10px; }
.lane-copy > p { margin-top: 12px; color: var(--muted); }
.lane-list { list-style: none; margin: 18px 0 0; padding: 0; }
.lane-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}
.lane-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Feature grid ---------- */
.coins {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.coin {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.coin-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.coin h3 { margin-top: 14px; font-size: 18px; }
.coin p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Categories chips ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cats span {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--raised);
  font-size: 13px;
  font-weight: 500;
}
.cats.inc span { background: var(--accent-soft); color: var(--accent); }
.cats-lbl { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }

/* ---------- Trust stats ---------- */
.vault {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vault-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 8px;
}
.vault-stat b {
  display: block;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.vault-stat h3 { margin-top: 12px; font-size: 17px; }
.vault-stat p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Closing CTA ---------- */
.till.close {
  padding-top: 72px;
  padding-bottom: 80px;
  text-align: center;
}
.close h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 12px; }
.close p { margin: 14px auto 0; color: var(--muted); max-width: 30em; }
.close .cta-row { justify-content: center; }

/* ---------- Inner pages ---------- */
.till.lead-in { padding-top: 48px; padding-bottom: 8px; }
.lead-in h1 { margin-top: 12px; font-size: clamp(2rem, 4.4vw, 3rem); }
.lead-in p { margin-top: 12px; color: var(--muted); max-width: 36em; }
.lead-in .stamp { font-size: 13px; }

.till.sheets { padding-top: 32px; padding-bottom: 72px; }
.sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 14px;
}
.sheet h2 { font-size: 19px; display: flex; gap: 12px; align-items: baseline; }
.sheet h2 small { color: var(--accent); font-size: 13px; font-weight: 700; }
.sheet p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.sheet p + p { margin-top: 8px; }
.sheet ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.sheet li { margin: 4px 0; }
.legal-note { margin-top: 24px; font-size: 13px; color: var(--muted); }

.topics { display: grid; grid-template-columns: 1fr; gap: 14px; }
.topics .sheet { margin-bottom: 0; }
.reach { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.reach .sheet { margin-bottom: 0; background: var(--bg); }
.reach .mail { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 17px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--border); }
.foot-in {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.foot-in img { height: 20px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent); }

/* ==========================================================
   Desktop
   ========================================================== */
@media (min-width: 760px) {
  .till { padding-left: 32px; padding-right: 32px; }

  .nav { display: block; position: static; border: none; background: transparent; padding: 0; }
  .nav-in { flex-direction: row; gap: 4px; }
  .nav-in a { padding: 8px 12px; font-size: 14px; }
  .burger { display: none; }

  .till.purse {
    flex-direction: row;
    align-items: center;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 80px;
  }
  .purse-art { flex: 0 0 44%; padding: 36px; }
  .purse-copy { flex: 1; }

  .ledge { grid-template-columns: 1.2fr 1fr; }
  .ledge-card.wide { grid-row: span 2; }
  .quick { grid-template-columns: repeat(4, 1fr); grid-column: 1 / -1; }

  .lane { flex-direction: row; align-items: center; gap: 56px; padding: 56px 0; }
  .lane.flip { flex-direction: row-reverse; }
  .lane-art { flex: 0 0 40%; }
  .lane-copy { flex: 1; }

  .coins { grid-template-columns: repeat(3, 1fr); }
  .vault-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }

  .topics { grid-template-columns: repeat(2, 1fr); }
  .reach { grid-template-columns: repeat(2, 1fr); }
  .sheet { padding: 28px 32px; }

  .foot-in { flex-direction: row; align-items: center; justify-content: space-between; }
}
