/* Chukta marketing site. Plain CSS, no build step. Design: "Ink & Lime". */

:root {
  /* Brand tokens */
  --paper: #f5f6f0;
  --surface: #ffffff;
  --sunk: #eceee6;
  --ink: #111511;
  --muted: #575e55;
  --line: #e1e4da;
  --pos: #08703f;
  --neg: #c2440e;
  --posbg: #e3f3e9;
  --negbg: #fbe9df;
  --lime: #c8f169;
  --g0: #0f0f11;
  --g1: #1a1a1d;
  --g2: #242428;
  --g3: #2d2d32;

  /* Supporting colours used by the illustrations */
  --dash: #c9cebf;
  --on-lime: #2b3326;
  --on-ink-muted: #b5b5ba;
  --on-g-muted: #a6a6ab;
  --on-g: #f4f4f2;
  --mint: #7edda9;
  --peach: #ffa26b;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1200px;
  --pad-x: clamp(16px, 4vw, 48px);
  --section-top: clamp(64px, 9vw, 120px);
  --radius-card: 32px;

  color-scheme: light;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--pos);
}

[id] {
  scroll-margin-top: 16px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.on-dark :focus-visible {
  outline-color: var(--lime);
}

.btn:focus-visible {
  border-radius: 999px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
  padding-right: max(var(--pad-x), env(safe-area-inset-right));
}

.section {
  padding-top: var(--section-top);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
}

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.6px;
  color: var(--pos);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -1.8px;
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.tick {
  flex: none;
  fill: none;
  stroke: var(--pos);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark {
  flex: none;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-sub: var(--on-ink-muted);
  --btn-icon: var(--lime);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 26px 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  text-align: left;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

a.btn[href]:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -16px rgba(17, 21, 17, 0.6);
}

.btn--outline {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-sub: var(--muted);
  --btn-icon: var(--ink);
  --btn-border: var(--ink);
}

.btn--lime {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  --btn-sub: var(--ink);
  --btn-icon: var(--ink);
}

.btn--white {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-sub: var(--muted);
  --btn-icon: var(--ink);
}

.btn--small {
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 15px;
}

.btn--plain {
  padding: 0 26px;
  font-weight: 700;
  font-size: 17px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.btn-sub {
  font-size: 12px;
  color: var(--btn-sub);
}

.btn-main {
  font-weight: 700;
  font-size: 18px;
}

.btn .ico-fill {
  fill: var(--btn-icon);
}

.btn .ico-stroke {
  fill: none;
  stroke: var(--btn-icon);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Google Play "coming soon" switch: <html data-coming-soon="true"> */
.play-soon {
  display: none;
}

html[data-coming-soon='true'] [data-play] .play-live {
  display: none;
}

html[data-coming-soon='true'] [data-play] .play-soon {
  display: flex;
}

html[data-coming-soon='true'] [data-play] {
  cursor: default;
}

.android-soon {
  display: none;
}

html[data-coming-soon='true'] .android-soon {
  display: block;
}

/* ---------- Header ---------- */

.site-header {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.8px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 clamp(12px, 2.4vw, 32px);
  font-weight: 600;
  font-size: 15px;
}

.main-nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-header .btn--small {
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(24px, 5vw, 64px);
  padding-bottom: clamp(48px, 7vw, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero-copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--lime);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -1.5px;
}

.highlight {
  background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%);
  padding: 0 6px;
  margin: 0 -6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-lede {
  max-width: 520px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.safari-note {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1.5px dashed var(--dash);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.safari-note svg {
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero graphic: a fixed 500x660 stage that scales down on small screens */
.hero-art {
  --s: 1;
  flex: 1 1 440px;
  min-width: 0;
  position: relative;
  height: calc(660px * var(--s));
}

.stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: 500px;
  height: 660px;
  margin-left: -250px;
  transform: scale(var(--s));
  transform-origin: top center;
  font-family: var(--font-body);
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
}

.ring--fill {
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  background: var(--lime);
}

.ring--dash {
  width: 600px;
  height: 600px;
  margin: -300px 0 0 -300px;
  border: 1.5px dashed var(--dash);
}

.phone {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 300px;
  height: 630px;
  margin-left: -150px;
  padding: 10px;
  border-radius: 52px;
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(17, 21, 17, 0.45);
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notch-row {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notch {
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
}

.ph-top {
  padding: 8px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ph-greet {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ph-greet small {
  font-size: 12px;
  color: var(--muted);
}

.ph-greet strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.ph-total {
  margin: 14px 14px 0;
  padding: 16px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ph-total-label {
  font-size: 12px;
  color: var(--on-ink-muted);
}

.ph-total-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -1.2px;
  line-height: 1;
}

.ph-split {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--on-ink-muted);
}

.ph-split b {
  font-weight: 700;
}

.c-mint {
  color: var(--mint);
}

.c-peach {
  color: var(--peach);
}

.ph-settle {
  margin-top: 6px;
  height: 36px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.ph-label {
  padding: 16px 18px 6px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.1px;
  color: var(--muted);
}

.ph-list {
  margin: 0 14px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.ph-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}

.ph-row + .ph-row {
  border-top: 1px solid var(--line);
}

.ph-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ph-ico svg {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-ico--pos {
  background: var(--posbg);
}

.ph-ico--pos svg {
  stroke: var(--pos);
}

.ph-ico--neg {
  background: var(--negbg);
}

.ph-ico--neg svg {
  stroke: var(--neg);
}

.ph-ico--sunk {
  background: var(--sunk);
}

.ph-ico--sunk svg {
  stroke: var(--ink);
}

.ph-name {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ph-name strong {
  font-weight: 600;
  font-size: 13px;
}

.ph-name small {
  font-size: 11px;
  color: var(--muted);
}

.ph-amt {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ph-amt small {
  font-size: 10px;
}

.ph-amt strong {
  font-weight: 700;
  font-size: 13px;
}

.ph-amt--pos {
  color: var(--pos);
}

.ph-amt--neg {
  color: var(--neg);
}

.ph-settled {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.ph-spacer {
  flex: 1;
}

.fab {
  position: absolute;
  right: 18px;
  bottom: 82px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(17, 21, 17, 0.4);
}

.fab svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
}

.tabbar {
  margin: 0 12px 14px;
  height: 58px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.tab-active {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--lime);
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--ink);
}

/* Floating cards around the phone */
.float-card {
  position: absolute;
}

.upi-card {
  left: 0;
  top: 70px;
  width: 210px;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(17, 21, 17, 0.35);
  rotate: -5deg;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upi-who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.mini-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--negbg);
  color: var(--neg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.upi-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-xs {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sunk);
  font-size: 11px;
  font-weight: 600;
}

.upi-pay {
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.stamp {
  right: 0;
  top: 250px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 3px solid var(--pos);
  background: var(--posbg);
  color: var(--pos);
  rotate: 8deg;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 20px 40px -24px rgba(8, 112, 63, 0.6);
}

.stamp-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 2px;
  line-height: 1;
}

.stamp-small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.split-card {
  left: 6px;
  bottom: 30px;
  width: 230px;
  padding: 14px 16px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 48px -20px rgba(17, 21, 17, 0.5);
  rotate: 3deg;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--on-ink-muted);
}

.split-sum {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.split-sum span {
  font-size: 15px;
  color: var(--on-ink-muted);
}

.split-sum strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--lime);
}

.split-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.split-foot strong {
  font-weight: 700;
  font-size: 14px;
}

.faces {
  display: flex;
}

.faces span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.faces span + span {
  margin-left: -7px;
}

.bg-lime {
  background: var(--lime);
}

.bg-mint {
  background: var(--mint);
}

.bg-peach {
  background: var(--peach);
}

.bg-grey {
  background: var(--on-ink-muted);
}

.bg-white {
  background: #fff;
}

/* ---------- Fact band ---------- */

.facts {
  background: var(--ink);
  color: #fff;
}

.facts-grid {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--lime);
}

.fact-small {
  font-size: 16px;
  color: var(--on-ink-muted);
}

/* ---------- Features ---------- */

.features {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.section-head .h2 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -2px;
}

.section-head p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}

.bento {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 300px;
  min-width: 0;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.card--wide {
  flex: 2 1 560px;
  padding: clamp(24px, 3vw, 40px);
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.card--wide h3 {
  font-weight: 800;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.card--wide p {
  font-size: 16px;
}

.card-copy {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card--ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  gap: 32px;
}

.card--ink p {
  color: var(--on-ink-muted);
}

.card--ink .card-copy {
  flex-basis: 260px;
}

.card--lime {
  background: var(--lime);
  border-color: var(--lime);
}

.card--lime p {
  color: var(--on-lime);
}

.card--graphite {
  background: var(--g0);
  border-color: var(--g0);
  color: var(--on-g);
}

.card--graphite p {
  color: var(--on-g-muted);
}

.card-foot {
  margin-top: auto;
}

.tag-lime {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
}

/* UPI mock */
.upi-mock {
  flex: 1 1 240px;
  min-width: 0;
  padding: 20px;
  border-radius: 26px;
  background: var(--g1);
  border: 1px solid var(--g3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upi-mock-who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upi-mock-who .face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.upi-mock-who small {
  display: block;
  font-size: 13px;
  color: var(--on-g-muted);
}

.upi-mock-who strong {
  display: block;
  font-weight: 700;
}

.upi-mock-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -1.4px;
  line-height: 1;
}

.upi-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.upi-apps span {
  height: 42px;
  border-radius: 14px;
  background: var(--g2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.upi-confirm {
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
}

/* Split chips */
.split-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--sunk);
  font-weight: 600;
  font-size: 14px;
}

.chip--ink {
  background: var(--ink);
  color: #fff;
}

/* Keypad */
.keypad {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.keypad span {
  font-size: 18px;
  color: var(--on-ink-muted);
}

.keypad strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -1px;
}

/* Simplify graph */
.simplify {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.graph {
  flex: 0 1 150px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.graph svg {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.graph--before {
  color: var(--neg);
}

.graph--after {
  color: var(--pos);
}

.graph-arrow {
  flex: none;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Currency */
.fx {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fx span {
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--sunk);
  font-weight: 700;
  font-size: 18px;
}

.fx span.fx-to {
  background: var(--ink);
  color: #fff;
}

.fx svg {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Offline */
.offline-pill {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--sunk);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
}

.offline-pill svg {
  flex: none;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Live feed */
.feed {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--paper);
  font-size: 13px;
}

.feed-row--pos {
  background: var(--posbg);
}

.feed-row .face {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex: none;
}

.feed-row .what {
  flex: 1;
  min-width: 0;
}

.feed-row .amt {
  font-weight: 700;
}

.feed-row--pos .amt {
  color: var(--pos);
}

/* Light / dark swatches */
.themes {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.themes span {
  flex: 1;
  min-height: 64px;
  padding: 0 8px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.theme-light {
  background: var(--paper);
  color: var(--pos);
}

.theme-dark {
  background: var(--g1);
  border: 1px solid var(--g3);
  color: var(--mint);
}

/* Coming soon strip */
.soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px 26px;
  border-radius: 24px;
  border: 1.5px dashed var(--dash);
}

.soon h3 {
  font-weight: 700;
  font-size: 15px;
  margin-right: 6px;
}

.soon ul {
  display: contents;
  list-style: none;
}

.soon li {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Splitwise import ---------- */

.import-box {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 40px;
  background: var(--g0);
  color: var(--on-g);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.import-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.import-copy .eyebrow {
  color: var(--lime);
}

.import-copy .lede {
  color: var(--on-g-muted);
}

.import-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

.import-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.import-points .tick {
  stroke: var(--lime);
}

.import-mock {
  flex: 1 1 360px;
  min-width: 0;
  padding: 24px;
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 40px 80px -40px rgba(200, 241, 105, 0.35);
}

.import-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.counts div {
  padding: 12px;
  border-radius: 18px;
  background: var(--sunk);
  display: flex;
  flex-direction: column;
}

.counts strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
}

.counts span {
  font-size: 13px;
  color: var(--muted);
}

.matches {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.match {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
}

.match + .match {
  border-top: 1px solid var(--line);
}

.match-ok {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--posbg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.match-ok svg {
  fill: none;
  stroke: var(--pos);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.match-name {
  flex: 1;
  font-weight: 600;
}

.match-state {
  font-weight: 700;
  font-size: 14px;
  color: var(--pos);
}

/* ---------- How it works ---------- */

.how {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.step {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step--lime {
  background: var(--lime);
  border-color: var(--lime);
}

.step-num::before {
  content: '0';
}

.cta-short,
.more-head,
.dots,
.step-ico,
.open-webapp,
.sticky-cta {
  display: none;
}

.more,
.carousel {
  display: contents;
}

.upi-mock-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
}

.step h3 {
  font-weight: 700;
  font-size: 21px;
}

.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.step--lime p {
  color: var(--on-lime);
}

/* ---------- Download ---------- */

.get {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.get-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.get-head .section-head {
  gap: 14px;
  max-width: 720px;
}

.qr-card {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 14px 20px 14px 14px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

[data-platform='desktop'] .qr-card {
  display: flex;
}

.qr-card svg {
  width: 112px;
  height: 112px;
  flex: none;
  border-radius: 12px;
}

.qr-card p {
  max-width: 190px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}

.qr-card strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.dl-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.dl-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dl-card--android {
  flex: 1 1 360px;
  background: var(--ink);
  color: #fff;
}

.dl-card--android p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-ink-muted);
}

.dl-card--iphone {
  flex: 2 1 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  gap: 22px;
}

.dl-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl-title h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.8px;
}

.dl-ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.dl-ico svg {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dl-card--android .dl-ico {
  background: var(--g2);
}

.dl-card--android .dl-ico svg {
  stroke: var(--lime);
}

.dl-card--iphone .dl-ico {
  background: var(--sunk);
}

.dl-card--iphone .dl-ico svg {
  stroke: var(--ink);
}

.dl-card--android .btn {
  align-self: flex-start;
  margin-top: auto;
}

.android-soon {
  font-size: 15px;
  color: var(--on-ink-muted);
}

.android-soon a {
  color: var(--lime);
  font-weight: 700;
}

.android-soon a:hover {
  color: #fff;
}

.dl-iphone-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge-pos {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--posbg);
  color: var(--pos);
  font-weight: 700;
  font-size: 13px;
}

.dl-card--iphone > p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.dl-card--iphone > p.dl-help {
  font-size: 14px;
}

.for-you {
  display: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.dl-card--iphone {
  container-type: inline-size;
}

.ios-steps {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@container (min-width: 560px) {
  .ios-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .addrow {
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
  }

  .addrow svg {
    display: none;
  }
}

.ios-steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.ios-shot {
  height: 150px;
  padding: 12px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
}

.ios-shot--url {
  flex-direction: column;
  justify-content: flex-end;
}

.ios-shot--share {
  align-items: flex-end;
}

.ios-shot--add {
  align-items: center;
}

.ios-shot--icon {
  background: var(--ink);
  border-color: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.urlbar {
  height: 36px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.urlbar svg {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.sharebar {
  width: 100%;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.sharebar i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--dash);
}

.sharebar b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sharebar svg,
.addrow svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.addrow {
  width: 100%;
  min-height: 44px;
  padding: 6px 12px;
  line-height: 1.2;
  border-radius: 14px;
  background: var(--surface);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

/* Platform emphasis (set by script.js on <html data-platform>) */
[data-platform='android'] .dl-card--android .for-you,
[data-platform^='ios'] .dl-card--iphone .for-you {
  display: inline-flex;
}

/* Android visitors while the Play listing isn't live: offer the web app instead of iPhone steps. */
.btn-webapp {
  display: none;
}

html[data-coming-soon='true'][data-platform='android'] .btn-webapp {
  display: inline-flex;
}

html[data-coming-soon='true'][data-platform='android'] .hero .btn-iphone,
[data-platform='android'] .final .btn-iphone,
[data-platform^='ios'] .final .btn-play {
  display: none;
}

[data-platform='android'] .dl-card--android {
  box-shadow:
    0 0 0 4px var(--paper),
    0 0 0 7px var(--lime);
}

[data-platform^='ios'] .dl-card--iphone {
  order: -1;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

[data-platform^='ios'] .cta-row .btn-iphone {
  order: -1;
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-sub: var(--on-ink-muted);
  --btn-icon: var(--lime);
  --btn-border: var(--ink);
}

[data-platform^='ios'] .hero .btn-play {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-sub: var(--muted);
  --btn-icon: var(--ink);
  --btn-border: var(--ink);
}

[data-platform^='ios'] .final .btn-play {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-sub: var(--muted);
  --btn-icon: var(--ink);
}

[data-platform='ios-other'] .safari-note {
  display: flex;
}

/* ---------- Why free ---------- */

.why {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  align-items: flex-start;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.why .h2 {
  flex: 1 1 340px;
}

.why-copy {
  flex: 1.4 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-lime);
}

.why-copy .sig {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- FAQ ---------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 0 48px;
}

.qa {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary:focus-visible {
  border-radius: 8px;
}

.qa h3 {
  font-weight: 700;
  font-size: 18px;
}

.qa-icon {
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.qa-v {
  transform-origin: 12px 12px;
  transition: transform 200ms ease;
}

.qa[open] .qa-v {
  transform: rotate(90deg);
}

.qa p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */

.final {
  padding-bottom: var(--section-top);
}

.final-box {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px);
  border-radius: 40px;
  background: var(--lime);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.final-box > :not(.deco) {
  position: relative;
}

.deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deco--ring {
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 2px dashed var(--ink);
  opacity: 0.25;
}

.deco--dot {
  left: -40px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background: var(--ink);
  opacity: 0.06;
}

.final h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -2.6px;
}

.final-box > p {
  font-size: 19px;
  color: var(--on-lime);
}

.final .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding-top: 32px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-name {
  font-size: 20px;
  letter-spacing: -0.6px;
}

.footer-brand small,
.copyright {
  font-size: 14px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Document pages (privacy, 404) ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) var(--pad-x) var(--section-top);
}

.doc h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -1.8px;
}

.doc .updated {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.doc section {
  margin-top: 40px;
}

.doc h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.doc p,
.doc ul {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
}

.doc ul {
  padding-left: 22px;
}

.doc li + li {
  margin-top: 8px;
}

.doc li::marker {
  color: var(--muted);
}

.todo {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lost {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 10vw, 120px) var(--pad-x) var(--section-top);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.lost .lost-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(96px, 20vw, 200px);
  line-height: 0.85;
  letter-spacing: -6px;
  color: var(--ink);
}

.lost .lost-code span {
  display: inline-block;
  padding: 0 0.08em;
  background: var(--lime);
  border-radius: 0.12em;
  rotate: -6deg;
}

.lost h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -1.6px;
}

.lost p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 819px) {
  /* The section links don't fit next to the CTA; the page itself is one scroll. */
  .main-nav {
    display: none;
  }
}

@media (max-width: 719px) {
  /* Let the decorative rings run to the screen edge, then clip them there. */
  .hero-art {
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
    overflow: hidden;
    overflow: clip visible;
  }
}

@media (max-width: 1099px) {
  /* Four facts never split 3 + 1 */
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Phone (< 640px): follows the "Landing page · phone" artboard ===== */
@media (max-width: 639px) {
  :root {
    --pad-x: 16px;
    --section-top: 56px;
  }

  [id] {
    scroll-margin-top: 76px;
  }

  /* Header: sticky, logo + one pill */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 15;
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(245, 246, 240, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }

  .brand {
    gap: 8px;
  }

  .brand .logo-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 23px;
    letter-spacing: -0.7px;
  }

  .site-header .btn--small {
    min-height: 44px;
    padding: 0 18px;
  }

  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  /* Hero */
  .hero {
    padding-top: 28px;
    padding-bottom: 0;
    gap: 8px;
  }

  .hero-copy {
    gap: 20px;
  }

  .pill {
    gap: 8px;
    padding: 6px 14px 6px 6px;
    font-size: 13px;
  }

  .pill-tag {
    height: 22px;
    padding: 0 9px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 58px;
    letter-spacing: -2.2px;
  }

  .highlight {
    padding: 0 4px;
    margin: 0 -4px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta-row .btn,
  .open-webapp,
  .dl-card--android .btn {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    justify-content: center;
    gap: 10px;
  }

  /* One-line button labels on phones ("Get it on Google Play") */
  .cta-row .btn-text,
  .dl-card--android .btn-text {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0.28em;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
  }

  .cta-row .btn-sub,
  .cta-row .btn-main,
  .dl-card--android .btn-sub,
  .dl-card--android .btn-main {
    font-size: inherit;
    font-weight: inherit;
    color: var(--btn-fg);
  }

  .cta-row .btn svg {
    width: 20px;
    height: 20px;
  }

  .safari-note {
    font-size: 16px;
  }

  .trust {
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }

  .trust li {
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--sunk);
  }

  .trust .tick {
    width: 14px;
    height: 14px;
    stroke-width: 3;
  }

  /* Hero graphic: narrower stage, phone mock ~250px wide, smaller floating cards */
  .hero-art {
    --s: 0.95;
  }

  .stage {
    width: 460px;
    margin-left: -230px;
  }

  .ring--dash {
    display: none;
  }

  .ring--fill {
    top: 50px;
    width: 430px;
    height: 430px;
    margin: 0 0 0 -215px;
  }

  .upi-card {
    top: 56px;
    transform: scale(0.86);
    transform-origin: top left;
  }

  .upi-card .chips,
  .upi-card .mini-avatar {
    display: none;
  }

  .stamp {
    top: 290px;
    transform: scale(0.85);
    transform-origin: right center;
  }

  .split-card {
    bottom: 40px;
    transform: scale(0.86);
    transform-origin: bottom left;
  }

  /* Fact band: 2 x 2 */
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .fact {
    gap: 2px;
  }

  .fact-big {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .fact-small {
    font-size: 14px;
    line-height: 1.4;
  }

  .facts {
    margin-top: 16px;
  }

  /* Section headings */
  .h2,
  .section-head .h2 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }

  .section-head {
    gap: 10px;
  }

  .section-head p,
  .lede {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  /* Features: one column, bigger story first, small cards in a swipe row */
  .features {
    gap: 16px;
  }

  .features .section-head .h2 {
    font-size: 40px;
    letter-spacing: -1.4px;
  }

  .features .h2 br,
  .final h2 br {
    display: none;
  }

  .bento {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
    margin-top: 8px;
  }

  .bento > * {
    order: 3;
  }

  .bento > .card--ink {
    order: 1;
  }

  .bento > .card--lime {
    order: 2;
  }

  .card,
  .card--wide {
    flex: none;
    padding: 24px 20px;
    border-radius: 28px;
    gap: 12px;
  }

  .card--wide {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .card h3,
  .card--wide h3 {
    font-size: 24px;
    letter-spacing: -0.5px;
    line-height: 1.1;
  }

  .card--ink h3 {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .card p,
  .card--wide p {
    font-size: 16px;
    line-height: 1.5;
  }

  .card-copy,
  .card--ink .card-copy {
    flex: none;
    gap: 12px;
  }

  .tag-lime {
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .upi-mock {
    flex: none;
    padding: 16px;
    border-radius: 22px;
    gap: 10px;
  }

  .upi-mock-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .upi-mock-who .face {
    display: none;
  }

  .upi-mock-who > span {
    display: flex;
    gap: 0.28em;
  }

  .upi-mock-who small,
  .upi-mock-who strong {
    font-size: 13px;
    font-weight: 400;
    color: var(--on-g-muted);
  }

  .upi-mock-amount {
    font-size: 26px;
    letter-spacing: -0.8px;
  }

  .upi-apps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .upi-apps span {
    height: 40px;
    border-radius: 12px;
    font-size: 13px;
  }

  .upi-apps .upi-any,
  .upi-confirm {
    display: none;
  }

  .keypad {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .keypad span {
    font-size: 16px;
  }

  .keypad strong {
    font-size: 28px;
  }

  .split-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -20px;
    padding: 2px 20px;
    scrollbar-width: none;
  }

  .split-chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
  }

  .simplify {
    flex: none;
    justify-content: space-between;
    gap: 8px;
  }

  .graph {
    flex: 0 1 112px;
    gap: 6px;
    font-size: 13px;
  }

  .graph svg {
    max-width: 112px;
  }

  .graph-arrow {
    width: 28px;
    height: 20px;
  }

  /* Swipe carousel */
  .more {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 8px calc(-1 * var(--pad-x)) 0;
  }

  .more-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad-x);
    font-weight: 700;
    font-size: 16px;
  }

  .swipe {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
  }

  .swipe svg {
    fill: none;
    stroke: var(--muted);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 var(--pad-x) 4px;
    scroll-padding: 0 var(--pad-x);
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .carousel::-webkit-scrollbar {
    display: none;
  }

  .carousel > .card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    padding: 22px 20px;
    border-radius: 26px;
    gap: 10px;
  }

  .carousel > .card h3 {
    font-size: 21px;
    letter-spacing: -0.3px;
  }

  .fx span {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 15px;
  }

  .themes span {
    min-height: 48px;
    border-radius: 12px;
    font-size: 13px;
  }

  .dots {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .dots i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--dash);
    transition:
      width 200ms ease,
      background-color 200ms ease;
  }

  .dots i.is-on {
    width: 18px;
    background: var(--ink);
  }

  .soon {
    margin-top: 4px;
    padding: 16px;
    border-radius: 20px;
    gap: 8px;
  }

  .soon h3 {
    width: 100%;
    font-size: 14px;
  }

  .soon li {
    padding: 6px 10px;
    font-size: 13px;
  }

  /* Splitwise import: full-bleed dark band */
  #import {
    padding-left: 0;
    padding-right: 0;
  }

  .import-box {
    padding: 36px 20px;
    border-radius: 0;
    gap: 20px;
  }

  .import-copy {
    gap: 16px;
  }

  .import-points {
    font-size: 16px;
  }

  .import-mock {
    padding: 18px;
    border-radius: 24px;
    gap: 12px;
  }

  .import-title {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .counts {
    gap: 6px;
  }

  .counts div {
    padding: 10px;
    border-radius: 14px;
  }

  .counts strong {
    font-size: 22px;
  }

  .counts span {
    font-size: 12px;
  }

  .matches {
    border-radius: 16px;
  }

  .match {
    gap: 10px;
    padding: 11px 12px;
  }

  .match:nth-child(3) {
    display: none;
  }

  .match-ok {
    width: auto;
    height: auto;
    background: none;
  }

  .match-ok svg {
    width: 18px;
    height: 18px;
  }

  .match-name {
    font-size: 14px;
  }

  .match-state {
    font-size: 13px;
  }

  /* How it works: numbered timeline */
  .how {
    gap: 24px;
  }

  .steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .step,
  .step--lime {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    padding: 0 0 24px;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--line);
  }

  .step-num {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }

  .step-num::before {
    content: none;
  }

  .step--lime .step-num {
    background: var(--lime);
    color: var(--ink);
  }

  .step h3 {
    padding-top: 8px;
    font-size: 18px;
  }

  .step p,
  .step--lime p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
  }

  /* Download */
  .get {
    gap: 16px;
  }

  .get-head .section-head {
    gap: 10px;
  }

  [data-platform='desktop'] .qr-card {
    display: none;
  }

  .dl-cards {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .dl-card,
  .dl-card--android,
  .dl-card--iphone {
    flex: none;
    padding: 22px 18px;
    border-radius: 28px;
    gap: 16px;
  }

  .dl-ico {
    display: none;
  }

  .dl-title {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .dl-title h3 {
    font-size: 26px;
    letter-spacing: -0.6px;
  }

  .dl-iphone-head {
    gap: 10px;
  }

  [data-platform^='ios'] .badge-pos {
    display: none;
  }

  [data-platform^='ios'] .dl-card--iphone {
    border-width: 2px;
    box-shadow: none;
  }

  [data-platform='android'] .dl-card--android {
    box-shadow: inset 0 0 0 2px var(--lime);
  }

  [data-platform^='ios'] .android-soon {
    display: none;
  }

  .dl-card--android .btn {
    padding: 0 16px;
  }

  .dl-card--android .btn-text {
    font-size: 16px;
  }

  .dl-card--android p,
  .dl-card--iphone > p {
    font-size: 16px;
    line-height: 1.5;
  }

  .android-soon {
    font-size: 15px;
  }

  .ios-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ios-steps li {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 18px;
    background: var(--paper);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.35;
  }

  .ios-steps b,
  .ios-steps a {
    font-weight: 700;
  }

  .ios-shot {
    display: none;
  }

  .step-ico {
    display: flex;
    width: 56px;
    height: 56px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .step-ico svg {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .step-ico--lime {
    background: var(--lime);
    border-color: var(--lime);
  }

  .step-ico--ink {
    background: var(--ink);
    border-color: var(--ink);
  }

  .open-webapp {
    display: inline-flex;
    font-size: 17px;
  }

  .dl-card--iphone > p.dl-help {
    font-size: 14px;
    line-height: 1.45;
  }

  /* So what's the catch */
  .why {
    padding-top: 0;
    border-top: 0;
    gap: 14px;
  }

  .why-copy {
    gap: 14px;
    font-size: 16px;
  }

  /* FAQ: accordions */
  .faq {
    gap: 16px;
  }

  .faq-grid {
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .qa {
    padding: 0;
  }

  .qa summary {
    align-items: center;
    min-height: 56px;
    padding: 14px 0;
  }

  .qa h3 {
    font-size: 17px;
  }

  .qa-icon {
    margin-top: 0;
  }

  .qa p {
    margin: 0 0 16px;
  }

  /* Final CTA */
  .final {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .final-box {
    padding: 36px 22px;
    border-radius: 32px;
    gap: 16px;
  }

  .deco--ring {
    right: -50px;
    top: -50px;
    width: 150px;
    height: 150px;
  }

  .deco--dot {
    display: none;
  }

  .final h2 {
    font-size: 44px;
    letter-spacing: -1.6px;
  }

  .final-box > p {
    font-size: 16px;
  }

  .final .cta-row {
    align-self: stretch;
  }

  .final .btn--white {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
  }

  [data-platform='desktop'] .final .btn--white,
  [data-platform='other'] .final .btn--white {
    --btn-bg: var(--surface);
    --btn-fg: var(--ink);
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 32px;
    padding-bottom: 104px;
  }

  .footer-brand .brand-name {
    font-size: 19px;
  }

  .footer-nav {
    flex-direction: column;
    font-size: 16px;
  }

  .copyright {
    font-size: 13px;
  }

  /* Sticky bottom bar (shown by script.js after the hero) */
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
    background: rgba(245, 246, 240, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    translate: 0 110%;
    visibility: hidden;
    transition:
      translate 220ms ease-out,
      visibility 0s linear 220ms;
  }

  .sticky-cta.is-shown {
    translate: none;
    visibility: visible;
    transition: translate 220ms ease-out;
  }

  .sticky-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .sticky-text strong {
    font-size: 15px;
  }

  .sticky-text span {
    font-size: 12px;
    color: var(--muted);
  }

  .sticky-cta .btn {
    display: none;
    min-height: 48px;
    padding: 0 20px;
    white-space: nowrap;
  }

  .sticky-cta .sticky-generic,
  [data-platform='android'] .sticky-cta .sticky-play,
  html[data-coming-soon='true'][data-platform='android'] .sticky-cta .sticky-webapp,
  [data-platform^='ios'] .sticky-cta .sticky-iphone {
    display: inline-flex;
  }

  [data-platform='android'] .sticky-cta .sticky-generic,
  html[data-coming-soon='true'][data-platform='android'] .sticky-cta .sticky-play,
  [data-platform^='ios'] .sticky-cta .sticky-generic {
    display: none;
  }
}

@media (max-width: 469px) {
  .hero-art {
    --s: 0.85;
  }
}

@media (max-width: 409px) {
  .hero-art {
    --s: 0.79;
  }
}

@media (max-width: 379px) {
  .hero-art {
    --s: 0.72;
  }

  .hero h1 {
    font-size: 56px;
  }

  .fact-big {
    font-size: 34px;
  }
}

@media (max-width: 339px) {
  .hero-art {
    --s: 0.66;
  }

  .hero h1 {
    font-size: 50px;
  }

  .features .section-head .h2 {
    font-size: 36px;
  }

  .final h2 {
    font-size: 38px;
  }
}

/* Phones held sideways: keep the hero graphic from filling several screens */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 640px) {
  .hero-art {
    --s: 0.7;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .motion .reveal {
    opacity: 0;
    translate: 0 18px;
    transition:
      opacity 400ms ease-out,
      translate 400ms ease-out;
  }

  .motion .reveal.is-in {
    opacity: 1;
    translate: none;
  }

  .motion .bento > .reveal:nth-child(3n + 2),
  .motion .steps > .reveal:nth-child(2),
  .motion .dl-cards > .reveal:nth-child(2) {
    transition-delay: 80ms;
  }

  .motion .bento > .reveal:nth-child(3n),
  .motion .steps > .reveal:nth-child(3) {
    transition-delay: 160ms;
  }

  .upi-card {
    animation: float 7s ease-in-out 1s infinite;
  }

  .split-card {
    animation: float 8s ease-in-out 2.2s infinite;
  }

  .stamp {
    animation:
      stamp-land 380ms cubic-bezier(0.2, 0.9, 0.3, 1.2) 600ms both,
      float 6.5s ease-in-out 1.6s infinite;
  }

  .phone {
    animation: float-soft 9s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta,
  .sticky-cta.is-shown,
  .qa-v,
  .dots i {
    transition: none;
  }
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes float-soft {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes stamp-land {
  0% {
    opacity: 0;
    scale: 1.8;
  }

  65% {
    opacity: 1;
    scale: 0.94;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

@media print {
  .site-header .btn,
  .hero-art,
  .skip-link {
    display: none;
  }
}
