:root {
  --blue: #2748f1;
  --lime: #daff74;
  --ink: #111a37;
  --muted: #929bb2;
  --paper: #f6f8fe;
  --line: #e9edf5;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--blue);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a6b5ff;
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
  opacity: 0.8;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.icon {
  display: inline-block;
  width: 1.35em;
  height: 1.35em;
  flex-shrink: 0;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  -webkit-mask: var(--icon) center/contain no-repeat;
  vertical-align: middle;
}
.scene {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--blue) url("/assets/hero-backdrop-v2.png") center/cover
    no-repeat;
}
.header {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 124px;
  max-width: 1600px;
  margin: auto;
  padding: 0 4.3%;
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 5px 15px #0c2e9722;
}
.brand-mark .icon {
  width: 36px;
  height: 36px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.try-button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 19px;
  font-weight: 600;
  padding: 12px 0;
}
.try-button .icon {
  width: 17px;
  height: 17px;
}
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--lime);
  color: #101a30;
  font-weight: 750;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.download:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px #091c632e;
}
.download:active {
  transform: scale(0.96);
}
.download-small {
  border-radius: 40px;
  padding: 18px 26px;
  font-size: 20px;
}
.download-small .icon {
  width: 27px;
  height: 27px;
}
.hero {
  position: relative;
  max-width: 1600px;
  min-height: 790px;
  height: calc(100svh - 124px);
  max-height: 1100px;
  margin: auto;
}
.hero-copy {
  position: absolute;
  left: 4.3%;
  top: 15.5%;
  z-index: 3;
  width: 44%;
}
h1 {
  margin: 0;
  color: #fffcee;
  font-size: clamp(80px, 10.35vw, 165px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -7px;
}
h1 span {
  display: block;
  white-space: nowrap;
}
.title-swoosh {
  display: block;
  width: 55%;
  height: 38px;
  object-fit: fill;
  margin: -6px 0 22px 35%;
  pointer-events: none;
}
.download-main {
  height: 104px;
  border-radius: 60px;
  padding: 0 44px;
  font-size: 30px;
  gap: 18px;
}
.download-main .icon {
  width: 36px;
  height: 36px;
}
.download-main .arrow {
  margin-left: 16px;
  width: 31px;
  height: 31px;
}
.release-note {
  display: block;
  margin: 15px 0 0 36px;
  color: #e6ebffb0;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.demo-stage {
  position: absolute;
  right: 4.5%;
  top: 15%;
  width: 48%;
  max-width: 745px;
  z-index: 2;
  transform: rotate(-3deg);
}
.mascot-button {
  position: absolute;
  width: 350px;
  height: 350px;
  left: 9%;
  top: -213px;
  padding: 0;
  z-index: 0;
  transform: rotate(3deg);
  cursor: grab;
}
.mascot-button:active {
  cursor: grabbing;
}
.mascot-button:focus-visible {
  outline-offset: -30px;
  border-radius: 50%;
}
.mascot-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px #102c9d22);
}
.demo-sheet {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 54px;
  padding: 26px 34px 34px;
  box-shadow: 0 34px 65px #0b26b738;
  min-height: 650px;
  border: 1px solid #ffffffc9;
}
.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  height: 25px;
  color: var(--muted);
}
.demo-badge {
  font-size: 12px;
  letter-spacing: 0.7px;
  color: #939db6;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7582a0;
}
.icon-button:hover {
  background: #e9edfa;
  color: var(--blue);
}
.icon-button .icon {
  width: 23px;
  height: 23px;
}
.mode-panel {
  position: relative;
  transform-origin: center;
}
.message-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.message-bubble {
  display: flex;
  align-items: center;
  background: #e2eaff;
  border-radius: 29px;
  padding: 7px 9px 7px 22px;
  max-width: 88%;
  min-height: 58px;
}
.message-bubble input {
  width: 211px;
  min-width: 0;
  background: none;
  color: #172342;
  font-size: 20px;
  font-weight: 550;
  outline-offset: 1px;
}
.send-button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  opacity: 0.5;
}
.send-button:hover,
.message-bubble:focus-within .send-button {
  opacity: 1;
  background: #fff7;
}
.send-button .icon {
  width: 18px;
  height: 18px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #e0e8ff;
  color: #6f99f5;
}
.avatar .icon {
  width: 34px;
  height: 34px;
}
.receipt {
  position: relative;
  display: block;
  overflow: hidden;
  width: 234px;
  height: 193px;
  margin: 0 55px 0 auto;
  padding: 0;
  border-radius: 23px;
  background: #e8e1d7;
  transform: rotate(3deg);
  box-shadow: 0 8px 18px #182e5610;
}
.receipt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.receipt-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  background: #192345aa;
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 10px;
  white-space: nowrap;
  padding: 5px 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.receipt:hover .receipt-label,
.receipt:focus-visible .receipt-label {
  opacity: 1;
}
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
  box-shadow: 0 0 15px var(--lime);
  opacity: 0;
}
.assistant-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1px 0 14px;
  color: #939bb0;
  font-size: 17px;
}
.assistant-mark {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--lime);
}
.assistant-mark .icon {
  width: 29px;
  height: 29px;
}
#chat-status {
  font-size: 12px;
  margin-left: auto;
  color: #557650;
}
.draft-card {
  position: relative;
  border: 1px solid #e0e6f4;
  background: #fff;
  border-radius: 32px;
  margin: 0 0 0 46px;
  padding: 26px;
  box-shadow: 0 14px 30px #5679be13;
}
.draft-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 23px;
}
.category-icon {
  width: 59px;
  height: 59px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffeddf;
  color: #14213b;
}
.category-icon .icon {
  width: 30px;
  height: 30px;
}
.draft-amount {
  margin-left: auto;
  font-size: 36px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1.3px;
  white-space: nowrap;
}
.account-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  color: #939ab0;
  font-size: 16px;
}
.account-row > span:last-child {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #263454;
}
.account-row b {
  font-size: 17px;
  font-weight: 600;
}
.account-row .icon {
  color: #526ba7;
}
.account-row .chevron {
  width: 18px;
  color: #8c99b4;
}
.draft-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 13px 20px;
  border-radius: 20px;
  font-size: 20px;
  font-weight: 650;
  transition:
    transform 0.15s,
    background 0.15s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.96);
}
.button.secondary {
  border: 1.5px solid #ced5e7;
  background: white;
  color: #536080;
}
.button.primary {
  background: #3152ff;
  color: #fff;
  box-shadow: 0 6px 15px #3152ff15;
}
.button.primary:hover {
  background: #2344ed;
}
.button.primary .icon {
  width: 22px;
  height: 22px;
  display: none;
}
.button.recorded {
  background: #e9f6d8;
  color: #456b31;
  box-shadow: none;
}
.button.recorded .icon {
  display: inline-block;
}
.draft-card.recorded {
  border-color: #c8dfad;
}
.mode-dock {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 31px;
  transform: translateX(-50%);
  display: flex;
  padding: 9px;
  background: #e7edffd9;
  backdrop-filter: blur(22px);
  border: 1px solid #fff7;
  border-radius: 65px;
  box-shadow: 0 20px 40px #0b239e20;
  min-width: 560px;
}
.mode-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 13px;
  min-height: 69px;
  padding: 15px 24px;
  border-radius: 50px;
  color: #49597f;
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.mode-tab .icon {
  width: 31px;
  height: 31px;
}
.mode-tab.active {
  color: #294aff;
  background: white;
  box-shadow: 0 6px 16px #223fb116;
}
.mode-tab:hover:not(.active) {
  background: #fff5;
}
.mode-tab:focus-visible {
  outline-offset: -5px;
}
.manual-heading,
.ledger-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 25px;
}
h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 0;
  font-weight: 750;
}
.type-switch {
  display: flex;
  gap: 5px;
  background: #e6eafa;
  border-radius: 20px;
  padding: 4px;
}
.type-switch button {
  border-radius: 17px;
  padding: 8px 19px;
  font-size: 14px;
  color: #7d89a5;
}
.type-switch button[aria-pressed="true"] {
  background: white;
  color: var(--blue);
  box-shadow: 0 2px 7px #13214d0c;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.category-choice {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  padding: 9px;
  border-radius: 16px;
  font-size: 13px;
  color: #7e8aa4;
}
.category-choice .icon {
  width: 28px;
  height: 28px;
}
.category-choice[aria-pressed="true"] {
  background: #e9edff;
  color: var(--blue);
}
.manual-amount {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0 15px;
  border-bottom: 1px solid #dce3f2;
  padding: 8px 0 17px;
  font-size: 28px;
}
.manual-amount input {
  width: 100%;
  min-width: 0;
  background: transparent;
  font-size: 58px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--ink);
  outline-offset: 6px;
}
.manual-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.manual-meta label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5e709a;
  min-width: 0;
}
.manual-meta select {
  color: #4c5d82;
  font-size: 14px;
  background: transparent;
  max-width: 135px;
}
.manual-meta > input {
  background: transparent;
  color: #5e709a;
  text-align: right;
  min-width: 0;
  width: 45%;
  font-size: 14px;
}
.manual-meta > input::placeholder {
  color: #a4aec3;
}
.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.keypad button {
  height: 48px;
  border-radius: 14px;
  font-size: 26px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.keypad button:hover {
  background: #e9edfa;
}
.keypad button:active {
  background: #dce4ff;
}
.keypad .icon {
  width: 24px;
  height: 24px;
}
.manual-save {
  width: 100%;
  margin-top: 14px;
}
.ledger-heading {
  margin-bottom: 23px;
}
.eyebrow-cn {
  font-size: 12px;
  color: #8c99b2;
  display: block;
  margin-bottom: 8px;
}
.ledger-heading .icon-button {
  color: var(--blue);
  background: #e3eaff;
  width: 44px;
  height: 44px;
}
.ledger-total {
  background: #3152ff;
  color: white;
  border-radius: 27px;
  padding: 24px 26px;
}
.ledger-total > span {
  font-size: 13px;
  color: #d7dfff;
}
.ledger-total > strong {
  display: block;
  font-size: 49px;
  letter-spacing: -1.7px;
  margin: 10px 0 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ledger-total > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #d7dfff;
}
.ledger-total b {
  color: white;
  font-weight: 550;
  margin-left: 5px;
}
.budget {
  margin: 23px 6px;
}
.budget > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7d8aa6;
}
.budget b {
  color: #758a63;
}
progress {
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  accent-color: #b3da75;
  margin-top: 10px;
  background: #e4e9f4;
}
progress::-webkit-progress-bar {
  background: #e4e9f4;
  border-radius: 6px;
}
progress::-webkit-progress-value {
  background: #c0e78d;
  border-radius: 6px;
}
.transaction-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  margin: 21px 0 7px;
}
.transaction-head h3 {
  font-size: 15px;
  margin: 0;
}
.transaction-head > span {
  font-size: 11px;
  color: #9ba5ba;
}
.transaction-list {
  max-height: 245px;
  overflow: auto;
  scrollbar-width: thin;
  padding-right: 3px;
}
.transaction {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.transaction .category-icon {
  width: 43px;
  height: 43px;
  border-radius: 16px;
}
.transaction .category-icon .icon {
  width: 23px;
  height: 23px;
}
.transaction > div {
  flex: 1;
}
.transaction strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.transaction small {
  display: block;
  font-size: 10px;
  color: #a0a9ba;
  margin-top: 5px;
}
.transaction > b {
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 650;
}
.transaction > b.income {
  color: #6a8f3e;
}
dialog {
  border: 0;
  width: min(440px, calc(100% - 36px));
  padding: 30px;
  border-radius: 30px;
  color: var(--ink);
  box-shadow: 0 30px 100px #0a164c4d;
}
dialog::backdrop {
  background: #0c1e7b66;
  backdrop-filter: blur(12px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-heading h2 {
  font-size: 25px;
}
.edit-amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0;
  font-size: 24px;
}
.edit-amount input {
  width: 100%;
  min-width: 0;
  font-size: 47px;
  letter-spacing: -2px;
  color: var(--ink);
  font-weight: 650;
}
.field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #8c99b2;
}
.field select {
  padding: 7px 4px;
  background: #f1f4fb;
  color: #3c4b6f;
  border-radius: 10px;
  min-width: 150px;
  text-align: right;
}
dialog .button {
  width: 100%;
  font-size: 17px;
  margin-top: 10px;
  min-height: 52px;
}
.form-error {
  font-size: 12px;
  color: #c64f66;
  min-height: 18px;
  margin: 8px 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 145px;
  transform: translate(-50%, 18px);
  z-index: 30;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 22px;
  background: #fff;
  color: #25324e;
  border-radius: 30px;
  box-shadow: 0 10px 35px #10246c28;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.toast .icon {
  color: #779e42;
}
.noscript {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: var(--lime);
  text-align: center;
  z-index: 40;
  font-size: 14px;
}
.noscript a {
  text-decoration: underline;
}
@media (min-width: 1500px) {
  .hero-copy {
    top: 19%;
  }
  .demo-stage {
    top: 20%;
  }
  .demo-sheet {
    min-height: 690px;
  }
  .receipt {
    width: 250px;
    height: 208px;
  }
  .assistant-label {
    margin-top: 8px;
    margin-bottom: 18px;
  }
}
@media (max-width: 1200px) and (min-width: 801px) {
  .header {
    height: 105px;
  }
  .brand {
    font-size: 26px;
  }
  .download-small {
    font-size: 16px;
    padding: 15px 21px;
  }
  .hero {
    height: calc(100svh - 105px);
    min-height: 715px;
  }
  .hero-copy {
    top: 22%;
    width: 43%;
  }
  h1 {
    font-size: 10.2vw;
    letter-spacing: -5px;
  }
  .download-main {
    height: 80px;
    padding: 0 30px;
    font-size: 23px;
  }
  .download-main .icon {
    width: 29px;
    height: 29px;
  }
  .download-main .arrow {
    margin-left: 6px;
  }
  .demo-stage {
    right: 4%;
    top: 15%;
    width: 48.5%;
  }
  .mascot-button {
    width: 290px;
    height: 290px;
    top: -178px;
  }
  .demo-sheet {
    padding: 23px 24px 25px;
    border-radius: 43px;
    min-height: 580px;
  }
  .draft-card {
    margin-left: 18px;
    padding: 20px;
    border-radius: 26px;
  }
  .draft-summary {
    gap: 10px;
    font-size: 18px;
  }
  .draft-amount {
    font-size: 29px;
  }
  .category-icon {
    width: 48px;
    height: 48px;
  }
  .button {
    font-size: 17px;
    min-height: 53px;
    padding: 12px;
  }
  .receipt {
    width: 200px;
    height: 160px;
    margin-right: 30px;
  }
  .message-bubble {
    padding-left: 15px;
    min-height: 51px;
  }
  .message-bubble input {
    font-size: 16px;
    width: 172px;
  }
  .avatar {
    width: 40px;
    height: 40px;
  }
  .assistant-label {
    margin-top: 5px;
  }
  .account-row b {
    font-size: 14px;
  }
  .account-row {
    font-size: 13px;
  }
  .mode-dock {
    min-width: 490px;
    bottom: 25px;
  }
  .mode-tab {
    min-height: 61px;
    font-size: 18px;
    padding: 12px 20px;
  }
  .manual-amount {
    margin: 10px 0;
  }
  .manual-amount input {
    font-size: 49px;
  }
  .keypad button {
    height: 42px;
  }
  .ledger-total > strong {
    font-size: 42px;
  }
  .transaction-list {
    max-height: 190px;
  }
}
@media (max-width: 800px) {
  .scene {
    min-height: 100svh;
    background-position: 48% center;
    background-size: auto 100%;
  }
  .header {
    height: 90px;
    padding: 0 6%;
  }
  .brand {
    font-size: 23px;
    gap: 10px;
    letter-spacing: -0.5px;
  }
  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 13px;
  }
  .brand-mark .icon {
    width: 29px;
    height: 29px;
  }
  .header nav {
    gap: 14px;
  }
  .try-button {
    font-size: 14px;
  }
  .try-button .icon {
    display: none;
  }
  .download-small {
    font-size: 13px;
    padding: 12px 17px;
    gap: 6px;
  }
  .download-small .icon {
    width: 20px;
    height: 20px;
  }
  .hero {
    height: auto;
    min-height: 1090px;
    padding: 22px 6% 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 145px;
  }
  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    z-index: 1;
    align-self: flex-start;
  }
  h1 {
    font-size: clamp(62px, 13.5vw, 106px);
    line-height: 1.07;
    letter-spacing: -4px;
  }
  h1 span {
    display: block;
  }
  .title-swoosh {
    width: 180px;
    height: 22px;
    margin: 0 0 17px 175px;
  }
  .download-main {
    height: 60px;
    padding: 0 24px;
    font-size: 18px;
    gap: 10px;
  }
  .download-main .icon {
    width: 25px;
    height: 25px;
  }
  .download-main .arrow {
    margin-left: 15px;
    width: 23px;
    height: 23px;
  }
  .release-note {
    font-size: 10px;
    margin: 10px 0 0 17px;
  }
  .demo-stage {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 570px;
    transform: rotate(-2deg);
    z-index: 2;
  }
  .mascot-button {
    width: 270px;
    height: 270px;
    top: -174px;
    left: auto;
    right: 0;
    transform: rotate(2deg);
  }
  .demo-sheet {
    padding: 22px 25px 25px;
    border-radius: 36px;
    min-height: 590px;
  }
  .sheet-top {
    margin-bottom: 15px;
  }
  .message-bubble {
    padding-left: 18px;
    min-height: 51px;
  }
  .message-bubble input {
    font-size: 17px;
    width: 183px;
  }
  .avatar {
    width: 42px;
    height: 42px;
  }
  .avatar .icon {
    width: 29px;
    height: 29px;
  }
  .receipt {
    width: 205px;
    height: 165px;
    margin-right: 35px;
    border-radius: 20px;
  }
  .assistant-label {
    font-size: 14px;
    margin: 1px 0 12px;
    gap: 10px;
  }
  .assistant-mark {
    width: 39px;
    height: 39px;
  }
  .assistant-mark .icon {
    width: 26px;
    height: 26px;
  }
  .draft-card {
    margin-left: 28px;
    border-radius: 26px;
    padding: 22px;
  }
  .draft-summary {
    gap: 12px;
    font-size: 19px;
    padding-bottom: 18px;
  }
  .draft-amount {
    font-size: 31px;
  }
  .category-icon {
    width: 50px;
    height: 50px;
  }
  .category-icon .icon {
    width: 27px;
    height: 27px;
  }
  .account-row {
    padding: 18px 0;
    font-size: 13px;
  }
  .account-row b {
    font-size: 14px;
  }
  .account-row > span:last-child {
    gap: 6px;
  }
  .button {
    font-size: 17px;
    min-height: 54px;
    border-radius: 17px;
  }
  .mode-dock {
    position: fixed;
    bottom: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    min-width: 0;
    width: min(90%, 510px);
    padding: 7px;
    box-shadow: 0 10px 35px #0a209e38;
  }
  .mode-tab {
    font-size: 17px;
    min-height: 57px;
    padding: 11px 14px;
    gap: 8px;
  }
  .mode-tab .icon {
    width: 26px;
    height: 26px;
  }
  .toast {
    bottom: 110px;
  }
  .manual-heading,
  .ledger-heading {
    margin-top: 2px;
    margin-bottom: 20px;
  }
  .manual-amount {
    margin: 15px 0;
  }
  .keypad button {
    height: 45px;
  }
  .ledger-total > strong {
    font-size: 43px;
  }
  .transaction-list {
    max-height: 200px;
  }
}
@media (min-width: 551px) and (max-width: 800px) {
  .hero {
    padding-top: 20px;
    gap: 88px;
  }
  .hero-copy {
    padding-left: 1%;
  }
  h1 {
    font-size: 84px;
  }
  .hero-copy h1 span {
    display: inline;
  }
  .title-swoosh {
    margin-left: 44%;
    width: 190px;
  }
  .download-main {
    height: 62px;
  }
  .demo-stage {
    width: 88%;
    align-self: flex-end;
    margin-right: 0;
  }
  .mascot-button {
    right: 18px;
    top: -173px;
  }
  .demo-sheet {
    min-height: 590px;
  }
  .hero {
    min-height: 1030px;
  }
  .receipt {
    height: 165px;
  }
  .draft-card {
    margin-left: 30px;
  }
}
@media (max-width: 400px) {
  .header {
    height: 80px;
    padding: 0 5%;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .header nav {
    gap: 12px;
  }
  .download-small {
    padding: 11px 13px;
    font-size: 12px;
  }
  .download-small .icon {
    display: none;
  }
  .hero {
    padding: 25px 5% 125px;
    gap: 135px;
    min-height: 1110px;
  }
  h1 {
    font-size: 68px;
    letter-spacing: -3px;
  }
  .title-swoosh {
    margin-left: 145px;
    width: 155px;
  }
  .demo-sheet {
    padding: 20px 18px 22px;
    min-height: 574px;
    border-radius: 31px;
  }
  .mascot-button {
    width: 244px;
    height: 244px;
    top: -158px;
    right: -8px;
  }
  .message-row {
    gap: 8px;
  }
  .message-bubble input {
    font-size: 15px;
    width: 161px;
  }
  .message-bubble {
    padding-left: 13px;
  }
  .avatar {
    width: 36px;
    height: 36px;
  }
  .send-button {
    width: 28px;
  }
  .receipt {
    width: 183px;
    height: 151px;
    margin-right: 27px;
  }
  .draft-card {
    margin-left: 14px;
    padding: 18px;
    border-radius: 23px;
  }
  .draft-summary {
    font-size: 17px;
    gap: 8px;
  }
  .draft-amount {
    font-size: 28px;
  }
  .category-icon {
    width: 43px;
    height: 43px;
  }
  .button {
    font-size: 15px;
    padding: 12px 10px;
    min-height: 51px;
  }
  .account-row b {
    font-size: 13px;
  }
  .account-row {
    padding: 17px 0;
  }
  .account-row .icon {
    width: 19px;
  }
  .mode-dock {
    width: 92%;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .mode-tab {
    font-size: 15px;
    min-height: 52px;
    gap: 7px;
    padding: 10px;
  }
  .mode-tab .icon {
    width: 23px;
    height: 23px;
  }
  h2 {
    font-size: 25px;
  }
  .manual-amount input {
    font-size: 52px;
  }
  .keypad button {
    height: 44px;
  }
  .ledger-total {
    padding: 21px;
  }
  .ledger-total > strong {
    font-size: 38px;
  }
  .ledger-total > div {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@font-face {
  font-family: PaytextDisplay;
  src: url("/assets/vendor/heading-noto-sc-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
h1 {
  font-family: PaytextDisplay, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.title-swoosh {
  object-fit: cover;
  object-position: center;
}
@media (min-width: 801px) and (max-height: 850px) {
  .header {
    height: 100px;
  }
  .brand {
    font-size: 27px;
  }
  .brand-mark {
    width: 47px;
    height: 47px;
    border-radius: 16px;
  }
  .download-small {
    font-size: 17px;
    padding: 15px 24px;
  }
  .hero {
    height: calc(100svh - 100px);
    min-height: 600px;
  }
  .hero-copy {
    top: 17%;
    width: 44%;
  }
  h1 {
    font-size: clamp(90px, 10.2vw, 145px);
    line-height: 1.1;
  }
  .title-swoosh {
    height: 30px;
    margin-top: 0;
    margin-bottom: 22px;
  }
  .download-main {
    height: 83px;
    padding: 0 34px;
    font-size: 24px;
  }
  .download-main .icon {
    width: 31px;
    height: 31px;
  }
  .release-note {
    font-size: 10px;
  }
  .demo-stage {
    top: 13%;
    width: 59%;
    max-width: 745px;
    transform: rotate(-3deg) scale(0.78);
    transform-origin: top right;
  }
  .demo-sheet {
    min-height: 650px;
    padding: 26px 34px 34px;
  }
  .receipt {
    width: 234px;
    height: 193px;
    margin-right: 55px;
  }
  .draft-card {
    padding: 26px;
    margin-left: 46px;
  }
  .draft-amount {
    font-size: 36px;
  }
  .draft-summary {
    font-size: 23px;
    gap: 16px;
  }
  .category-icon {
    width: 59px;
    height: 59px;
  }
  .message-bubble input {
    font-size: 20px;
    width: 211px;
  }
  .mode-dock {
    left: 25%;
    bottom: 26px;
    min-width: 480px;
    padding: 7px;
  }
  .mode-tab {
    font-size: 18px;
    min-height: 59px;
    padding: 12px 20px;
  }
  .mode-tab .icon {
    width: 27px;
    height: 27px;
  }
}
.demo-badge,
.assistant-label,
.account-row,
.eyebrow-cn,
.transaction-head > span,
.transaction small,
.budget > div,
.field {
  color: #6c7894;
}
.transaction > div {
  min-width: 0;
}
.transaction strong,
.transaction small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.transaction > b {
  flex-shrink: 0;
}
.draft-amount.compact {
  font-size: 27px;
  letter-spacing: -1px;
}
.ledger-total > strong.compact {
  font-size: 35px;
}
.manual-meta > input::placeholder {
  color: #74819b;
}
.release-note {
  color: #e6ebff;
}
@media (min-width: 1201px) and (min-height: 851px) {
  h1 {
    font-size: clamp(110px, 11.4vw, 180px);
    line-height: 1.04;
  }
  .hero-copy {
    top: 13.5%;
  }
  .demo-stage {
    top: 12%;
  }
  .mascot-button {
    width: 380px;
    height: 380px;
    top: -230px;
  }
}
@media (max-width: 800px) {
  .draft-amount.compact {
    font-size: 22px;
  }
  .ledger-total > strong.compact {
    font-size: 30px;
  }
  .message-bubble input,
  .manual-meta > input,
  .manual-meta select {
    font-size: 16px;
  }
  .title-swoosh {
    max-width: calc(100% - 145px);
  }
}
@media (max-width: 400px) {
  .draft-amount.compact {
    font-size: 18px;
    letter-spacing: -0.5px;
  }
  .ledger-total > strong.compact {
    font-size: 26px;
  }
  .message-bubble input {
    font-size: 16px;
  }
}
@media (min-width: 801px) {
  .title-swoosh {
    transform: scaleY(1.5);
  }
}
:root {
  font-synthesis: weight;
}
.button.primary.recorded:hover {
  background: #e9f6d8;
  color: #456b31;
  transform: none;
}
@media (min-width: 801px) and (max-height: 850px) {
  .hero-copy {
    top: 12%;
  }
  .download-main {
    height: 74px;
    font-size: 22px;
  }
}
