:root {
  --canvas: oklch(0.965 0.005 160);
  --surface: oklch(0.995 0.002 160);
  --sunken: oklch(0.975 0.004 160);
  --hairline: oklch(0.91 0.006 160);
  --ink: oklch(0.25 0.02 250);
  --ink-muted: oklch(0.52 0.02 250);
  --ink-faint: oklch(0.7 0.015 250);
  --primary: oklch(0.64 0.15 160);
  --primary-deep: oklch(0.52 0.13 160);
  --primary-soft: oklch(0.95 0.04 160);
  --expense: oklch(0.58 0.2 22);
  --expense-soft: oklch(0.95 0.03 22);
  --transfer: oklch(0.55 0.02 250);
  --transfer-soft: oklch(0.94 0.008 250);
  --blue: oklch(0.62 0.17 250);

  /* The four colours of the logo ring. */
  --ring-green: oklch(0.64 0.14 160);
  --ring-cyan: oklch(0.71 0.12 210);
  --ring-amber: oklch(0.78 0.16 75);
  --ring-violet: oklch(0.57 0.21 280);
  --tint-green: oklch(0.93 0.05 160);
  --tint-cyan: oklch(0.93 0.045 210);
  --tint-amber: oklch(0.94 0.06 80);
  --tint-violet: oklch(0.93 0.045 285);
  --tint-coral: oklch(0.94 0.04 22);

  --band: oklch(0.34 0.07 165);
  --band-ink: oklch(0.97 0.02 160);
  --band-muted: oklch(0.84 0.05 160);
  --bezel: oklch(0.22 0.015 250);

  --shadow-surface:
    0 1px 2px oklch(0.2 0.02 250 / 0.04), 0 2px 8px oklch(0.2 0.02 250 / 0.04);
  --shadow-float: 0 24px 60px oklch(0.25 0.03 250 / 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1rem, 4vw, 3rem);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: oklch(0.17 0.01 250);
    --surface: oklch(0.22 0.012 250);
    --sunken: oklch(0.25 0.012 250);
    --hairline: oklch(0.3 0.012 250);
    --ink: oklch(0.95 0.005 160);
    --ink-muted: oklch(0.72 0.015 250);
    --ink-faint: oklch(0.55 0.015 250);
    --primary: oklch(0.7 0.15 160);
    --primary-deep: oklch(0.76 0.14 160);
    --primary-soft: oklch(0.3 0.05 160);
    --expense: oklch(0.72 0.17 22);
    --expense-soft: oklch(0.3 0.05 22);
    --transfer: oklch(0.7 0.015 250);
    --transfer-soft: oklch(0.28 0.012 250);
    --tint-green: oklch(0.25 0.04 160);
    --tint-cyan: oklch(0.25 0.035 210);
    --tint-amber: oklch(0.26 0.04 75);
    --tint-violet: oklch(0.25 0.045 285);
    --tint-coral: oklch(0.25 0.035 22);
    --band: oklch(0.27 0.06 165);
    --bezel: oklch(0.1 0.01 250);
    --shadow-float: 0 24px 60px oklch(0.05 0.01 250 / 0.6);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    400 1rem/1.6 "DM Sans",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-deep);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
}

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

/* Privacy policy */

.policy {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

.policy h1 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.policy h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.policy .updated {
  color: var(--ink-muted);
  margin: 0;
}

.policy footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.875rem;
}

/* Landing page */

main {
  overflow-x: clip;
}

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.topbar nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

.topbar nav a:hover {
  color: var(--ink);
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.soon::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 40rem) {
  .topbar nav .hide-sm {
    display: none;
  }
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.75rem, 1.4rem + 5.2vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.display span {
  color: var(--primary);
}

.title {
  font-size: clamp(2.125rem, 1.2rem + 3vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.lead {
  max-width: 36rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.copy p {
  max-width: 32rem;
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.copy p strong {
  color: var(--ink);
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-surface);
  font-size: 0.8125rem;
  font-weight: 600;
}

.tag svg {
  width: 0.9375rem;
  height: 0.9375rem;
}

svg.i {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Store buttons */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 11rem;
  min-height: 3.5rem;
  padding: 0.5rem 1.5rem 0.5rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  line-height: 1.2;
  cursor: default;
}

.store span {
  display: flex;
  flex-direction: column;
}

.store .logo {
  width: 1.625rem;
  height: 1.625rem;
  flex: none;
  fill: currentColor;
}

.store small {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.store b {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* Security facts under the hero buttons */

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust .i {
  font-size: 1.125rem;
  color: var(--primary);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-block: clamp(2rem, 6vw, 5rem) clamp(4rem, 9vw, 8rem);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
}

.ring {
  position: absolute;
  width: min(860px, 175%);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 0;
}

.ring circle {
  fill: none;
  stroke-width: 14;
  stroke-dasharray: var(--len) 360;
}

.hero-visual .phone {
  z-index: 1;
}

@media (max-width: 56rem) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 0;
    padding-block: 3rem 1rem;
    overflow: hidden;
    margin-inline: calc(var(--gutter) * -1);
  }
  .ring {
    width: 130%;
  }
}

/* Chapters */

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.chapter.flip .copy {
  order: 2;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 700px;
  padding: 3rem 1.5rem;
  border-radius: 32px;
  background: var(--stage, var(--tint-green));
}

@media (max-width: 56rem) {
  .chapter {
    grid-template-columns: 1fr;
  }
  .chapter.flip .copy {
    order: 0;
  }
  .stage {
    min-height: 0;
    margin-inline: calc(var(--gutter) * -1 + 0.5rem);
    padding: 2.5rem 1rem;
    border-radius: 24px;
  }
}

.points {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.875rem;
  align-items: start;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.points li b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.points .glyph {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: color-mix(in oklch, var(--c) 16%, transparent);
  color: var(--c);
  font-size: 1.0625rem;
}

/* Phone frame and the app vocabulary inside it */

.phone {
  position: relative;
  width: 300px;
  height: 624px;
  flex: none;
  padding: 9px;
  border-radius: 48px;
  background: var(--bezel);
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.06) inset,
    var(--shadow-float);
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: var(--canvas);
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink);
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 6px;
  font-size: 12px;
  font-weight: 600;
}

.status i {
  width: 22px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
  opacity: 0.8;
}

.status i::after {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  border-radius: 1px;
  background: currentColor;
}

.body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 14px 14px;
  overflow: hidden;
}

.appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 4px;
  font-size: 15px;
  font-weight: 600;
}

.appbar .i {
  font-size: 18px;
}

.h {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.meta {
  color: var(--ink-muted);
  font-size: 11px;
}

.cap {
  color: var(--ink-muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.big {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.surface {
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-surface);
}

.pad {
  padding: 12px;
}

.st {
  font-size: 13px;
  font-weight: 600;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 12px;
}

.row + .row {
  border-top: 1px solid var(--hairline);
}

.row .grow {
  flex: 1;
  min-width: 0;
}

.row .name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amt {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.out {
  color: var(--expense);
}

.in {
  color: var(--primary-deep);
}

.acc,
.cat {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  font-size: 15px;
}

.acc {
  border-radius: 8px;
  background: var(--c);
  color: oklch(0.99 0.005 160);
}

.cat {
  border-radius: 50%;
  background: color-mix(in oklch, var(--c) 16%, transparent);
  color: var(--c);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary);
  color: oklch(0.99 0.005 160);
  font-weight: 600;
  font-size: 12px;
}

.btn.ghost {
  background: var(--sunken);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline) inset;
}

.btn.lg {
  height: 42px;
  font-size: 13px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.chip.on {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
}

.bar {
  height: 7px;
  border-radius: 999px;
  background: var(--canvas);
  overflow: hidden;
}

.bar b {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--c);
  transform-origin: left;
  transform: scaleX(var(--v));
}

.tabbar {
  display: flex;
  justify-content: space-around;
  padding: 8px 6px 18px;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  font-size: 9px;
  color: var(--ink-muted);
}

.tabbar span {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.tabbar .i {
  font-size: 17px;
}

.tabbar .on {
  color: var(--primary);
}

.fab {
  position: absolute;
  right: 14px;
  bottom: 70px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: oklch(0.99 0.005 160);
  font-size: 22px;
  box-shadow: 0 6px 20px oklch(0.64 0.15 160 / 0.35);
}

/* Overview */

.accounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.accounts .surface {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  min-width: 0;
}

.accounts .name {
  font-weight: 500;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.accounts .amt {
  text-align: left;
  font-size: 11.5px;
}

.flow {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.flow div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 11px;
}

/* Record form */

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-surface);
  font-weight: 600;
  font-size: 11.5px;
  color: var(--ink-muted);
  text-align: center;
}

.seg span {
  padding: 8px 0;
  border-radius: 8px;
}

.seg .on {
  background: var(--c);
  color: oklch(0.99 0.005 160);
}

.amount-field {
  padding: 14px 0 6px;
  text-align: center;
}

.amount-field .big {
  font-size: 36px;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline) inset;
}

.field .grow {
  flex: 1;
  font-weight: 500;
}

.field .i {
  color: var(--ink-muted);
}

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 4px;
  text-align: center;
  font-size: 9.5px;
  color: var(--ink-muted);
}

.cats span {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.cats .cat {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.cats .picked .cat {
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 4px var(--c);
}

.cats .picked {
  color: var(--ink);
  font-weight: 600;
}

.widget {
  position: absolute;
  left: -2.5rem;
  bottom: 4.5rem;
  z-index: 2;
  width: 240px;
  padding: 14px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
  font-size: 12px;
}

.widget header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.widget header img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.widget .amt {
  text-align: left;
  font-size: 18px;
  font-weight: 700;
}

.widget .actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.widget .actions span {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 7px 0;
  border-radius: 12px;
  background: var(--s);
  color: var(--c);
  font-size: 10.5px;
  font-weight: 600;
}

.widget .actions .i {
  font-size: 15px;
}

.tile-qs {
  position: absolute;
  right: -1.75rem;
  top: 6rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: oklch(0.99 0.005 160);
  box-shadow: var(--shadow-float);
  font-size: 12px;
  line-height: 1.25;
}

.tile-qs .i {
  box-sizing: content-box;
  padding: 7px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.2);
  font-size: 16px;
}

.tile-qs small {
  display: block;
  opacity: 0.8;
}

@media (max-width: 56rem) {
  .record-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .widget,
  .tile-qs {
    position: relative;
    inset: auto;
  }
  .widget {
    margin-top: -5rem;
  }
  .tile-qs {
    order: -1;
    margin-bottom: 1.25rem;
  }
}

/* Capture */

.capture {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.capture .band {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem);
  border-radius: 32px;
  background: var(--tint-amber);
}

.capture .copy {
  max-width: 44rem;
}

.flowline {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: 13px;
  line-height: 1.4;
}

.flowline .arrow {
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  font-size: 1.25rem;
}

.flowline .arrow .i {
  rotate: -90deg;
}

.flowline .step-label {
  margin-bottom: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.notif {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.notif .app {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-size: 16px;
}

.notif .meta {
  font-size: 11.5px;
}

.notif b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.paycard {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.paycard .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.paycard .amt {
  font-size: 22px;
  font-weight: 700;
}

.q {
  margin: 14px 0 8px;
  font-weight: 600;
}

.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.picks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  background: var(--sunken);
  font-size: 12px;
  font-weight: 500;
}

.picks .cat {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.picks .on {
  background: var(--primary-soft);
  color: var(--primary-deep);
  box-shadow: 0 0 0 1.5px var(--primary) inset;
}

.saved {
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
  font-size: 13px;
}

.saved .row {
  min-height: 60px;
  padding: 10px 14px;
}

.saved .cat {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.saved .ok {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--hairline);
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 12px;
}

@media (max-width: 64rem) {
  .flowline {
    grid-template-columns: minmax(0, 26rem);
    justify-content: center;
  }
  .flowline .arrow .i {
    rotate: 0deg;
  }
}

/* Banks */

.banks {
  padding-top: clamp(3.5rem, 8vw, 7rem);
}

.banks .chapter {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.marquee {
  display: grid;
  gap: 14px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
}

.lane {
  display: flex;
  width: max-content;
}

.track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
}

/* Logos keep their own colours, so the tiles stay light in dark mode too. */
.track li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 76px;
  padding: 0 30px;
  border-radius: 20px;
  background: oklch(0.995 0.002 160);
  box-shadow: var(--shadow-surface);
  color: oklch(0.45 0.13 250);
  font-weight: 600;
  white-space: nowrap;
}

.track img {
  display: block;
  width: auto;
  height: var(--h, 24px);
}

@media (max-width: 40rem) {
  .track li {
    height: 60px;
    padding: 0 20px;
  }

  .track img {
    height: calc(var(--h, 24px) * 0.8);
  }
}

.marquee-note {
  margin-top: 1.25rem;
  margin-bottom: 0;
  text-align: center;
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .lane {
    animation: marquee 70s linear infinite;
  }

  .lane.reverse {
    animation-direction: reverse;
  }

  .marquee:hover .lane {
    animation-play-state: paused;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Review */

.screen .q {
  margin: 12px 0 6px;
  font-size: 12px;
}

.screen .picks span {
  gap: 4px;
  padding: 3px 8px 3px 3px;
  font-size: 10.5px;
}

.screen .picks .cat {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

/* AI */

.sent {
  display: grid;
  gap: 6px;
}

.sent .lines {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-faint);
  font-size: 11px;
}

.suggestion {
  left: auto;
  right: -2.5rem;
  bottom: 9rem;
  width: 260px;
}

.suggestion .row {
  padding: 8px 0 12px;
}

.review-card .src {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 500;
}

.review-card .who {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 2px;
}

.review-card .who b {
  font-size: 17px;
  font-weight: 700;
}

.review-card .who .amt {
  font-size: 17px;
}

.suggest {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 9px;
  border-radius: 12px;
  background: var(--sunken);
}

.suggest .grow {
  flex: 1;
}

.suggest .meta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.synced {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--ink-muted);
}

.synced .i {
  color: var(--primary);
  font-size: 13px;
}

/* Assistant */

.chat .me {
  align-self: flex-end;
  max-width: 82%;
  padding: 8px 11px;
  border-radius: 14px 14px 4px 14px;
  background: var(--primary-soft);
  color: var(--ink);
}

.chat .ai {
  max-width: 94%;
  font-size: 12.5px;
}

.proposal {
  display: grid;
  gap: 4px;
}

.proposal .row {
  min-height: 40px;
  padding: 4px 0;
}

.proposal .two {
  margin-top: 6px;
}

.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-surface);
  color: var(--ink-faint);
}

.composer .grow {
  flex: 1;
}

.composer .btn {
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 15px;
}

/* Stats */

.stats {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: end;
}

.split-head .copy p {
  margin: 0;
}

.board {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 32px;
  background: var(--tint-violet);
}

.board .surface {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 24px;
  font-size: 14px;
}

.board .chips {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow: hidden;
  mask-image: linear-gradient(to right, black 85%, transparent);
}

.board .chip {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.donut {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
}

.donut svg {
  width: 100%;
  height: 100%;
  rotate: -90deg;
}

.donut circle {
  fill: none;
  stroke-width: 5.5;
  stroke-dasharray: var(--len) 100;
}

.donut .center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.donut .center b {
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.donut .center span {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.catlist .row {
  min-height: 54px;
  padding: 8px 4px;
}

.catlist .cat {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.catlist .share {
  width: 3.25rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: 13px;
}

.catlist .sub {
  padding-left: 50px;
  min-height: 40px;
  font-size: 13px;
  color: var(--ink-muted);
}

.catlist .sub .amt {
  font-weight: 500;
}

.catlist .open .i.chev {
  rotate: 90deg;
}

.catlist .chev {
  color: var(--ink-faint);
  transition: rotate 200ms var(--ease);
}

.drill {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: -1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 0.875rem;
  box-shadow: var(--shadow-float);
}

.drill .i {
  font-size: 1rem;
}

@media (max-width: 56rem) {
  .split-head,
  .board .surface {
    grid-template-columns: 1fr;
  }
  .board {
    margin-inline: calc(var(--gutter) * -1 + 0.5rem);
    border-radius: 24px;
  }
  .drill {
    position: static;
    margin-top: 1rem;
    width: fit-content;
  }
}

/* Investments and debts */

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pair > div {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 32px;
  background: var(--stage);
}

.pair .surface {
  font-size: 14px;
  border-radius: 20px;
}

.pair .row {
  min-height: 60px;
  padding: 10px 18px;
}

.pair .acc,
.pair .cat {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.pair .meta {
  font-size: 12.5px;
}

.pair-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--hairline);
}

.pair-head .big {
  margin-top: 2px;
  font-size: 30px;
}

.pair-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 30rem;
  margin: 1.25rem 0.25rem 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.pair-note .i {
  margin-top: 0.25rem;
  color: var(--c);
}

.pair-note b {
  color: var(--ink);
  font-weight: 600;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 18px 18px;
  gap: 8px;
}

.three .amt {
  text-align: left;
  font-size: 15px;
}

.debt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.debt .bar {
  height: 9px;
  margin: 0 18px;
}

@media (max-width: 56rem) {
  .pair {
    grid-template-columns: 1fr;
  }
  .pair > div {
    margin-inline: calc(var(--gutter) * -1 + 0.5rem);
    border-radius: 24px;
  }
}

/* Recurring payments */

.bills .surface {
  width: min(100%, 26rem);
  font-size: 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-float);
}

.bills .row {
  min-height: 62px;
  padding: 10px 18px;
}

.bills .cat {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.bills .meta {
  font-size: 12.5px;
}

.bills .seg {
  margin: 4px 18px 18px;
  box-shadow: none;
  background: var(--sunken);
  font-size: 12px;
}

.bills .st {
  padding: 18px 18px 6px;
  font-size: 15px;
}

.bills .row .btn {
  height: 28px;
  padding: 0 12px;
  font-size: 11.5px;
  white-space: nowrap;
}

.bills .stage {
  min-height: 560px;
}

/* Privacy band */

.privacy {
  position: relative;
  overflow: hidden;
  margin-block: clamp(3rem, 7vw, 6rem);
  padding-block: clamp(4rem, 10vw, 8.5rem);
  background: var(--band);
  color: var(--band-ink);
}

.privacy .ring {
  width: min(900px, 140vw);
  left: auto;
  right: -26%;
  translate: 0 -50%;
  opacity: 0.1;
}

.privacy .wrap {
  position: relative;
}

.privacy .title {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
}

.privacy .lead {
  color: var(--band-muted);
}

.privacy .lead a {
  color: var(--band-ink);
  font-weight: 600;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 6vw, 6rem);
  max-width: 64rem;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding-block: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.18);
}

.facts h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  letter-spacing: -0.015em;
}

.facts h3 .i {
  color: var(--ring-amber);
}

.facts p {
  max-width: 30rem;
  margin: 0.625rem 0 0;
  color: var(--band-muted);
}

@media (max-width: 44rem) {
  .facts {
    grid-template-columns: 1fr;
  }
}

/* Details */

.details {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0 clamp(2rem, 4vw, 3.5rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.875rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--hairline);
  align-content: start;
}

.detail-list .i {
  grid-row: span 2;
  margin-top: 0.2rem;
  font-size: 1.25rem;
  color: var(--c);
}

.detail-list b {
  font-weight: 600;
  font-size: 1.0625rem;
}

.detail-list span {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* Closing */

.closing {
  padding-block: clamp(3rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
}

.closing .title {
  max-width: 18ch;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem 3rem;
  background: linear-gradient(var(--hairline), var(--hairline)) center top /
    calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--ink-muted);
}

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

/* Motion. Content is visible without JavaScript; reveals only run when the
   script has marked the page and motion is allowed. */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .js .reveal {
    opacity: 0;
    translate: 0 28px;
    transition:
      opacity 800ms var(--ease),
      translate 900ms var(--ease);
    transition-delay: var(--d, 0ms);
  }

  .js .reveal.seen {
    opacity: 1;
    translate: 0 0;
  }

  .js .ring circle {
    stroke-dasharray: 0 360;
    transition: stroke-dasharray 1400ms var(--ease);
    transition-delay: var(--d, 0ms);
  }

  .js .ring.seen circle {
    stroke-dasharray: var(--len) 360;
  }

  .js .donut circle {
    stroke-dasharray: 0 100;
    transition: stroke-dasharray 1100ms var(--ease);
    transition-delay: var(--d, 0ms);
  }

  .js .seen .donut circle {
    stroke-dasharray: var(--len) 100;
  }

  .js .reveal .bar b {
    transform: scaleX(0);
    transition: transform 900ms var(--ease) 300ms;
  }

  .js .reveal.seen .bar b {
    transform: scaleX(var(--v));
  }
}
