:root {
  --navy: #0b1f3a;
  --navy-deep: #071526;
  --navy-mid: #143154;
  --orange: #ff6a12;
  --orange-deep: #e85d04;
  --lime: #86d000;
  --ink: #122033;
  --ink-soft: #3d4d61;
  --muted: #4f5a68;
  --paper: #f5f7fa;
  --paper-2: #eef2f7;
  --card: #ffffff;
  --line: rgba(11, 31, 58, 0.1);
  --shadow: 0 16px 40px rgba(11, 31, 58, 0.08);
  --radius: 16px;
  --nav-h: 84px;
  --logo-h: 56px;
  --logo-w: 208px;
  --max: 1120px;
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand img {
  display: block;
  height: var(--logo-h);
  width: var(--logo-w);
  max-width: min(var(--logo-w), calc(100vw - 104px));
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-links a:focus-visible,
.store-badge:focus-visible,
.btn:focus-visible {
  outline: 2px solid #ffb347;
  outline-offset: 3px;
}

.nav-links .btn-primary {
  color: #fff;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  border-radius: 10px;
  flex-shrink: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 750;
  padding: 12px 18px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-primary {
  background: var(--orange-deep);
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.28);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero-copy,
.hero-preview {
  min-width: 0;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero h1,
.page-hero h1,
.section h2 {
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 16px 0 14px;
  color: var(--navy);
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 14ch;
}

.lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0;
}

.hero-subhead {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--ink);
  max-width: 34rem;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.store-badge img,
img.store-badge-img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.fineprint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.devices {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 520px;
  margin: 0 auto;
}

.phone {
  width: 270px;
  max-width: 100%;
  background: var(--navy);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow);
  color: #fff;
}

.phone-screen {
  background: var(--navy-mid);
  border-radius: 28px;
  min-height: 470px;
  overflow: hidden;
  padding: 16px;
}

.phone-main {
  position: absolute;
  right: 18px;
  top: 10px;
  z-index: 2;
}

.phone-alt {
  position: absolute;
  left: 0;
  top: 70px;
  transform: scale(0.92) rotate(-6deg);
  opacity: 0.96;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #d7e2ef;
  margin-bottom: 14px;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 16px;
}

.phone-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.balance {
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 14px;
  padding: 16px;
}

.balance small {
  font-weight: 700;
  opacity: 0.9;
  color: #ffb347;
}

.balance strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.txn,
.budget-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

.section {
  padding: clamp(48px, 7vw, 72px) 0;
}

.section.alt {
  background: #fff;
}

.section.dark {
  background: var(--navy);
  color: #f4f7fb;
}

.section.dark h2 {
  color: #fff;
}

.kicker {
  color: #c2410c;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.section.dark .kicker {
  color: var(--lime);
}

.feature-grid {
  margin-top: 28px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
}

.card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section.dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.section.dark .card h3 {
  color: #fff;
}

.icon-pill {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.steps {
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
}

.page-hero {
  padding: 48px 0 12px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose a {
  color: var(--navy-mid);
  font-weight: 700;
}

.legal-flag {
  background: #fff8e8;
  border: 1px solid #ead7a0;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
  color: #5b4708;
}

.disclaimer {
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.related {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-size: 1.1rem;
  margin: 0 0 12px;
  color: var(--navy);
}

.related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.related a {
  color: var(--navy-mid);
  font-weight: 700;
  text-decoration: none;
}

.related a:hover,
.related a:focus {
  text-decoration: underline;
}

.footer {
  background: var(--navy-deep);
  color: #e6edf5;
  padding: 48px 0 24px;
}

.footer a {
  color: #e6edf5;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand img,
.footer-brand img.wordmark {
  width: var(--logo-w);
  height: var(--logo-h);
  max-width: min(var(--logo-w), 70%);
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer p {
  color: rgba(230, 237, 245, 0.78);
  max-width: 28rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  color: #93a4b8;
  font-size: 0.9rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
  color: var(--navy);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-panel a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: none;
}

@media (min-width: 1100px) {
  .nav-panel,
  .nav-panel[hidden] {
    display: block !important;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
  }
}

@media (max-width: 1099px) {
  :root {
    --nav-h: 76px;
    --logo-h: 50px;
    --logo-w: 186px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 20px 20px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links a {
    padding: 6px 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .devices {
    min-height: 0;
    max-width: 280px;
  }

  .phone-main,
  .phone-alt {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
  }

  .phone-alt {
    display: none;
  }

  .phone {
    width: 100%;
  }

  .phone-screen {
    min-height: 420px;
  }

  img.store-badge-img,
  .store-badge img {
    height: 42px;
    max-width: 156px;
  }
}

@media (max-width: 699px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .grid-3,
  .grid-4,
  .grid-2,
  .footer-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .store-row {
    gap: 10px;
  }

  img.store-badge-img,
  .store-badge img {
    height: 40px;
    max-width: 148px;
  }
}

@media (max-width: 479px) {
  :root {
    --nav-h: 72px;
    --logo-h: 44px;
    --logo-w: 164px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  img.store-badge-img,
  .store-badge img {
    height: 36px;
    max-width: 136px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .store-badge,
  * {
    transition: none !important;
  }
}
