@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #121212;
  --surface: #1D1D1C;
  --surface-2: #242423;
  --ink: #F1F1EF;
  --accent: #D2D2CF;
  --accent-strong: #F6F6F4;
  --accent-soft: #2B2B2A;
  --muted: #96958F;
  --line: rgba(241, 241, 239, 0.14);
  --income: #0CA30C;
  --expense: #D03B3B;
  --series-1: #3987E5;
  --series-2: #D95926;
  --series-3: #199E70;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  --glass-bg: rgba(29, 29, 28, 0.82);

  --radius-sm: 8px;
  --radius-row: 14px;
  --radius-hero: 17px;
  --radius-sheet: 29px;
  --radius-pill: 999px;

  --content-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Rubik", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--accent-strong);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 18, 18, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  width: 44px; height: 44px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 44px; height: 44px; }
@media (max-width: 480px) {
  .brand { font-size: 18px; gap: 8px; min-height: 44px; }
  .brand-mark, .brand-mark svg { width: 30px; height: 30px; }
  .site-header .btn { padding: 11px 13px; font-size: 12.5px; gap: 6px; min-height: 44px; }
  .site-header .btn-primary svg,
  .site-header .btn-primary i { width: 14px; height: 14px; font-size: 14px; }
  .site-header .wrap { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 380px) {
  .site-header .btn-primary { padding: 11px; width: 44px; justify-content: center; }
  .site-header .btn-label { display: none; }
}

.site-nav {
  display: flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-strong);
  color: #121212;
}
.btn-primary[href*="play.google.com"] {
  border-radius: 10px;
}
.btn-primary:hover { background: #fff; }
.btn-primary svg,
.btn-primary i { width: 18px; height: 18px; font-size: 18px; flex: 0 0 auto; }

.lang-switch {
  position: relative;
  margin-right: 12px;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44.5px;
  height: 44.5px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lang-switch-btn::-webkit-details-marker,
.lang-switch-btn::marker { display: none; content: ""; }
.lang-switch-btn:hover,
.lang-switch[open] .lang-switch-btn {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--paper);
}
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-row);
  padding: 6px;
  margin: 0;
  list-style: none;
  min-width: 168px;
  box-shadow: var(--shadow);
  z-index: 30;
}
.lang-switch-menu li { margin: 0; }
.lang-switch-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
}
.lang-switch-menu a[aria-current="true"] {
  color: var(--accent-strong);
  font-weight: 700;
}
.lang-switch-menu a:hover { color: var(--accent-strong); }
@media (max-width: 480px) {
  .lang-switch { margin-right: 6px; }
  .lang-switch-btn { width: 44px; height: 44px; font-size: 12.5px; }
}

.hero {
  padding: 72px 0 56px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
.hero .wrap > *,
.feature .wrap > *,
.flow-grid > * { min-width: 0; }
h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--accent);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}
.hero-phone {
  display: flex;
  flex-direction: column;
  gap: 16px;
    flex: 0 1 344px;
  min-width: 0;
}
.hero-notif {
  width: 100%;
  max-width: 344px;
  margin: 0 auto;
  padding: 15px 17px 16px;
}
.hero-notif .notif-title { font-size: 15px; }
.hero-notif .notif-body { font-size: 13.5px; }
.hero-mascot {
  width: 152px;
  margin: 0 0 22px;
}
@media (max-width: 880px) {
    .hero-mascot { width: 130px; margin: 0 auto 18px; }
  .hero .hero-ctas { justify-content: center; }
}
@media (max-width: 420px) {
  .hero-mascot { width: 106px; }
}

.phone-frame {
  isolation: isolate;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 375 / 780;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.phone-frame .phone { zoom: 0.8; }
.phone-frame .screen { scrollbar-width: none; }
@media (max-width: 880px) {
  .phone-frame { pointer-events: none; }
}

.feature {
  padding: 64px 0;
}
.feature .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .feature .wrap { grid-template-columns: 1fr; }
}
.feature.reverse .wrap { direction: rtl; }
.feature.reverse .wrap > * { direction: ltr; }

@media (min-width: 881px) {
  .feature-wide .wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 36px;
  }
    .feature-wide .feature-copy { max-width: 900px; }
  .feature-wide .feature-copy p { max-width: 620px; margin-left: auto; margin-right: auto; }
  .feature-wide .feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 28px;
    text-align: left;
  }
  .feature-wide .feature-visual { width: 100%; }
}

.feature h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  font-weight: 700;
}
.feature-copy p {
  font-size: 16px;
  color: var(--accent);
  max-width: 50ch;
  margin: 0 0 20px;
}
.feature-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink);
}
.feature-list svg {
  width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px;
  color: var(--accent-strong);
}

.highlights,
.site-footer {
  background: #FEFEFD;
  color: #161616;
}
.final-cta { background: var(--paper); color: var(--ink); }
.highlights > .band-wave,
.site-footer > .band-wave { fill: #FEFEFD; }
.final-cta > .band-wave { fill: var(--paper); }
.highlights {
  position: relative;
  margin-top: 40px;
  padding: 56px 0 84px;
}
.band-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: 30px;
  display: block;
  fill: #FEFEFD;
}
.highlights .section-head h2 { color: #161616; }
.unique-list {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
  max-width: 760px;
}
.unique-item {
  display: flex;
  gap: 18px;
}
.unique-icon {
  flex: 0 0 auto;
  width: 24px;
  color: #161616;
  font-size: 18px;
  line-height: 1;
  align-self: flex-start;
  padding-top: 3px;
  text-align: center;
}
.unique-item h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 7px;
}
.unique-item p {
  font-size: 15px;
  color: #46463F;
  margin: 0;
}
.unique-rest {
  font-size: 15px;
  color: #4E4E48;
  margin: 0;
  max-width: 760px;
}
@media (max-width: 480px) {
  .unique-item { gap: 14px; }
  .unique-item h3 { font-size: 16.5px; }
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--accent); font-size: 16px; margin: 0; }

.final-cta {
  position: relative;
    padding: 76px 0 108px;
  text-align: center;
}
.final-cta h2 {
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.final-cta p {
  color: var(--accent);
  font-size: 17px;
  margin: 0 0 28px;
}
.final-cta .hero-ctas { justify-content: center; }

.site-footer {
  position: relative;
  padding: 26px 0 36px;
}
.site-footer .wrap {
  text-align: center;
}
.site-footer p {
  color: #4E4E48;
  font-size: 13.5px;
  margin: 0;
}

.flow {
  padding: 24px 0 64px;
}
.flow .section-head {
  max-width: 680px;
  margin-bottom: 36px;
}
.flow-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 36px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  color: var(--accent);
  width: fit-content;
  max-width: 100%;
}
.flow-note i { color: var(--accent-strong); font-size: 15px; flex: 0 0 auto; }
@media (max-width: 560px) {
  .flow-note { border-radius: var(--radius-hero); align-items: flex-start; }
  .flow-note i { margin-top: 3px; }
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.58fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .flow-grid { grid-template-columns: 1fr; gap: 28px; }
    .flow-steps { justify-self: center; width: 100%; }
}

.flow-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 470px;
}
.flow-step { position: relative; }
.flow-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.flow-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex: 0 0 auto;
}
.flow-step-label {
  font-size: 15px;
  font-weight: 600;
    color: var(--ink);
}

.notif {
  background: #FEFEFD;
  color: #161616;
  border-radius: 24px;
  padding: 16px 20px 18px;
  box-shadow: var(--shadow);
}
.notif-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}
.notif-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #161616;
  color: #FEFEFD;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px;
  flex: 0 0 auto;
}
.notif-icon svg { width: 18px; height: 18px; }
.notif-app { font-size: 14px; color: #3C3C3A; }
.notif-sep, .notif-time { font-size: 14px; color: #6E6E69; }
.notif-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 3px;
}
.notif-body {
  font-size: 15px;
  color: #262624;
  margin: 0;
}

.tx-card {
  width: 100%;
  background: #FEFEFD;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 6px 0;
}
.tx-card .tx-row { margin: 0; padding: 14px 18px; }
.tx-card .tx-icon {
  width: 38px; height: 38px;
    background: #E8E8E4;
  color: #3C3C3A;
}
.tx-card .tx-mid .name { font-size: 15.5px; color: #161616; }
.tx-card .tx-detail { font-size: 12.5px; color: #6E6E69; }
.tx-card .tx-detail i { width: 12.5px; font-size: 11px; }
.tx-card .tx-amt { font-size: 15.5px; color: #161616; }
.tx-card .tx-time { font-size: 12.5px; color: #6E6E69; }

.flow-mascot img,
.hero-mascot,
.feature-mascot,
.cta-mascot { height: auto; }

.cta-mascot {
  width: 100%;
  max-width: 264px;
  margin: 0 auto 26px;
}
@media (max-width: 880px) {
  .cta-mascot { max-width: 220px; }
}
.flow-mascot img,
.feature-mascot { width: 100%; }

.flow-mascot {
  max-width: 320px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .flow-mascot { max-width: 210px; }
}

.trust {
  padding: 56px 0 64px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 36px;
}
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 14px;
  }
  .trust-card-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    padding-top: 1px;
    text-align: center;
    font-size: 16px;
  }
  .trust-card h3 { grid-column: 2; grid-row: 1; margin: 0 0 5px; }
  .trust-card p { grid-column: 2; grid-row: 2; }
}
.trust-card {
  padding: 0;
}
.trust-card-icon {
  color: var(--accent-strong);
  font-size: 17px;
  line-height: 1;
  margin-bottom: 14px;
}
.trust-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.trust-card p {
  font-size: 14px;
  color: var(--accent);
  margin: 0;
}

.feature-mascot {
  max-width: 230px;
  margin: 0 0 24px;
}
@media (max-width: 880px) {
    .feature-mascot { max-width: 190px; margin: 0 auto 20px; }
}
@media (max-width: 420px) {
  .feature-mascot { max-width: 160px; }
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.social-links {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0; padding: 0;
}
.social-links a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(22, 22, 22, 0.22);
  color: #161616;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  text-decoration: none;
}
.social-links a:hover {
  border-color: #161616;
  background: #161616;
  color: #FEFEFD;
}
