:root {
  --bp-green: #00B86A;
  --bp-green-2: #00D084;
  --bp-green-3: #E9FFF5;
  --bp-navy: #101828;
  --bp-ink: #1B202C;
  --bp-muted: #667085;
  --bp-line: #E4E7EC;
  --bp-soft: #F7F9FC;
  --bp-glow: rgba(0, 184, 106, .22);
}

* { letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #fff; color: var(--bp-ink); }
a { color: var(--bp-green); text-decoration: none; }
.btn, .form-control, .form-select { min-height: 44px; }
.btn-success { background: linear-gradient(135deg, var(--bp-green), var(--bp-green-2)); border-color: var(--bp-green); color: #fff; box-shadow: 0 10px 22px rgba(0,184,106,.2); }
.btn-outline-success { border-color: var(--bp-green); color: var(--bp-green); }
.btn-outline-success:hover { background: var(--bp-green); border-color: var(--bp-green); }
.brand-mark { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--bp-green), #0B8F5D); color: #fff; font-weight: 800; box-shadow: 0 12px 28px var(--bp-glow); }
.site-nav { padding: 14px 0; border-bottom: 1px solid rgba(0,184,106,.14); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.nav-shell { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.site-links { display: flex; align-items: center; justify-content: center; gap: 6px; }
.site-links a { color: #344054; padding: 10px 12px; border-radius: 8px; font-weight: 650; }
.site-links a:hover { background: var(--bp-green-3); color: #027A48; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; min-height: 44px; border: 1px solid var(--bp-line); background: #fff; border-radius: 8px; padding: 0 14px; color: var(--bp-navy); font-weight: 800; }
.hero { background:
  radial-gradient(circle at 80% 20%, rgba(0,208,132,.28), transparent 32%),
  linear-gradient(135deg, #06251A 0%, #0B2E23 48%, #101828 100%);
  color: #fff; padding: 76px 0 52px; overflow: hidden; }
.hero-compact { padding: 54px 0 42px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 5rem); line-height: .95; font-weight: 850; max-width: 960px; }
.hero p { color: #D0D5DD; max-width: 720px; font-size: 1.2rem; }
.eyebrow { display: inline-flex; color: #027A48; background: #D1FADF; border: 1px solid rgba(0,184,106,.22); border-radius: 999px; padding: 6px 10px; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.hero .eyebrow { background: rgba(255,255,255,.12); color: #A6F4C5; border-color: rgba(255,255,255,.18); }
.hero-console { width: min(100%, 520px); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.08); box-shadow: 0 24px 70px rgba(0,0,0,.22); backdrop-filter: blur(18px); padding: 16px; }
.console-top { display: flex; gap: 6px; margin-bottom: 14px; }
.console-top span { width: 10px; height: 10px; border-radius: 50%; background: #A6F4C5; }
.console-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: #F9FAFB; }
.feature-band { padding: 68px 0; background: linear-gradient(180deg, #fff 0%, #F4FBF7 100%); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { margin-top: 12px; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 850; color: var(--bp-navy); }
.panel, .metric-card, .table-shell, .auth-card, .premium-card { border: 1px solid rgba(0,184,106,.13); border-radius: 10px; background: #fff; box-shadow: 0 14px 42px rgba(16,24,40,.07); }
.metric-card, .premium-card { padding: 20px; min-height: 126px; position: relative; overflow: hidden; }
.metric-card::before, .premium-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--bp-green), var(--bp-green-2)); }
.premium-card { display: grid; gap: 14px; align-content: start; }
.card-step { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--bp-green-3); color: #027A48; font-weight: 850; }
.metric-label { color: var(--bp-muted); font-size: .86rem; }
.metric-value { font-size: 1.55rem; font-weight: 800; color: var(--bp-navy); }
.status-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.status-paid, .status-approved, .status-active { background: #D1FADF; color: #027A48; }
.status-pending, .status-created, .status-processing, .status-submitted, .status-more_info { background: #FEF0C7; color: #B54708; }
.status-failed, .status-rejected, .status-suspended { background: #FEE4E2; color: #B42318; }
.status-cancelled, .status-expired, .status-revoked, .status-not_requested, .status-not_submitted, .status-none { background: #EAECF0; color: #344054; }
.status-verified { background: #D1FADF; color: #027A48; }
.dashboard-layout { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; background: linear-gradient(180deg, #F4FBF7 0%, #F7F9FC 100%); }
.sidebar { background: linear-gradient(180deg, #08271C 0%, #101828 100%); color: #fff; padding: 22px; position: sticky; top: 0; height: 100vh; }
.sidebar-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar a { color: #D0D5DD; padding: 13px 12px; border-radius: 8px; min-height: 44px; display: flex; align-items: center; font-weight: 650; }
.sidebar a:hover { color: #fff; background: rgba(0,184,106,.18); }
.dash-main { padding: 24px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.table-shell { overflow: hidden; }
.table { margin-bottom: 0; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; background: var(--bp-soft); padding: 28px; }
.auth-card { width: min(100%, 520px); padding: 28px; }
.auth-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.checkout-shell { min-height: 100vh; display: grid; place-items: center; background: #F3F7F5; padding: 24px; }
.checkout-card { width: min(100%, 560px); border-radius: 12px; background: #fff; border: 1px solid rgba(0,184,106,.15); box-shadow: 0 22px 70px rgba(16,24,40,.12); padding: 28px; }
.amount-pill { background: #ECFDF3; color: #027A48; border-radius: 8px; padding: 12px 14px; font-weight: 800; font-size: 1.3rem; }
.empty-state { border: 1px dashed var(--bp-line); border-radius: 8px; padding: 28px; text-align: center; color: var(--bp-muted); background: #fff; }
.code-block { background: #0B1220; color: #D6E2FF; border-radius: 8px; padding: 16px; overflow: auto; }
.docs-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.docs-nav { position: sticky; top: 18px; display: grid; gap: 8px; }
.docs-nav a { color: var(--bp-muted); padding: 8px 10px; border-radius: 8px; }
.docs-nav a:hover { background: var(--bp-soft); color: var(--bp-navy); }
.docs-content h2 { color: var(--bp-navy); font-weight: 800; }
.code-wrap { position: relative; margin: 12px 0; }
.code-wrap .btn { position: absolute; top: 10px; right: 10px; z-index: 2; }
.code-wrap .code-block { padding-top: 48px; }
.site-footer { background: #061C15; color: #D0D5DD; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.site-footer a { display: block; color: #A6F4C5; padding: 6px 0; }
.site-footer strong { display: block; color: #fff; margin-bottom: 10px; }
@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; z-index: 15; height: auto; padding: 14px; }
  .sidebar-brand { margin-bottom: 12px; }
  .sidebar nav { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 2px; scrollbar-width: none; }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .sidebar a { flex: 0 0 auto; background: rgba(255,255,255,.07); white-space: nowrap; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .docs-shell { grid-template-columns: 1fr; }
  .docs-nav { position: relative; top: auto; }
  .nav-shell { grid-template-columns: auto auto; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; justify-self: end; }
  .site-links { display: none; grid-column: 1 / -1; width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; }
  .site-links.is-open { display: grid; }
  .site-links a { background: var(--bp-green-3); }
  .nav-actions { grid-column: 1 / -1; width: 100%; }
  .nav-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dash-main { padding: 14px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 2.35rem; }
  .auth-shell { padding: 14px; align-items: start; }
  .auth-card { padding: 20px; margin-top: 12px; }
  .metric-card, .premium-card, .panel, .auth-card, .checkout-card { border-radius: 10px; }
  .table-shell { border-radius: 10px; }
  .table { min-width: 760px; }
  .site-links { grid-template-columns: 1fr; }
  .console-row { font-size: .92rem; }
}
