:root {
  --bg: #0a0f1c;
  --surface: #121a2e;
  --surface-2: #182238;
  --border: #24304a;
  --primary: #03A9F4;
  --secondary: #0054b4;
  --accent: #82B1FF;
  --success: #00b991;
  --text: #eef3fa;
  --muted: #93A1B8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.55;
}

h1, h2, h3, .brand__name {
  font-family: 'Comfortaa', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

/* Topbar */
.topbar {
  padding: 20px 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand__mark--sm {
  width: 24px;
  height: 24px;
}

.brand__name {
  font-size: 1.1rem;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.btn--primary {
  background: var(--primary);
  color: #051524;
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: #29bdf6;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
}

.btn--ghost:hover {
  border-color: var(--primary);
}

.btn--text {
  color: var(--accent);
  padding: 12px 6px;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  color: var(--text);
  max-width: 14ch;
}

.hero__lede {
  margin-top: 20px;
  font-size: 1.08rem;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Balance card illustration */
.balance-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  max-width: 360px;
  margin-left: auto;
  box-shadow: 0 30px 60px -25px rgba(3, 169, 244, 0.25);
}

.balance-card__row--head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.balance-card__amount {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.balance-card__label {
  font-size: 0.8rem;
  color: var(--muted);
}

.balance-card__value {
  font-family: 'Comfortaa', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--success);
}

.balance-card__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}

.balance-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-card__list b {
  margin-left: auto;
  color: var(--text);
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #051524;
  flex-shrink: 0;
}

.avatar--a {
  background: var(--accent);
}

.avatar--b {
  background: var(--primary);
}

.balance-card__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

/* How it works */
.how {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.how h2 {
  font-size: 1.6rem;
  max-width: 20ch;
  margin-bottom: 40px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  position: relative;
  padding-left: 4px;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--primary);
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.94rem;
}

/* Features */
.features {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.features h2 {
  font-size: 1.6rem;
  max-width: 20ch;
  margin-bottom: 36px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.feature {
  background: var(--surface);
  padding: 26px 28px;
  border-left: 3px solid transparent;
}

.feature h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.94rem;
}

.feature--primary {
  border-left-color: var(--primary);
}

.feature--secondary {
  border-left-color: var(--secondary);
}

.feature--accent {
  border-left-color: var(--accent);
}

.feature--success {
  border-left-color: var(--success);
}

/* CTA */
.cta {
  padding: 64px 0 80px;
  border-top: 1px solid var(--border);
}

.cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta h2 {
  font-size: 1.7rem;
  max-width: 22ch;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__links {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .balance-card {
    margin: 0;
    max-width: 420px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}