/* folks · landing page. Built on the design system (vendor/folks.css: tokens, f- components).
   Grayscale by design; the coins are the one thing in color, as on the app's welcome screen.
   White is the default; [data-theme="dark"] is the dark page. Arabic mirrors right to left.
   Sizes are in rem (1rem = 16 px) so the whole page scales from one place: html's font-size below. */

:root {
  --page: #FFFFFF;
  --soft: #F6F6F6;
  --soft2: #EFEFEF;
  --max: 75rem;
  --g: clamp(1rem, 4.5vw, 3rem);
  --sec: clamp(4.5rem, 8vw, 8rem);
  --ease: cubic-bezier(.2, .9, .25, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --paper: #FFFFFF;
  --paper-ink: #151515;
}
[data-theme="dark"] { --page: #000000; --soft: #111111; --soft2: #191919; --paper: #EDEDED; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { --page: #000000; --soft: #111111; --soft2: #191919; --paper: #EDEDED; }
}

html { background: var(--page); scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
/* A computer screen gets the page at 90 % (as if the browser were zoomed out to 90 %): from 1024 px wide the root
   size eases down, and from 1280 px everything is at 90 %. Phones and tablets keep 100 %. Viewport units (vw, svh)
   don't change, so the big type and the full-screen sections keep their size, as they do under the browser's zoom. */
html { font-size: clamp(90%, calc(100% - (100vw - 1024px) * .00625), 100%); }
/* The design system's px sizes, restated in rem so its pieces (buttons, fields, avatars, chips) scale with the page. */
:root {
  --f-space-1: .125rem; --f-space-2: .25rem; --f-space-3: .375rem; --f-space-4: .5rem; --f-space-5: .625rem;
  --f-space-6: .75rem; --f-space-7: .875rem; --f-space-8: 1rem; --f-space-9: 1.25rem; --f-space-10: 1.5rem;
  --f-space-11: 2rem; --f-space-12: 2.5rem; --f-space-13: 3rem; --f-space-14: 4rem;
  --f-space-page: 1.25rem; --f-space-bar: 1rem; --f-space-section: 1.5rem; --f-space-stack: .75rem;
  --f-r-tiny: calc(.5rem * var(--f-k)); --f-r-small: calc(.625rem * var(--f-k)); --f-r-chip: calc(.875rem * var(--f-k));
  --f-r-control: calc(1rem * var(--f-k)); --f-r-card: calc(1.375rem * var(--f-k)); --f-r-panel: calc(1.625rem * var(--f-k));
  --f-r-sheet: calc(2.4375rem * var(--f-k));
  --f-size-hit: 2.75rem; --f-size-button: 3.5rem; --f-size-hold: 3.625rem; --f-size-field: 3.25rem; --f-size-glass: 2.5rem;
  --f-size-bar: 3rem; --f-size-tab-bar: 3.875rem; --f-size-check: 1.375rem; --f-size-toggle-w: 3.1875rem; --f-size-toggle-h: 1.9375rem;
  --f-size-badge: 1.125rem; --f-size-avatar-xs: 1.625rem; --f-size-avatar-s: 2.125rem; --f-size-avatar-m: 2.625rem; --f-size-avatar-l: 4rem;
  --f-size-tile: 5.5rem; --f-size-mascot-s: 1.5rem; --f-size-mascot-m: 2.125rem; --f-size-mascot-l: 6rem; --f-size-mascot-xl: 7.5rem;
}
.f-toggle::before { top: .125rem; inset-inline-start: .125rem; width: 1.6875rem; height: 1.6875rem; }
.f-toggle:active::before { width: 2.0625rem; }
.f-toggle[aria-checked="true"]::before, .f-toggle.is-on::before { inset-inline-start: 1.375rem; }
.f-toggle[aria-checked="true"]:active::before, .f-toggle.is-on:active::before { inset-inline-start: 1rem; }
.f-status { gap: .4375rem; }
.f-status > i { width: .5625rem; height: .5625rem; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body.site { margin: 0; background: var(--page); color: var(--f-ink); overflow-x: clip; min-height: 100vh; }
.site :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
.site :where(a) { color: inherit; text-decoration: none; }
.site img { display: block; max-width: 100%; }
/* Arabic: the strings arrive a moment after the page; hide the English until then. */
html.is-i18n:not(.is-ready) body { opacity: 0; }
body { transition: opacity .25s; }
/* Until the hero's entrance is set up, its words wait unseen (no flash before they rise in). */
html.is-loading .hero__copy { opacity: 0; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.is-theming * { transition: none !important; }

.skip { position: fixed; top: .625rem; inset-inline-start: .625rem; z-index: 100; padding: .625rem .875rem; border-radius: .75rem; background: var(--f-ink); color: var(--f-on-ink); transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }

.wrap { position: relative; z-index: 2; width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* The coins draw on one see-through canvas over the page and under the words. */
.coins { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; }
.no-webgl .coins { display: none; }

/* ---------- type ---------- */

.h-hero { font-size: clamp(3rem, 8.4vw, 8.25rem); font-weight: 700; letter-spacing: -0.045em; line-height: .95; }
.h-sec { font-size: clamp(2.625rem, 6.2vw, 6rem); font-weight: 700; letter-spacing: -0.042em; line-height: .98; }
.lead { font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.5; color: var(--f-dim); max-width: 34ch; margin-top: 1.625rem; }
:is(:lang(ar), :lang(fa)) .h-hero, :is(:lang(ar), :lang(fa)) .h-sec { letter-spacing: 0; line-height: 1.16; }
:is(:lang(ar), :lang(fa)) .h-hero { font-size: clamp(2.75rem, 7.6vw, 7.375rem); }
:is(:lang(ar), :lang(fa)) .h-sec { font-size: clamp(2.375rem, 5.2vw, 5.125rem); }
:is(:lang(ar), :lang(fa)) .lead { line-height: 1.75; }


/* Kinetic headlines: each word rises out of a blur. */
.w { display: inline-block; vertical-align: top; }
.wi { display: inline-block; }   /* main.js gives each word will-change only while it rises in */

/* ---------- buttons ---------- */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  height: 3.5rem; padding: 0 1.5rem; border-radius: var(--f-r-control); corner-shape: var(--f-curve);
  font-size: 1.0625rem; font-weight: 600; white-space: nowrap; user-select: none; -webkit-user-select: none;
  transition: transform .25s var(--ease-out), background .25s, box-shadow .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--f-ink); color: var(--f-on-ink); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px var(--f-line2); }
.btn--ghost:hover { background: var(--f-chip); box-shadow: inset 0 0 0 1.5px transparent; }
.btn--inv { background: var(--f-on-ink); color: var(--f-ink); }
.btn[aria-disabled="true"] { cursor: default; }
.btn__ico { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.btn__arrow { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateY(.1875rem); }

.arrow-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.75rem; font-weight: 600; font-size: 1rem; }
.arrow-link svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.arrow-link:hover svg { transform: translateX(.25rem); }
[dir="rtl"] .arrow-link svg { transform: scaleX(-1); }
[dir="rtl"] .arrow-link:hover svg { transform: scaleX(-1) translateX(.25rem); }

/* The mascot (the exact logo, masked so it takes the text color). */
.logo-mark { display: inline-block; width: 1em; height: 1.081em; background: currentColor; -webkit-mask: url(../assets/folks-logo.svg) center / contain no-repeat; mask: url(../assets/folks-logo.svg) center / contain no-repeat; flex: none; }
.lockup { display: block; width: 5.5rem; height: 2.3125rem; background: currentColor; -webkit-mask: url(../assets/folks-lockup.svg) center / contain no-repeat; mask: url(../assets/folks-lockup.svg) center / contain no-repeat; }
.logo-mark.walk { animation: walk .5s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.logo-mark.is-jump { animation: jump .9s var(--ease) both; transform-origin: 50% 100%; }
@keyframes walk { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-.125rem) rotate(4deg); } }
@keyframes jump {
  0% { transform: none; }
  14% { transform: translateY(0) scale(1.12, .84); }
  38% { transform: translateY(-46%) scale(.92, 1.1) rotate(-6deg); }
  58% { transform: translateY(-52%) scale(1, 1) rotate(4deg); }
  80% { transform: translateY(0) scale(1.1, .88); }
  100% { transform: none; }
}

/* Persian: the system's Arabic-script face, as in the app (Thmanyah, the Arabic face, has no گ ک ی ژ). */
.f:lang(fa), .f :lang(fa) { font-family: "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, var(--f-font-ui); }

/* ---------- nav ---------- */

/* Apple-style corners: the bar is a continuous rounded rectangle, and the buttons in it (10 px in) curve with it. */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding: .75rem var(--g) 0; pointer-events: none; --nav-r: var(--f-r-card); --nav-r-in: calc(var(--nav-r) - .625rem * var(--f-k)); }
.nav__in {
  pointer-events: auto; position: relative; max-width: calc(var(--max) + 2rem); margin: 0 auto; height: 3.625rem;
  display: flex; align-items: center; gap: 1.75rem; padding: 0 .625rem 0 1.125rem; border-radius: var(--nav-r); corner-shape: var(--f-curve);
  transition: max-width .6s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
[dir="rtl"] .nav__in { padding: 0 1.125rem 0 .625rem; }
.nav.is-scrolled .nav__in {
  max-width: 56.25rem; background: var(--f-glass);
  -webkit-backdrop-filter: blur(1.375rem) saturate(1.7); backdrop-filter: blur(1.375rem) saturate(1.7);
  box-shadow: 0 0 0 .5px var(--f-glass-line), 0 .75rem 2rem -1rem rgba(0,0,0,.28);
}
.nav__brand { display: flex; align-items: center; color: var(--f-ink); }
.nav__links { display: flex; gap: 1.625rem; font-size: .9375rem; font-weight: 500; color: var(--f-dim); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--f-ink); }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -.375rem; height: .125rem; border-radius: .125rem; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links a.is-on::after { transform: scaleX(1); }
.nav__end { margin-inline-start: auto; display: flex; align-items: center; gap: .375rem; }
.nav__lang { height: 2.375rem; padding: 0 .8125rem; border-radius: var(--nav-r-in); corner-shape: var(--f-curve); font-size: .875rem; font-weight: 600; color: var(--f-ink); transition: background .2s; }
.nav__lang:hover { background: var(--f-chip); }

/* The language menu: common.js turns each [data-lang] button into a flag that opens the list (hidden until then). */
[data-lang] { visibility: hidden; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .4375rem; }
.nav__lang.lang__btn { padding: 0 .625rem; }
.flag { width: 1.25rem; height: 1.25rem; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--f-glass-line); }
.lang__name { font-weight: 600; }
.lang__chev { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .5; transition: transform .35s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + .5rem); inset-inline-end: 0; z-index: 60; min-width: 11.75rem; padding: .375rem;
  display: grid; gap: .125rem; border-radius: 1.125rem; background: var(--f-surface);
  box-shadow: 0 0 0 1px var(--f-glass-line), var(--f-shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(-.375rem) scale(.96); transform-origin: top right;
  transition: opacity .16s var(--ease-out), transform .24s var(--ease), visibility 0s .24s;
}
[dir="rtl"] .lang__menu { transform-origin: top left; }
.lang--up .lang__menu { top: auto; bottom: calc(100% + .5rem); transform: translateY(.375rem) scale(.96); transform-origin: bottom right; }
[dir="rtl"] .lang--up .lang__menu { transform-origin: bottom left; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease-out), transform .38s var(--ease), visibility 0s; }
.lang__item {
  display: flex; align-items: center; gap: .6875rem; height: 2.625rem; padding: 0 .75rem; border-radius: .75rem;
  font-size: .9375rem; font-weight: 500; color: var(--f-ink); text-align: start;
  opacity: 0; transform: translateY(-.1875rem); transition: background .15s, opacity .2s, transform .3s var(--ease);
}
.lang--up .lang__item { transform: translateY(.1875rem); }
.lang.is-open .lang__item { opacity: 1; transform: none; transition-delay: 0s, calc(var(--i) * 28ms + 40ms), calc(var(--i) * 28ms + 40ms); }
.lang__item:hover, .lang__item:focus-visible { background: var(--f-chip); outline: none; }
.lang__item span { unicode-bidi: isolate; }   /* each name sits beside its flag, whichever way it reads */
.lang__item[aria-checked="true"] { font-weight: 600; }
.lang__check { width: 1rem; height: 1rem; flex: none; margin-inline-start: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.lang__item[aria-checked="true"] .lang__check { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lang__menu, .lang__item, .lang.is-open .lang__menu, .lang.is-open .lang__item { transform: none; transition-property: opacity, visibility; } }
.nav__theme { width: 2.375rem; height: 2.375rem; display: grid; place-items: center; border-radius: var(--nav-r-in); corner-shape: var(--f-curve); color: var(--f-ink); transition: background .2s, transform .25s var(--ease-out); }
.nav__theme:hover { background: var(--f-chip); }
.nav__theme:active { transform: scale(.92); }
.nav__theme svg { width: 1.25rem; height: 1.25rem; overflow: visible; }
.nav__theme .sun { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .6s var(--ease), opacity .3s; }
.nav__theme .moon { fill: currentColor; transform-origin: 12px 12px; transition: transform .6s var(--ease), opacity .3s; opacity: 0; transform: rotate(-70deg) scale(.4); }
[data-theme="dark"] .nav__theme .sun { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .nav__theme .moon { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .nav__theme .sun { opacity: 0; transform: rotate(90deg) scale(.4); }
  :root:not([data-theme]) .nav__theme .moon { opacity: 1; transform: none; }
}
.nav__cta { height: 2.375rem; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: var(--nav-r-in); corner-shape: var(--f-curve); background: var(--f-ink); color: var(--f-on-ink); font-size: .875rem; font-weight: 600; margin-inline-start: .25rem; transition: transform .25s var(--ease-out); }
.nav__cta:active { transform: scale(.96); }
@media (max-width: 920px) { .nav__links { display: none; } }
@media (max-width: 480px) { .nav__cta { display: none; } .nav__in { gap: .75rem; } }

/* ---------- hero ---------- */

.hero { position: relative; }
.hero__pin { position: relative; z-index: 2; height: 100vh; height: 100svh; min-height: 38.75rem; display: grid; place-items: center; touch-action: pan-y; cursor: grab; }
.hero__pin:active { cursor: grabbing; }
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 61.25rem; padding-top: 1.875rem; cursor: auto; }
.hero__lead { max-width: 31ch; text-shadow: 0 0 .875rem var(--page), 0 0 .25rem var(--page), 0 0 1px var(--page); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.375rem; }
.hero__foot { display: flex; flex-direction: column; align-items: center; }
/* On a phone the hero is the app's welcome screen: the headline in the middle of the rings,
   the words and buttons at the bottom, out of the coins' way. */
@media (max-width: 640px) {
  .hero__pin { place-items: stretch; }
  .hero__copy { position: static; justify-content: center; padding: 0 0 22svh; height: 100%; }
  .hero__foot { position: absolute; left: 1rem; right: 1rem; bottom: max(4rem, calc(env(safe-area-inset-bottom) + 2.75rem)); }
  .hero__lead { margin-top: 0; font-size: 1rem; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 22.5rem; margin-top: 1.375rem; gap: .625rem; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- sections ---------- */

.sec { position: relative; padding-block: var(--sec); }
.sec__head { max-width: 47.5rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6.875rem); align-items: center; }
.grid2--rev > :first-child { order: 2; }
@media (max-width: 900px) {
  .grid2 { grid-template-columns: 1fr; }
  .grid2--rev > :first-child { order: 0; }
}

/* The problem: a receipt that prints itself, and what the table says about it. */
.receipt-stage { position: relative; min-height: 37.5rem; display: grid; place-items: center; }
.receipt { position: relative; width: min(20.625rem, 80%); transform: rotate(-4deg); filter: drop-shadow(0 2.125rem 2.5rem rgba(0,0,0,.13)) drop-shadow(0 .125rem .25rem rgba(0,0,0,.06)); }
[data-theme="dark"] .receipt { filter: drop-shadow(0 2.125rem 3.125rem rgba(0,0,0,.7)); }
.receipt__paper {
  background: var(--paper); color: var(--paper-ink); font-family: var(--f-font-mono); font-size: .78125rem; line-height: 1.55;
  padding: 1.625rem 1.5rem 2.5rem;
  --tooth: .875rem;
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent .3125rem, #000 .34375rem) 0 100% / var(--tooth) .75rem repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - .6875rem) no-repeat;
  mask: radial-gradient(circle at 50% 100%, transparent .3125rem, #000 .34375rem) 0 100% / var(--tooth) .75rem repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - .6875rem) no-repeat;
}
.receipt__head { display: grid; justify-items: center; gap: .125rem; text-align: center; color: #555; }
.receipt__head b { font-size: 1.0625rem; letter-spacing: .28em; color: var(--paper-ink); margin-bottom: .25rem; }
.receipt__rule { height: 0; border-top: 1px dashed #b9b9b9; margin: .875rem 0; }
.receipt__lines p, .receipt__sums p { display: flex; gap: .625rem; }
.receipt__lines p > span:nth-child(2) { flex: 1; }
.receipt__lines p > span:first-child { width: .875rem; color: #777; }
.receipt__sums p > span:first-child { flex: 1; }
.receipt__total { font-weight: 700; font-size: .875rem; margin-top: .375rem; }
.receipt__bar { height: 2.625rem; margin: .25rem 1.125rem .625rem; background: repeating-linear-gradient(90deg, #1a1a1a 0 .125rem, transparent .125rem .25rem, #1a1a1a .25rem .3125rem, transparent .3125rem .5rem, #1a1a1a .5rem .6875rem, transparent .6875rem .75rem); opacity: .85; }
.receipt__thanks { text-align: center; letter-spacing: .3em; color: #777; font-size: .6875rem; }
.bubble {
  position: absolute; left: var(--x); top: var(--y); z-index: 3;
  padding: .75rem 1rem; border-radius: 1.25rem 1.25rem 1.25rem .375rem; background: var(--f-surface); color: var(--f-ink);
  box-shadow: 0 0 0 .5px var(--f-line), 0 1.125rem 2.25rem -.875rem rgba(0,0,0,.28);
  font-size: .9375rem; font-weight: 500; white-space: nowrap;
  translate: var(--px, 0px) var(--py, 0px);
  animation: bob 5.5s ease-in-out var(--d) infinite;
}
[dir="rtl"] .bubble { left: auto; right: var(--x); border-radius: 1.25rem 1.25rem .375rem 1.25rem; }
[data-theme="dark"] .bubble { background: #1b1b1b; box-shadow: 0 0 0 1px #2a2a2a, 0 1.125rem 2.25rem -.875rem rgba(0,0,0,.8); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.4375rem); } }
@media (max-width: 900px) { .receipt-stage { min-height: 35rem; } }
@media (max-width: 520px) { .bubble { font-size: .8125rem; padding: .625rem .8125rem; } .receipt-stage { min-height: 35rem; } }
@media (max-width: 520px) {
  /* On a phone the bubbles stay on the screen: the near-side ones go no further out than the edge, the far-side
     ones (data-side="end") are held to theirs. Wider screens keep the placement from the markup. */
  .bubble { left: max(var(--x), 0%); }
  .bubble[data-side="end"] { left: auto; right: 0; }
  [dir="rtl"] .bubble { left: auto; right: max(var(--x), 0%); }
  [dir="rtl"] .bubble[data-side="end"] { right: auto; left: 0; }
}

/* ---------- how it works ---------- */

.how { position: relative; overflow-x: clip; }   /* the phones start beside the screen; the page mustn't widen for them */
.how__pin {
  position: relative; z-index: 2; height: 100vh; height: 100svh; min-height: 40rem; overflow: hidden;
  --ph: min(74svh, 45rem); --pw: calc(var(--ph) * .4746); /* the screen is exactly the recording's 1206 × 2622 */
}
.how__title { position: absolute; top: max(6rem, 13svh); inset-inline: var(--g); text-align: center; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.how__side { position: absolute; top: 50%; inset-inline-start: max(var(--g), calc((100vw - var(--max)) / 2)); width: min(27.5rem, 36vw); transform: translateY(-50%); z-index: 4; }
.how__h { font-size: clamp(2.125rem, 3.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: clamp(1.125rem, 2.4vw, 2.125rem); }
:is(:lang(ar), :lang(fa)) .how__h { letter-spacing: 0; line-height: 1.2; }
.steps { position: relative; list-style: none; padding: 0; }
.step { display: flex; gap: 1.375rem; padding: 1.25rem 0; opacity: .25; transition: opacity .5s var(--ease); }
.step + .step { border-top: 1px solid var(--f-line); }
.step.is-on { opacity: 1; }
.step__n { font-family: var(--f-font-mono); font-size: .8125rem; color: var(--f-mute); padding-top: .5rem; }
.step h3 { font-size: clamp(1.375rem, 2.1vw, 1.875rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.step p { font-size: 1.03125rem; line-height: 1.5; color: var(--f-dim); margin-top: .5rem; max-width: 34ch; }
:is(:lang(ar), :lang(fa)) .step h3 { letter-spacing: 0; }
.steps__dots { display: none; }
@media (max-width: 900px) {
  .how__pin { --ph: min(58svh, 33.75rem); --pw: calc(var(--ph) * .4746); }
  .how__title { top: max(5.25rem, 10svh); }
  .how__side { top: auto; bottom: max(1.375rem, 4svh); transform: none; inset-inline: var(--g); width: auto; }
  .how__h { display: none; }
  .steps { height: 8.25rem; }
  .step { position: absolute; inset: 0; padding: 0; border: 0 !important; opacity: 0; transform: translateY(.875rem); transition: opacity .45s var(--ease), transform .55s var(--ease); justify-content: center; text-align: center; }
  .step.is-on { opacity: 1; transform: none; }
  .step__n { display: none; }
  .step p { margin-inline: auto; font-size: .96875rem; }
  .steps__dots { display: flex; position: absolute; bottom: calc(max(1.375rem, 4svh) + 8.75rem); left: 50%; transform: translateX(-50%); gap: .375rem; z-index: 3; }
  .steps__dots i { width: .375rem; height: .375rem; border-radius: .375rem; background: var(--f-line2); transition: width .4s var(--ease), background .3s; }
  .steps__dots i.is-on { width: 1.125rem; background: var(--f-ink); }
}

/* The phone (iPhone 17 proportions). The app inside is laid out at 393 × 852 points and scaled to fit. */
.phone {
  position: absolute; left: 50%; top: 50%; width: var(--pw); height: var(--ph);
  margin-left: calc(var(--pw) / -2); margin-top: calc(var(--ph) / -2);
  border-radius: calc(var(--ph) * .086); padding: calc(var(--ph) * .0135);
  background: linear-gradient(145deg, #3a3a3a, #0c0c0c 22%, #050505 70%, #2c2c2c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 3.75rem 5.625rem -2.5rem rgba(0,0,0,.45), 0 1.875rem 3.125rem -1.875rem rgba(0,0,0,.35);
  z-index: 2; will-change: transform;
}
[data-theme="dark"] .phone { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 1px #262626, 0 3.75rem 5.625rem -2.5rem rgba(0,0,0,.9); }
.phone::before { content: ""; position: absolute; inset-inline-end: -.125rem; top: 22%; width: .1875rem; height: 9%; border-radius: .125rem; background: #1c1c1c; }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--ph) * .074); background: #F6F6F6; isolation: isolate; }
[data-theme="dark"] .phone__screen { background: #000; }
.phone--main { z-index: 3; }
.phone--twin { z-index: 2; }

.phone__video, .phone__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #F6F6F6; }
[data-theme="dark"] .phone__video, [data-theme="dark"] .phone__still { background: #000; }
.phone__video { transition: opacity .18s; }
.phone__video.is-jump { opacity: .0; }

/* ---------- features ---------- */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem;
  min-height: 27.5rem; padding: clamp(1.5rem, 2.6vw, 2.25rem); border-radius: clamp(1.625rem, 2.6vw, 2.125rem); corner-shape: var(--f-curve);
  background: var(--soft); color: var(--f-ink);
}
.card--ink { background: var(--f-ink); color: var(--f-on-ink); }
.card--wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.card--wide .card__text { flex: 0 0 38%; display: flex; flex-direction: column; justify-content: space-between; }
.card--wide .demo { flex: 1; }
.card h3 { font-size: clamp(1.375rem, 2vw, 1.875rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; }
.card__text p { margin-top: .75rem; font-size: 1rem; line-height: 1.5; color: var(--f-dim); max-width: 34ch; }
.card--ink .card__text p { color: color-mix(in srgb, var(--f-on-ink) 62%, transparent); }
:is(:lang(ar), :lang(fa)) .card h3 { letter-spacing: 0; line-height: 1.3; }
:is(:lang(ar), :lang(fa)) .card__text p { line-height: 1.7; }
.demo { position: relative; display: grid; place-items: center; min-height: 13.75rem; }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .card { min-height: 0; }
}

/* reads the receipt */
.scanpaper { position: relative; width: min(18.75rem, 100%); padding: 1.375rem 1.25rem 1.625rem; background: var(--paper); color: var(--paper-ink); font: .78125rem/1.6 var(--f-font-mono); border-radius: .25rem; transform: rotate(2.5deg); box-shadow: 0 1.875rem 3.125rem -1.25rem rgba(0,0,0,.5); overflow: hidden; }
.scanpaper b { display: block; text-align: center; letter-spacing: .28em; margin-bottom: .625rem; }
.scanpaper p { position: relative; display: flex; justify-content: space-between; gap: .625rem; padding: 1px .25rem; border-radius: .25rem; }
.scanpaper p.sum { margin-top: .5rem; padding-top: .375rem; border-top: 1px dashed #b5b5b5; font-weight: 700; border-radius: 0; }
.scanpaper p::after { content: ""; position: absolute; inset: -1px -.125rem; border-radius: .3125rem; box-shadow: inset 0 0 0 1.5px #111; opacity: 0; transform: scale(.96); }
.scanbar { position: absolute; left: 0; right: 0; top: 0; height: 2.25rem; background: linear-gradient(transparent, rgba(0,0,0,.08) 70%, rgba(0,0,0,.6) 96%, transparent); opacity: 0; }
.in-view .scanbar { animation: scanbar 5s var(--ease-out) infinite; }
.in-view .scanpaper p::after { animation: box 5s var(--ease-out) infinite; animation-delay: calc(var(--i, 0) * .22s + .3s); }
@keyframes scanbar { 0% { transform: translateY(-2.5rem); opacity: 0; } 6% { opacity: 1; } 42% { transform: translateY(18.75rem); opacity: 1; } 48%, 100% { transform: translateY(20rem); opacity: 0; } }
@keyframes box { 0% { opacity: 0; transform: scale(.96); } 6% { opacity: 1; transform: none; } 70% { opacity: 1; } 80%, 100% { opacity: 0; } }
.scan-ok { position: absolute; bottom: .25rem; inset-inline-end: 6%; display: inline-flex; align-items: center; gap: .5rem; padding: .5625rem .875rem .5625rem .6875rem; border-radius: 999px; background: var(--f-on-ink); color: var(--f-ink); font-size: .875rem; font-weight: 600; box-shadow: 0 .875rem 1.875rem -.75rem rgba(0,0,0,.5); opacity: 0; }
.scan-ok .f-status > i { background: var(--f-ink); box-shadow: none; }
.scan-ok .f-status > i::after { border-color: var(--f-on-ink); }
.in-view .scan-ok { animation: okpop 5s var(--ease) infinite; }
@keyframes okpop { 0%, 44% { opacity: 0; transform: translateY(.625rem) scale(.9); } 52% { opacity: 1; transform: none; } 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(.375rem); } }

/* fair to the cent */
.demo--cent { display: grid; gap: .5rem; place-items: stretch; align-content: center; }
.cent-row { position: relative; display: flex; align-items: center; gap: .625rem; padding: .5625rem .75rem; border-radius: 1rem; corner-shape: var(--f-curve); background: var(--f-surface); font-size: .9375rem; }
[data-theme="dark"] .cent-row { background: var(--soft2); }
.cent-row b { font-weight: 600; flex: 1; }
.cent-v { font-variant-numeric: tabular-nums; font-weight: 600; direction: ltr; }
.cent-coin { position: absolute; inset-inline-end: 4.5rem; top: 50%; width: 1.375rem; height: 1.375rem; margin-top: -.6875rem; border-radius: 50%; opacity: 0; box-shadow: 0 .25rem .5rem rgba(0,0,0,.3); }
.cent-sum { display: flex; justify-content: flex-end; gap: .5rem; padding: .375rem .75rem 0; font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; }
[dir="rtl"] .cent-sum { justify-content: flex-start; }
.cent-check { opacity: 0; transition: opacity .3s, transform .5s var(--f-ease-pop); transform: scale(.4); }
.cent-sum.is-ok .cent-check { opacity: 1; transform: none; }
.cent-sum .cent-total { color: var(--f-mute); transition: color .3s; }
.cent-sum.is-ok .cent-total { color: var(--f-ink); }

/* service, tax and tip */
.demo--tip { display: grid; gap: 1rem; place-items: center; align-content: center; }
.charge-chips { display: flex; gap: .5rem; }
.charge-chips .f-tag { font-size: .875rem; padding: .375rem .75rem; background: var(--f-surface); }
[data-theme="dark"] .charge-chips .f-tag { background: var(--soft2); }
.tip { display: grid; justify-items: center; gap: .125rem; padding: 1.125rem 1.625rem .875rem; border-radius: 1.5rem; background: var(--f-surface); box-shadow: 0 0 0 1px var(--f-line); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: transform .25s var(--ease-out), box-shadow .25s; outline: none; }
[data-theme="dark"] .tip { background: var(--soft2); }
.tip:focus-visible { box-shadow: 0 0 0 .125rem var(--f-ink); }
.tip.is-drag { transform: scale(1.04); box-shadow: 0 0 0 1.5px var(--f-ink), 0 1.25rem 2.5rem -1.125rem rgba(0,0,0,.4); }
.tip__label { font-size: .8125rem; font-weight: 600; color: var(--f-mute); }
.tip__val { font-size: 2.75rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; direction: ltr; }
.tip__hint { font-size: .75rem; color: var(--f-mute); }
.tip__arrows { letter-spacing: .3em; }
.tip__ruler { width: 13.75rem; height: 1.375rem; position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.tip__ruler i { position: absolute; bottom: 0; width: 1.5px; height: .5rem; background: var(--f-line2); border-radius: 1px; }
.tip__ruler i.big { height: 1rem; background: var(--f-mute); }
.tip__ruler::after { content: ""; position: absolute; left: 50%; bottom: 0; width: .15625rem; height: 1.375rem; margin-left: -1px; border-radius: .125rem; background: var(--f-ink); }

/* shared plates */
.demo--share { display: grid; place-items: center; gap: 0; }
.share-chip { background: var(--f-on-ink); color: var(--f-ink); font-size: 1rem; padding: .75rem .875rem .75rem 1rem; box-shadow: 0 .875rem 1.875rem -.875rem rgba(0,0,0,.6); cursor: default; }
.share-chip .f-chip__price { color: color-mix(in srgb, var(--f-ink) 60%, transparent); }
.share-bits { position: relative; width: 100%; height: 4.375rem; }
.share-bits i { position: absolute; left: 50%; top: 0; transform: translateX(-50%); padding: .25rem .5625rem; border-radius: 999px; background: var(--f-on-ink); color: var(--f-ink); font-style: normal; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0; }
.share-faces { display: flex; gap: .625rem; }
.share-faces .f-avatar { box-shadow: 0 0 0 .125rem var(--f-ink); }

/* undo */
.demo--undo { place-items: stretch; align-content: center; }
.undo-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.undo-list li { display: flex; align-items: center; gap: .625rem; height: 3.25rem; padding: 0 .5rem 0 .875rem; border-radius: 1rem; corner-shape: var(--f-curve); background: var(--f-surface); font-size: .9375rem; font-weight: 600; overflow: hidden; }
[dir="rtl"] .undo-list li { padding: 0 .875rem 0 .5rem; }
[data-theme="dark"] .undo-list li { background: var(--soft2); }
.undo-list li > span { flex: 1; }
.undo-list li > b { font-weight: 500; color: var(--f-dim); font-variant-numeric: tabular-nums; }
.undo-x { width: 2.125rem; height: 2.125rem; border-radius: 50%; display: grid; place-items: center; background: var(--f-chip); font-size: 1.25rem; line-height: 1; color: var(--f-dim); transition: transform .2s var(--ease-out), background .2s, color .2s; }
.undo-x:hover { background: var(--f-ink); color: var(--f-on-ink); }
.undo-x:active { transform: scale(.9); }
.undo-empty { text-align: center; color: var(--f-mute); font-size: .875rem; margin: 0; height: 0; overflow: hidden; opacity: 0; transition: opacity .3s; }
.undo-empty.is-on { height: auto; opacity: 1; padding: 1.125rem 0; }
.undo-toast { position: absolute; left: 50%; bottom: -.375rem; transform: translateX(-50%); display: flex; justify-content: center; width: 100%; pointer-events: none; }
.undo-toast .f-toast { pointer-events: auto; max-width: 100%; white-space: nowrap; }

/* nine languages */
.demo--lang { display: grid; place-items: center; align-content: center; gap: 1.375rem; min-height: 16.25rem; }
.lang-word { position: relative; height: 1.3em; font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -0.03em; width: 100%; text-align: center; }
.lang-word span { position: absolute; inset: 0; white-space: nowrap; line-height: 1.3; }
.lang-word span:is(:lang(ar), :lang(fa)), .lang-word span:lang(ja), .lang-word span:lang(ko) { letter-spacing: 0; }
.lang-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; max-width: 32.5rem; }
.lang-list button { padding: .375rem .6875rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--f-dim); background: var(--f-surface); transition: background .25s, color .25s; }
[data-theme="dark"] .lang-list button { background: var(--soft2); }
.lang-list button.is-on { background: var(--f-ink); color: var(--f-on-ink); }

/* light / dark */
.demo--theme { display: grid; place-items: center; gap: 1.625rem; align-content: center; }
.mini-pair { position: relative; width: 15rem; height: 8.25rem; }
.mini { position: absolute; width: 13.125rem; display: flex; align-items: center; gap: .625rem; padding: .75rem .875rem; border-radius: 1.125rem; font-size: .9375rem; box-shadow: 0 1.125rem 1.875rem -1rem rgba(0,0,0,.5); transition: transform .7s var(--ease); }
.mini b { flex: 1; font-weight: 600; }
.mini span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.mini--light { top: 0; inset-inline-start: 0; background: #fff; color: #0B0B0B; }
.mini--dark { bottom: 0; inset-inline-end: 0; background: #141414; color: #F2F2F2; box-shadow: 0 0 0 1px #2a2a2a, 0 1.125rem 1.875rem -1rem rgba(0,0,0,.5); }
.mini--dark .f-avatar { background: #EDEDED; color: #0B0B0B; }
.card:hover .mini--light { transform: translate(-.375rem, -.25rem) rotate(-2deg); }
.card:hover .mini--dark { transform: translate(.375rem, .25rem) rotate(2deg); }
.theme-switch { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.card--ink .f-toggle { background: color-mix(in srgb, var(--f-on-ink) 22%, transparent); }
.card--ink .f-toggle[aria-checked="true"] { background: var(--f-on-ink); }
.card--ink .f-toggle[aria-checked="true"]::before { background: var(--f-ink); }

/* ---------- any currency ---------- */

.money .h-sec { max-width: 13ch; }
.center-lead { margin-inline: auto; text-align: center; max-width: 40ch; }
.coin-row { position: relative; width: 100%; max-width: 67.5rem; height: 13.75rem; margin-top: clamp(1.25rem, 3vw, 2.5rem); touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.money__out { display: grid; justify-items: center; gap: .375rem; margin-top: 0; min-height: 8.75rem; }
.money__label { font-size: .9375rem; color: var(--f-dim); }
.money__label b { color: var(--f-ink); font-weight: 600; }
.money__amt { font-size: clamp(2.75rem, 6.4vw, 5.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.money__amt .f-roll { vertical-align: baseline; }
.money__note { min-height: 1.375rem; font-size: .9375rem; color: var(--f-mute); }
.money__hint { margin-top: .625rem; font-size: .8125rem; color: var(--f-mute); }
.money__hint .hint-tap { display: none; }
@media (hover: none) { .money__hint .hint-hover { display: none; } .money__hint .hint-tap { display: inline; } }
@media (max-width: 640px) { .coin-row { height: 14.375rem; } }
/* Without WebGL the coins are flat photos in a row. */
.coin-row .flat { position: absolute; inset: 0; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: .75rem; }
.coin-row .flat img { width: clamp(2.75rem, 7vw, 4.75rem); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 .625rem 1.25rem -.625rem rgba(0,0,0,.5); cursor: pointer; transition: transform .4s var(--ease); }
.coin-row .flat img.is-on { transform: translateY(-.625rem) scale(1.12); }

/* ---------- privacy ---------- */

.points { list-style: none; padding: 0; margin-top: 2.125rem; max-width: 28.75rem; }
.points li { display: grid; gap: .25rem; padding: 1.125rem 0; border-top: 1px solid var(--f-line); }
.points b { font-size: 1.0625rem; font-weight: 600; }
.points span { font-size: 1rem; line-height: 1.5; color: var(--f-dim); }
.privacy__hold { max-width: 22.5rem; margin-top: 1.25rem; }
.privacy__hold .f-hold { border-radius: 1rem; }
.privacy__hold .f-hold > span { position: relative; z-index: 2; mix-blend-mode: normal; }
.vault { position: relative; width: min(100%, 33.75rem); aspect-ratio: 1; justify-self: center; }
.vault__dots, .vault__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.vault__ring circle { fill: none; stroke: var(--f-line2); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; transform-origin: 200px 200px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vault__phone { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: .484; transform: translate(-50%, -50%); border-radius: 22% / 10.5%; box-shadow: inset 0 0 0 .125rem var(--f-ink); display: grid; place-items: center; background: var(--page); }
.vault__phone .logo-mark { font-size: clamp(1.375rem, 3vw, 2.125rem); }
.vault__island { position: absolute; top: 5%; left: 50%; width: 32%; height: 4%; transform: translateX(-50%); border-radius: .5625rem; background: var(--f-ink); }
.vault__tag { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .5625rem .875rem .5625rem .625rem; border-radius: 999px; background: var(--f-surface); box-shadow: 0 0 0 1px var(--f-line), 0 .875rem 1.875rem -1rem rgba(0,0,0,.3); font-size: .875rem; font-weight: 600; white-space: nowrap; }
[dir="rtl"] .vault__tag { padding: .5625rem .625rem .5625rem .875rem; }
.vault__tag.t1 { top: 2%; inset-inline-end: 4%; }
.vault__tag.t2 { top: 47%; inset-inline-start: -3%; }
.vault__tag.t3 { bottom: 4%; inset-inline-end: 10%; }
.ico { position: relative; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--f-chip); flex: none; }
.ico::before { content: ""; position: absolute; inset: .3125rem; background: var(--f-ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico::after { content: ""; position: absolute; left: .1875rem; right: .1875rem; top: 50%; height: 1.6px; margin-top: -.8px; background: var(--f-danger); transform: rotate(-45deg); border-radius: .125rem; }
.ico.cloud { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 19a5 5 0 0 1-.6-9.96A6 6 0 0 1 18 8.5a4.5 4.5 0 0 1-.5 10.5z'/%3E%3C/svg%3E"); }
.ico.ad { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10v4h3l6 4V6L6 10zM15 8.5a5 5 0 0 1 0 7v-7z'/%3E%3C/svg%3E"); }
.ico.eye { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6 5 2 12 2 12s4 7 10 7 10-7 10-7-4-7-10-7zm0 10.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E"); }
@media (max-width: 900px) { .vault { width: min(100%, 27.5rem); margin-top: 1.25rem; } .vault__tag { font-size: .8125rem; } }

/* ---------- what it doesn't do ---------- */

.not__list { list-style: none; padding: 0; }
.not__list li { font-size: clamp(3.125rem, 9.6vw, 9.375rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.02; }
:is(:lang(ar), :lang(fa)) .not__list li { letter-spacing: 0; line-height: 1.25; }
.strike { position: relative; display: inline-block; color: var(--f-ink); transition: color .6s var(--ease) .12s; }
.strike::after { content: ""; position: absolute; inset-inline: -2%; top: 53%; height: .07em; border-radius: 99px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform .75s var(--ease); }
.strike.is-struck { color: var(--f-mute); }
.strike.is-struck::after { transform: scaleX(1); }
[dir="rtl"] .strike::after { transform-origin: right center; }
.not__after { margin-top: clamp(2.25rem, 5vw, 4rem); font-size: clamp(1.875rem, 3.8vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; max-width: 19ch; }
:is(:lang(ar), :lang(fa)) .not__after { letter-spacing: 0; line-height: 1.35; }

/* ---------- faq ---------- */

.grid2--faq { align-items: start; grid-template-columns: 1fr 1.5fr; }
@media (max-width: 900px) { .grid2--faq { grid-template-columns: 1fr; } }
.qa { border-top: 1px solid var(--f-line); }
.qa__item { border-bottom: 1px solid var(--f-line); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.625rem 0; text-align: start; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; }
.qa__q i { position: relative; width: 1.875rem; height: 1.875rem; flex: none; border-radius: 50%; background: var(--f-chip); transition: transform .5s var(--ease), background .3s; }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .75rem; height: 1.8px; margin: -.9px 0 0 -.375rem; border-radius: .125rem; background: var(--f-ink); transition: background .3s; }
.qa__q i::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] i { transform: rotate(135deg); background: var(--f-ink); }
.qa__q[aria-expanded="true"] i::before, .qa__q[aria-expanded="true"] i::after { background: var(--f-on-ink); }
.qa .f-reveal p { padding: 0 0 1.75rem; font-size: 1.0625rem; line-height: 1.6; color: var(--f-dim); max-width: 58ch; }
:is(:lang(ar), :lang(fa)) .qa .f-reveal p { line-height: 1.8; }

/* ---------- get it ---------- */

.cta { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem) var(--g) var(--g); }
.cta__band {
  position: relative; max-width: 87.5rem; margin: 0 auto; min-height: min(47.5rem, max(86svh, 40rem));
  border-radius: clamp(1.875rem, 4vw, 3.25rem); corner-shape: var(--f-curve);
  background: var(--f-ink); color: var(--f-on-ink);
  padding: clamp(5rem, 9vw, 7.5rem) var(--g) clamp(15rem, 26vw, 18.75rem);
  text-align: center;
}
.cta__in { display: flex; flex-direction: column; align-items: center; }
.cta__mascot { font-size: 3.625rem; margin-bottom: .5rem; }
.cta__in .lead { color: color-mix(in srgb, var(--f-on-ink) 62%, transparent); margin-inline: auto; }
.cta__in .btn { margin-top: 2.25rem; }

/* ---------- footer ---------- */

.foot { position: relative; padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.foot .wrap { z-index: 2; }
/* The last thing on the page: the coins on their ring, over a field of dots (the dots sit under the coins). */
.foot__coins { position: relative; height: clamp(18.75rem, 34vw, 28.75rem); margin-top: .5rem; touch-action: pan-y; cursor: grab;
  background-image: radial-gradient(circle, var(--f-line2) 1.1px, transparent 1.4px); background-size: .9375rem .9375rem; background-position: center;
  -webkit-mask: radial-gradient(ellipse 55% 60% at 50% 55%, #000 25%, transparent 75%); mask: radial-gradient(ellipse 55% 60% at 50% 55%, #000 25%, transparent 75%); }
.foot__coins:active { cursor: grabbing; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 3rem; }
.foot__brand { display: grid; gap: .875rem; align-content: start; }
.foot__brand .lockup { width: 6.5rem; height: 2.75rem; }
.foot__brand p { color: var(--f-dim); font-size: .9375rem; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(7.5rem, auto)); gap: 3rem; }
.foot__cols div { display: grid; gap: .75rem; align-content: start; font-size: .9375rem; }
.foot__cols h4 { font-size: .8125rem; font-weight: 600; color: var(--f-mute); margin-bottom: .25rem; }
.foot__cols a { color: var(--f-dim); transition: color .2s; cursor: pointer; }
.foot__cols a:hover { color: var(--f-ink); }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--f-line); font-size: .8125rem; color: var(--f-mute); }
.foot__ctl { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 760px) {
  .foot__in { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
/* Light / Dark / Auto, the design system's segmented control. */
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: .125rem; border-radius: .6875rem; background: var(--f-chip); --n: 3; }
.seg button { position: relative; z-index: 1; padding: .375rem .75rem; font-size: .8125rem; font-weight: 600; color: var(--f-dim); transition: color .25s; }
.seg button[aria-pressed="true"] { color: var(--f-ink); }
.seg__thumb { position: absolute; top: .125rem; bottom: .125rem; inset-inline-start: calc(.125rem + (100% - .25rem) / var(--n) * var(--i, 0)); width: calc((100% - .25rem) / var(--n)); border-radius: .5625rem; background: var(--f-surface); box-shadow: 0 .125rem .375rem rgba(0,0,0,.12); transition: inset-inline-start var(--f-dur-lift) var(--f-ease-lift); }
[data-theme="dark"] .seg__thumb { background: #3a3a3a; }

/* ---------- documents (privacy, terms, support, credits) ---------- */

.doc { padding: clamp(8.125rem, 16vw, 11.875rem) 0 clamp(5rem, 10vw, 8.125rem); }
.doc__in { width: min(100% - 2 * var(--g), 45rem); margin-inline: auto; position: relative; z-index: 2; }
.doc h1 { font-size: clamp(2.625rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
:is(:lang(ar), :lang(fa)) .doc h1 { letter-spacing: 0; line-height: 1.2; }
.doc__date { margin-top: 1rem; color: var(--f-mute); font-size: .9375rem; }
.doc__sum { margin-top: 2.25rem; padding: 1.375rem 1.5rem; border-radius: 1.375rem; background: var(--soft); font-size: 1.0625rem; line-height: 1.6; }
.doc h2 { margin-top: 3.25rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; }
:is(:lang(ar), :lang(fa)) .doc h2 { letter-spacing: 0; }
.doc h3 { margin-top: 1.625rem; font-size: 1.125rem; font-weight: 600; }
.doc p, .doc li { font-size: 1.0625rem; line-height: 1.68; color: var(--f-dim); }
:is(:lang(ar), :lang(fa)) .doc p, :is(:lang(ar), :lang(fa)) .doc li { line-height: 1.9; }
.doc p { margin-top: .875rem; }
.doc ul { margin-top: .75rem; padding-inline-start: 1.375rem; }
.doc li + li { margin-top: .5rem; }
.doc b, .doc strong { color: var(--f-ink); font-weight: 600; }
.doc a:not(.btn) { color: var(--f-ink); text-decoration: underline; text-underline-offset: .1875rem; text-decoration-thickness: 1px; }
.doc table { width: 100%; margin-top: 1.125rem; border-collapse: collapse; font-size: .875rem; }
.doc th, .doc td { text-align: start; padding: .625rem .5rem; border-bottom: 1px solid var(--f-line); vertical-align: top; color: var(--f-dim); }
.doc th { color: var(--f-mute); font-weight: 600; font-size: .8125rem; }
.doc td:first-child { color: var(--f-ink); font-weight: 600; white-space: nowrap; }
.doc td:last-child { white-space: nowrap; }
.doc .table-wrap { overflow-x: auto; }
.doc__steps { counter-reset: s; list-style: none; padding: 0 !important; }
.doc__steps li { counter-increment: s; position: relative; padding-inline-start: 2.75rem; }
.doc__steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: .125rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--f-ink); color: var(--f-on-ink); display: grid; place-items: center; font-size: .875rem; font-weight: 700; }
.doc article[lang] { display: none; }
html[lang="en"] .doc article[lang="en"], html[lang="ar"] .doc article[lang="ar"],
html[lang="fa"] .doc article[lang="fa"], html[lang="tr"] .doc article[lang="tr"] { display: block; }
.doc__mail { display: inline-flex; margin-top: 1.125rem; }

@media (prefers-reduced-motion: reduce) {
  .bubble, .vault__ring circle, .logo-mark.walk { animation: none !important; }
}

/* ---------- "Coming soon": the email sheet (js/waitlist.js) ----------
   Phones: the app's bottom sheet itself (.f-sheet: 8 px off the edges, the continuous 39 pt corner, the grabber),
   lifted by --kb while the keyboard is up. Wider screens: a small card in the middle, the same corner family. */
html.wl-open { overflow: hidden; }
.wl-scrim { z-index: 70; touch-action: none; }
.wl { z-index: 71; color: var(--f-ink); overscroll-behavior: contain; }
.wl--sheet { bottom: calc(.5rem + var(--kb, 0px)); padding-bottom: env(safe-area-inset-bottom); touch-action: none; transition: bottom .25s var(--f-ease-out); }
.wl--card {
  position: fixed; left: 50%; top: 50%; width: min(26.25rem, calc(100vw - 2rem));
  border-radius: var(--f-r-panel); corner-shape: var(--f-curve); background: var(--f-surface);
  box-shadow: 0 0 0 1px var(--f-glass-line), var(--f-shadow-float);
  transform: translate(-50%, -50%); animation: wl-in .42s var(--f-ease-page) both;
}
.wl--card.is-out { animation: wl-out .24s var(--f-ease-exit) both; }
@keyframes wl-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
@keyframes wl-out { to { opacity: 0; transform: translate(-50%, -48%) scale(.97); } }
.wl__x {
  position: absolute; top: .875rem; inset-inline-end: .875rem; width: 2.125rem; height: 2.125rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--f-chip); color: var(--f-dim); transition: background .2s, transform .2s var(--ease-out);
}
.wl__x:active { transform: scale(.92); }
.wl__x svg { width: .9375rem; height: .9375rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.wl--sheet .wl__x { top: 1rem; }
.wl__view { display: grid; justify-items: center; text-align: center; padding: 2.125rem 1.75rem 1.625rem; }
.wl__view[hidden] { display: none; }
.wl--sheet .wl__view { padding: 1.375rem 1.25rem 1.375rem; }
.wl__mark { font-size: 2.5rem; color: var(--f-ink); margin-bottom: .875rem; }
.wl__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
:is(:lang(ar), :lang(fa)) .wl__title { letter-spacing: 0; line-height: 1.35; }
.wl__title:focus { outline: none; }
.wl__sub { margin-top: .5rem; max-width: 32ch; color: var(--f-dim); font-size: .9375rem; line-height: 1.5; }
.wl__field { width: 100%; margin-top: 1.375rem; font-size: 1.0625rem; text-align: start; }
[dir="rtl"] .wl__field { text-align: right; }
.wl__err { min-height: 1.25rem; margin-top: .375rem; font-size: .8125rem; color: var(--f-ink); text-align: start; justify-self: stretch; }
.wl__go, .wl__ok { width: 100%; margin-top: .25rem; }
.wl__done .wl__ok { margin-top: 1.5rem; }
.wl__check { width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; color: var(--f-ink); }
.wl__check svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wl__check circle { stroke-width: 2; opacity: .18; }
.wl__done.is-in .wl__check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: wl-tick .5s .1s var(--f-ease-out) forwards; }
.wl__done.is-in .wl__check { animation: wl-pop .5s var(--f-ease-pop, cubic-bezier(.3,1.5,.5,1)) both; }
.wl__done.is-in .wl__title, .wl__done.is-in .wl__sub, .wl__done.is-in .wl__ok { animation: wl-rise .5s var(--f-ease-page) both; }
.wl__done.is-in .wl__sub { animation-delay: .05s; } .wl__done.is-in .wl__ok { animation-delay: .1s; }
@keyframes wl-tick { to { stroke-dashoffset: 0; } }
@keyframes wl-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes wl-rise { from { transform: translateY(.5rem); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wl--card, .wl--card.is-out { animation: none; } }
