:root {
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --purple-dark: #5b21b6;
  --teal: #14c9a8;
  --teal-light: #5eead4;
  --coral: #f0653c;
  --ink: #150b24;
  --ink-soft: #241535;
  --paper: #ffffff;
  --surface: #f7f5fc;
  --line: #ebe6f5;
  --muted: #6b6478;
  --max: 1140px;
  --header-offset: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  width: 100%;
  overflow-x: clip;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: clip;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow {
  max-width: 720px;
}

h1,
h2,
h3,
.brand,
.screen .app-title,
.nw-amt,
.ta-item .tv,
.chart-amt,
.pricing-price {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1,
h2,
h3 {
  font-weight: 800;
}

::selection {
  background: var(--teal);
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(21, 11, 36, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 16px;
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-cta {
  padding: 10px 18px;
  font-size: 13.5px;
  white-space: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 6px 16px -6px rgba(124, 58, 237, 0.35);
  object-fit: cover;
}

.brand {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.links a {
  font-size: 14.5px;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.links a:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--purple);
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--purple);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -8px rgba(124, 58, 237, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--line);
}

.btn-outline:hover {
  background: var(--surface);
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, rgba(124, 58, 237, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 201, 168, 0.14) 0%, rgba(20, 201, 168, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.eyebrow-dark {
  color: #c4b5fd;
}

.hero h1 {
  font-size: clamp(30px, 5.5vw, 38px);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-line {
  display: block;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--purple) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 881px) {
  .hero h1 {
    font-size: clamp(32px, 2.4vw, 36px);
  }

  .hero-grid {
    grid-template-columns: 1.06fr 0.88fr;
  }

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

  .currency-block {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }

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

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

  .ui-grid--charts {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .showcase-tabs,
  .showcase-explainer,
  .showcase-stage {
    max-width: 800px;
    margin-inline: auto;
  }

  .ui-grid--accounts,
  .ui-grid--goals,
  .ui-grid--charts {
    gap: 12px;
  }

  .acct-card {
    min-height: 104px;
  }

  .goal-ui-card {
    min-height: 156px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .chart-ui-card {
    display: flex;
    flex-direction: column;
    min-height: 158px;
    padding: 14px;
  }

  .chart-ui-value {
    font-size: 22px;
    margin-bottom: 2px;
  }

  .chart-ui-delta {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .chart-ui-pills {
    margin-bottom: 8px;
  }

  .chart-ui-card .chart-ui-svg {
    height: 52px;
    margin-top: auto;
  }

  .chart-ui-donut-wrap {
    width: 88px;
    height: 88px;
    margin: 4px auto 6px;
  }

  .chart-ui-donut-center span {
    font-size: 15px;
  }

  .chart-ui-donut-center small {
    font-size: 9px;
  }

  .chart-ui-legend {
    gap: 4px 10px;
  }

  .chart-ui-legend li {
    font-size: 10px;
  }

  .chart-ui-svg--avl {
    height: 58px;
  }

  .chart-ui-avl {
    margin-bottom: 6px;
  }

  .chart-ui-avl-val {
    font-size: 13px;
  }

  .nav-toggle {
    display: none;
  }

  .links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0;
    gap: 28px;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
  }

  .links a {
    padding: 0;
    border-bottom: none;
  }

  .layout-split .hero-copy {
    display: block;
    text-align: left;
  }

  .layout-split .hero p.lede {
    max-width: 420px;
  }

  .layout-split .stars {
    justify-content: flex-start;
  }

  .layout-split .hero-ctas {
    justify-content: flex-start;
  }

  .layout-split .currency-copy,
  .layout-split .privacy-copy {
    text-align: left;
  }

  .layout-split .currency-copy p,
  .layout-split .privacy-lede {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero p.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 26px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.stars .row {
  display: flex;
  gap: 3px;
}

.stars svg {
  width: 19px;
  height: 19px;
  color: #fbbf24;
}

.star-partial {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
}

.star-partial svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 19px;
  height: 19px;
}

.star-partial .star-empty {
  color: #e8e4ef;
}

.star-partial .star-filled {
  color: #fbbf24;
  clip-path: inset(0 25% 0 0);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.app-store-link {
  display: inline-block;
  transition: transform 0.15s ease;
}

.app-store-link:hover {
  transform: translateY(-2px);
}

.app-store-link img {
  height: 54px;
  width: auto;
}

.app-store-link--light img {
  height: 60px;
}

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone {
  width: 290px;
  background: var(--ink);
  border-radius: 38px;
  padding: 14px;
  box-shadow: 0 40px 80px -30px rgba(21, 11, 36, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
}

.phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 5;
}

.screen {
  background: var(--ink);
  border-radius: 26px;
  padding: 34px 16px 16px;
  overflow: hidden;
}

.screen .app-title {
  color: #fff;
  font-size: 15px;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 800;
}

.screen .label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}

.card {
  background: var(--ink-soft);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}

.card .ch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.card .ch span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
}

.card .ch svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.nw-amt {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

.nw-delta {
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.mini-chart {
  display: block;
  margin: 0 -2px 4px;
  overflow: visible;
}

.avl-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.avl-text b.a {
  color: var(--teal-light);
  font-weight: 700;
}

.avl-text b.l {
  color: var(--coral);
  font-weight: 700;
}

.bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  margin-bottom: 8px;
}

.bar .seg-a {
  background: var(--teal);
  width: 89%;
}

.bar .seg-l {
  background: var(--coral);
  width: 11%;
}

.legend {
  display: flex;
  gap: 14px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}

.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
}

.top-assets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.ta-item {
  background: var(--ink-soft);
  border-radius: 12px;
  padding: 12px;
}

.ta-item .ti {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ta-item .ti svg {
  width: 12px;
  height: 12px;
  color: var(--teal-light);
}

.ta-item .tv {
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
}

.tabbar {
  display: flex;
  justify-content: space-around;
  padding-top: 16px;
  margin-top: 4px;
}

.tabbar .t {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tabbar .t svg {
  width: 18px;
  height: 18px;
}

.tabbar .t.active svg,
.tabbar .t.active span {
  color: var(--purple-light);
}

.tabbar .t span {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

/* Strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 22px 28px;
}

.strip .item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink);
  opacity: 0.75;
  font-weight: 500;
}

.strip .item svg {
  width: 17px;
  height: 17px;
  color: var(--purple);
}

/* Sections */
section {
  padding: 96px 0;
}

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

.section-head {
  max-width: 600px;
  margin-bottom: 56px;
  scroll-margin-top: var(--header-offset);
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.heading-line {
  display: block;
}

.section-head p {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 480px;
}

/* Section layout alignment */
.layout-split .hero-copy,
.layout-split .currency-copy,
.layout-split .privacy-copy,
.layout-split .cta-band > div:first-child {
  text-align: left;
}

.layout-stack {
  text-align: center;
}

.layout-stack .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.layout-stack .section-head p {
  margin-left: auto;
  margin-right: auto;
}

.layout-stack .pricing-grid,
.layout-stack .reviews-grid {
  margin-left: auto;
  margin-right: auto;
}

.layout-stack .feature-grid,
.layout-stack .app-showcase,
.layout-stack .faq-list {
  text-align: left;
}

.layout-stack .steps {
  text-align: left;
}

.layout-stack.partner-inner .partner-copy {
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  background: var(--paper);
  padding: 34px 30px;
}

.feature .ficon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature:nth-child(3n + 1) .ficon {
  background: rgba(124, 58, 237, 0.1);
}

.feature:nth-child(3n + 2) .ficon {
  background: rgba(20, 201, 168, 0.12);
}

.feature:nth-child(3n) .ficon {
  background: rgba(240, 101, 60, 0.1);
}

.feature:nth-child(3n + 1) .ficon svg {
  color: var(--purple);
}

.feature:nth-child(3n + 2) .ficon svg {
  color: var(--teal);
}

.feature:nth-child(3n) .ficon svg {
  color: var(--coral);
}

.feature .ficon svg {
  width: 20px;
  height: 20px;
}

.ficon--text {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.feature:nth-child(3n + 1) .ficon--text {
  color: var(--purple);
}

.feature:nth-child(3n + 2) .ficon--text {
  color: var(--teal);
}

.feature:nth-child(3n) .ficon--text {
  color: var(--coral);
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 800;
}

.feature p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.screenshots-grid img {
  border-radius: 20px;
  box-shadow: 0 20px 50px -20px rgba(21, 11, 36, 0.25);
  border: 1px solid var(--line);
}

/* App showcase slideshow */
.app-showcase {
  margin-top: 56px;
}

.showcase-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.showcase-explainer {
  max-width: 520px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.showcase-stage {
  position: relative;
}

.showcase-tab {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.showcase-tab:hover {
  color: var(--ink);
  border-color: rgba(124, 58, 237, 0.25);
}

.showcase-tab.is-active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.45);
}

.showcase-panels {
  display: grid;
  position: relative;
}

.showcase-panel {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.showcase-panel.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: showcase-fade 0.45s ease;
}

@keyframes showcase-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* UI grids inside showcase */
.ui-grid--accounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.acct-card {
  background: var(--ink-soft);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px -14px rgba(21, 11, 36, 0.28);
}

.acct-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.acct-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.acct-card--asset .acct-type {
  color: var(--teal);
}

.acct-card--liability .acct-type {
  color: var(--coral);
}

.acct-chevron {
  color: rgba(255, 255, 255, 0.25);
  font-size: 16px;
  line-height: 1;
}

.acct-card .acct-name {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.acct-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.acct-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.acct-balance {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.acct-card--liability .acct-balance {
  color: var(--coral);
}

.acct-alt {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
  text-align: right;
}

.ui-grid--goals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.goal-ui-card {
  background: var(--ink-soft);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px -14px rgba(21, 11, 36, 0.28);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

.goal-ui-card.animate-in {
  animation: goal-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes goal-pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.goal-ring {
  --pct: 50;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: conic-gradient(
    var(--teal) calc(var(--pct) * 1%),
    rgba(255, 255, 255, 0.08) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.goal-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--ink-soft);
}

.goal-ring span {
  position: relative;
  z-index: 1;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.goal-ui-card h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.goal-ui-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.goal-ui-card p span {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.ui-grid--charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.chart-ui-card {
  background: var(--ink-soft);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px -14px rgba(21, 11, 36, 0.28);
}

.chart-ui-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chart-ui-value {
  font-family: 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.chart-ui-delta {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 12px;
}

.chart-ui-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.chart-ui-pills span {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.chart-ui-pills span.is-on {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.chart-ui-svg {
  width: 100%;
  height: 72px;
  display: block;
}

.chart-ui-svg--tall {
  height: 100px;
}

.chart-ui-avl {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.chart-ui-avl-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.chart-ui-avl-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chart-ui-avl-val {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.chart-ui-avl-val--asset {
  color: var(--teal-light);
}

.chart-ui-avl-val--liab {
  color: var(--coral);
}

.chart-ui-svg--avl {
  height: 80px;
}

.chart-ui-donut-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 8px auto 12px;
}

.chart-ui-donut {
  width: 100%;
  height: 100%;
}

.chart-ui-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.chart-ui-donut-center span {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.chart-ui-donut-center small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.chart-ui-legend {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.chart-ui-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.chart-ui-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chart-ui-legend--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 880px) {
  .ui-grid--accounts {
    grid-template-columns: repeat(2, 1fr);
  }

  .ui-grid--goals {
    grid-template-columns: repeat(2, 1fr);
  }

  .ui-grid--accounts .acct-card:nth-child(n + 5),
  .ui-grid--goals .goal-ui-card:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 520px) {
  .ui-grid--accounts,
  .ui-grid--goals {
    grid-template-columns: 1fr;
  }

  .ui-grid--charts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-panel {
    animation: none;
  }

  .goal-ui-card {
    opacity: 1;
    transform: none;
  }

  .goal-ui-card.animate-in {
    animation: none;
  }
}

/* Currency section */
.section-currencies {
  background: var(--surface);
  padding: 96px 0;
}

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

.currency-copy {
  scroll-margin-top: var(--header-offset);
}

.currency-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}

.currency-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.currency-sub {
  margin-top: 12px;
  font-size: 14.5px !important;
}

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

.currency-bubbles {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 300px;
  margin: 0 auto;
}

@keyframes bubble-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -6px rgba(21, 11, 36, 0.12);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--ink);
  animation: bubble-float 4s ease-in-out infinite;
}

.bubble-main {
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  margin-left: -44px;
  margin-top: -44px;
  font-size: 36px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff;
  border: none;
  box-shadow: 0 16px 40px -10px rgba(124, 58, 237, 0.45);
  z-index: 2;
  animation-duration: 5s;
}

.bubble-xl {
  width: 72px;
  height: 72px;
  font-size: 28px;
}

.bubble-lg {
  width: 60px;
  height: 60px;
  font-size: 24px;
}

.bubble-md {
  width: 50px;
  height: 50px;
  font-size: 18px;
}

.bubble-sm {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.bubble-xs {
  width: 36px;
  height: 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pos-1  { left: 8%;  top: 12%; animation-delay: 0s;    animation-duration: 4.2s; }
.pos-2  { left: 72%; top: 8%;  animation-delay: 0.6s;  animation-duration: 3.8s; }
.pos-3  { left: 88%; top: 42%; animation-delay: 1.1s;  animation-duration: 4.5s; }
.pos-4  { left: 78%; top: 72%; animation-delay: 0.3s;  animation-duration: 3.6s; }
.pos-5  { left: 52%; top: 88%; animation-delay: 1.4s;  animation-duration: 4.8s; }
.pos-6  { left: 22%; top: 82%; animation-delay: 0.8s;  animation-duration: 3.9s; }
.pos-7  { left: 2%;  top: 58%; animation-delay: 1.7s;  animation-duration: 4.1s; }
.pos-8  { left: 4%;  top: 28%; animation-delay: 0.2s;  animation-duration: 3.5s; }
.pos-9  { left: 28%; top: 6%;  animation-delay: 1.2s;  animation-duration: 4.4s; }
.pos-10 { left: 48%; top: 4%;  animation-delay: 0.5s;  animation-duration: 3.7s; }
.pos-11 { left: 58%; top: 58%; animation-delay: 1.5s;  animation-duration: 4.6s; }
.pos-12 { left: 18%; top: 48%; animation-delay: 0.9s;  animation-duration: 4.3s; }

@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none;
  }
}

.currency-example {
  width: 100%;
  max-width: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.ce-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.ce-row span:first-child {
  color: var(--muted);
  font-weight: 500;
}

.ce-orig {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.7;
}

.ce-arrow {
  color: var(--teal);
  font-weight: 700;
}

.ce-conv {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--ink);
}

.ce-total {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--purple-dark);
}

/* How it works */
.how {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
}

.how .section-head {
  position: relative;
  margin-bottom: 44px;
}

.how .section-head h2,
.how .section-head p {
  color: #fff;
}

.how .section-head p {
  opacity: 0.6;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.step .snum {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
  color: #fff;
}

.step h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 800;
}

.step p {
  color: #fff;
  opacity: 0.6;
  font-size: 14px;
  line-height: 1.6;
}

/* Privacy */
.section-privacy {
  padding: 96px 0;
}

.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.privacy-copy {
  scroll-margin-top: var(--header-offset);
}

.privacy h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}

.privacy-lede {
  color: var(--muted);
  font-size: 16px;
  max-width: 420px;
}

.privacy-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
}

.privacy-visual .row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
}

.privacy-visual .row:last-child {
  border-bottom: none;
}

.privacy-visual .row .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(20, 201, 168, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-visual .row svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.privacy-visual .row .off {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  background: rgba(124, 58, 237, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  margin: 0;
  box-shadow: 0 8px 30px -12px rgba(21, 11, 36, 0.08);
}

.review-stars {
  color: #fbbf24;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-quote p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
}

.review-quote footer {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--purple);
  box-shadow: 0 16px 48px -16px rgba(124, 58, 237, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.pricing-limit {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-limit strong {
  color: var(--ink);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-card li {
  font-size: 14.5px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  padding-left: 22px;
  position: relative;
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.pricing-alt {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-card .btn {
  width: 100%;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.section-alt .faq-item {
  background: var(--paper);
}

.faq-item summary {
  padding: 18px 22px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--purple);
  transition: transform 0.2s ease;
}

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

.faq-item p {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* Partner */
.section-partner {
  padding: 80px 0;
}

.partner-inner {
  text-align: center;
}

.partner-inner .section-head {
  margin-left: auto;
  margin-right: auto;
}

.partner-inner .section-head p {
  margin-left: auto;
  margin-right: auto;
}

.partner-copy {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

/* CTA band */
.section-cta {
  padding: 0 0 96px;
}

.cta-band {
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-dark) 60%, var(--ink) 130%);
  border-radius: 24px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 201, 168, 0.35), transparent 70%);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  max-width: 440px;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-top: 10px;
  position: relative;
}

.cta-band .app-store-link {
  position: relative;
  z-index: 1;
}

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

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.foot-links {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.foot-links a:hover {
  color: var(--ink);
}

.foot-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 8px;
}

.foot-meta a {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 28px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 40px -12px rgba(21, 11, 36, 0.15);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .links a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 13px;
  }

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

  .layout-split .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .layout-split .hero p.lede {
    max-width: none;
  }

  .layout-split .stars {
    justify-content: center;
  }

  .layout-split .hero-ctas {
    justify-content: center;
  }

  .layout-split .currency-copy {
    text-align: center;
  }

  .layout-split .currency-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .layout-split .privacy-copy {
    text-align: center;
  }

  .layout-split .privacy-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-wrap {
    margin-top: 8px;
  }

  .strip .wrap {
    justify-content: center;
  }

  .review-quote {
    text-align: left;
  }

  .pricing-card {
    text-align: left;
  }

  .pricing-card ul {
    text-align: left;
  }

  .faq-item summary {
    text-align: left;
  }

  .faq-item p {
    text-align: left;
  }

  .currency-block {
    grid-template-columns: 1fr;
  }

  .currency-bubbles {
    height: 260px;
    max-width: 320px;
  }

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

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

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

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

  .how {
    padding: 44px 26px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-band {
    padding: 44px 30px;
    flex-direction: column;
    text-align: center;
  }

  .layout-split.cta-band > div:first-child {
    text-align: center;
  }

  .cta-band h2 {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  section {
    padding: 64px 0;
  }
}
