/* Landing page only (index.html). The preview pages keep style.css. Tokens mirror ios/Shinda/Design/DesignTokens.swift (dark). */
:root { color-scheme: dark; --bg: #0B0B14; --surface: #15162A; --raised: #1D1E36; --sunken: #0F1020; --outline: #2B2D4A;
  --text: #F4F3FF; --muted: #A9A8C7; --faint: #6F6E90; --accent: #B79CFF; --on-accent: #16152B; --coin: #FFC53D; --win: #3DFFB0; --radius: 20px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, "SF Pro Rounded", system-ui, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }   /* keeps .wrap's side gutter */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: .3px; color: var(--text); text-decoration: none; }
.logo i { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE08A, #E0A100); display: inline-block; box-shadow: 0 0 0 3px rgba(255, 197, 61, .18); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; padding: 13px 20px; border-radius: 14px; text-decoration: none; min-height: 48px; font-size: 16px; }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 30px rgba(183, 156, 255, .25); }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--outline); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--win); outline-offset: 2px; }
.hero { display: grid; gap: 32px; padding: 24px 0 40px; align-items: center; }
.hero > * { min-width: 0; }   /* a grid column never grows past the viewport for a long inline child */
@media (min-width: 840px) { .hero { grid-template-columns: 1.1fr .9fr; padding: 48px 0 64px; } }
.eyebrow { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--outline); border-radius: 999px; padding: 6px 12px; }
.eyebrow b { color: var(--win); }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; margin: 18px 0 14px; }
h1 .coins { color: var(--coin); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 52ch; margin: 0 0 24px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 13px; color: var(--faint); margin-top: 14px; line-height: 1.5; }
/* the slip illustration */
.slip { background: var(--surface); border: 1px solid var(--outline); border-radius: 24px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); max-width: 400px; margin: 0 auto; width: 100%; }
.slip .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--muted); font-weight: 700; }
.slip .bal { color: var(--coin); }
.leg { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--sunken); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.leg .t { font-weight: 800; }
.leg .s { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.chip { background: var(--accent); color: var(--on-accent); border-radius: 12px; padding: 6px 10px; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--outline); }
.total .k { font-size: 12px; color: var(--muted); font-weight: 700; }
.total .mult { font-size: 28px; font-weight: 900; color: var(--win); font-variant-numeric: tabular-nums; }
.lock { margin-top: 12px; background: var(--accent); color: var(--on-accent); text-align: center; font-weight: 900; padding: 14px; border-radius: 14px; }
section { padding: 36px 0; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; letter-spacing: -.01em; margin: 0 0 8px; }
.sub { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0 0 22px; max-width: 60ch; }
.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid.two, .grid.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 20px; }
.card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--raised); margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 14px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 20px; }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--coin); color: #16152B; font-weight: 900; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 15px; }
.faq details { background: var(--surface); border: 1px solid var(--outline); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.invite { background: linear-gradient(135deg, rgba(183, 156, 255, .18), rgba(61, 255, 176, .10)); border: 1px solid var(--outline); border-radius: 28px; padding: 28px 20px; text-align: center; }
.invite .sub { margin: 8px auto 20px; }
.invite .ctas { justify-content: center; }
footer { padding: 28px 0 48px; color: var(--faint); font-size: 13px; border-top: 1px solid var(--outline); margin-top: 24px; line-height: 1.6; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .slip { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
