/* spendryapp.com. Without script or with reduced motion every section shows in its final state.
   The pictures do the talking: real screens and widgets from the app, set on deep colour. No badges, no glows. */
:root {
  --ink: #0a0f24;
  --ink-2: #3a4163;
  --ink-3: #6a7194;
  --line: rgba(10, 15, 36, .09);
  --paper: #f3f5fb;
  --white: #fff;
  --night: #060918;
  --night-2: #0c1130;
  --blue: #2e6bff;
  --blue-soft: #9db2ff;
  --muted-dark: #9aa3c7;
  --green: #12a876;
  --wrap: min(1200px, calc(100% - 40px));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --tight: -.035em;
  --tight-2: -.02em;
  --lh-title: 1.04;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --pad: clamp(64px, 8vw, 116px);
}
html:lang(ja), html:lang(zh), html:lang(ko), html:lang(th), html:lang(ar), html:lang(he), html:lang(ur), html:lang(hi),
html:lang(bn), html:lang(gu), html:lang(kn), html:lang(ml), html:lang(mr), html:lang(or), html:lang(pa), html:lang(ta), html:lang(te) {
  --tight: 0em;
  --tight-2: 0em;
  --lh-title: 1.2;
}
html:lang(ml), html:lang(ta), html:lang(te), html:lang(kn) { --lh-title: 1.28; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 12px; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
::selection { background: rgba(46, 107, 255, .2); }

/* ---------- type ---------- */
.title { font-size: clamp(34px, 5vw, 72px); font-weight: 760; letter-spacing: var(--tight); line-height: var(--lh-title); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.title em { font-style: normal; color: var(--blue); }
.title-sm { font-size: clamp(30px, 3.6vw, 50px); }
.title-lg { font-size: clamp(38px, 5.6vw, 84px); }
.title-xl { font-size: clamp(44px, 7.4vw, 120px); }
.sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }
.head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(28px, 3.6vw, 48px); }
.head .title { max-width: 15em; }
.head-center { justify-items: center; text-align: center; margin-inline: auto; }
.head-center .title, .head-center .sub { margin-inline: auto; }
.head-dark .title { color: #fff; }
.head-dark .title em { color: var(--blue-soft); }
.head-dark .sub { color: var(--muted-dark); }
.split-line { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title, .cap-t, .words, .fl h3, .tool h3 { overflow-wrap: break-word; hyphens: auto; }
html:lang(ml) .title, html:lang(ta) .title, html:lang(te) .title, html:lang(kn) .title { font-size: clamp(30px, 4.1vw, 60px); }

/* ---------- buttons ---------- */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 26px 0 22px; border-radius: 999px; background: #fff; color: #05070f;
  font-size: 17px; font-weight: 650; letter-spacing: -.01em; box-shadow: 0 10px 28px -16px rgba(0, 0, 0, .55); white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-store:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .6); }
.btn-store .apple { width: 22px; height: 22px; margin-top: -3px; flex: none; }
.btn-store span { line-height: 1.15; }
.btn-store.dark { background: var(--ink); color: #fff; }
.btn-store-sm { height: 48px; font-size: 15px; padding: 0 20px 0 18px; }
@media (max-width: 520px) { .btn-store { white-space: normal; height: auto; min-height: 56px; padding-block: 9px; max-width: 100%; } }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  color: #dfe6ff; border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, border-color .3s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); }
.btn-ghost .ic { width: 18px; height: 18px; }
.btn-soft {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: rgba(10, 15, 36, .05); color: var(--ink); border: 1px solid var(--line); transition: background .25s;
}
.btn-soft:hover { background: rgba(10, 15, 36, .09); }
.btn-soft .ic { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 650; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
[dir="rtl"] .link-arrow .ic, [dir="rtl"] .t-go .ic, [dir="rtl"] .crumbs .ic, [dir="rtl"] .btn-ghost-dark .ic { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; pointer-events: none; transition: transform .6s var(--ease); }
.nav.away { transform: translateY(-140%); }
.nav-in {
  pointer-events: auto; width: min(1180px, calc(100% - 24px)); margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px;
  border-radius: 20px; background: rgba(10, 14, 38, .62); border: 1px solid rgba(255, 255, 255, .08); color: #fff;
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); transition: background .5s, border-color .5s, color .5s;
}
[dir="rtl"] .nav-in { padding: 0 18px 0 8px; }
.nav.light .nav-in { background: rgba(255, 255, 255, .8); border-color: rgba(10, 15, 36, .07); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 30px; height: auto; }
.nav-links { display: none; gap: 2px; margin-inline-start: 18px; }
.nav-links a { padding: 8px 13px; border-radius: 12px; font-size: 15px; font-weight: 550; opacity: .8; transition: opacity .2s, background .2s; }
.nav-links a:hover { opacity: 1; background: rgba(127, 140, 200, .12); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 12px; font-size: 13px; font-weight: 650; opacity: .9; }
.lang-btn:hover { background: rgba(127, 140, 200, .12); }
.lang-btn .ic { width: 19px; height: 19px; }
.btn-nav { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 13px; font-size: 15px; font-weight: 650; background: var(--blue); color: #fff; white-space: nowrap; transition: background .25s; }
.btn-nav:hover { background: #1f5cf0; }
@media (min-width: 980px) { .nav-links { display: flex; } }
@media (max-width: 420px) { .lang-btn span { display: none; } .lang-btn { padding: 0 10px; } .nav-in { gap: 6px; padding-inline-start: 14px; } }

.lang-panel {
  position: fixed; inset: 0; z-index: 60; background: rgba(6, 9, 24, .92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  color: #fff; display: grid; place-items: center; padding: 90px 20px 40px; overflow-y: auto; opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility 0s .4s;
}
.lang-panel[hidden] { display: none; }
.lang-panel.open { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
.lang-in { width: min(980px, 100%); }
.lang-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.lang-top p { font-size: clamp(28px, 4vw, 44px); font-weight: 750; letter-spacing: var(--tight); }
.lang-close { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); }
.lang-close:hover { background: rgba(255, 255, 255, .1); }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px; }
.lang-grid a { padding: 12px 14px; border-radius: 12px; font-size: 16px; color: #d6ddfb; transition: background .2s, color .2s; }
.lang-grid a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lang-grid a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- stage: hero and story (dark the whole way) ---------- */
.stage { position: relative; background: var(--night); color: #fff; }
.stage-pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.aurora-css { position: absolute; inset: 0; z-index: -4; background: radial-gradient(70% 60% at 72% 34%, #1b2d86 0%, rgba(27, 45, 134, 0) 70%), radial-gradient(60% 50% at 10% 90%, #1d1452 0%, rgba(29, 20, 82, 0) 70%), var(--night); }
.hero-col { position: absolute; z-index: 2; top: 0; bottom: 0; inset-inline-start: max(20px, calc((100% - 1200px) / 2)); width: min(620px, 46%); display: grid; align-content: center; padding-top: 70px; }
.hero-copy { display: grid; justify-items: start; gap: 22px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--muted-dark); letter-spacing: .005em; }
.hero-title { font-size: clamp(44px, 5.4vw, 86px); font-weight: 800; letter-spacing: var(--tight); line-height: calc(var(--lh-title) - .04); text-wrap: balance; }
html:lang(ja) .hero-title, html:lang(zh) .hero-title, html:lang(ko) .hero-title { font-size: clamp(36px, 4.4vw, 70px); }
html:lang(ml) .hero-title, html:lang(ta) .hero-title, html:lang(te) .hero-title, html:lang(kn) .hero-title { font-size: clamp(34px, 4.6vw, 72px); }
.hero-title .ln { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .ln-in { display: block; }
.hero-title .ln-2 .ln-in { color: #8d97c2; }
.hero-copy .lead { font-size: clamp(17px, 1.35vw, 20px); color: #b0b9dc; max-width: 30em; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { font-size: 15px; color: #8790b6; }
.phones { position: absolute; z-index: 1; inset-inline-end: max(-10px, calc((100% - 1300px) / 2)); top: 6%; width: 46%; height: 88%; --ph: min(78svh, 740px, 104vw); --pw: calc(var(--ph) * .46); }
.pw { position: absolute; left: 50%; top: 50%; width: var(--pw); aspect-ratio: 1206 / 2622; margin: calc(var(--pw) * -1.087) 0 0 calc(var(--pw) * -.5); }
.phone {
  position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .128); overflow: hidden; background: #0b0f25;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .75);
}
.phone img.shot { width: 100%; height: 100%; object-fit: cover; }
html:not(.motion) .pw-l { transform: translate(-60%, 5%) scale(.84); }
html:not(.motion) .pw-r { transform: translate(60%, 5%) scale(.84); }
.ph-l, .ph-r { opacity: .9; }
.pw-c { z-index: 2; }
.screens { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.scr { position: absolute; inset: 0; }
.lifts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.lift { position: absolute; border-radius: 6% / 12%; opacity: 0; transform-origin: 50% 50%; }
.slot { position: absolute; border-radius: 6% / 12%; background: #e6eaf4; box-shadow: inset 0 3px 10px rgba(10, 15, 36, .14); opacity: 0; }
.fw { position: absolute; z-index: 4; left: 50%; top: 50%; width: calc(var(--pw) * .8); }
.float { width: 100%; border-radius: calc(var(--pw) * .06); box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .45); }
html:not(.motion) .fw-1 { transform: translate(-96%, 70%) rotate(-6deg); }
html:not(.motion) .fw-2 { transform: translate(30%, -150%) rotate(5deg); }
.toast { position: absolute; z-index: 6; left: 0; right: 0; margin-inline: auto; top: calc(50% - var(--pw) * 1.087 + var(--pw) * .1); width: min(calc(var(--pw) * 1.12), 92vw); pointer-events: none; }
.toast .note-card { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .65), inset 0 0 0 .5px rgba(255, 255, 255, .7); }
.caps { position: absolute; z-index: 3; inset-inline-start: max(20px, calc((100% - 1200px) / 2)); top: 0; bottom: 0; width: min(500px, 40%); display: grid; align-items: center; pointer-events: none; }
.cap { grid-area: 1 / 1; display: grid; gap: 16px; opacity: 0; color: #fff; }
.cap-k { display: inline-flex; align-items: baseline; gap: 12px; font-weight: 600; color: var(--muted-dark); font-size: 15px; }
.cap-n { font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; }
.cap-t { font-size: clamp(34px, 4.2vw, 62px); font-weight: 780; letter-spacing: var(--tight); line-height: var(--lh-title); text-wrap: balance; }
html:lang(ml) .cap-t, html:lang(ta) .cap-t, html:lang(te) .cap-t, html:lang(kn) .cap-t { font-size: clamp(28px, 3.6vw, 52px); }
.cap-p { font-size: clamp(17px, 1.35vw, 20px); color: #b0b9dc; max-width: 26em; }

/* Without motion: a still hero, then the three steps as plain rows. */
html:not(.motion) .stage-pin { height: auto; min-height: 0; padding: 130px 0 80px; display: grid; gap: 60px; }
html:not(.motion) .hero-col, html:not(.motion) .phones, html:not(.motion) .caps { position: relative; inset: auto; width: var(--wrap); margin-inline: auto; padding-top: 0; }
html:not(.motion) .phones { height: 70vh; }
html:not(.motion) .caps { height: auto; display: grid; gap: 40px; }
html:not(.motion) .cap { grid-area: auto; opacity: 1; }
html:not(.motion) .float { display: none; }
html:not(.motion) .scr-1, html:not(.motion) .scr-2 { display: none; }

@media (min-width: 900px) and (max-height: 820px) {
  .hero-title { font-size: clamp(40px, min(5.2vw, 9.6vh), 80px); }
  .hero-copy { gap: 16px; }
  .hero-copy .lead { font-size: 16px; }
  .hero-copy .btn-store, .hero-copy .btn-ghost { height: 52px; }
}
@media (min-width: 900px) and (max-height: 690px) { .hero-copy .facts, .hero-copy .kicker { display: none; } }
@media (min-width: 900px) and (max-height: 820px) { .hero-col { padding-top: 60px; } }
@media (max-width: 899px) {
  .stage-pin { min-height: 600px; }
  .hero-col { inset-inline: 20px; width: auto; align-content: start; padding-top: 96px; bottom: auto; }
  .hero-copy { gap: 16px; }
  .hero-title { font-size: clamp(38px, 10.4vw, 64px); }
  .hero-copy .lead { font-size: 16px; }
  .hero-cta .btn-ghost { display: none; }
  .btn-store { height: 56px; }
  .phones { width: 100%; inset-inline-end: 0; top: auto; bottom: -34%; height: 70%; --ph: min(66svh, 560px); }
  .caps { inset-inline: 20px; width: auto; top: 61%; bottom: 16px; }
  .cap { gap: 10px; }
  .cap-t { font-size: clamp(28px, 7.6vw, 40px); }
  .cap-p { font-size: 16px; }
  .toast { top: calc(50% - var(--pw) * 1.087 + 76px); }
  html:not(.motion) .phones { height: 60vh; bottom: auto; }
}
@media (max-width: 899px) and (max-height: 700px) { .facts { display: none; } }
@media (min-width: 600px) and (max-width: 899px) { .phones { bottom: -14%; --ph: min(54svh, 640px); } .hero-col { inset-inline-end: 34%; } }

/* ---------- languages and currencies ---------- */
.marquee { background: var(--paper); padding: var(--pad) 0 clamp(20px, 3vw, 40px); overflow: hidden; }
.marquee .head { margin-bottom: clamp(24px, 3vw, 40px); }
/* A fixed height: the rows are emptied and refilled while the page settles, and must not move what is below them. */
.mq { overflow: hidden; white-space: nowrap; height: calc(clamp(34px, 5.4vw, 84px) * 1.18); contain-intrinsic-block-size: calc(clamp(34px, 5.4vw, 84px) * 1.18); }
.mq-track { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 44px); font-size: clamp(34px, 5.4vw, 84px); font-weight: 780; letter-spacing: -.03em; line-height: 1.18; }
.mq-a .mq-track span { color: var(--ink); }
.mq-a .mq-track span:nth-child(4n+3) { color: var(--blue); }
.mq-b .mq-track span { color: transparent; -webkit-text-stroke: 1.3px rgba(10, 15, 36, .26); }
.mq-track i { width: clamp(8px, 1vw, 12px); height: clamp(8px, 1vw, 12px); border-radius: 50%; background: rgba(10, 15, 36, .18); flex: none; }

/* ---------- statement ---------- */
.statement { background: var(--paper); padding: clamp(48px, 7vw, 100px) 0 var(--pad); }
.words { font-size: clamp(32px, 5vw, 76px); font-weight: 760; line-height: 1.1; letter-spacing: var(--tight-2); max-width: 17em; text-wrap: balance; }
html:lang(ml) .words, html:lang(ta) .words, html:lang(te) .words, html:lang(kn) .words { font-size: clamp(28px, 3.8vw, 56px); }
.words .w { opacity: .14; transition: opacity .5s var(--ease); }
.words .w.on { opacity: 1; }
.words .hl .w { color: var(--blue); }
html:not(.motion) .words .w { opacity: 1; }


/* ---------- showcase: a wall of the app's screens ---------- */
.showcase { position: relative; background: #0b0a2e; color: #fff; }
.sc-pin { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; padding: 104px 0 28px; }
.sc-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(90% 70% at 50% 35%, #4b3fd6 0%, #23207a 42%, #0b0a2e 82%); }
.sc-bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 8, 34, .22); }
.sc-copy { position: relative; z-index: 2; }
.sc-copy .head { margin-bottom: 0; }
.sc-copy .title { font-size: clamp(34px, 4.6vw, 66px); }
.sc-box { position: absolute; inset: 0; z-index: 1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 40px, #000 calc(100% - 24px), transparent 100%); }
.sc-wall { --sw: clamp(140px, 13vw, 200px); position: absolute; left: 50%; top: 50%; display: flex; align-items: flex-start; gap: calc(var(--sw) * .16); transform-origin: 50% 50%; }
.sc-col { display: grid; gap: calc(var(--sw) * .16); }
.sc-col-1, .sc-col-3 { margin-top: calc(var(--sw) * .7); }
.scp { margin: 0; width: var(--sw); }
.scp-screen { border-radius: calc(var(--sw) * .13); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -24px rgba(0, 0, 0, .7); background: #0b0f25; }
.scp-screen img { width: 100%; }
.scp figcaption { margin-top: 12px; font-size: 14px; font-weight: 600; color: #c9cff0; text-align: center; }
html:not(.motion) .sc-pin { height: auto; }
html:not(.motion) .sc-box { position: relative; inset: auto; height: 980px; -webkit-mask-image: none; mask-image: none; }
html:not(.motion) .sc-wall { translate: -50% -50%; }
@media (max-width: 760px) {
  .sc-pin, .wid-pin { height: auto; min-height: 0; padding: 72px 0 52px; }
  .sc-box, .wall-box { position: relative; inset: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .sc-box { margin-top: 30px; }
  .sc-wall { --sw: calc((100vw - 40px - 24px) / 3); position: relative; left: auto; top: auto; justify-content: center; gap: 12px; }
  .sc-col { gap: 12px; }
  .sc-col-1, .sc-col-3 { margin-top: calc(var(--sw) * .55); }
  .scp figcaption { font-size: 12px; margin-top: 8px; }
  .sc-col-0, .sc-col-4 { display: none; }
  html:not(.motion) .sc-wall { translate: none; }
  html:not(.motion) .sc-box { height: auto; }
}

/* ---------- features as plain text ---------- */
.features { background: var(--paper); padding: var(--pad) 0 calc(var(--pad) * .6); }
.features .title { margin-bottom: clamp(26px, 3vw, 40px); max-width: 16em; }
.fl { display: grid; gap: 0 40px; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.fl li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.fl h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; letter-spacing: var(--tight-2); }
.fl p { color: var(--ink-2); font-size: 16px; }
@media (min-width: 760px) { .fl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .fl { grid-template-columns: repeat(3, 1fr); } }

/* ---------- debt payoff lab ---------- */
.lab { background: var(--paper); padding: calc(var(--pad) * .6) 0 var(--pad); }
.lab-panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 40px); display: grid; gap: clamp(26px, 3vw, 48px); box-shadow: 0 40px 80px -60px rgba(10, 15, 36, .35); }
.lab-main { display: grid; align-content: start; gap: 6px; }
.lab-k { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.g-month { font-size: clamp(40px, 4.6vw, 68px); font-weight: 800; letter-spacing: var(--tight); line-height: 1.02; font-variant-numeric: tabular-nums; }
.g-dur { font-size: 17px; color: var(--ink-2); }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 22px 0 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figs div { padding: 14px 0; display: grid; gap: 2px; align-content: start; }
.figs div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.figs dt { color: var(--ink-3); font-size: 13.5px; }
.figs dd { margin: 0; font-size: clamp(18px, 1.7vw, 23px); font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.figs .good dd { color: var(--green); }
.controls { display: grid; gap: 14px; margin-top: 18px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; font-weight: 600; }
.range output { font-size: 22px; font-weight: 780; font-variant-numeric: tabular-nums; color: var(--blue); }
.range input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; --p: 20%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--p), rgba(10, 15, 36, .1) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(10, 15, 36, .1); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(10, 15, 36, .12), 0 4px 12px rgba(10, 15, 36, .22); transition: transform .2s var(--ease); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(10, 15, 36, .12), 0 4px 12px rgba(10, 15, 36, .22); }
[dir="rtl"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--blue) var(--p), rgba(10, 15, 36, .1) var(--p)); }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: rgba(10, 15, 36, .06); isolation: isolate; }
.seg button { position: relative; z-index: 1; height: 42px; border-radius: 10px; font-weight: 650; font-size: 15px; color: var(--ink-2); transition: color .3s; }
.seg button[aria-checked="true"] { color: var(--ink); }
.seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc((100% - 8px) / 2); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(10, 15, 36, .12); transition: transform .5s var(--ease); }
.seg-3 .seg-thumb { width: calc((100% - 8px) / 3); }
.m-hint { font-size: 14px; color: var(--ink-3); }
.lab-side { display: grid; align-content: start; gap: 14px; }
.chart { position: relative; height: 220px; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.c-min { fill: none; stroke: rgba(10, 15, 36, .3); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.c-area { fill: url(#ga); }
.c-line { fill: none; stroke: var(--blue); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.c-marks { position: absolute; inset: 0; pointer-events: none; }
.c-marks span { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 3px solid var(--c, var(--blue)); }
.c-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.c-legend span { display: inline-flex; align-items: center; gap: 7px; }
.c-legend span::before { content: ""; width: 16px; height: 3px; border-radius: 2px; background: var(--blue); }
.c-legend .lg-min::before { background: repeating-linear-gradient(90deg, rgba(10, 15, 36, .35) 0 4px, transparent 4px 7px); }
.debts { display: grid; border-top: 1px solid var(--line); }
.debts li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.debts .sw { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.debts li:nth-child(1) { --c: #2e6bff; } .debts li:nth-child(2) { --c: #7a5af0; } .debts li:nth-child(3) { --c: #1fa8d8; } .debts li:nth-child(4) { --c: #12a876; }
.debts b { font-variant-numeric: tabular-nums; font-weight: 700; }
.debts em { font-style: normal; font-size: 13px; color: var(--ink-3); min-width: 4.4em; text-align: end; font-variant-numeric: tabular-nums; }
.lab-note { font-size: 13px; color: var(--ink-3); }
@media (min-width: 980px) { .lab-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (max-width: 560px) { .figs { grid-template-columns: 1fr; } .figs div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); } .chart { height: 180px; } }

/* ---------- reminders ---------- */
.rem { position: relative; color: #fff; isolation: isolate; padding: var(--pad) 0; overflow: clip; background: var(--night); }
.rem-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 40%, #1d2a7a 0%, transparent 60%), radial-gradient(60% 50% at 0% 100%, #24165a 0%, transparent 60%), var(--night); }
.rem-grid { display: grid; gap: 40px; align-items: center; }
.rem .head { margin-bottom: 18px; }
.rem-note { color: #c6cff0; font-size: 16px; max-width: 30em; }
.lock {
  position: relative; width: min(430px, 100%); margin-inline: auto; min-height: 620px; border-radius: 46px; padding: 44px 16px 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 70% at 20% 0%, #3a5dff 0%, transparent 60%), radial-gradient(100% 70% at 100% 100%, #7d55e8 0%, transparent 60%), linear-gradient(180deg, #172067, #0b0f33);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1);
}
.lock-time { display: grid; justify-items: center; color: #fff; text-align: center; margin-bottom: 26px; }
.lock-date { font-size: 18px; font-weight: 600; opacity: .9; }
.lock-clock { font-size: 92px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.notes { display: grid; gap: 10px; align-content: start; }
.note-card {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 13px 15px; border-radius: 24px; color: #0b0d17;
  background: rgba(246, 247, 255, .8); backdrop-filter: blur(26px) saturate(1.8); -webkit-backdrop-filter: blur(26px) saturate(1.8);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55), inset 0 0 0 .5px rgba(255, 255, 255, .7); transform-origin: 50% 0;
}
.note-card img { width: 40px; height: 40px; border-radius: 10px; }
.note-card .nt { display: flex; justify-content: space-between; gap: 8px; font-size: 14.5px; line-height: 1.25; }
.note-card .nt b { font-weight: 650; }
.note-card time { color: rgba(11, 13, 23, .5); font-size: 13px; white-space: nowrap; }
.note-card p { font-size: 14.5px; line-height: 1.3; margin-top: 2px; }
@media (min-width: 980px) { .rem-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; } }
@media (max-width: 520px) { .lock { min-height: 560px; border-radius: 40px; } .lock-clock { font-size: 78px; } }

/* ---------- widgets ---------- */
.wid { position: relative; background: #0a0e2c; color: #fff; }
.wid-pin { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; padding: 104px 0 28px; }
.wid-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(90% 70% at 50% 30%, #2d47d8 0%, #1a1f6e 40%, #0a0e2c 80%); }
.wid-bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 10, 34, .28); }
.wid-copy { position: relative; z-index: 2; }
.wid-copy .head { margin-bottom: 18px; }
.wid-copy .title { font-size: clamp(34px, 4.6vw, 66px); }
.wall-box { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 20px), transparent 100%); }
.wall { --u: 74px; --g: 22px; display: grid; grid-template-columns: repeat(8, var(--u)); grid-auto-rows: var(--u); gap: var(--g); transform-origin: 50% 50%; position: absolute; left: 50%; top: 50%; }
.wall .w { width: 100%; height: 100%; object-fit: contain; border-radius: calc((var(--u) * 2 + var(--g)) * .13); box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .45); }
.wall .w-l { object-fit: fill; }
.w-s { grid-column: span 2; grid-row: span 2; }
.w-m { grid-column: span 4; grid-row: span 2; }
.w-l { grid-column: span 4; grid-row: span 4; }
.wb { grid-area: 1 / 1 / span 2 / span 2; } .wh { grid-area: 1 / 3 / span 2 / span 2; } .wbal { grid-area: 1 / 5 / span 2 / span 4; }
.wo { grid-area: 3 / 1 / span 4 / span 4; } .wp { grid-area: 3 / 5 / span 2 / span 4; } .wg { grid-area: 5 / 5 / span 2 / span 2; } .wd { grid-area: 5 / 7 / span 2 / span 2; }
.wc { grid-area: 7 / 1 / span 2 / span 4; } .wn { grid-area: 7 / 5 / span 2 / span 2; } .ws { grid-area: 7 / 7 / span 2 / span 2; }
html:not(.motion) .wid-pin { height: auto; }
html:not(.motion) .wall-box { position: relative; inset: auto; padding: 20px 0 40px; -webkit-mask-image: none; mask-image: none; }
html:not(.motion) .wall { position: relative; left: auto; top: auto; translate: none; }
@media (max-width: 760px) {
  .wid-pin { height: auto; min-height: 0; padding: 72px 0 52px; }
  .wall-box { position: relative; inset: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; margin-top: 24px; }
  .wall { --g: 14px; --u: calc((min(100vw, 460px) - 40px - 3 * var(--g)) / 4); grid-template-columns: repeat(4, var(--u)); position: relative; left: auto; top: auto; margin-inline: auto; }
  .wb { grid-area: 1 / 1 / span 2 / span 2; } .wh { grid-area: 1 / 3 / span 2 / span 2; } .wp { grid-area: 3 / 1 / span 2 / span 4; }
  .wg { grid-area: 5 / 1 / span 2 / span 2; } .wd { grid-area: 5 / 3 / span 2 / span 2; } .wbal { grid-area: 7 / 1 / span 2 / span 4; }
  .wo, .wc, .wn, .ws { display: none; }
}

/* ---------- automations ---------- */
.auto { background: var(--paper); padding: var(--pad) 0; }
.flows { display: grid; border-top: 1px solid var(--line); }
.flow { display: grid; grid-template-columns: 1fr; gap: 6px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step { font-size: 17px; font-weight: 600; line-height: 1.35; display: flex; align-items: center; gap: 12px; }
.step-app img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.step-out { color: var(--green); }
.wire { display: block; height: 22px; width: 1.5px; margin-inline-start: 19px; background: rgba(10, 15, 36, .22); transform-origin: 50% 0; }
@media (min-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.2fr) 70px minmax(0, 1fr); gap: 14px; padding: 24px 0; }
  .wire { width: auto; height: 1.5px; margin: 0; transform-origin: 0 50%; }
  [dir="rtl"] .wire { transform-origin: 100% 50%; }
}

/* ---------- privacy ---------- */
.priv { position: relative; color: #fff; padding: var(--pad) 0; background: var(--night); }
.priv-grid { display: grid; gap: 30px; align-items: start; }
.priv .head { margin-bottom: 0; }
.priv .title { font-size: clamp(36px, 5vw, 76px); }
.claims { display: grid; border-top: 1px solid rgba(255, 255, 255, .12); }
.claims li { padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 6px; }
.claims h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 750; letter-spacing: var(--tight-2); }
.claims p { color: var(--muted-dark); font-size: 16.5px; max-width: 34em; }
@media (min-width: 980px) { .priv-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; } }

/* ---------- numbers ---------- */
.stats { background: var(--paper); padding: var(--pad) 0 calc(var(--pad) * .5); }
.st { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.st li { padding: 22px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.st li:nth-child(2n) { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.st b { font-size: clamp(44px, 5.2vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.st p { color: var(--ink-2); font-weight: 600; }
@media (min-width: 860px) { .st { grid-template-columns: repeat(4, 1fr); } .st li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); padding: calc(var(--pad) * .6) 0 var(--pad); }
.faq-grid { display: grid; gap: 24px; }
.qa { border-bottom: 1px solid rgba(10, 15, 36, .1); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; cursor: pointer; font-size: clamp(18px, 1.45vw, 20px); font-weight: 650; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 22px; height: 22px; flex: none; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink-2); border-radius: 2px; }
.qa summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa-a { overflow: hidden; }
.qa-a p { padding: 0 2px 24px; color: var(--ink-2); max-width: 44em; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 60px; } .faq-grid > div:first-child { position: sticky; top: 130px; align-self: start; } }

/* ---------- tools ---------- */
.tools { background: var(--paper); padding: 0 0 var(--pad); }
.tool-list { display: grid; gap: 14px; }
.tool { position: relative; display: grid; gap: 8px; padding: 26px 70px 26px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); height: 100%; transition: border-color .3s; }
[dir="rtl"] .tool { padding: 26px 26px 26px 70px; }
.tool:hover { border-color: rgba(46, 107, 255, .35); }
.tool h3 { font-size: 21px; font-weight: 720; letter-spacing: var(--tight-2); }
.tool p { color: var(--ink-2); font-size: 15px; }
.t-go { position: absolute; top: 24px; inset-inline-end: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 15, 36, .05); color: var(--ink); transition: background .3s, color .3s; }
.tool:hover .t-go { background: var(--blue); color: #fff; }
@media (min-width: 860px) { .tool-list.n2 { grid-template-columns: repeat(2, 1fr); } .tool-list.n3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- finale ---------- */
.final { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: #0a0e2c; }
.final-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(90% 80% at 50% 40%, #2d47d8 0%, #1a1f6e 45%, #0a0e2c 85%); }
.final-bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 10, 34, .25); }
.final-in { display: grid; justify-items: center; text-align: center; gap: 20px; padding: calc(var(--pad) * 1.1) 0; }
.final-icon { width: clamp(96px, 9vw, 128px); border-radius: 22.4%; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); margin-bottom: 8px; }
.final .title { color: #fff; max-width: 12em; }
.final .sub { color: #c4ccef; }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; margin-top: 14px; }
.qr { display: none; align-items: center; gap: 14px; text-align: start; }
.qr-code { width: 112px; padding: 10px; border-radius: 16px; background: #fff; }
.qr-code svg { width: 100%; height: auto; display: block; }
.qr p { font-size: 14px; color: #c4ccef; max-width: 10em; }
.final-meta { color: #9aa3c7; font-size: 14px; }
@media (min-width: 900px) and (hover: hover) { .qr { display: flex; } }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--night); color: #c3cbee; padding: 80px 0 0; overflow: hidden; }
.foot-top { display: grid; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot-brand { display: grid; gap: 16px; justify-items: start; }
.foot-brand .brand { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; }
.foot h4 { color: #fff; font-size: 14px; font-weight: 650; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.foot h4 .ic { width: 17px; height: 17px; }
.foot ul { display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot-langs { padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.langs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; contain-intrinsic-block-size: 150px; }
.langs a { color: #8f98c0; }
.langs a[aria-current] { color: #fff; }
.foot-end { display: grid; gap: 8px; padding: 28px 0 36px; font-size: 13px; color: #6f78a0; }
.foot-mark { font-size: clamp(90px, 22vw, 330px); font-weight: 850; letter-spacing: -.06em; line-height: .76; text-align: center; color: rgba(120, 140, 255, .1); user-select: none; margin-bottom: -.06em; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.2fr 2fr; } }
.to-top { position: fixed; z-index: 40; inset-inline-end: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(10, 15, 36, .45); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg:not(.ic) { display: none; }
.to-top .ic { width: 20px; height: 20px; }

/* ---------- the download dock on phones ---------- */
.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    position: fixed; z-index: 45; left: 12px; right: 72px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 10px; border-radius: 20px; color: #fff; background: rgba(12, 16, 44, .9); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .6s var(--ease);
  }
  [dir="rtl"] .dock { left: 72px; right: 12px; padding: 8px 10px 8px 8px; }
  .dock.show { transform: none; }
  .dock img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
  .dock span { display: grid; line-height: 1.15; min-width: 0; flex: 1; }
  .dock b { font-size: 15px; font-weight: 700; }
  .dock small { font-size: 12px; color: #aab3d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock i { font-style: normal; flex: none; height: 38px; padding: 0 16px; display: grid; place-items: center; border-radius: 12px; background: var(--blue); font-weight: 700; font-size: 14px; white-space: nowrap; }
  .to-top { width: 46px; height: 46px; bottom: max(14px, env(safe-area-inset-bottom)); inset-inline-end: 14px; }
}

/* ---------- tool pages ---------- */
.tool-hero { position: relative; color: #fff; padding: 150px 0 90px; overflow: hidden; isolation: isolate; background: var(--night); }
.tool-hero .aurora-css { z-index: -2; }
.tool-hero .aurora { z-index: -1; }
.tool-hero .title { color: #fff; max-width: 14em; margin: 18px 0; }
.tool-hero .sub { color: #b0b9dc; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #9aa4cc; }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }
.crumbs a:hover { color: #fff; }
.tool-body { background: var(--paper); padding: 0 0 60px; }
.tool-body .calc { margin-top: -50px; position: relative; z-index: 2; }
.calc { display: grid; gap: 18px; align-items: start; }
.panel { background: #fff; border-radius: 26px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); box-shadow: 0 40px 80px -55px rgba(10, 15, 36, .45); display: grid; gap: 18px; }
@media (min-width: 980px) { .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.field { display: grid; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid rgba(10, 15, 36, .1); background: #f7f8fd; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(46, 107, 255, .14); }
.field small { font-weight: 500; color: var(--ink-3); }
.field-lg input { height: 64px; font-size: 26px; font-weight: 750; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 13.5px; color: var(--ink-3); }
.debt-list { display: grid; gap: 10px; }
.debt-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr auto; gap: 8px; align-items: end; padding: 12px; border-radius: 16px; background: #f7f8fd; }
.debt-row .field input { height: 44px; font-size: 15px; background: #fff; border-radius: 11px; padding: 0 10px; }
.debt-row .field span { font-size: 12px; }
.debt-row .x { width: 40px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: var(--ink-3); }
.debt-row .x:hover { background: rgba(255, 91, 110, .12); color: #e5484d; }
@media (max-width: 640px) { .debt-row { grid-template-columns: 1fr 1fr; } .debt-row .field:first-child { grid-column: 1 / -1; } .debt-row .x { grid-column: 2; justify-self: end; } }
.compare { display: grid; gap: 14px; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.method { position: relative; padding: 22px; border-radius: 20px; background: #f7f8fd; border: 1.5px solid transparent; display: grid; gap: 14px; align-content: start; transition: border-color .4s, background .4s; }
.method.best { border-color: var(--blue); background: #f4f7ff; }
.method h2 { font-size: 19px; font-weight: 720; letter-spacing: 0; }
.method .tag { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 12px; font-weight: 700; color: #fff; background: var(--blue); padding: 5px 10px; border-radius: 8px; }
.method .k { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.method .v { font-size: 24px; font-weight: 780; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.method .d { font-size: 13px; color: var(--ink-2); }
.method ol { list-style: decimal; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.method .warn { color: #e5484d; font-weight: 600; font-size: 14px; }
.calc-split .donut { position: relative; width: 190px; margin: 6px auto; aspect-ratio: 1; display: grid; place-items: center; }
.donut svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.donut .d { fill: none; stroke-width: 16; stroke-dasharray: 301.6; }
.d-n { stroke: var(--blue); stroke-dashoffset: 150.8; }
.d-w { stroke: #7a5af0; stroke-dashoffset: 211.1; transform: rotate(180deg); transform-origin: 60px 60px; }
.d-s { stroke: var(--green); stroke-dashoffset: 241.3; transform: rotate(288deg); transform-origin: 60px 60px; }
.donut span { font-weight: 750; color: var(--ink-2); font-size: 15px; }
.split-list { display: grid; gap: 22px; }
.sp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sp-name { font-weight: 700; font-size: 18px; }
.split-list b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 10px; background: rgba(10, 15, 36, .06); margin: 10px 0 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 10px; background: var(--blue); transform-origin: 0 50%; }
[dir="rtl"] .bar i { transform-origin: 100% 50%; }
.sp-w .bar i { background: #7a5af0; } .sp-s .bar i { background: var(--green); }
.template { display: grid; gap: 8px; justify-items: start; }
.loan-top { display: grid; gap: 18px; }
.loan-top .big span { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.loan-top .big b { display: block; font-size: clamp(38px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.loan-top .figs { grid-template-columns: 1fr; margin: 0; border: 0; }
.loan-top .figs div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); border-inline-start: 0; padding-inline-start: 0; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; text-align: end; white-space: nowrap; }
th:first-child, td:first-child { text-align: start; }
thead th { background: #f7f8fd; font-weight: 650; color: var(--ink-2); position: sticky; top: 0; }
tbody tr:nth-child(2n) { background: #fafbff; }
.tool-cta { background: var(--paper); padding: 20px 0 60px; }
.cta-card { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; border-radius: 30px; overflow: hidden; color: #fff; background: radial-gradient(100% 120% at 0% 0%, #2d47d8 0%, #1a1f6e 55%, #0a0e2c 100%); padding: 30px; position: relative; }
.cta-shot { display: none; }
.cta-copy { display: grid; gap: 18px; justify-items: start; }
.cta-copy img { border-radius: 14px; }
.cta-copy p { font-size: clamp(19px, 2vw, 25px); font-weight: 650; letter-spacing: -.01em; line-height: 1.35; max-width: 26em; }
@media (min-width: 760px) {
  .cta-card { grid-template-columns: 240px 1fr; padding: 0 40px 0 50px; min-height: 300px; gap: 50px; }
  .cta-shot { display: block; align-self: end; margin-bottom: -120px; border-radius: 30px; overflow: hidden; transform: rotate(-6deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
}
.tool-prose { background: var(--paper); padding: 20px 0 var(--pad); }
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 750; letter-spacing: var(--tight-2); margin-top: 20px; }
.prose p { color: var(--ink-2); font-size: 17px; }
.nf { position: relative; min-height: 100svh; display: grid; place-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--night); }
.nf-in { display: grid; justify-items: center; text-align: center; gap: 22px; padding: 120px 0; }
.nf-code { font-size: clamp(120px, 22vw, 280px); font-weight: 850; letter-spacing: -.06em; line-height: .9; color: #fff; }
.nf .sub { color: #b0b9dc; }
.btn-ghost-dark { color: #fff; }

/* ---------- entrance (only with motion) ----------
   The first screen arrives by itself with CSS, so it is drawn in the first frame without waiting for the script.
   Further down, [data-rise] waits for the script to say it is in view (.in), then lets go of its transition (.done). */
@keyframes rise-line { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes phone-up { from { transform: translateY(12%); } to { transform: none; } }
@keyframes side-l { from { opacity: 0; transform: translateX(45%); } to { opacity: .9; transform: none; } }
@keyframes side-r { from { opacity: 0; transform: translateX(-45%); } to { opacity: .9; transform: none; } }
.motion [data-rise]:not([data-rise="now"]) { opacity: 0; transform: translateY(24px); }
.motion [data-rise].in { opacity: 1; transform: none; }
.motion [data-rise].in:not(.done) { transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.motion [data-rise="now"], .motion .tool-hero .crumbs, .motion .nf-code { animation: rise-in 1s var(--ease) .15s both; }
.motion .hero-title .ln-in { animation: rise-line 1.3s var(--ease) .1s both; }
.motion .hero-title .ln-2 .ln-in { animation-delay: .2s; }
.motion .hero-copy [data-hero] { animation: rise-in 1s var(--ease) .35s both; }
.motion .hero-copy .lead { animation-delay: .43s; }
.motion .hero-copy .hero-cta { animation-delay: .51s; }
.motion .hero-copy .facts { animation-delay: .59s; }
.motion .ph-c { animation: phone-up 1.5s var(--ease) .15s both; }
/* The side phones and the two cards wait until the script has put them in place. */
.motion .pw-l, .motion .pw-r, .motion .fw { visibility: hidden; }
.motion .stage.set .pw-l, .motion .stage.set .pw-r, .motion .stage.set .fw { visibility: visible; }
.motion .stage.set .ph-l { animation: side-l 1.5s var(--ease) both; }
.motion .stage.set .ph-r { animation: side-r 1.5s var(--ease) both; }
.motion .float { opacity: 0; }
/* Rows of names and amounts in many scripts are left out of layout until the script has warmed their fonts or
   they come near the screen (.near): laying out twenty scripts at once is the slowest thing on the page. */
.motion .mq:not(.near), .motion .langs:not(.near) { content-visibility: hidden; }
@media print { .nav, .to-top, .lang-panel, .aurora, .aurora-css, .grain, .dock { display: none !important; } .motion [data-rise], .motion [data-hero] { opacity: 1 !important; transform: none !important; } }

/* ---------- guides ---------- */
.guide-hero { padding-bottom: 0; }
.guide-top { display: grid; gap: 34px; }
.guide-top .title { max-width: 16em; }
.guide-phone { justify-self: center; width: min(58vw, 230px); aspect-ratio: 1206 / 1640; overflow: hidden; border-radius: 34px 34px 0 0; border: 7px solid #161c40; border-bottom: 0; background: #161c40; }
.guide-phone img { display: block; width: 100%; height: auto; border-radius: 27px 27px 0 0; }
@media (min-width: 900px) {
  .guide-top { grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: end; }
  .guide-copy { padding-bottom: 80px; }
  .guide-phone { width: 300px; }
}
.guide-body { background: var(--paper); padding: clamp(48px, 7vw, 90px) 0 30px; }
.guide { margin-inline: auto; }
.prose .lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); line-height: 1.5; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 19px 20px; padding-inline-start: 66px; background: #fff; border: 1px solid var(--line); border-radius: 18px; font-size: 17px; color: var(--ink-2); }
.steps li::before { content: counter(st); position: absolute; inset-inline-start: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 750; font-size: 15px; display: grid; place-items: center; }
.ex { display: grid; gap: 10px; padding: clamp(20px, 3vw, 30px); border-radius: 22px; background: #e8edfc; }
.prose .ex h2 { margin-top: 0; font-size: clamp(20px, 2vw, 24px); }
.prose .ex p { color: var(--ink); }
.tip { display: grid; gap: 4px; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--blue); }
.tip b { color: var(--blue); font-size: 14px; font-weight: 750; }
.prose .tip p { color: var(--ink); }
.prose .tool { margin-top: 6px; }
.prose .tool p { font-size: 15px; }
.prose .qas { margin-top: -6px; }
.more-link { margin-top: 26px; }
.tools.more-guides { padding-top: 20px; }
.more-guides .title, .topic .title { margin-bottom: 24px; }
.guide-list { background: var(--paper); padding: clamp(50px, 7vw, 90px) 0 30px; }
.topic + .topic { margin-top: clamp(50px, 6vw, 80px); }
.guides-teaser { padding-top: 0; }

/* ---------- newer calculators ---------- */
.field select { width: 100%; height: 52px; padding: 0 12px; border-radius: 14px; border: 1.5px solid rgba(10, 15, 36, .1); background: #f7f8fd; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); }
.saved { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 16px 20px; border-radius: 16px; background: rgba(18, 168, 118, .1); }
.saved[hidden], .reached[hidden], .sv-res[hidden] { display: none; }
#ccpay .method { min-height: 200px; }
.saved span { font-weight: 650; color: var(--ink-2); }
.saved b { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.chart-line { margin: 0; display: grid; gap: 8px; }
.chart-line svg { width: 100%; height: auto; overflow: visible; }
.chart-line path { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.chart-line .axis { stroke: var(--line); stroke-width: 2; stroke-dasharray: none; }
.p-fix { stroke: var(--blue); }
.p-min { stroke: #f08a8d; }
[dir="rtl"] .chart-line svg { transform: scaleX(-1); }
.ends { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.chart-line figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lg::before, .figs [class^="lg-"] dt::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 7px; }
.lg-fix::before, .figs .lg-p dt::before { background: var(--blue); }
.lg-min::before { background: #f08a8d; }
.figs .lg-i dt::before, .figs .lg-h dt::before { background: #7a5af0; }
.figs .lg-g dt::before { background: var(--green); }
.share, .stack { display: flex; height: 14px; border-radius: 14px; overflow: hidden; background: #7a5af0; }
.stack { background: rgba(10, 15, 36, .06); }
.share i, .stack i { display: block; height: 100%; transition: width .7s var(--ease); }
.share i { background: var(--blue); }
.s-have { background: #7a5af0; } .s-in { background: var(--blue); } .s-int { background: var(--green); }
.reached { font-size: 18px; font-weight: 650; color: var(--green); }
.sub-list { display: grid; gap: 10px; }
.sub-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 8px; align-items: end; padding: 12px; border-radius: 16px; background: #f7f8fd; }
.sub-row .field input, .sub-row .field select { height: 44px; font-size: 15px; background: #fff; border-radius: 11px; padding: 0 10px; }
.sub-row .field span { font-size: 12px; }
.sub-row .x { width: 40px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: var(--ink-3); }
.sub-row .x:hover { background: rgba(255, 91, 110, .12); color: #e5484d; }
@media (max-width: 640px) { .sub-row { grid-template-columns: 1fr 1fr; } .sub-row .field:first-child { grid-column: 1 / -1; } .sub-row .x { grid-column: 2; justify-self: end; } }
.sub-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sub-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 15px; }
.sub-bars span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-bars b { font-variant-numeric: tabular-nums; }
.sub-bars i { grid-column: 1 / -1; display: block; height: 8px; border-radius: 8px; background: var(--blue); }
