@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #f2f5f7;
  --surface: #fff;
  --surface-2: #e9eff3;
  --ink: #121d28;
  --muted: #586a7a;
  --line: #d5e0e7;
  --brand: #b23a2a;
  --brass: #856128;
  --green: #08765a;
  --gold: #dfab55;
  --gold-light: #ffe0a2;
  --gold-deep: #c88526;
  --mint: #24ba95;
  --mint-light: #a0efcf;
  --mint-deep: #079b85;
  --coral: #f68168;
  --coral-light: #ffcab0;
  --coral-deep: #df5e48;
  --violet: #9279e4;
  --violet-light: #d0c2ff;
  --violet-deep: #7658cb;
  --blue: #509cde;
  --blue-light: #addaff;
  --blue-deep: #377ec1;
  --silver: #8096af;
  --silver-light: #c2d2e2;
  --silver-deep: #657f9e;
  --dial-bg: #112732;
  --dial-line: #344c57;
  --dial-track: #28414d;
  --dial-past: #526d77;
  --dial-ink: #f3fbff;
  --dial-muted: #a1bbc5;
  --shadow: 0 20px 60px -24px #31475b30, 0 2px 4px #25384a06;
  --shadow-close: 0 4px 10px #21344b08, 0 1px 0 #fff inset;
  --max: 1280px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #080e15;
  --surface: #101b26;
  --surface-2: #192938;
  --ink: #eef6ff;
  --muted: #a1b2c3;
  --line: #27394a;
  --brand: #f09479;
  --brass: #e7c48a;
  --green: #66e0b6;
  --gold: #efbd63;
  --gold-light: #ffe5b2;
  --gold-deep: #ba7a2a;
  --mint: #38d0a6;
  --mint-light: #b2ffe0;
  --mint-deep: #169e91;
  --coral: #ff987c;
  --coral-light: #ffddc1;
  --coral-deep: #bf5749;
  --violet: #ad99f4;
  --violet-light: #e2d8ff;
  --violet-deep: #7560b9;
  --blue: #68b2ee;
  --blue-light: #c4eaff;
  --blue-deep: #3e72b6;
  --silver: #92abc5;
  --silver-light: #d1e0ef;
  --silver-deep: #506d8e;
  --dial-bg: #081820;
  --dial-line: #29414d;
  --dial-track: #1e3540;
  --dial-past: #415b68;
  --dial-ink: #f4fcff;
  --dial-muted: #9bb5c3;
  --shadow: 0 1px 0 #63809a26 inset, 0 0 60px -24px #3c88ba22;
  --shadow-close: 0 1px 0 #7899b229 inset;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 25px;
}
/* Smooth only once the page has settled: a link into a page lands at once and in place,
   and links within the page glide. */
html.is-settled {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 {
  font-size: clamp(54px, 6.4vw, 88px);
}
h2 {
  font-size: clamp(38px, 4.1vw, 58px);
}
h3 {
  font-size: 24px;
}
em {
  font-style: normal;
  color: var(--muted);
  font-weight: 450;
}
p {
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
  color: inherit;
}
strong {
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
img,
svg {
  display: block;
}
small {
  font-size: 11px;
}
button,
a,
input,
select,
summary,
[tabindex] {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green);
  border-radius: 4px;
}
::selection {
  background: var(--mint);
  color: #08271e;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-new(root) {
  z-index: 2;
}
::view-transition-old(root) {
  z-index: 1;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 5px;
  left: 15px;
  transform: translateY(-140%);
  padding: 12px;
  background: var(--ink);
  color: var(--bg);
}
.skip-link:focus {
  transform: none;
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  padding: 2px 4px;
  min-height: 25px;
}
.no-js-note {
  padding: 14px 25px;
  font-size: 12px;
  background: var(--surface-2);
}
.no-js-note a {
  text-decoration: underline;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo img {
  width: 110px;
  height: auto;
}
.logo > span {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
main:not(.app-main) {
  max-width: var(--max);
  margin: auto;
}
.eyebrow,
.tiny-label {
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 600;
  line-height: 1.7;
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
}
.eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 8%, transparent);
  flex-shrink: 0;
}
.caption {
  color: var(--muted);
}
.caption {
  font-size: 10px;
  line-height: 1.7;
}
.small-label {
  font-size: 12px;
  color: var(--muted);
}
.yours {
  color: var(--green) !important;
}
.section {
  margin-top: 140px;
}
.slide-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid color-mix(in srgb, var(--ink) 70%, white);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  box-shadow:
    0 4px 8px #0e243320,
    0 1px 0 #ffffff30 inset;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.slide-link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px #0e243328,
    0 1px 0 #ffffff50 inset;
}
.slide-link.quiet {
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  min-height: 44px;
}
.slide-window {
  display: block;
  overflow: hidden;
  line-height: 1.6;
}
.slide-label {
  display: block;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-label > span {
  display: block;
}
.slide-label > span + span {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}
.slide-link:is(:hover, :focus-visible) .slide-label {
  transform: translateY(-100%);
}
.slide-link > svg {
  width: 18px;
  transition: transform 0.3s;
}
.slide-link:hover > svg {
  transform: translateX(3px);
}
.dog {
  position: relative;
  display: inline-block;
}
.dog img {
  width: 100%;
  height: auto;
}
.ledger-tag {
  position: absolute;
  left: 44%;
  top: 68%;
  width: 24%;
  height: 28%;
  fill: var(--brass);
  stroke: var(--bg);
  stroke-width: 1.8;
}
.ledger-tag > path:first-child {
  stroke: var(--brass);
  stroke-width: 2;
}
.rolling-value {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
}
.rolling-value > span:not(.sr-only) {
  display: inline-block;
  white-space: nowrap;
}
/* The Kahu theme instrument: one scene, two lighting conditions. */
.theme-scene {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0;
}
.theme-sky {
  position: relative;
  width: 76px;
  height: 42px;
  overflow: hidden;
  border-radius: 23px;
  background: linear-gradient(160deg, #dcebf6 0%, #f8e7c7 100%);
  border: 1px solid #d0dbe3;
  box-shadow:
    0 2px 5px #30435916 inset,
    0 1px 0 #fff;
  transition:
    background 0.6s,
    border-color 0.6s,
    box-shadow 0.6s;
  isolation: isolate;
}
.theme-sky > img {
  position: absolute;
  left: 12px;
  bottom: 4px;
  width: 22px;
  height: auto;
  z-index: 3;
  filter: brightness(0.45) saturate(0.6);
  transform-origin: bottom center;
  transition:
    filter 0.6s,
    transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-scene:hover .theme-sky > img {
  transform: rotate(-6deg);
}
.theme-orb {
  position: absolute;
  width: 17px;
  height: 17px;
  background: #e9ae4e;
  border-radius: 50%;
  left: 48px;
  top: 8px;
  box-shadow:
    0 0 0 3px #f7ce8850,
    0 0 15px #ebbf7960;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.6s,
    box-shadow 0.6s;
  isolation: isolate;
}
.theme-orb > i {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #11263c;
  border-radius: 50%;
  left: 9px;
  top: -8px;
  transform: translate(13px, -12px);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-horizon {
  position: absolute;
  background: #d1d7c9;
  width: 100px;
  height: 24px;
  left: -12px;
  bottom: -13px;
  border-radius: 50%;
  box-shadow: 19px -3px 0 #a9bbab;
  transition:
    background 0.6s,
    box-shadow 0.6s,
    transform 0.6s;
}
.theme-star {
  position: absolute;
  width: 2px;
  height: 2px;
  opacity: 0;
  background: #dff4ff;
  border-radius: 50%;
  transition:
    opacity 0.5s,
    transform 0.7s;
  transform: translateY(8px);
}
.star-one {
  left: 18px;
  top: 7px;
}
.star-two {
  left: 38px;
  top: 15px;
}
.star-three {
  left: 61px;
  top: 26px;
}
.theme-caption {
  font-size: 9px;
  width: 47px;
  text-align: left;
  color: var(--muted);
  line-height: 1.4;
}
.night-word {
  display: none;
}
[data-theme="dark"] .theme-sky {
  background: linear-gradient(155deg, #0a192b, #233d53);
  border-color: #35506a;
  box-shadow:
    0 1px 0 #698ba52a inset,
    0 0 15px #649eca12;
}
[data-theme="dark"] .theme-sky > img {
  filter: brightness(0) invert(0.89);
  transform: rotate(-4deg);
}
[data-theme="dark"] .theme-orb {
  background: #e7f6fe;
  box-shadow: 0 0 15px #b4dcf640;
  transform: translate(-2px, 2px);
}
[data-theme="dark"] .theme-orb > i {
  transform: translate(-3px, 3px);
}
[data-theme="dark"] .theme-horizon {
  background: #294359;
  box-shadow: 19px -3px 0 #355b70;
  transform: translateY(2px);
}
[data-theme="dark"] .theme-star {
  opacity: 0.8;
  transform: none;
}
[data-theme="dark"] .day-word {
  display: none;
}
[data-theme="dark"] .night-word {
  display: block;
}
/* Opening composition. */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 40px;
}
.section-heading > p {
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 4px;
}
/* Tabs adapted from Kokonut and Ruixen. */
.tabs {
  display: inline-flex;
  position: relative;
  gap: 3px;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 100%;
  isolation: isolate;
}
.tabs > button {
  position: relative;
  z-index: 1;
  font-size: 11px;
  min-height: 35px;
  padding: 6px 13px;
  border-radius: 6px;
  line-height: 1.4;
  color: var(--muted);
}
.tabs > button.selected {
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-close);
}
.tabs:has(.tab-pill) > button.selected {
  background: none;
  box-shadow: none;
}
.tab-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-close);
  z-index: 0;
}
.tabs > button:hover {
  color: var(--ink);
}
.fade-panel {
  margin-top: 25px;
}
.fade-panel > div {
  min-height: 335px;
}
/* Cash flow: color lives in the information, lighting lives on the material. */
.cashflow {
  --flow-gap: var(--surface);
  min-width: 0;
}
.compact .tabs > button {
  font-size: 9px;
  padding: 5px 9px;
  min-height: 30px;
}
/* The payoff instrument. Its rings represent payment months, not money. */
.loan-feature {
  margin-top: 15px;
}
.loan-intro-note > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 390px;
}
/* Account overview and pages. */
.chart-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.net-amount {
  font-size: 44px;
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1.2;
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}
.chart-change {
  font-size: 10px;
  color: var(--green);
  margin-top: 5px;
}
.chart-change > span {
  color: var(--muted);
  margin-left: 6px;
}
.chart-title .tabs {
  background: transparent;
  border: 0;
  padding: 2px;
  margin-top: 4px;
}
.chart-title .tabs > button {
  font-size: 9px;
  padding: 4px 8px;
  min-height: 28px;
}
.chart-title .tab-pill {
  top: 2px;
  bottom: 2px;
  background: var(--surface-2);
}
.scrub-chart {
  height: 200px;
  touch-action: pan-y;
  cursor: crosshair;
  margin-top: 22px;
}
.scrub-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.axis {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
}
.axis > span:nth-child(2) {
  font-size: 8px;
}
.page-intro {
  padding: 52px 0 55px;
}
.page-intro h1 {
  margin-bottom: 26px;
}
.page-intro > p,
.page-intro > div > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
}
.next-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 110px;
  padding: 40px 0;
}
.next-page .eyebrow {
  font-size: 9px;
  margin-bottom: 15px;
}
.next-page p:not(.eyebrow) {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.05em;
  max-width: 850px;
}
.next-page > svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.next-page:hover > svg {
  transform: translateX(8px);
}
/* Upcoming payments and the matching interaction. */
.status {
  font-size: 9px;
  line-height: 1.4;
  border-radius: 5px;
  padding: 5px 8px;
  background: var(--surface-2);
  color: var(--muted);
}
.status.paid {
  background: color-mix(in srgb, var(--green) 11%, var(--surface));
  color: var(--green);
}
/* Import, trust and brand pages. */
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
  padding: 65px 0;
}
.about-hero h1 {
  font-size: 71px;
  margin-bottom: 35px;
}
.about-hero p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 460px;
  margin-top: 20px;
}
/* Application study. */
@keyframes dial-light {
  to {
    transform: rotate(360deg);
  }
}
/* Mid-width compositions stay deliberate; small screens have their own hierarchy. */
@media (max-width: 1400px) {
  :root {
    --max: calc(100vw - 112px);
  }
}
@media (max-width: 1150px) {
  :root {
    --max: calc(100vw - 72px);
  }
  .net-amount {
    font-size: 39px;
  }
  .section {
    margin-top: 115px;
  }
  .about-hero {
    gap: 60px;
  }
  .about-hero h1 {
    font-size: 61px;
  }
}
@media (max-width: 900px) {
  :root {
    --max: calc(100vw - 56px);
  }
  .net-amount {
    font-size: 48px;
  }
  .section-heading {
    gap: 40px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .section-heading > p {
    font-size: 13px;
    max-width: 240px;
  }
  .loan-intro-note > p {
    font-size: 14px;
  }
  .about-hero {
    gap: 45px;
  }
  .about-hero h1 {
    font-size: 51px;
  }
  .about-hero p:not(.eyebrow) {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  :root {
    --max: calc(100vw - 36px);
  }
  body {
    font-size: 14px;
  }
  .motion-toggle {
    font-size: 8px;
    gap: 5px;
  }
  .logo img {
    width: 89px;
  }
  .logo {
    gap: 10px;
  }
  .logo > span {
    font-size: 9px;
    padding-left: 10px;
    letter-spacing: 0.03em;
  }
  .theme-caption {
    display: none;
  }
  .theme-sky {
    width: 67px;
    height: 38px;
  }
  .theme-orb {
    left: 42px;
    top: 7px;
    width: 16px;
    height: 16px;
  }
  .theme-sky > img {
    left: 10px;
    bottom: 3px;
    width: 21px;
  }
  .theme-scene {
    min-height: 44px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.11em;
    margin-bottom: 22px;
  }
  .compact .tabs {
    padding: 3px;
    border-radius: 7px;
  }
  .compact .tabs > button {
    font-size: 8px;
    padding: 4px 7px;
    min-height: 30px;
  }
  .compact .tab-pill {
    top: 3px;
    bottom: 3px;
  }
  .section {
    margin-top: 85px;
  }
  .tabs > button {
    font-size: 10px;
    min-height: 34px;
    padding: 6px 10px;
  }
  .tabs {
    border-radius: 8px;
  }
  .fade-panel {
    margin-top: 24px;
  }
  .fade-panel > div {
    min-height: 290px;
  }
  .net-amount {
    font-size: 34px;
  }
  .small-label {
    font-size: 10px;
  }
  .chart-title {
    gap: 10px;
  }
  .chart-title .tabs > button {
    padding: 3px 6px;
    font-size: 8px;
    min-height: 29px;
  }
  .chart-change {
    font-size: 8px;
  }
  .chart-change > span {
    margin-left: 4px;
  }
  .scrub-chart {
    height: 165px;
    margin-top: 20px;
  }
  .axis {
    font-size: 7px;
  }
  .axis > span:nth-child(2) {
    font-size: 7px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .section-heading > p {
    max-width: 310px;
    font-size: 13px;
    margin-top: 24px;
  }
  .page-intro {
    padding: 31px 0 37px;
  }
  .page-intro h1 {
    font-size: 49px;
    line-height: 1.08;
    margin-bottom: 25px;
  }
  .page-intro > p,
  .page-intro > div > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.85;
  }
  .next-page {
    margin-top: 80px;
    padding: 30px 0;
    gap: 24px;
  }
  .next-page .eyebrow {
    font-size: 8px;
    margin-bottom: 14px;
  }
  .next-page p:not(.eyebrow) {
    font-size: 26px;
    max-width: 275px;
  }
  .next-page > svg {
    width: 24px;
    height: 24px;
  }
  .loan-intro-note > p {
    font-size: 14px;
    max-width: 310px;
  }
  .loan-feature {
    margin-top: 5px;
  }
  .about-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 31px 0 0;
  }
  .about-hero h1 {
    font-size: 53px;
    margin-bottom: 28px;
  }
  .about-hero p:not(.eyebrow) {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0s !important;
  }
  .slide-link:is(:hover, :focus-visible) .slide-label {
    transform: none;
  }
  .theme-scene:hover .theme-sky > img {
    transform: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}
