/* FUTA – styles.css */
:root {
  --bg: #f8fafc;           /* slate-50 */
  --text: #0f172a;         /* slate-900 */
  --muted: #64748b;        /* slate-500 */
  --muted-2: #475569;      /* slate-600 */
  --border: #e2e8f0;       /* slate-200 */
  --card: #ffffff;
  --dark: #0f172a;         /* dark card */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Layout helpers */
.container { max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.section { padding: 80px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 28px; font-weight: 800; margin: 0 0 24px; }
.center { text-align: center; }
.tiny { font-size: 12px; color: var(--muted); margin-top: 8px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: #334155; margin: 16px 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 8px; }
.logo { width: 32px; height: 32px; border-radius: 16px; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 800; }
.brand-name { font-weight: 600; }
.main-nav { display: none; gap: 24px; }
.main-nav a { color: var(--text); text-decoration: none; font-size: 14px; }
.main-nav a:hover { color: #334155; }
.cta-group { display: flex; gap: 8px; }

@media (min-width: 768px) { .main-nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { background: #f1f5f9; }
.btn-block { width: 100%; background: #fff; color: var(--text); padding: 12px 16px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; }

/* Hero */
.hero-title { font-size: 40px; line-height: 1.2; font-weight: 800; margin: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 1px 0 rgba(15,23,42,0.04); padding: 24px; }
.card--dark { background: var(--dark); color: #fff; }
.card h3 { margin: 0 0 8px; font-weight: 600; }
.card p { margin: 8px 0 0; color: #475569; }
.card--dark p { color: rgba(255,255,255,.9); }

/* Demo payment widget */
.demo-card { background: var(--dark); color: #fff; border-radius: 16px; padding: 16px; }
.demo-meta { display: flex; justify-content: space-between; font-size: 13px; opacity: .8; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; font-size: 14px; }
.demo-cell { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px; }
.demo-label { opacity: .7; font-size: 12px; }
.demo-value { font-weight: 600; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* How steps */
.step { width: 40px; height: 40px; border-radius: 16px; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* Trust */
.trust-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.trust-grid ul { margin: 0; padding: 0; list-style: none; color: #475569; }
.trust-grid li { margin: 8px 0; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* Waitlist */
.waitlist-form { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 560px; margin: 24px auto 0; }
.waitlist-form input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 16px; outline: none; }
.waitlist-form input:focus { box-shadow: 0 0 0 3px #cbd5e1; }
@media (min-width: 520px) { .waitlist-form { grid-template-columns: 1fr auto; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 20px 0; color: #475569; font-size: 14px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* --- How it works toggle --- */
.role-badge{display:inline-block;font-size:12px;font-weight:600;background:#e2e8f0;color:#0f172a;padding:4px 8px;border-radius:9999px;margin-bottom:8px}
.toggle{display:inline-flex;gap:4px;background:#fff;border:1px solid var(--border);border-radius:9999px;padding:4px;margin-bottom:16px}
.toggle-btn{border:0;background:transparent;padding:8px 12px;border-radius:9999px;font-weight:600;cursor:pointer;color:#0f172a}
.toggle-btn.is-active{background:#0f172a;color:#fff}
.hidden{display:none !important}

