/* gettokenbank.com — shared styles. Matches the TokenBank app palette. */
:root {
  --ink: #0D0D2E;
  --panel: #16162A;
  --panel-2: #1E1E3A;
  --line: rgba(255,255,255,0.09);
  --text: #F3F2FA;
  --muted: #8B8BAD;
  --violet: #7C3AED;
  --lavender: #A78BFA;
  --gold: #FCD34D;
  --gold-deep: #B45309;
  --gold-mid: #F59E0B;
  --green: #34D399;
  --radius: 18px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lavender); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-gold { color: var(--gold); }
.coin {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(160deg, #FDE68A 10%, var(--gold-mid) 55%, var(--gold-deep));
  border: 2px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: #7C2D12; font-weight: 900; font-size: 16px; line-height: 1;
  box-shadow: 0 2px 10px rgba(245,158,11,0.5);
}
.head-links { display: flex; gap: 26px; align-items: center; }
.head-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.head-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ── */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  align-items: center; padding: 64px 0 80px;
}
.eyebrow {
  color: var(--gold); font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 16px;
}
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 5vw, 58px); line-height: 1.06;
  letter-spacing: -0.5px; margin-bottom: 20px;
}
h1 .gold { color: var(--gold); }
.lede { color: var(--muted); font-size: 19px; max-width: 46ch; margin-bottom: 30px; }

.store-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex; flex-direction: column; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); padding: 10px 20px; min-width: 170px;
}
.store-badge:hover { border-color: var(--lavender); text-decoration: none; }
.store-badge .small { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }
.store-badge .big { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--text); }
.soon-note { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ── Signature: the star meter / bank card ── */
.bank-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: 26px;
  padding: 28px; box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.bank-kid { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.bank-kid .avatar { font-size: 34px; }
.bank-kid .name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.bank-kid .sub { color: var(--muted); font-size: 13px; }

.star-meter { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.star {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--line); font-size: 20px;
  filter: grayscale(1) opacity(0.35);
}
.star.lit { filter: none; background: rgba(245,194,66,0.12); border-color: rgba(245,194,66,0.5); }
.meter-arrow { color: var(--muted); font-size: 20px; margin: 0 2px; }
.mint {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(160deg, #FDE68A 10%, var(--gold-mid) 55%, var(--gold-deep));
  border: 2px solid var(--gold);
  display: grid; place-items: center; color: #7C2D12;
  font-weight: 900; font-size: 24px; line-height: 1;
  box-shadow: 0 4px 18px rgba(245,158,11,0.5);
}
.meter-label { color: var(--muted); font-size: 13px; margin-bottom: 22px; }

.task-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 16px; margin-bottom: 10px; font-size: 15px;
}
.task-row .tick {
  margin-left: auto; font-size: 13px; font-weight: 700; color: var(--green);
  background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.35);
  padding: 4px 10px; border-radius: 99px; white-space: nowrap;
}
.task-row .tick.todo { color: var(--muted); background: rgba(255,255,255,0.05); border-color: var(--line); }

/* On-load animation: stars light one by one, then the token mints. */
@media (prefers-reduced-motion: no-preference) {
  .star.lit { animation: light 0.4s ease both; }
  .star.lit:nth-child(1) { animation-delay: 0.2s; }
  .star.lit:nth-child(2) { animation-delay: 0.5s; }
  .star.lit:nth-child(3) { animation-delay: 0.8s; }
  .star.lit:nth-child(4) { animation-delay: 1.1s; }
  .star.lit:nth-child(5) { animation-delay: 1.4s; }
  .mint { animation: mint 0.55s cubic-bezier(0.2, 1.6, 0.4, 1) 1.9s both; }
  @keyframes light { from { filter: grayscale(1) opacity(0.35); transform: scale(0.9); } to { filter: none; transform: scale(1); } }
  @keyframes mint { from { transform: scale(0); } to { transform: scale(1); } }
}

/* ── Sections ── */
section { padding: 70px 0; border-top: 1px solid var(--line); }
.kicker {
  color: var(--lavender); font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px;
}
h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 3.5vw, 38px); line-height: 1.15; margin-bottom: 14px;
}
.section-lede { color: var(--muted); max-width: 62ch; margin-bottom: 40px; }

/* How it works — a real sequence, so numbered steps are earned */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.step .n {
  font-family: var(--display); font-weight: 800; font-size: 15px;
  color: var(--gold); margin-bottom: 12px;
}
.step h3 { font-family: var(--display); font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Feature grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card .emoji { font-size: 26px; margin-bottom: 10px; display: block; }
.card h3 { font-family: var(--display); font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Privacy band */
.privacy-band {
  background: linear-gradient(150deg, rgba(124,58,237,0.16), rgba(124,58,237,0.04));
  border: 1px solid rgba(167,139,250,0.3); border-radius: 26px; padding: 44px;
}
.privacy-band h2 { margin-bottom: 10px; }
.privacy-band p { color: var(--muted); max-width: 66ch; }
.privacy-band .lock { font-size: 30px; margin-bottom: 14px; display: block; }

/* Pricing */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.price {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
}
.price.hero-price { border-color: rgba(245,194,66,0.55); background: linear-gradient(165deg, rgba(245,194,66,0.09), var(--panel) 55%); }
.price .tag { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.price.addon .tag { color: var(--lavender); }
.price .amount { font-family: var(--display); font-weight: 800; font-size: 42px; }
.price .per { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.price ul { list-style: none; margin-top: 4px; }
.price li { color: var(--muted); font-size: 15px; padding: 5px 0 5px 26px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price .fine { color: var(--muted); font-size: 13px; margin-top: auto; padding-top: 18px; }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); padding: 18px 22px; margin-bottom: 10px;
}
.faq summary {
  font-family: var(--display); font-weight: 600; font-size: 17px;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px;
}
.faq summary::after { content: "+"; color: var(--lavender); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 70ch; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-copy { color: var(--muted); font-size: 13px; }

/* ── Legal / document pages ── */
.doc { max-width: 760px; margin: 0 auto; padding: 30px 24px 90px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin: 26px 0 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 38px 0 10px; }
.doc h3 { font-family: var(--display); font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: #C9C8DE; font-size: 16px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.doc .callout {
  background: rgba(245,194,66,0.08); border: 1px solid rgba(245,194,66,0.35);
  border-radius: 14px; padding: 18px 20px; margin: 18px 0;
}
.doc .callout p { color: var(--text); font-size: 15px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 60px; }
  .steps { grid-template-columns: 1fr; }
  .grid-2, .price-cards { grid-template-columns: 1fr; }
  .privacy-band { padding: 30px 24px; }
  .head-links { gap: 16px; }
}

@media (max-width: 620px) {
  .site-head {
    flex-direction: column; align-items: center; gap: 14px;
    padding: 18px 0 14px;
  }
  .head-links { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .head-links a { font-size: 14px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 26px 0 50px; gap: 32px; }
  .lede { font-size: 17px; }
  .bank-card { padding: 20px; }
  .star { width: 34px; height: 34px; font-size: 17px; }
  .mint { width: 40px; height: 40px; font-size: 20px; }
  .store-badge { min-width: 0; flex: 1; }
  section { padding: 50px 0; }
  .foot-row { flex-direction: column; align-items: center; gap: 14px; text-align: center; }
  .foot-links { justify-content: center; }
  .doc { padding: 16px 18px 70px; }
}
