:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --ink: #1e293b;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f1f5f9;
  --border: #e2e8f0;
  --danger-bg: #fef2f2;
  --danger-ink: #b91c1c;
  --ok-bg: #f0fdf4;
  --ok-ink: #15803d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Nav */
.nav { border-bottom: 1px solid var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero { text-align: center; padding: 4.5rem 0 3.5rem; }
.hero h1 { font-size: 2.4rem; line-height: 1.2; max-width: 760px; margin: 0 auto 1rem; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto 2rem; }
.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.65rem 1.4rem; border-radius: 8px;
  font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--bg-soft); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-block { display: block; width: 100%; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-soft); }
.section h2 { text-align: center; font-size: 1.7rem; margin-bottom: 2rem; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.step-num {
  display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: #fff; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 0.75rem;
}

/* Pricing */
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 1.25rem; justify-content: center; }
.price-card { text-align: center; }
.price-card .amount { font-size: 2.2rem; font-weight: 800; margin: 0.5rem 0; }
.price-card .amount small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-card ul { list-style: none; margin: 1rem 0 1.5rem; color: var(--muted); }
.price-card li { padding: 0.25rem 0; }
.price-note { text-align: center; color: var(--muted); margin-top: 1.25rem; font-size: 0.95rem; }

/* FAQ */
.faq-item { max-width: 760px; margin: 0 auto 1.5rem; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.faq-item p { color: var(--muted); }

/* Forms */
.form-page { max-width: 460px; margin: 3.5rem auto; padding: 0 1.25rem; }
.form-page h1 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-page > p { color: var(--muted); margin-bottom: 1.5rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
.field input {
  width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border);
  border-radius: 8px; font-size: 1rem;
}
.field input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form-footnote { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

/* Alerts */
.alert { border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.95rem; }
.alert-error { background: var(--danger-bg); color: var(--danger-ink); }
.alert-warn { background: #fffbeb; color: #92400e; font-weight: 600; }
.alert-ok { background: var(--ok-bg); color: var(--ok-ink); }

/* Token panel */
.token-box {
  font-family: ui-monospace, Consolas, monospace; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 8px; padding: 0.85rem 1rem;
  word-break: break-all; margin: 0.75rem 0; font-size: 0.95rem;
}
.next-steps { margin: 1.25rem 0 0 1.25rem; color: var(--muted); }
.next-steps li { margin-bottom: 0.4rem; }

/* Status pages */
.status-page { text-align: center; max-width: 560px; margin: 5rem auto; padding: 0 1.25rem; }
.status-page .mark { font-size: 3rem; margin-bottom: 1rem; }
.status-page h1 { font-size: 1.7rem; margin-bottom: 0.75rem; }
.status-page p { color: var(--muted); margin-bottom: 1.5rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; margin-top: 3rem; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: 0.9rem; }
.footer a { color: var(--muted); text-decoration: none; margin-right: 1rem; }
.footer a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .grid, .grid-2, .price-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .nav-links { gap: 0.75rem; font-size: 0.9rem; }
}
