/* MeroSplit home page. Light by default, dark from the OS. html[data-theme] pins either one for local fixtures.
   Amber marks bills and coral marks payments, the two halves of the mark. */
/* Max widths use em, not ch: ch is the font's "0" and would change when the font swaps.
   Arial adjusted to Stack Sans Text's widths and vertical metrics (ascent 1.0em, descent .3em, no line gap),
   so text keeps its size and position if the web font arrives after first paint. Overrides are divided by
   size-adjust because browsers scale them by it. */
@font-face { font-family: "Stack Sans Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400; size-adjust: 108.4%; ascent-override: 92.25%; descent-override: 27.68%; line-gap-override: 0%; }
@font-face { font-family: "Stack Sans Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 500; size-adjust: 109.6%; ascent-override: 91.24%; descent-override: 27.37%; line-gap-override: 0%; }
@font-face { font-family: "Stack Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600; size-adjust: 102.84%; ascent-override: 97.24%; descent-override: 29.17%; line-gap-override: 0%; }
@font-face { font-family: "Stack Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 102.16%; ascent-override: 97.89%; descent-override: 29.37%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --page: #F5F5F5; --paper: #FFFFFF; --ink: #161616; --quiet: #5C5C5C; --line: #DCDCDC;
  --amber: #FFB21E; --coral: #F2545B; --on-brand: #161616;
  --owed: #176B3A; --owes: #B42318; --edge: #A6A6A6; --track: #8A8A8A;
  --blue: #075DB4; --on-blue: #FFFFFF; --avatar-ink: #452511;
  --bill-tile: #FFE8BC; --bill-icon: #161616; --trip-tile: #FCD4D6; --trip-icon: #161616;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #111111; --paper: #1C1C1C; --ink: #F5F5F5; --quiet: #B5B5B5; --line: #383838;
    --owed: #78D9A0; --owes: #FF9B93; --edge: #6B6B6B; --track: #6B6B6B; --blue: #83B9FF; --on-blue: #111111;
    --bill-tile: #3A2E15; --bill-icon: #FFB21E; --trip-tile: #3D2224; --trip-icon: #F2545B;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #111111; --paper: #1C1C1C; --ink: #F5F5F5; --quiet: #B5B5B5; --line: #383838;
  --owed: #78D9A0; --owes: #FF9B93; --edge: #6B6B6B; --track: #6B6B6B; --blue: #83B9FF; --on-blue: #111111;
  --bill-tile: #3A2E15; --bill-icon: #FFB21E; --trip-tile: #3D2224; --trip-icon: #F2545B;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.55 "Stack Sans Text", "Stack Sans Fallback", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 2; padding: .6rem 1rem; border-radius: 10px; background: var(--paper); }
.skip:focus { top: 1rem; }
.wrap { width: min(76rem, 100% - 2.5rem); margin-inline: auto; }
/* Hugeicons from /assets/icons.svg; they draw with currentColor at the text size. */
.hi { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* Header */
.top { display: flex; align-items: center; gap: 1rem 1.5rem; padding-block: 1.25rem; }
/* Lockup: the mark is ~1.6x the wordmark's cap height (Stack Sans caps are .7em). */
.brand { display: inline-flex; align-items: center; gap: .4em; min-height: 2.75rem; margin-right: auto; font-size: 1.25rem; font-weight: 600; line-height: 1; letter-spacing: -.015em; text-decoration: none; }
.brand svg { height: 1.12em; width: auto; flex-shrink: 0; }
.top-link, .pill { white-space: nowrap; text-decoration: none; }
.top-link { display: inline-flex; align-items: center; gap: .4em; min-height: 2.75rem; color: var(--quiet); }
.top-link:hover { color: var(--ink); text-decoration: underline; }
.pill { display: inline-flex; align-items: center; gap: .45em; min-height: 2.75rem; padding: .55rem 1.15rem .55rem .95rem; border-radius: 999px; background: var(--ink); color: var(--page); font-weight: 600; transition: background-color .15s; }
.pill:hover { background: color-mix(in srgb, var(--ink) 80%, var(--page)); }
@media (max-width: 27rem) { .top-link { display: none; } }

/* Hero: one cut through the headline, halves offset like the mark. The right half is a copy drawn by ::after. */
.hero { padding-block: clamp(2rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 7rem); }
.cut {
  --cut: 44%; --seam: .045em; --shift: .075em;
  position: relative; width: fit-content; margin-inline: -.04em;
  font-size: clamp(3rem, 16vw, 13.25rem); font-weight: 700; line-height: .86; letter-spacing: -.055em;
}
.cut-l, .cut::after { display: block; padding: .1em .06em .14em .04em; }
.cut-l { clip-path: inset(0 calc(100% - var(--cut) + var(--seam) / 2) 0 0); transform: translateY(calc(var(--shift) * -1)); }
/* The headline splits as the loader lifts (landing.js adds .ready), so the mark's halves hand over to it. */
.ready .cut-l { animation: rise .9s .1s cubic-bezier(.2, .8, .2, 1) both; }
.ready .cut::after { animation: sink .9s .1s cubic-bezier(.2, .8, .2, 1) both; }
.cut::after {
  content: attr(data-copy); content: attr(data-copy) / "";
  position: absolute; inset: 0; white-space: pre-line;
  clip-path: inset(0 0 0 calc(var(--cut) + var(--seam) / 2)); transform: translateY(var(--shift));
}
@keyframes rise { from { transform: none; clip-path: inset(0 calc(100% - var(--cut)) 0 0); } }
@keyframes sink { from { transform: none; clip-path: inset(0 0 0 var(--cut)); } }
.hero-foot { display: grid; gap: 2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.lede { max-width: 23.2em; font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; }
.get { display: grid; gap: .9rem; justify-items: start; scroll-margin-block: 2rem; }
.badges { --badge: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.badges a { display: inline-flex; border-radius: 9px; }
.badges img { height: var(--badge); width: auto; }
/* Google's badge carries transparent padding; scale it so the visible badge matches Apple's height. */
.badges .google-play-badge img { height: calc(var(--badge) * 1.5); max-width: none; margin: calc(var(--badge) * -.25) calc(var(--badge) * -.23); }
.web-link { display: inline-flex; align-items: center; gap: .45em; min-height: 2.75rem; font-weight: 500; }
.install-selected, #install:focus-visible { outline: 3px solid var(--blue); outline-offset: 8px; border-radius: 6px; }
@media (min-width: 56rem) { .hero-foot { padding-left: calc(44% - .5rem); } }

/* Simplify demo */
.simplify { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.simplify-intro { display: grid; gap: 1.25rem; max-width: 46rem; }
.simplify-intro p { max-width: 36.8em; color: var(--quiet); font-size: 1.125rem; }
.demo { display: grid; margin-top: clamp(2rem, 4vw, 3rem); border-radius: 24px; background: var(--paper); overflow: hidden; }
.trip { padding: clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.trip-head { display: flex; align-items: center; gap: .9rem; }
.tile { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--trip-tile); color: var(--trip-icon); flex-shrink: 0; }
.tile .hi { width: 1.6rem; height: 1.6rem; }
.trip h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.trip-head p { margin-top: .1rem; color: var(--quiet); font-size: .9375rem; }
.bills { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .25rem; }
.bill { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; padding: .6rem .75rem; border-radius: 14px; }
.bill input { grid-row: span 2; width: 1.15rem; height: 1.15rem; margin: 0 .8rem 0 0; accent-color: var(--ink); cursor: pointer; }
/* Amber marks a bill, as in the app's expense icons. */
.bill-icon { grid-row: span 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-right: .85rem; border-radius: 12px; background: var(--bill-tile); color: var(--bill-icon); transition: background-color .15s; }
.bill-icon .hi { width: 1.35rem; height: 1.35rem; }
.bill:has(input) { cursor: pointer; }
.bill:has(input):hover { background: color-mix(in srgb, var(--amber) 12%, transparent); }
.bill-name { grid-column: 3; font-weight: 500; line-height: 1.35; }
.bill-meta { grid-column: 3 / -1; color: var(--quiet); font-size: .875rem; line-height: 1.4; }
.bill-amt { grid-column: 4; grid-row: 1; margin-left: .85rem; font-weight: 600; line-height: 1.35; }
.bill:has(input:not(:checked)) .bill-icon { background: color-mix(in srgb, var(--ink) 7%, var(--paper)); color: var(--quiet); }
.bill:has(input:not(:checked)) :is(.bill-name, .bill-amt, .bill-meta) { color: var(--quiet); text-decoration: line-through; text-decoration-thickness: 1px; }

.board { display: grid; grid-template-rows: auto 1fr auto; padding: clamp(1.25rem, 3vw, 2rem); }
.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.tally { font-size: 1.0625rem; }
.tally strong { font-size: 2.25rem; font-weight: 600; letter-spacing: -.03em; margin-right: .3rem; vertical-align: -.1em; }
.tally span { color: var(--quiet); }
.switch { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .25rem; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.switch .hi { color: var(--coral); }
.switch:hover .switch-track { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 8%, transparent); }
.switch-track { position: relative; width: 2.625rem; margin-left: .2rem; height: 1.5rem; border-radius: 999px; background: var(--track); transition: background-color .2s, box-shadow .15s; }
.switch-track::after { content: ""; position: absolute; top: .1875rem; left: .1875rem; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px #0000004D; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.switch[aria-checked="true"] .switch-track { background: var(--coral); }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(1.125rem); }

/* The box is sized before landing.js draws into it: wide and compact layouts match its viewBoxes. */
.graph { width: 100%; max-width: 40rem; height: auto; aspect-ratio: 600 / 400; margin: 1rem auto .5rem; overflow: visible; font-family: inherit; }
.graph .avatar { stroke: var(--paper); stroke-width: 4; }
.graph .initial { font-size: 24px; font-weight: 600; fill: var(--avatar-ink); text-anchor: middle; dominant-baseline: central; }
.graph .who { font-size: 17px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.graph .bal { font-size: 15px; text-anchor: middle; fill: var(--quiet); }
.graph .bal.owed { fill: var(--owed); }
.graph .bal.owes { fill: var(--owes); }
.graph .edge path.line { fill: none; stroke: var(--edge); stroke-width: 1.75; stroke-linecap: round; }
.graph .edge path.head { fill: var(--edge); }
.graph .edge text { font-size: 15px; font-weight: 500; fill: var(--quiet); text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: var(--paper); stroke-width: 7px; stroke-linejoin: round; }
.graph .edge.pay path.line { stroke: var(--coral); stroke-width: 3.25; }
.graph .edge.pay path.head { fill: var(--coral); }
.graph .edge.pay text { font-size: 16px; font-weight: 600; fill: var(--ink); }
/* Narrow screens draw the same graph tighter, with larger type, so amounts stay readable. */
@media (max-width: 40rem) { .graph { aspect-ratio: 400 / 430; } }
.graph.compact .who { font-size: 20px; }
.graph.compact .bal, .graph.compact .edge text { font-size: 17px; }
.graph.compact .edge.pay text { font-size: 18px; }
.graph .edge.enter path.line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s var(--delay, 0s) cubic-bezier(.4, 0, .2, 1) forwards; }
.graph .edge.enter :is(path.head, text) { opacity: 0; animation: appear .2s calc(var(--delay, 0s) + .4s) forwards; }
.graph .edges.leave { opacity: 0; transition: opacity .18s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

.payments { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .35rem 1.5rem; font-size: .9375rem; }
.payments li { display: flex; justify-content: space-between; gap: 1rem; }
.payments strong { font-weight: 600; }
.payments + p { margin-top: .9rem; color: var(--quiet); font-size: .875rem; }
@media (min-width: 60rem) {
  .demo { grid-template-columns: minmax(23rem, 27rem) 1fr; }
  .trip { border-bottom: 0; border-right: 1px solid var(--line); }
}

/* Features */
.more { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.more h2 { max-width: 12.2em; }
.features { display: grid; gap: 2rem 3rem; margin: clamp(2rem, 4vw, 3.25rem) 0 0; }
.features dt { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; }
.feature-icon, .point-icon { display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 18px; background: var(--paper); color: var(--ink); }
.feature-icon { margin-bottom: 1.1rem; }
.feature-icon .hi, .point-icon .hi { width: 2rem; height: 2rem; }
.features dd { margin: .35rem 0 0; color: var(--quiet); max-width: 23.2em; }
@media (min-width: 48rem) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Money */
.money { display: grid; gap: 2.5rem; padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.money h2 { max-width: 10.2em; }
.money-points { display: grid; gap: 1.75rem; align-content: start; }
.money-points p { position: relative; min-height: 3.75rem; padding-left: 5rem; max-width: calc(31.4em + 5rem); color: var(--quiet); }
.point-icon { position: absolute; left: 0; top: 0; }
.money-points strong { display: block; margin-bottom: .2rem; color: var(--ink); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; }
.source { display: flex; align-items: center; gap: .45em; width: fit-content; min-height: 2.75rem; margin-top: .9rem; padding: .4rem 1rem .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.source:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
@media (min-width: 60rem) { .money { grid-template-columns: 1fr 1fr; } }

/* Get it */
.get-band { position: relative; background: var(--amber); color: var(--on-brand); }
.get-inner { display: grid; gap: .75rem; padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.get-band h2 { font-size: clamp(2.5rem, 6.5vw, 5rem); letter-spacing: -.045em; }
.get-copy { display: grid; gap: 1.25rem; align-content: start; }
.get-copy > p { max-width: 25.9em; font-size: 1.125rem; }
.get-band .badges { --badge: 3.25rem; }
.get-band :focus-visible { outline-color: var(--on-brand); }
.mascot { width: clamp(9rem, 30vw, 21rem); height: auto; margin-top: -2.5rem; justify-self: end; order: -1; }
.qr { display: none; margin: .5rem 0 0; align-items: center; gap: 1rem; font-size: .9375rem; }
.qr img { width: 6.5rem; height: 6.5rem; border-radius: 8px; background: #FFFFFF; padding: .3rem; }
.qr figcaption { max-width: 9.5em; }
/* The mascot stands on the band's bottom edge; its PNG has ~8% clear space under the feet. */
@media (min-width: 52rem) {
  .get-inner { padding-right: clamp(18rem, 30vw, 25rem); }
  .get-copy { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
  .mascot { position: absolute; right: max(1.25rem, (100% - 76rem) / 2); bottom: calc(clamp(18rem, 28vw, 25rem) * -.075); width: clamp(18rem, 28vw, 25rem); margin: 0; }
}
@media (min-width: 52rem) and (pointer: fine) { .qr { display: flex; } }

/* Footer: the shared public footer component. */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; padding-block: 1.75rem 2.5rem; color: var(--quiet); font-size: .9375rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.foot a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot nav a { color: var(--quiet); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot p a { color: var(--ink); text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.foot p a:hover { text-decoration-color: currentColor; }

/* Android beta guide: shown only while the Play listing is not public. */
.guide-open { overflow: hidden; }
.android-guide { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; width: min(27rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.android-guide:not([open]) { display: none; }
.android-guide::backdrop { background: #0009; }
.guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide-heading p { font-size: .8125rem; color: var(--quiet); font-weight: 500; }
.guide-heading form { margin: 0; }
.android-guide button { font: inherit; cursor: pointer; }
.android-guide .i { width: 1.15em; height: 1.15em; }
.guide-close { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin: -.5rem -.5rem -.5rem 0; color: var(--quiet); background: transparent; border: 0; border-radius: 8px; }
#android-progress-bar { display: block; width: 100%; height: 4px; margin-block: 1rem 1.25rem; border: 0; border-radius: 2px; overflow: hidden; accent-color: var(--blue); background: var(--line); }
#android-progress-bar::-webkit-progress-bar { background: var(--line); }
#android-progress-bar::-webkit-progress-value { background: var(--blue); }
#android-progress-bar::-moz-progress-bar { background: var(--blue); }
.android-guide h2 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; }
.android-guide h2:focus { outline: none; }
.android-guide section p { margin-top: .75rem; color: var(--quiet); font-size: .9375rem; }
.android-guide a { color: var(--blue); }
.guide-shot { display: block; width: fit-content; max-width: 100%; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.guide-shot img { background: #FFFFFF; }
.guide-button { display: flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; min-height: 44px; padding: .625rem 1.25rem; font-size: .9375rem; font-weight: 500; line-height: 1.35; border: 1px solid var(--line); border-radius: 8px; text-align: center; text-decoration: none; }
.android-guide .guide-primary { margin-top: 1.25rem; background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.android-guide .guide-next { margin-top: .5rem; color: var(--blue); background: transparent; font-size: .9375rem; font-weight: 500; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .5rem; }
.guide-footer a { font-size: .875rem; }
.guide-back { min-height: 44px; padding: .5rem .75rem; margin-left: -.75rem; color: var(--ink); border: 0; border-radius: 8px; background: transparent; }
.guide-back:disabled { color: var(--quiet); cursor: default; opacity: .6; }
.android-guide a:hover { text-decoration: underline; }
.android-fallback { display: none; padding-block: 2rem; }
.android-fallback:target { display: block; }
.guide-supported .android-fallback { display: none; }
.android-fallback ol { padding-left: 1.4rem; }
.android-fallback a { display: inline-flex; align-items: center; min-height: 44px; }

/* Loader: the mark in 3D. Each cycle its halves part, it turns once and they snap back together facing you.
   landing.js lifts it at the first snap after the font and images are in; the lift animation here does it after
   two cycles whatever happens, and a <noscript> style never shows it. Opacity stays off the 3D layers, since it
   would flatten them. */
.loader {
  --cycle: 1.2s; --ease: cubic-bezier(.65, 0, .35, 1);
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  background: var(--page); transition: opacity .4s ease, visibility 0s .4s; animation: lift .4s calc(var(--cycle) * 2) ease forwards;
}
.loader-defs { position: absolute; }
.loader-bob { perspective: 560px; transition: scale .4s cubic-bezier(.2, .8, .2, 1); animation: bob var(--cycle) var(--ease) infinite; }
.loader-mark { position: relative; width: 4.75rem; aspect-ratio: 89 / 96; transform-style: preserve-3d; animation: turn var(--cycle) var(--ease) infinite; }
.loader-half { position: absolute; inset: 0; transform-style: preserve-3d; animation: part-amber var(--cycle) var(--ease) infinite; }
.loader-half.coral { animation-name: part-coral; }
.loader-half svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: translateZ(calc((var(--z) - 11.5) * .55px)); }
.loader-half.amber svg { fill: color-mix(in srgb, var(--amber) 68%, #4A2400); }
.loader-half.coral svg { fill: color-mix(in srgb, var(--coral) 66%, #4A0A10); }
.loader-half.amber svg:is(:first-child, :last-child) { fill: var(--amber); }
.loader-half.coral svg:is(:first-child, :last-child) { fill: var(--coral); }
.loader-floor { width: 4.25rem; height: .8rem; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 20%, transparent), transparent); animation: floor var(--cycle) var(--ease) infinite; }
.ready .loader { opacity: 0; visibility: hidden; }
.ready .loader-bob { scale: 1.14; }
.ready .loader * { animation-play-state: paused; }
@keyframes turn { 0%, 14% { transform: rotateX(14deg) rotateY(0deg); } 86%, 100% { transform: rotateX(14deg) rotateY(360deg); } }
@keyframes part-amber { 0%, 12%, 88%, 100% { transform: none; } 50% { transform: translate3d(-.6rem, -.45rem, .7rem); } }
@keyframes part-coral { 0%, 12%, 88%, 100% { transform: none; } 50% { transform: translate3d(.6rem, .45rem, -.7rem); } }
@keyframes bob { 0%, 14%, 86%, 100% { translate: 0 0; } 50% { translate: 0 -.6rem; } }
@keyframes floor { 0%, 14%, 86%, 100% { scale: 1; opacity: 1; } 50% { scale: .72; opacity: .55; } }
@keyframes breathe { 50% { opacity: .6; } }
@keyframes lift { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ready .cut-l, .ready .cut::after { animation: none; }
  .loader-bob, .loader-mark, .loader-half, .loader-floor { animation: none; }
  .loader-mark { transform: rotateX(16deg) rotateY(-28deg); }
  .loader-bob { animation: breathe var(--cycle) ease-in-out infinite; }
  .ready .loader-bob { scale: 1; }
  .graph .edge.enter path.line, .graph .edge.enter :is(path.head, text) { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .graph .edges.leave, .switch-track, .switch-track::after, .pill, .bill-icon, .source { transition: none; }
}
@media (forced-colors: active) {
  .demo, .switch, .guide-button, #android-progress-bar { border: 1px solid CanvasText; }
  .bill-icon, .tile, .feature-icon, .point-icon { border: 1px solid CanvasText; }
}
