/* Monaime site. Colours are the app's tokens (ThemeColorSet.standard in iOS/MoneyChat/Services/ThemeManager.swift). */
:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  /* Surface.base / card / moderate, Foreground.primary / secondary / tertiary */
  --page: #fafafa;
  --card: #ffffff;
  --subtle: #f5f5f5;
  --fg: #0a0a0a;
  --fg-2: #404040;
  --muted: #737373;
  --line: #e5e5e5;
  --line-strong: #d4d4d4;
  /* Brand.brand, Money.income, Money.expense, Accent.premium, Logo.beak, Logo.tile */
  --brand: #3b82f6;
  --brand-deep: #1d4ed8;
  --go: #16a34a;
  --strike: #ef4444;
  --premium: #ff6900;
  --beak: #fea828;
  --band: #141414;
  --band-card: #1c1c1c;
  --band-line: #2e2e2e;
  --band-fg: #fafafa;
  --band-muted: #a3a3a3;
  --shadow: 0 1px 2px rgba(10,10,10,.05), 0 4px 10px rgba(10,10,10,.05), 0 14px 28px -14px rgba(10,10,10,.18);
  /* The app is set in the system font; Inter stands in where there is no San Francisco. */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
  /* The shimmer's dots (shimmer.js), in HSL: Brand.brand */
  --mains-quaternary: 217 91% 60%;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #050505; --card: #1c1c1c; --subtle: #121212; --fg: #fafafa; --fg-2: #d4d4d4; --muted: #a3a3a3;
    --line: #2a2a2a; --line-strong: #3d3d3d; --go: #22c55e; --band: #121212; --band-card: #1c1c1c; --band-line: #2e2e2e;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 14px 28px -14px rgba(0,0,0,.8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #050505; --card: #1c1c1c; --subtle: #121212; --fg: #fafafa; --fg-2: #d4d4d4; --muted: #a3a3a3;
  --line: #2a2a2a; --line-strong: #3d3d3d; --go: #22c55e; --band: #121212; --band-card: #1c1c1c; --band-line: #2e2e2e;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 14px 28px -14px rgba(0,0,0,.8); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background-color: var(--band); color: var(--fg); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap.wide { max-width: 1320px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 24px; height: 24px; flex: none; display: block; }

/* Nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--card); }
/* The header takes its own row above the page, so at the top there is no content behind it, only the dark
   <body>: a translucent fill would show as grey there. It is solid, in the hero's colour, with no border,
   and turns into frosted glass with a hairline once the page has scrolled under it (.scrolled, set by site.js). */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--card); border-bottom: 0.5px solid transparent; transition: background-color .25s ease, border-color .25s ease; }
.nav.scrolled { background: color-mix(in srgb, var(--card) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--line); }
.nav.on-page { background: var(--page); }
.nav.on-page.scrolled { background: color-mix(in srgb, var(--page) 78%, transparent); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); letter-spacing: -.02em; text-decoration: none; justify-self: start; }
.logo img { width: 40px; height: 40px; border-radius: 22.5%; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); }
.nav nav { display: flex; gap: 22px; justify-self: center; font-size: 15px; color: var(--fg-2); }
.nav nav a { text-decoration: none; white-space: nowrap; }
.nav nav a:hover { color: var(--fg); }
.nav-end { display: flex; align-items: center; gap: 10px; justify-self: end; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 0.5px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--fg); color: var(--page); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--fg); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--line-strong); }
.btn svg { width: 18px; height: 18px; }
.nav .btn { height: 38px; padding: 0 16px; font-size: 14px; gap: 6px; }
.nav .btn .apl { width: 15px; height: 15px; margin-top: -2px; }
@media (max-width: 900px) { .nav nav { display: none; } .nav .wrap { grid-template-columns: 1fr auto; } }

/* Language menu: plain links inside a <details>, so it works without scripts and crawlers see every locale */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 0.5px solid var(--line); background: var(--card); font: 600 14px/1 var(--body); color: var(--fg-2); cursor: pointer; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--fg); border-color: var(--line-strong); }
.lang summary svg { width: 16px; height: 16px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 6; margin: 0; padding: 6px; list-style: none; min-width: 190px; border-radius: 16px; background: var(--card); border: 0.5px solid var(--line); box-shadow: var(--shadow); display: grid; }
.lang li a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 10px; font-size: 15px; text-decoration: none; color: var(--fg-2); }
.lang li a:hover { background: var(--subtle); color: var(--fg); }
.lang li a[aria-current] { color: var(--fg); font-weight: 600; }
.lang li a span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
footer .lang ul { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }

/* The page is three sheets: light, a dark band, light */
.sheet-light { position: relative; z-index: 1; background-color: var(--page); }
.sheet-light.top { border-radius: 0 0 64px 64px; padding-bottom: 24px; }
.sheet-light.bottom { border-radius: 64px 64px 0 0; padding-top: 24px; }
.band { position: relative; z-index: 0; background: var(--band); color: var(--band-fg); margin-block: -64px; padding-block: 104px 128px; }
section { padding-block: 72px; }
@media (max-width: 760px) { section { padding-block: 52px; } }
.head { max-width: 40em; display: grid; gap: 14px; margin-bottom: 40px; }
.head h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.04; font-weight: 800; }
.head p { color: var(--fg-2); font-size: 18px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; max-width: 56em; }
.band .head h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.band .head p { color: var(--band-muted); font-size: 19px; max-width: 34em; }
.lt { font-weight: 600; }

/* Hero */
.hero { background: var(--card); border-bottom: 0.5px solid var(--line); padding-block: 72px 0; overflow: hidden; }
.hero-in { display: grid; justify-items: center; text-align: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 76px); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.hero h1 .row { display: block; }
.hero h1 .row:first-child { font-weight: 600; color: var(--muted); font-size: .62em; letter-spacing: -.02em; margin-bottom: .32em; }
.planword { position: relative; display: inline-block; }
.planword svg { position: absolute; left: -3%; bottom: -.16em; width: 106%; height: .34em; overflow: visible; }
.planword path { fill: none; stroke: var(--brand); stroke-width: 7; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .js .planword path { stroke-dasharray: 340; animation: draw .9s cubic-bezier(.5,0,.2,1) .6s both; }
}
@keyframes draw { from { stroke-dashoffset: 340; } to { stroke-dashoffset: 0; } }
.hero .lede { margin-top: 26px; max-width: 720px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: var(--fg-2); text-wrap: balance; }
.hero .lede b { color: var(--fg); font-weight: 600; }
.store { display: inline-block; margin-top: 32px; border-radius: 12px; }
.store img { display: block; height: 56px; width: auto; }
.store:hover { opacity: .86; }
.fine { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* The hero's devices: the owner's mockups — an empty body over a real screen — standing on one line */
.devices { position: relative; width: min(100%, 1180px); margin: 56px auto 0; aspect-ratio: 1320 / 626; }
.dv { position: absolute; bottom: 0; }
.dv-mac { left: 0; width: 78.48%; }
.dv-ipad { left: 52.27%; width: 42.42%; z-index: 2; filter: drop-shadow(0 22px 22px rgba(0,0,0,.28)); }
.dv-iphone { left: 81.82%; width: 16.14%; z-index: 3; filter: drop-shadow(0 20px 20px rgba(0,0,0,.3)); }
.dv-body { position: relative; display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
.dv-screen { position: absolute; overflow: hidden; background: #fafafa; }
.dv-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; display: block; }
.dv-mac .dv-screen img { object-fit: contain; object-position: 50% 0; }
.dv-iphone .dv-screen { border-radius: 14% / 6.44%; }
.dv-ipad .dv-screen { border-radius: 2% / 2.7%; }
.hero { padding-bottom: 64px; }
@media (max-width: 760px) {
  .devices { margin-top: 40px; }
  .dv-ipad, .dv-iphone { filter: drop-shadow(0 7px 8px rgba(0,0,0,.26)); }
  .hero { padding-bottom: 44px; }
}

/* A phone: the frame is drawn, the screen inside is always a real screenshot of the app */
.phone { position: relative; flex: none; width: var(--pw, 300px); padding: calc(var(--pw, 300px) * .03); border-radius: calc(var(--pw, 300px) * .165); background: #0a0a0a; box-shadow: inset 0 0 0 1.5px #3a3a3a, 0 40px 70px -34px rgba(0,0,0,.55), 0 14px 26px -18px rgba(0,0,0,.4); align-self: flex-start; }
.phone .screen { position: relative; overflow: hidden; border-radius: calc(var(--pw, 300px) * .137); aspect-ratio: 1320 / 2868; background: var(--subtle); }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s ease; }
.phone .screen img.on, .phone .screen img:only-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .phone .screen img { transition: none; } }

/* How it works: a stepper. The page scrolls through three steps while the block stays put: numbered dots on a
   line that fills, the step's text and the app's screen for it. */
.plan-sec { height: 300vh; padding: 0; }
.plan-sec > .plan-row { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
.plan-text h2 { margin: 0 0 36px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.tl { position: relative; list-style: none; margin: 0; padding: 0; }
.tl > li { position: relative; }
.tl > li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 52px; bottom: -12px; width: 2px; border-radius: 2px; background: linear-gradient(var(--brand), var(--brand)) 0 0 / 100% calc(var(--fill, 0) * 100%) no-repeat, var(--line); }
.tl-step { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; padding: 16px 0; }
.js .tl-step { cursor: pointer; }
.tl-dot { grid-row: 1 / span 2; position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -2px; border-radius: 50%; background: var(--page); border: 2px solid var(--line-strong); font: 700 14px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--muted); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.tl > li.active .tl-dot, .tl > li.past .tl-dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.tl > li.active .tl-dot { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 16%, transparent); }
.tl-step b { font: 800 24px/1.15 var(--display); letter-spacing: -.02em; transition: color .3s; }
.tl-d { display: block; max-width: 28em; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.js .tl > li:not(.active) b { color: color-mix(in srgb, var(--fg) 45%, transparent); }
.js .tl > li:not(.active) .tl-step:hover b { color: var(--fg); }
.plan-demo { display: grid; justify-items: center; }
.plan-demo .phone { --pw: min(300px, calc((100vh - 150px) * .44)); }
.tl-shot { display: none; }
/* A tablet: the same two columns, closer together */
@media (max-width: 960px) {
  .plan-sec > .plan-row { grid-template-columns: minmax(0, 1fr) auto; gap: 36px; }
  .plan-text h2 { margin-bottom: 24px; }
  .plan-demo .phone { --pw: min(250px, 32vw, calc((100vh - 150px) * .44)); }
  .tl-step b { font-size: 21px; }
  .tl-d { font-size: 15.5px; }
}
/* No room to pin anything (a low window; a phone without scripts): the steps stand side by side, each with its own screen */
@media (max-width: 700px), (max-height: 639px) {
  .plan-sec { height: auto; padding-block: 64px; }
  .plan-sec > .plan-row { position: static; height: auto; display: block; }
  .plan-demo { display: none; }
  .plan-text h2 { text-align: center; margin-bottom: 40px; }
  .tl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 28px; row-gap: 24px; }
  .tl > li { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
  .tl > li:not(:last-child)::before { left: 44px; right: -16px; top: 15px; bottom: auto; width: auto; height: 2px; background: var(--line); }
  .tl-step, .js .tl-step { cursor: default; padding: 0; align-content: start; grid-template-columns: minmax(0, 1fr); }
  .tl-dot { grid-row: auto; margin: 0 0 10px; border-color: var(--brand); color: var(--brand); }
  .tl-step b, .js .tl > li:not(.active) b, .js .tl > li:not(.active) .tl-step:hover b { color: var(--fg); }
  .tl-shot { display: grid; justify-items: center; align-self: end; }
  .tl-shot .phone { --pw: min(230px, 100%); }
}
@media (max-width: 700px) {
  .plan-text h2 { text-align: left; margin-bottom: 28px; }
  .tl { display: block; }
  .tl > li { display: block; padding-bottom: 44px; }
  .tl > li:last-child { padding-bottom: 0; }
  .tl > li::before, .tl > li:not(:last-child)::before { content: ""; position: absolute; left: 15px; right: auto; top: 40px; bottom: 8px; width: 2px; height: auto; border-radius: 2px; background: var(--line); }
  .tl-step, .js .tl-step { grid-template-columns: 32px minmax(0, 1fr); }
  .tl-dot { grid-row: 1 / span 2; margin: -2px 0 0; }
  .tl-shot { justify-items: start; margin: 22px 0 0 52px; }
  .tl-shot .phone { --pw: min(236px, 100%); }
}
/* A phone: only the stepper, the current step's text and its screen stay on screen while the page scrolls */
@media (max-width: 700px) and (min-height: 480px) {
  .js .plan-sec { height: 280vh; height: 280svh; padding-block: 52px 0; border-bottom: 0.5px solid var(--line); }
  .js .plan-sec > .plan-row, .js .plan-text { height: 100%; }
  .js .plan-text h2 { text-align: center; margin-bottom: 4px; }
  .js .tl { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 58px); height: calc(100vh - 58px - env(safe-area-inset-top, 0px)); height: calc(100svh - 58px - env(safe-area-inset-top, 0px)); overflow: hidden; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto minmax(0, 1fr); gap: 0; justify-items: center; text-align: center; padding-top: 24px; }
  .js .tl > li, .js .tl-step { display: contents; }
  .js .tl > li::before, .js .tl > li:not(:last-child)::before { content: none; }
  .js .tl::before, .js .tl::after { content: ""; grid-row: 1; grid-column: 1 / -1; align-self: center; justify-self: start; margin-left: 16.667%; height: 2px; border-radius: 2px; }
  .js .tl::before { width: 66.667%; background: var(--line); }
  .js .tl::after { width: calc(66.667% * var(--p, 0)); background: var(--brand); }
  .js .tl-dot { grid-row: 1; margin: 0; border-color: var(--line-strong); color: var(--muted); }
  .js .tl > li:nth-child(1) .tl-dot { grid-column: 1; } .js .tl > li:nth-child(2) .tl-dot { grid-column: 2; } .js .tl > li:nth-child(3) .tl-dot { grid-column: 3; }
  .js .tl-step b, .js .tl-d, .js .tl-shot { grid-column: 1 / -1; opacity: 0; transition: opacity .35s ease; }
  .js .tl > li.active b, .js .tl > li.active .tl-d, .js .tl > li.active .tl-shot { opacity: 1; }
  .js .tl-step b { grid-row: 2; margin-top: 20px; font-size: 22px; }
  .js .tl-d { grid-row: 3; margin-top: 6px; font-size: 15.5px; }
  .js .tl-shot { display: block; grid-row: 4; align-self: start; margin: 24px 0 0; }
  .js .tl-shot .phone { --pw: clamp(200px, calc((100vh - 310px) * .46), 260px); }
}
@media (prefers-reduced-motion: reduce) { .tl-dot, .tl-step b, .tl-d, .tl-shot { transition: none !important; } }

/* What the assistant does: six cells and one tall cell with a screen */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "a b big big" "c d big big" "e f big big"; gap: 20px; }
.bc { display: grid; align-content: start; gap: 10px; padding: 34px; border-radius: 30px; background: var(--card); border: 0.5px solid var(--line); }
.bc:nth-child(1) { grid-area: a; } .bc:nth-child(2) { grid-area: b; } .bc:nth-child(3) { grid-area: c; }
.bc:nth-child(4) { grid-area: d; } .bc:nth-child(5) { grid-area: e; } .bc:nth-child(6) { grid-area: f; }
.bc .ic { width: 34px; height: 34px; margin-bottom: 22px; color: var(--fg); }
.bc h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.bc p { color: var(--muted); font-size: 16px; }
.bc.big { --pw: 400px; grid-area: big; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(calc(var(--pw) * 1.15), 1fr); gap: 36px; padding: 44px 44px 0; overflow: hidden; background: #0a0a0a; color: #fafafa; border-color: #0a0a0a; }
.bc.big .ic { color: #fafafa; }
.bc.big h3 { font-size: clamp(26px, 2.6vw, 34px); }
.bc.big p { margin-top: 10px; color: rgba(250,250,250,.7); font-size: 17px; }
.bc.big ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 15.5px; color: rgba(250,250,250,.88); }
.bc.big li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.bc.big li .cm { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
/* The phone is wide and takes no height of its own: the cell cuts it off wherever its bottom edge falls */
.bc.big .phone { justify-self: center; align-self: start; margin-bottom: calc(var(--pw) * -2.24); box-shadow: inset 0 0 0 1.5px #3a3a3a; }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a b" "c d" "e f" "big big"; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d" "e" "f" "big"; }
  .bc { padding: 28px; }
  .bc.big { --pw: min(340px, calc(100vw - 88px)); padding: 30px 28px 0; }
  .bc.big ul { grid-template-columns: minmax(0, 1fr); }
}

/* Privacy, on the dark band */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 32px; background: var(--band-card); border: 0.5px solid var(--band-line); overflow: hidden; }
.perks .pk { display: grid; align-content: start; gap: 10px; padding: 40px 30px; }
.perks .pk + .pk { border-left: 0.5px solid var(--band-line); }
.perks .ic { width: 34px; height: 34px; margin-bottom: 22px; color: #fff; }
.perks h3 { font-size: 23px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.perks p { color: var(--band-muted); font-size: 16px; }
.band .more { margin-top: 28px; text-align: center; color: var(--band-muted); font-size: 15px; }
.band .more a { color: #fff; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks .pk:nth-child(3) { border-left: 0; }
  .perks .pk:nth-child(n+3) { border-top: 0.5px solid var(--band-line); }
}
@media (max-width: 560px) {
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perks .pk + .pk { border-left: 0; border-top: 0.5px solid var(--band-line); }
  .perks .pk { padding: 30px 26px; }
}

/* Compare */
.vs-scroll { overflow-x: auto; padding: 22px 0; border-radius: 34px; background: var(--card); border: 0.5px solid var(--line); }
.vs { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; }
.vs th, .vs td { padding: 22px 14px; text-align: center; vertical-align: middle; border-bottom: 0.5px solid var(--line); font-size: 14.5px; line-height: 1.4; color: var(--fg-2); }
.vs thead th { padding: 34px 12px 24px; font: 800 18px/1.15 var(--display); letter-spacing: -.01em; color: var(--fg); vertical-align: bottom; }
.vs tbody th { text-align: left; font: 500 17px/1.35 var(--body); color: var(--fg); width: 28%; padding-left: 32px; }
.vs thead th:first-child { padding-left: 32px; }
.vs tr > :last-child { padding-right: 28px; }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; padding-bottom: 30px; }
.vs .me { background: #141414; color: #e5e5e5; border-bottom-color: #2a2a2a; width: 19%; }
.vs thead .me { border-radius: 26px 26px 0 0; color: #fff; }
.vs thead .me img { display: block; margin: 0 auto 12px; border-radius: 22.5%; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--band-fg) 38%, transparent); }
.vs tbody tr:last-child .me { border-radius: 0 0 26px 26px; }
.yes, .yes2 { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; }
.yes2 { background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); }
.yes .cm, .yes2 .cm { width: 20px; height: 20px; }
.no { display: inline-block; width: 16px; height: 2px; border-radius: 2px; background: var(--muted); color: transparent; font-size: 0; vertical-align: middle; }
.vs .me .no { background: #6b6b6b; }

/* Pricing */
.prices2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.pcard { position: relative; display: grid; align-content: start; gap: 6px; padding: 48px; border-radius: 36px; background: var(--card); border: 0.5px solid var(--line); }
.pcard > img, .holo-in > img { border-radius: 22.5%; filter: drop-shadow(0 8px 14px rgba(0,0,0,.22)); }
.pcard h3 { margin-top: 22px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pcard .amount { font: 800 66px/1 var(--display); letter-spacing: -.04em; }
.pcard .amount small { font: 600 18px/1 var(--display); color: var(--muted); letter-spacing: 0; }
.pcard ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.pcard li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: center; font-size: 17px; }
.pcard li b { font-weight: 700; }
.pcard li .cm { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 8%, transparent); }
.pcard .alt { margin-top: 26px; font-size: 15px; color: var(--muted); }
.pro-card { overflow: hidden; background: #fff; color: #0a0a0a; border: 0.5px solid rgba(10,10,10,.14); box-shadow: 0 40px 70px -30px rgba(0,0,0,.55), 0 12px 24px -16px rgba(0,0,0,.35); }
.pro-card .grid-shimmer { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.holo-in { position: relative; z-index: 1; display: grid; align-content: start; gap: 6px; }
.pro-card li .cm { background: #0a0a0a; color: #fff; }
.pro-card .amount small, .pro-card .alt { color: #737373; }
.price-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .prices2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .pcard { padding: 32px; } .pcard .amount { font-size: 54px; } }

/* FAQ */
#faq .head { margin-inline: auto; }
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 0.5px solid var(--line); border-radius: 14px; padding: 4px 20px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 17px/1.35 var(--body); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--muted);
  background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat;
  transition: background-size .3s ease, transform .3s ease; }
.faq details[open] summary::after { background-size: 14px 1.6px, 1.6px 0; transform: rotate(180deg); }
.faq summary:hover::after { color: var(--fg); }
.faq details p { padding: 0 0 18px; color: var(--fg-2); max-width: 62ch; }
.faq details p a { color: var(--brand); text-underline-offset: 3px; }

/* The last call */
.end .box { position: relative; overflow: hidden; background: #141414; color: #fafafa; border-radius: 26px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 22px; justify-items: start; }
.end .box .grid-shimmer { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.end .box > :not(canvas):not(.duck) { position: relative; z-index: 1; }
.end h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1; font-weight: 800; color: #fafafa; }
.end h2 s { color: rgba(250,250,250,.5); text-decoration-color: var(--strike); text-decoration-thickness: .08em; }
.end p { color: rgba(250,250,250,.75); max-width: 34em; }
.end .store { margin-top: 4px; }
.end .duck { position: absolute; right: clamp(-30px, 3vw, 56px); top: 50%; transform: translateY(-50%); width: clamp(170px, 27vw, 340px); height: auto; z-index: 0; pointer-events: none; mix-blend-mode: lighten; }
@media (max-width: 700px) { .end .duck { opacity: .22; right: -40px; } }

/* Related pages */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 24px; background: var(--card); border: 0.5px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.guide:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.guide b { font: 800 19px/1.2 var(--display); letter-spacing: -.02em; }
.guide span { color: var(--muted); font-size: 15px; }
.guide i { font-style: normal; color: var(--brand); font-size: 14.5px; font-weight: 600; }
@media (max-width: 900px) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guides { grid-template-columns: minmax(0, 1fr); } }

/* Landing pages: words on one side, a real screen on the other */
.lp-hero { background: var(--card); border-bottom: 0.5px solid var(--line); padding-block: 64px 0; overflow: hidden; }
.lp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.lp-hero .lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: var(--fg-2); max-width: 32em; }
.lp-hero .phone { --pw: 290px; justify-self: center; margin-bottom: -150px; }
.crumbs { margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.lp-body { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-body .bc { grid-area: auto; }
.lp-body .bc h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.lp-body .bc .n { font: 700 12px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.lp-body.plain .bc h3 { font-size: 22px; }
.lp-body .bc p a, .price-note a, .page-note a { color: var(--brand); text-underline-offset: 3px; }
.page-note { padding-bottom: 56px; text-align: center; font-size: 14px; color: var(--muted); max-width: 760px; }
.price-note { max-width: 760px; margin-inline: auto; }
.lp-say { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.lp-say h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.04; font-weight: 800; }
.lp-say > div > p { margin-top: 14px; color: var(--fg-2); font-size: 18px; }
.says { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.says li { display: grid; gap: 4px; padding: 18px 22px; border-radius: 20px; background: var(--card); border: 0.5px solid var(--line); }
.says q { font: 600 17.5px/1.35 var(--body); quotes: "“" "”"; }
.says span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .lp-hero .wrap, .lp-say { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-hero .phone { margin-bottom: -120px; --pw: 250px; }
  .lp-body { grid-template-columns: minmax(0, 1fr); }
}

/* Privacy, terms, support */
.legal { max-width: 760px; padding-block: 56px 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--fg-2); font-size: 16px; line-height: 1.65; }
.legal p { margin: 12px 0; }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--brand); }
.legal .muted { color: var(--muted); }
.legal hr { border: 0; border-top: 0.5px solid var(--line); margin: 48px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 0.5px solid var(--line); color: var(--fg-2); }
.legal th { color: var(--fg); font-weight: 600; }

footer { padding-block: 34px 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav.legal-links { margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
footer .foot-pages { flex-basis: 100%; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 0.5px solid var(--line); }
@media (max-width: 700px) { footer nav.legal-links { margin-left: 0; } }

@media (max-width: 960px) {
  .sheet-light.top { border-radius: 0 0 36px 36px; }
  .sheet-light.bottom { border-radius: 36px 36px 0 0; }
}
@media (min-width: 961px) { #versus .head { max-width: none; } }

/* Narrow screens */
@media (max-width: 620px) {
  .nav .lang { display: none; }
  .nav .wrap { gap: 12px; }
  .vs { min-width: 700px; }
  .vs tbody th { width: 25%; padding-left: 18px; font-size: 15px; }
  .vs thead th:first-child { padding-left: 18px; }
  .vs th, .vs td { padding: 18px 10px; }
  .vs thead th { font-size: 16px; }
}

/* Calculators (/tools/): a form on the left, the result beside it and below it on a phone */
.tool-hero { background: var(--card); border-bottom: 0.5px solid var(--line); padding-block: 56px 48px; }
.tool-hero h1 { max-width: 20em; font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.tool-hero .lede { margin-top: 18px; max-width: 44em; font-size: clamp(17px, 1.5vw, 19px); color: var(--fg-2); }
.crumbs a { color: inherit; }
.tool-sec { padding-block: 48px 24px; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 24px; align-items: start; }
.calc, .result { padding: 32px; border-radius: 30px; background: var(--card); border: 0.5px solid var(--line); }
.calc { display: grid; gap: 22px; }
.result { position: sticky; top: 84px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.result h2 { font: 700 12px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fld { display: grid; gap: 7px; }
.fld label, .calc legend { font: 600 15px/1.3 var(--body); color: var(--fg); }
.fld small, .calc .hint { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.calc input[type="text"], .calc input[type="number"], .calc input[type="date"], .calc select { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--page); color: var(--fg); font: 500 17px/1 var(--body); font-variant-numeric: tabular-nums; -webkit-appearance: none; appearance: none; }
.calc select { padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.calc input:focus-visible, .calc select:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); border-radius: 14px; }
.calc input[aria-invalid="true"] { border-color: var(--strike); background: color-mix(in srgb, var(--strike) 7%, var(--page)); }
.calc fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.calc legend { padding: 0; margin-bottom: 10px; }
.seg { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.seg legend { width: 100%; }
.seg label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--page); font: 500 15.5px/1.3 var(--body); color: var(--fg-2); cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--fg); color: var(--page); border-color: var(--fg); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr) 44px; gap: 8px; align-items: center; }
.people .row { grid-template-columns: minmax(0, 1fr) 44px; }
.row.exp { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.3fr) 44px; padding: 12px; border-radius: 18px; background: var(--subtle); }
.row.exp input, .row.exp select { background-color: var(--card); }
.row .for { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 2px 4px 0; font-size: 15px; color: var(--fg-2); }
.row .for label { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; cursor: pointer; }
.row .for input { width: 18px; height: 18px; accent-color: var(--brand); }
.rm { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; }
.rm:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.rm svg { width: 18px; height: 18px; }
.calc .add { justify-self: start; height: 44px; cursor: pointer; font: 600 15px/1 var(--body); }
#calc-out { display: grid; gap: 14px; min-height: 96px; align-content: start; }
.res-big { display: grid; gap: 4px; }
.res-big b { font: 800 clamp(34px, 4.4vw, 54px)/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.res-big span { color: var(--muted); font-size: 15px; }
.res-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 14px; border-top: 0.5px solid var(--line); }
.res-row .res-big b { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.res-line { font-size: 16.5px; line-height: 1.5; color: var(--fg-2); }
.res-line b { color: var(--fg); font-weight: 700; }
.res-line.warn { padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--strike) 8%, transparent); color: var(--fg); }
.res-line.sep { padding-top: 14px; border-top: 0.5px solid var(--line); }
.cal { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cal li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 14px; border-radius: 16px; background: var(--subtle); }
.cal li b { font: 700 15.5px/1.3 var(--display); }
.cal li span { grid-column: 1; font-size: 14.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.cal li i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font: 600 13px/1 var(--body); color: var(--muted); white-space: nowrap; }
.cal li.more { background: var(--fg); color: var(--page); }
.cal li.more span { color: color-mix(in srgb, var(--page) 78%, transparent); }
.cal li.more i { padding: 6px 10px; border-radius: 999px; background: var(--brand); color: #fff; }
.bars, .pays, .bal { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 14px; font-size: 15px; }
.bars li em, .pays li em, .bal li em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--fg-2); white-space: nowrap; }
.bars li i { position: absolute; left: 0; bottom: 4px; height: 4px; border-radius: 4px; background: var(--brand); }
.bars li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 4px; border-radius: 4px; background: var(--line); z-index: -1; }
.bars li { z-index: 0; }
.pays li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--subtle); font-size: 16.5px; }
.pays li em { font: 800 19px/1 var(--display); color: var(--fg); }
.bal { padding-top: 12px; border-top: 0.5px solid var(--line); }
.bal li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--fg-2); }
.plan { padding: 18px 20px; border-radius: 20px; background: var(--subtle); }
.plan h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 700 16px/1.3 var(--display); letter-spacing: 0; }
.plan h3 em { font: 800 22px/1 var(--display); font-style: normal; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan dl { margin: 12px 0 0; display: grid; gap: 6px; }
.plan dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.plan dt { color: var(--fg-2); }
.plan dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.disclaimer { padding-top: 16px; border-top: 0.5px solid var(--line); font-size: 14px; color: var(--muted); }
.private { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 14px; color: var(--muted); }
.private .ic { width: 20px; height: 20px; }
.disclaimer.center, .private.center { max-width: 560px; margin: 28px auto 0; border: 0; padding: 0; text-align: center; }
.private.center { display: block; margin-top: 10px; }
.private.center .ic { display: none; }
.tool-notes { padding-block: 48px 72px; }
.notes { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.notes li { position: relative; padding-left: 22px; color: var(--fg-2); font-size: 16.5px; }
.notes li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.notes a { color: var(--brand); text-underline-offset: 3px; }
.bridge { display: grid; gap: 12px; justify-items: start; padding: 32px; border-radius: 30px; background: var(--card); border: 0.5px solid var(--line); }
.bridge img:first-child { border-radius: 22.5%; }
.bridge h2 { font-size: 24px !important; letter-spacing: -.03em; }
.bridge > p { margin: 0 !important; font-size: 16.5px !important; color: var(--fg-2); }
.bridge .store { margin-top: 8px; }
.bridge .fine { font-size: 14px !important; color: var(--muted) !important; }
@media (max-width: 900px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .result { position: static; }
}
@media (max-width: 560px) {
  .tool-hero { padding-block: 36px 32px; }
  .calc, .result, .bridge { padding: 22px 18px; border-radius: 24px; }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
  .row .f-name, .row.exp .f-what { grid-column: 1 / -1; }
  .row.exp .f-what { grid-row: 2; }
  .row.exp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
  .people .row { grid-template-columns: minmax(0, 1fr) 44px; }
  .cal { grid-template-columns: minmax(0, 1fr); }
  .three { grid-template-columns: minmax(0, 1fr); }
}
