/* ════════════════════════════════════════════════════════════════════════
   OffQen — Offline-First Digital Payments
   Professional · Dark · Minimal · Offline-First Payments
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Palette ── */
  --bg: #070a13;
  --bg-2: #0c1222;
  --bg-3: #111827;
  --bg-4: #14203a;
  --surface: rgba(148, 163, 184, 0.04);
  --surface-2: rgba(148, 163, 184, 0.07);
  --surface-3: rgba(148, 163, 184, 0.09);
  --border: rgba(148, 163, 184, 0.09);
  --border-strong: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --text-dim: #94a3b8;
  --text-faint: #64748b;
  --text-soft: #cbd5e1;
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --accent-glow: rgba(16, 185, 129, 0.22);
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --amber: #f59e0b;
  --red: #f43f5e;
  --green: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --nav-h: 68px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6fb;
    --bg-2: #e7ecf3;
    --bg-3: #dde3ec;
    --bg-4: #d2d9e4;
    --surface: rgba(15, 23, 42, 0.03);
    --surface-2: rgba(15, 23, 42, 0.05);
    --surface-3: rgba(15, 23, 42, 0.07);
    --border: rgba(15, 23, 42, 0.10);
    --border-strong: rgba(15, 23, 42, 0.18);
    --text: #0b1120;
    --text-dim: #475569;
    --text-faint: #94a3b8;
    --text-soft: #334155;
    --accent: #059669;
    --accent-soft: rgba(5, 150, 105, 0.12);
    --accent-glow: rgba(5, 150, 105, 0.22);
    --cyan: #0284c7;
    --violet: #7c3aed;
    --amber: #d97706;
    --red: #dc2626;
    --green: #059669;
  }
}

/* ── Reset & base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #020c12;
}

/* ── Container ── */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.center {
  text-align: center;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -44px;
  left: 0;
  padding: 10px 18px;
  background: var(--accent);
  color: #020c12;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

/* ── Typography ── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 680px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.gradient-text {
  background: linear-gradient(100deg, #10b981 0%, #22d3ee 60%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Sections ── */
.section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: var(--bg-2);
}

.container-narrow {
  width: min(820px, 92%);
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.step-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-icon {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #020c12;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.btn-ghost {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-danger {
  background: var(--red);
  color: #fff;
}

.btn-danger:hover {
  transform: translateY(-2px);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 1001;
}

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 19, 0.62);
  backdrop-filter: blur(14px);
}

.nav.scrolled {
  background: rgba(7, 10, 19, 0.92);
  border-bottom-color: var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links > a:not(.btn) {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dim);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.nav-links > a:not(.btn):hover,
.nav-links > a:not(.btn).active {
  color: var(--text);
}

.nav-links > a:not(.btn):hover::after,
.nav-links > a:not(.btn).active::after {
  width: 100%;
}

.nav-links .nav-optional {
  opacity: 0.7;
}

.nav-links .nav-optional:hover {
  opacity: 1;
}

.nav-toggle,
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 1002;
}

.nav-toggle .bar,
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-toggle.open .bar:nth-child(1),
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2),
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3),
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta {
  margin-left: 12px;
}

/* ── Theme toggle ── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 100px) 0 110px;
  background:
    radial-gradient(600px 400px at 85% -10%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(460px 380px at 10% 110%, rgba(34, 211, 238, 0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0;
}

.hero-glow-1 {
  width: 560px;
  height: 560px;
  background: rgba(16, 185, 129, 0.10);
  top: -180px;
  left: -180px;
}

.hero-glow-2 {
  width: 460px;
  height: 460px;
  background: rgba(34, 211, 238, 0.08);
  bottom: -200px;
  right: -160px;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 660px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 44px auto 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.hero-connect {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.hero-connect svg {
  width: 20px;
  height: 20px;
  color: var(--text-faint);
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

/* ── Stats strip ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.4;
}

.stats-note {
  color: var(--text-faint);
  font-size: 0.8rem;
  margin-top: 14px;
}

.count {
  font-variant-numeric: tabular-nums;
}

/* ── CTA ── */
.cta-section {
  padding: 120px 0;
}

.cta-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.07), rgba(34, 211, 238, 0.07));
  z-index: 0;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 620px;
  margin: 0 auto;
}

.cta-card h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-card p {
  color: var(--text-soft);
  margin-bottom: 34px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-connect {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.cta-note {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: 14px;
}

/* ── Footer ── */
.footer {
  padding: 80px 0 60px;
  border-top: 1px solid var(--border);
  background: var(--bg-3);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .brand {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 10px;
}

.footer-legal {
  color: var(--text-faint);
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--text);
}

.footer-site {
  margin-top: 18px;
}

.footer-site a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-site a:hover {
  color: var(--text);
}

/* ── Simulator ── */
.simulator {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-top: 44px;
}

.sim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.sim-title h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.sim-sub {
  font-size: 0.86rem;
  color: var(--text-dim);
}

.sim-net {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
}

.sim-net.offline-mode {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.status-dot.offline {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.status-dot.online {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.sim-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
  display: block;
}

.amount-input {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-currency {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
}

.amount-input input {
  width: 100%;
  padding: 13px 14px 13px 38px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.98rem;
}

.amount-input input:focus {
  outline: 0;
  border-color: var(--accent);
}

select {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}

select:focus {
  outline: 0;
  border-color: var(--accent);
}

.sim-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-dim);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.hint-icon {
  color: #f59e0b;
}

.sim-demo-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.sim-stage {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.stage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.stage-head .chip {
  text-transform: none;
  letter-spacing: 0.05em;
}

.stage-head .chip.active {
  background: rgba(34, 211, 238, 0.14);
  color: var(--accent);
  border-color: rgba(34, 211, 238, 0.4);
}

.stage-head .chip.done {
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent);
  border-color: rgba(16, 185, 129, 0.4);
}

.phase-tracker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.phase {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-faint);
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.phase.active {
  color: var(--accent);
  border-color: var(--accent-glow);
  background: rgba(16, 185, 129, 0.08);
}

.phase.active .phase-num {
  background: var(--accent);
  color: #020c12;
}

.phase.done {
  color: var(--accent);
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.07);
}

.phase-num {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.stp-log {
  background: #030712;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.log-line {
  margin-bottom: 6px;
  line-height: 1.6;
}

.log-line.muted {
  color: var(--text-faint);
}

.stp-json {
  background: #030712;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  overflow-x: auto;
  white-space: pre;
}

.stp-json code {
  color: var(--text);
}

/* ── Q&A search ── */
.qa-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 90px;
}

.qa-hero-inner {
  max-width: 820px;
}

.qa-search {
  position: relative;
  margin-bottom: 24px;
}

.qa-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-faint);
  pointer-events: none;
}

.qa-search input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color 0.2s ease;
}

.qa-search input:focus {
  outline: 0;
  border-color: var(--accent);
}

.qa-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.qa-chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.qa-chip.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.qa-count {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.qa-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-dim);
}

.qa-empty strong {
  color: var(--amber);
  font-weight: 700;
}

.qa-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
  padding-top: 24px;
}

.qa-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.qa-item:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
}

.qa-item[open] {
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--surface-3);
}

.qa-item summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  outline: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: var(--text-faint);
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.qa-item[open] summary::after {
  transform: rotate(180deg);
}

.qa-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 6px;
  min-width: 44px;
  text-align: center;
}

.qa-q {
  font-weight: 700;
  flex: 1;
}

.qa-body {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.72;
}

.qa-body p {
  margin-bottom: 12px;
}

.qa-body ul {
  padding-left: 20px;
}

.qa-body li {
  margin-bottom: 6px;
}

.qa-item pre {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-soft);
  overflow-x: auto;
  margin: 12px 0;
  white-space: pre-wrap;
}

/* ── Transactions ── */
.trans-section {
  padding: 100px 0;
}

.trans-inner {
  max-width: 980px;
}

.trans-feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.trans-step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.trans-step-row:last-of-type {
  border-bottom: 0;
}

.trans-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 12px;
  border-radius: 8px;
  min-width: 42px;
  text-align: center;
}

.trans-step-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.trans-step-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

.trans-diagram {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.trans-diagram-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.trans-state {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.trans-state-title {
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.trans-state-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.trans-state.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.trans-state.terminal {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.trans-state.offline {
  border-color: var(--amber);
  background: rgba(245, 158, 11, 0.08);
}

.trans-state.sync {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.08);
}

.trans-state.settled {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ── Nepal ── */
.nepal-section {
  padding: 100px 0;
}

.nepal-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.nepal-feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.nepal-feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.nepal-feature-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.nepal-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.nepal-stage {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.nepal-stage h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.nepal-stage p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Why ── */
.why-section {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ── Assets ── */
.assets-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 90px;
}

.assets-hero-inner {
  max-width: 900px;
}

.assets-hero-inner .section-title {
  margin-bottom: 14px;
}

.assets-hero-inner .section-sub {
  margin-top: 10px;
  max-width: 720px;
}

.assets-hero-inner .hero-tags {
  margin-top: 22px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.asset-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.asset-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.asset-card .asset-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.asset-card .asset-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.asset-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.asset-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.asset-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.asset-block {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 32px;
}

.asset-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.asset-block-head h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.asset-block p {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ── 404 ── */
.not-found {
  padding: 140px 0;
  text-align: center;
}

.not-found .hero-title {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
}

.not-found .hero-sub {
  max-width: 560px;
  margin: 18px auto 0;
}

/* ── Site manifest ── */
/* site.webmanifest is a static file, not CSS */
