/* Yupi site, version 2.
   Layout concept: a night-time feed. Warm near-black ground, full-bleed vertical Moments,
   and the Yupi sunset gradient as the one loud colour. */
:root {
  color-scheme: dark;
  /* Brand colours: the MASTER Color sheet in Figma (YUPI 4.0, 01 · Foundations) */
  --vermilion: #EF5035; --saffron: #F0BA26; --bermuda: #00ACC1; --steel: #4C6376; --bondi: #387AA9;
  --ink: #181818; --paper: #EFEFEF; /* Off Black, Off White */
  --grey-1: #EDEDED; --grey-2: #DEDEDE; --grey-3: #969696; --grey-4: #5E5E5E;
  /* steps from the tint ramps on the same sheet */
  --vermilion-2: #EF6B54; --vermilion-3: #EF8573; --saffron-2: #EFC75A; --sand: #EDE1C3; --steel-2: #72909E; --steel-3: #BFEBEF; --bermuda-2: #4FBEC2;
  /* The app's one brand gradient (web design spec, 14 Nov 2026): Vermilion held to 30 %, then to Saffron.
     Main buttons, the logo, icon circles, rings, active controls. Never a flat red fill: red is only for errors. */
  --brand: linear-gradient(90deg, #EF5035 0%, #EF5035 30%, #F0BA26 100%);
  --brand-d: linear-gradient(135deg, #EF5035 0%, #EF5035 30%, #F0BA26 100%);
  --on-brand: #FFFFFF;
  --sun: var(--brand-d);
  /* NIGHT: the app's dark theme. DAY (below) re-points the same tokens; the page follows the device unless the visitor picks. */
  --night: #141416; --night-2: #1C1C1F; --night-3: #1C1C1F; --night-4: #2A2A2F; --card-in-band: #2A2A2F;
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.24); --line-3: rgba(255, 255, 255, 0.55);
  --text: #FFFFFF; --soft: #A1A1A6; --mute: #A1A1A6;
  --hover: rgba(255, 255, 255, 0.07);
  --header-bg: rgba(20, 20, 22, 0.8);
  --brand-text: var(--brand); /* gradient words: eyebrows, highlighted words, big numbers */
  --accent: var(--vermilion); --on-accent: #FFFFFF; --hi: #FF8A65;
  /* links and info: Yupi blue, as in the app (Bondi #387AA9 in Day; Bermuda in Night, where Bondi is too dark to read) */
  --link: #00ACC1;
  --focus: #00ACC1; --ok: var(--bermuda); --bad: #FF5A4E;
  --tag: #00ACC1; /* "Coming soon" and other labels: Yupi blue */
  --ph: #2A2A2F; --ph-2: #1C1C1F; /* a picture that hasn't loaded yet: a quiet grey card, never an orange one */
  --pat-k: 0.75; /* the brand pattern, faded */
  --glow: 1;
  --tip: #33363D; /* charcoal: notes, the stat card and the toast, as in the app */
  /* the app's chat screen (Chat master 9141-4920 NIGHT, 9141-83 DAY) */
  --chat-bg: #141416; --chat-bar: #1C1C1F; --chat-line: #2C2C30; --chat-own: #702A1E; --chat-in: #2A2A2F; --chat-in-line: #2A2A2F; --chat-in-text: #FFFFFF; --chat-sub: #A1A1A6; --chat-box: #2A2A2F;
  /* type: Open Sans Regular, SemiBold and Bold, as on the Figma type sheet */
  --f-sans: "Open Sans", "Noto Sans Bengali", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-label: var(--f-sans);
  /* shape and space */
  --r-s: 12px; --r-m: 20px; --r-l: 28px; --gut: 20px; --wrap: 1180px; --header: 64px; --topbar: 0px;
}
:root[data-theme="day"] {
  color-scheme: light;
  --night: #F2F2F7; --night-2: #FFFFFF; --night-3: #FFFFFF; --night-4: #E9E9EE; --card-in-band: #F2F2F7;
  --link: #387AA9;
  --line: rgba(20, 20, 22, 0.1); --line-2: rgba(20, 20, 22, 0.2); --line-3: rgba(20, 20, 22, 0.5);
  --text: #1C1C1E; --soft: #6E6E73; --mute: #6E6E73;
  --hover: rgba(20, 20, 22, 0.05);
  --header-bg: rgba(255, 255, 255, 0.86);
  --brand-text: linear-gradient(90deg, #E03A1E 0%, #E03A1E 30%, #D2650C 100%); /* the same gradient a shade deeper, so words stay readable on white */
  --hi: #C2410C; --bad: #E53935; --tag: #00798A;
  --ph: #E9E9EE; --ph-2: #F2F2F7;
  --pat-k: 0.5;
  --glow: 0.5;
  --chat-bg: #FFFFFF; --chat-bar: #FFFFFF; --chat-line: #E5E5EA; --chat-own: #33363D; --chat-in: #F1EFEC; --chat-in-line: #E2DFDA; --chat-in-text: #141416; --chat-sub: #6E6E73; --chat-box: #F2F2F7;
}
/* words on a photo or a video stay white in both themes */
.film, .viewer { --text: #FFFFFF; --soft: rgba(255, 255, 255, 0.86); --mute: rgba(255, 255, 255, 0.72); --line: rgba(255, 255, 255, 0.14); --line-2: rgba(255, 255, 255, 0.3); --line-3: rgba(255, 255, 255, 0.6); --hover: rgba(255, 255, 255, 0.1); --brand-text: var(--brand); --hi: #FF8A65; color: var(--text); }
@media (min-width: 760px) { :root { --gut: 32px; --header: 68px; } }

/* Colour bands: the same components on another brand colour. Each one only re-points the tokens. */
.on-paper:not(.band) { --night: #EFEFEF; --night-2: #EDEDED; --night-3: #FFFFFF; --night-4: #DEDEDE; --text: #181818; --soft: #5E5E5E; --mute: #5E5E5E; --line: rgba(24, 24, 24, 0.14); --line-2: rgba(24, 24, 24, 0.3); --hi: var(--steel); --line-3: rgba(24, 24, 24, 0.55); --hover: rgba(24, 24, 24, 0.06); --brand-text: linear-gradient(#181818, #181818); background: #EFEFEF; color: var(--text); color-scheme: light; }
.band.on-paper { background: var(--night-2); }
.on-saffron { --night: #F0BA26; --night-2: rgba(24, 24, 24, 0.08); --night-3: rgba(24, 24, 24, 0.1); --night-4: rgba(24, 24, 24, 0.16); --text: #181818; --soft: rgba(24, 24, 24, 0.86); --mute: rgba(24, 24, 24, 0.72); --line: rgba(24, 24, 24, 0.2); --line-2: rgba(24, 24, 24, 0.38); --hi: #181818; --accent: #181818; --on-accent: #EFEFEF; --line-3: rgba(24, 24, 24, 0.55); --hover: rgba(24, 24, 24, 0.06); --brand-text: linear-gradient(#181818, #181818); --tag: #181818; --focus: #181818; background: #F0BA26; color: var(--text); color-scheme: light; }
.on-bermuda { --night: #00ACC1; --night-2: rgba(24, 24, 24, 0.08); --night-3: rgba(24, 24, 24, 0.1); --night-4: rgba(24, 24, 24, 0.16); --text: #181818; --soft: rgba(24, 24, 24, 0.88); --mute: rgba(24, 24, 24, 0.76); --line: rgba(24, 24, 24, 0.2); --line-2: rgba(24, 24, 24, 0.4); --hi: #181818; --accent: #181818; --on-accent: #EFEFEF; --line-3: rgba(24, 24, 24, 0.55); --hover: rgba(24, 24, 24, 0.06); --brand-text: linear-gradient(#181818, #181818); --tag: #181818; --focus: #181818; background: #00ACC1; color: var(--text); color-scheme: light; }
.on-vermilion { --night: #EF5035; --night-2: rgba(24, 24, 24, 0.08); --night-3: rgba(24, 24, 24, 0.1); --night-4: rgba(24, 24, 24, 0.16); --text: #181818; --soft: rgba(24, 24, 24, 0.9); --mute: rgba(24, 24, 24, 0.8); --line: rgba(24, 24, 24, 0.22); --line-2: rgba(24, 24, 24, 0.42); --hi: #181818; --accent: #181818; --on-accent: #EFEFEF; --line-3: rgba(24, 24, 24, 0.55); --hover: rgba(24, 24, 24, 0.06); --brand-text: linear-gradient(#181818, #181818); background: var(--brand-d); color: var(--text); color-scheme: light; }
.on-steel { --night: #4C6376; --night-2: rgba(24, 24, 24, 0.14); --night-3: rgba(24, 24, 24, 0.2); --night-4: rgba(24, 24, 24, 0.3); --text: #EFEFEF; --soft: #DEDEDE; --mute: #BFEBEF; --line: rgba(239, 239, 239, 0.2); --line-2: rgba(239, 239, 239, 0.4); --hi: var(--sand); --accent: var(--saffron); --on-accent: #181818; --line-3: rgba(239, 239, 239, 0.6); --hover: rgba(239, 239, 239, 0.08); --brand-text: linear-gradient(var(--sand), var(--sand)); --tag: var(--sand); background: #4C6376; color: var(--text); }
/* The brand doodle pattern (Figma "Background Pattern"), drawn in the band's own text colour. */
.pat { position: relative; isolation: isolate; }
.pat::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--pat-ink, var(--text)); opacity: calc(var(--pat, 0.06) * var(--pat-k, 1)); -webkit-mask: url("../brand/pattern.svg") 50% 0 / 560px auto; mask: url("../brand/pattern.svg") 50% 0 / 560px auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--night); color: var(--text); font: 400 1.0625rem/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- type ---------- */
.display { font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
.h1 { font-size: clamp(1.8rem, 9.2vw, 4.5rem); }
.h2 { font-size: clamp(1.75rem, 4.3vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.08; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.display em { font-style: normal; white-space: nowrap; background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--soft); max-width: 34em; }
.eyebrow { width: fit-content; max-width: 100%; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.muted { color: var(--mute); }
.small { font-size: 0.9rem; }
.only-wide { display: none; }
@media (min-width: 900px) { .only-wide { display: inline; } }
:lang(bn) .display, :lang(hi) .display { letter-spacing: 0; line-height: 1.24; }
:lang(bn) .h1, :lang(hi) .h1 { font-size: clamp(1.9rem, 7.6vw, 4rem); }
:lang(bn) .eyebrow, :lang(hi) .eyebrow { letter-spacing: 0.02em; text-transform: none; font-size: 0.92rem; }
:lang(bn) body, :lang(hi) body { line-height: 1.7; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(72px, 10vw, 136px); }
.band-s { padding-block: clamp(48px, 6vw, 80px); }
.raised { background: var(--night-2); }
.stack { display: grid; gap: var(--g, 16px); align-content: start; justify-items: start; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 56px); max-width: 46rem; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split.wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 240px)), 1fr)); }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 0; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn-sun { background: var(--brand); color: var(--on-brand); text-shadow: 0 1px 2px rgba(122, 38, 10, 0.28); box-shadow: 0 12px 28px -16px rgba(239, 80, 53, 0.9); }
.btn-sun:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 32px -14px rgba(239, 80, 53, 0.9); }
.btn-sun:active { filter: brightness(0.95); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-3); }
.btn-ghost:hover { background: var(--hover); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-sm { min-height: 42px; font-size: 0.92rem; padding: 0 1.15em; }
.link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 0.45em; align-items: center; border-bottom: 1.5px solid var(--line-2); padding-bottom: 3px; transition: border-color 0.2s; }
.link::after { content: "→"; transition: transform 0.2s; }
.link:hover { border-color: var(--hi); }
.link:hover::after { transform: translateX(3px); }
.prose a, .text-link { color: var(--hi); text-underline-offset: 3px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 18px 6px 14px; border-radius: 10px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px #A6A6A6; text-decoration: none; transition: transform 0.15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 0.68rem; font-weight: 600; line-height: 1.1; }
.store b { display: block; font-size: 1.08rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
:root[data-region="bd"] .store[data-store="android"], :root[data-region="in"] .store[data-store="android"] { order: -1; }
.qr { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); max-width: 300px; }
.film .qr { background: rgba(20, 20, 22, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.qr img { width: 68px; height: 68px; padding: 6px; border-radius: 10px; background: var(--paper); }
.qr p { font-size: 0.82rem; line-height: 1.35; color: var(--soft); }
.qr b { display: block; color: var(--text); }
@media (max-width: 759px) { .qr { display: none; } }

/* ---------- country editions ---------- */
[data-only] { display: none; }
:root[data-region="bd"] [data-only~="bd"], :root[data-region="in"] [data-only~="in"], :root[data-region="au"] [data-only~="au"],
:root[data-region="us"] [data-only~="us"], :root[data-region="row"] [data-only~="row"] { display: contents; }

/* ---------- top bar: language toggle (Bangladesh and India only); country picker in the footer ---------- */
:root[data-leaving] body { visibility: hidden; } /* about to open the বাংলা or हिन्दी twin, so don't paint the English page */
.topbar { display: none; background: var(--night-2); border-bottom: 1px solid var(--line); font-size: 0.82rem; position: relative; z-index: 70; }
.topbar .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 40px; }
/* The bar holds the language switch only, so it is drawn only where there is one: Bangladesh and India, on pages that
   exist in the second language. The hero's height follows through --topbar. */
:root[data-region="bd"] .topbar:has([data-only~="bd"]), :root[data-region="in"] .topbar:has([data-only~="in"]) { display: block; }
:root[data-region="bd"]:has(.topbar [data-only~="bd"]), :root[data-region="in"]:has(.topbar [data-only~="in"]) { --topbar: 40px; }
.lang-toggle { flex: none; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--night-4); box-shadow: inset 0 0 0 1px var(--line); }
.lang-toggle a { display: grid; place-items: center; min-height: 28px; min-width: 64px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.84rem; color: var(--soft); transition: background-color 0.15s, color 0.15s; }
.lang-toggle a:hover { color: var(--text); }
.lang-toggle a[aria-current="true"] { background: var(--brand); color: var(--on-brand); }
.country { position: relative; flex: none; }
.country-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line-2); }
.country-btn:hover { background: var(--hover); }
.country-btn img, .country-cur img { width: 22px; height: 22px; border-radius: 50%; }
.country-cur { display: inline-flex; align-items: center; gap: 8px; }
.country-btn > svg { width: 11px; height: 11px; transition: transform 0.2s; }
.country-btn[aria-expanded="true"] > svg { transform: rotate(180deg); }
.country-menu { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 60; width: min(310px, calc(100vw - 2 * var(--gut))); padding: 8px; border-radius: var(--r-m); background: var(--night-3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), inset 0 0 0 1px var(--line-2); display: grid; gap: 2px; }
.country-opt { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; }
.country-opt img { width: 30px; height: 30px; border-radius: 50%; }
.country-opt b { display: block; font-size: 0.98rem; line-height: 1.25; }
.country-opt small { color: var(--mute); font-size: 0.8rem; }
.country-opt:hover, .country-opt:focus-visible { background: var(--hover); }
.country-opt[aria-current="true"] { background: var(--hover); }
.country-opt[aria-current="true"]::after { content: "✓"; font-weight: 700; color: var(--hi); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header); }
.brand { display: block; flex: none; }
.brand svg, .foot-brand svg { fill: url(#yupi-grad); } /* the gradient logo with the dot, as in the app and the stores */
.brand svg { height: 40px; width: auto; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--soft); transition: color 0.15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { background: var(--brand) 50% 100% / 100% 2px no-repeat; border-radius: 0; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; padding: calc(var(--header) + 60px) var(--gut) 32px; background: var(--night); display: grid; align-content: start; gap: 4px; overflow: auto; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn, .mobile-menu { display: none !important; } }
@media (max-width: 899px) { .header-cta .btn:not(.login) { display: none; } .header-cta .login { min-height: 38px; padding: 0 14px; } }

/* ---------- Moment card ---------- */
.mo { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer; text-align: left; color: #fff; background: var(--ph); container-type: inline-size; isolation: isolate; transition: transform 0.25s; }
/* while a picture loads: a soft pulse on a grey card, then the picture (and the video's first frame) */
@keyframes ph { 50% { background-color: var(--ph-2); } }
.mo:not(.is-loaded), .persona:not(.is-loaded) { animation: ph 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .mo, .persona { animation: none !important; } }
.mo > img, .mo > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mo > video { z-index: -1; opacity: 0; transition: opacity 0.4s; }
.mo > video.is-ready { opacity: 1; }
.mo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 24%, transparent 52%, rgba(0, 0, 0, 0.72)); pointer-events: none; }
.mo:hover { transform: translateY(-4px) scale(1.015); }
.mo-top { position: absolute; left: 5cqw; right: 5cqw; top: 5cqw; display: flex; align-items: center; gap: 3cqw; font-size: clamp(11px, 5.4cqw, 15px); font-weight: 700; }
.mo-top span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.mo-top small { font-weight: 600; opacity: 0.85; }
.av { width: 2.5em; height: 2.5em; border-radius: 50%; object-fit: cover; flex: none; padding: 2px; background: var(--sun); }
.mo-play { margin-left: auto; width: 2em; height: 2em; border-radius: 50%; background: rgba(0, 0, 0, 0.45); display: grid; place-items: center; flex: none; }
.mo-play::after { content: ""; border-left: 0.62em solid #fff; border-block: 0.4em solid transparent; margin-left: 0.14em; }
.mo-foot { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; display: flex; align-items: center; gap: 0.4em; font-size: clamp(10px, 5cqw, 14px); font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.mo-foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-foot .i { width: 1em; height: 1em; }
.sticker { position: absolute; left: 5cqw; bottom: calc(5cqw + 2.4em); max-width: 82%; padding: 0.3em 0.6em 0.36em; border-radius: 0.5em; font-weight: 700; font-size: clamp(11.5px, 6.4cqw, 21px); line-height: 1.2; letter-spacing: -0.01em; transform: rotate(-3deg); transform-origin: left bottom; background: var(--saffron); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6); }
.sticker.vermilion { background: var(--vermilion); color: var(--ink); }
.sticker.teal { background: var(--bermuda); color: var(--ink); }
.sticker.ink { background: var(--ink); color: var(--paper); }
.sticker.paper { background: var(--paper); color: var(--ink); }
:lang(bn) .sticker, :lang(hi) .sticker { line-height: 1.35; letter-spacing: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .wrap { display: grid; gap: 28px; }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 20px; justify-items: start; padding-block: clamp(32px, 6vw, 72px) 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.proof { color: var(--mute); font-size: 0.9rem; }
.proof b { color: var(--text); font-weight: 700; }
/* Home, on phones: the wall of Moments fills the top of the first screen and the words sit on its lower edge.
   On wide screens the words are on the left and the wall on the right. */
@media (max-width: 899px) {
  .hero-home .wrap { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0; min-height: clamp(540px, calc(100svh - var(--header) - var(--topbar)), 780px); }
  .hero-home .hero-copy { gap: 14px; padding-block: 0 20px; }
  .hero-home .hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -96px calc(-1 * var(--gut)) 0; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--night) 90%, transparent) 64px, var(--night) 96px); pointer-events: none; }
  .hero-home .lede { font-size: 1.02rem; line-height: 1.45; }
  .hero-home .hero-cta { width: 100%; }
  .hero-home .btn-sun { flex: 1 1 100%; min-height: 56px; font-size: 1.06rem; }
  .hero-home .btn-ghost { display: none; }
}
@media (min-width: 600px) and (max-width: 899px) { .hero-home .btn-sun, .hero-home .btn-ghost { flex: 0 0 auto; display: inline-flex; } }
.wall { position: absolute; inset: 0 0 auto; height: 70%; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000, #000 58%, transparent 96%); mask-image: linear-gradient(180deg, #000, #000 58%, transparent 96%); }
.wall-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0 6px; transform: rotate(-5deg) scale(1.14); transform-origin: 50% 22%; }
.wall-col { display: grid; gap: 9px; align-content: start; }
.wall-col:nth-child(1) { margin-top: -70px; }
.wall-col:nth-child(2) { margin-top: -150px; }
.wall-col:nth-child(3) { margin-top: -30px; }
.wall .mo { border-radius: 16px; }
.is-loop .wall-col { animation: wall-up 44s linear infinite; margin-top: 0; }
.is-loop .wall-col:nth-child(2) { animation-name: wall-down; animation-duration: 52s; }
.is-loop .wall-col:nth-child(3) { animation-duration: 60s; }
.is-paused .wall-col { animation-play-state: paused; }
@media (hover: hover) { .wall:hover .wall-col, .wall:focus-within .wall-col { animation-play-state: paused; } }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 4.5px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 4.5px)); } to { transform: translateY(0); } }
.wall-hint { position: absolute; z-index: 3; top: 12px; right: max(12px, env(safe-area-inset-right, 0px)); }
.wall-hint > span { display: none; }
.wall-pause { border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; padding: 6px; }
.wall-pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wall-pause i { width: 36px; height: 36px; border-radius: 50%; background: rgba(24, 24, 24, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; }
.wall-pause i::before { content: ""; width: 9px; height: 11px; border-inline: 3px solid currentColor; }
.is-paused .wall-pause i::before { width: 0; height: 0; border-inline: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; margin-left: 3px; }
@media (min-width: 600px) and (max-width: 899px) { .wall-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .hero-copy { gap: 22px; padding-block: 56px; }
  .proof { font-size: 0.98rem; color: var(--soft); }
  .wall { position: relative; inset: auto; height: min(800px, 86svh); margin-right: calc(-1 * var(--gut)); -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent); }
  .wall-in { gap: 16px; padding: 0 var(--gut) 0 0; transform: rotate(5deg) scale(1.08); transform-origin: 50% 40%; }
  .wall-col { gap: 16px; }
  .wall .mo { border-radius: 22px; }
  @keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
  @keyframes wall-down { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
  .wall-hint { position: relative; inset: auto; grid-column: 2; margin-top: -40px; display: flex; align-items: center; gap: 12px; justify-content: space-between; color: var(--mute); font-size: 0.86rem; }
  .wall-hint > span { display: inline; }
  .wall-pause { color: var(--soft); padding: 6px 2px; }
  .wall-pause span { position: static; width: auto; height: auto; clip-path: none; }
  .wall-pause i { width: 26px; height: 26px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }
  .wall-pause i::before { width: 8px; height: 9px; border-inline-width: 2.5px; }
  .is-paused .wall-pause i::before { border-left-width: 8px; border-block-width: 5px; margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce) { .is-loop .wall-col { animation: none; } }

/* ---------- hello band ---------- */
.hello { padding-block: 20px 16px; overflow: hidden; }
.hello-row { display: flex; gap: 0.7em; width: max-content; font-weight: 700; font-size: clamp(2rem, 6vw, 4.2rem); line-height: 1.3; letter-spacing: -0.03em; white-space: nowrap; animation: slide 60s linear infinite; }
.hello-row span { color: var(--text); }
.hello-row i { font-style: normal; color: var(--text); opacity: 0.35; }
.hello-cap { text-align: center; color: var(--soft); font-size: 0.9rem; font-weight: 600; margin-top: 6px; padding-inline: var(--gut); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hello-row { animation: none; } }

/* ---------- phone and app screens ---------- */
.phone { position: relative; width: min(100%, var(--pw, 320px)); max-width: 100%; aspect-ratio: 9 / 19.3; padding: 2.6%; border-radius: 15% / 7%; background: linear-gradient(145deg, #4A4A4A, #1A1A1A 40%, #2E2E2E); box-shadow: 0 50px 90px -30px #000, 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); margin-inline: auto; flex: none; }
.phone::after { content: ""; position: absolute; left: 50%; top: 3.4%; width: 29%; height: 3.4%; transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 13% / 6.1%; overflow: hidden; background: #141416; container-type: inline-size; isolation: isolate; }
.scr { position: absolute; inset: 0; font-size: 3.75cqw; line-height: 1.3; color: #fff; opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s; overflow: hidden; }
.scr.is-on { opacity: 1; visibility: visible; }
.scr-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scr-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 28%, transparent 55%, rgba(0, 0, 0, 0.78)); }
.st { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 4.6em 7.5em 0; padding: 4.4cqw 8cqw 0; font-weight: 700; font-size: 0.95em; z-index: 3; }
.st i { display: inline-flex; align-items: flex-end; gap: 0.18em; }
.st i b { width: 0.22em; border-radius: 1px; background: currentColor; }
.st i b:nth-child(1) { height: 0.4em; } .st i b:nth-child(2) { height: 0.58em; } .st i b:nth-child(3) { height: 0.76em; }
.st i u { width: 1.5em; height: 0.72em; margin-left: 0.3em; border: 1.5px solid currentColor; border-radius: 0.2em; position: relative; }
.st i u::after { content: ""; position: absolute; inset: 1px 30% 1px 1px; background: currentColor; border-radius: 1px; }
.pav { width: 2.6em; height: 2.6em; border-radius: 50%; object-fit: cover; flex: none; }
.pav.ring { padding: 0.12em; background: var(--sun); }
/* feed */
.feed-tabs { position: absolute; left: 5cqw; right: 0; top: 14cqw; display: flex; gap: 1.1em; white-space: nowrap; font-weight: 600; font-size: 1.02em; }
.feed-tabs b { font-weight: 700; padding-bottom: 0.3em; border-bottom: 0.14em solid #fff; }
.feed-tabs span { opacity: 0.72; }
.feed-search { position: absolute; left: 5cqw; right: 5cqw; top: 23cqw; display: flex; align-items: center; gap: 0.6em; }
.feed-search .cam { width: 2.5em; height: 2.5em; border-radius: 50%; background: rgba(255, 255, 255, 0.86); color: var(--ink); display: grid; place-items: center; flex: none; }
.feed-search .cam .i { width: 1.25em; height: 1.25em; }
.feed-search .pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.45em; height: 2.5em; padding-inline: 0.9em; border-radius: 99px; background: rgba(255, 255, 255, 0.86); color: #5E5E5E; font-size: 0.92em; white-space: nowrap; overflow: hidden; }
.feed-search .pill .i { width: 1em; height: 1em; }
.feed-search .cluster { display: flex; flex: none; }
.feed-search .cluster img, .feed-search .cluster em { width: 2.2em; height: 2.2em; border-radius: 50%; margin-left: -0.7em; box-shadow: 0 0 0 0.12em var(--saffron); object-fit: cover; }
.feed-search .cluster img:first-child { margin-left: 0; }
.feed-search .cluster em { font-style: normal; font-size: 0.74em; font-weight: 700; width: 2.95em; height: 2.95em; display: grid; place-items: center; background: #343434; color: var(--hi); }
.scr .sticker { left: 5cqw; bottom: 30cqw; font-size: 5.9cqw; max-width: 72%; }
.feed-acts { position: absolute; right: 4.5cqw; bottom: 22cqw; display: grid; gap: 0.75em; }
/* as in the app: the paid hellos (gift, video intro) in the gradient, the free hello white */
.feed-acts span { width: 3em; height: 3em; border-radius: 50%; display: grid; place-items: center; background: var(--brand-d); color: #fff; box-shadow: 0 0.4em 1em -0.3em rgba(0, 0, 0, 0.6); }
.feed-acts span:last-child { background: #fff; color: #1C1C1E; box-shadow: 0 0.2em 0.6em rgba(0, 0, 0, 0.18); }
.feed-acts .i { width: 1.4em; height: 1.4em; }
.feed-who { position: absolute; left: 5cqw; right: 22cqw; bottom: 15cqw; display: flex; align-items: center; gap: 0.7em; }
.feed-who b { display: block; font-size: 1.12em; font-weight: 700; white-space: nowrap; }
.feed-who small { display: flex; align-items: center; gap: 0.25em; font-size: 0.9em; opacity: 0.92; white-space: nowrap; }
.feed-who .i { width: 0.9em; height: 0.9em; }
.tabbar { position: absolute; left: 4cqw; right: 4cqw; bottom: 3.5cqw; height: 9.5cqw; border-radius: 99px; background: rgba(24, 24, 24, 0.82); display: flex; align-items: center; justify-content: space-around; }
.tabbar i { width: 1.25em; height: 1.25em; border-radius: 0.36em; background: rgba(255, 255, 255, 0.4); }
.tabbar i.on { background: var(--brand-d); border-radius: 50%; }
/* compose */
.cmp-top { position: absolute; left: 5cqw; right: 5cqw; top: 13cqw; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.05em; }
.cmp-top span { width: 2.3em; height: 2.3em; border-radius: 50%; background: rgba(0, 0, 0, 0.45); display: grid; place-items: center; font-weight: 600; }
.scr-compose .sticker { bottom: 44cqw; }
.scr-compose .sticker::after { content: ""; display: inline-block; width: 0.08em; height: 0.95em; margin-left: 0.12em; vertical-align: -0.1em; background: currentColor; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cmp-tools { position: absolute; left: 5cqw; right: 5cqw; bottom: 26cqw; display: flex; align-items: center; gap: 0.6em; }
.cmp-tools b { min-width: 2.6em; height: 2.6em; padding-inline: 0.5em; border-radius: 0.8em; background: rgba(0, 0, 0, 0.5); display: grid; place-items: center; font-size: 1.05em; box-shadow: inset 0 0 0 0.1em rgba(255, 255, 255, 0.25); }
.cmp-tools b.on { background: #fff; color: var(--ink); }
.cmp-tools i { width: 1.5em; height: 1.5em; border-radius: 50%; margin-left: auto; box-shadow: 0 0 0 0.14em #fff; }
.cmp-tools i + i { margin-left: 0; }
.cmp-post { position: absolute; left: 5cqw; right: 5cqw; bottom: 8cqw; height: 13cqw; border-radius: 99px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 1.12em; }
/* say hi sheet */
.sheet { position: absolute; left: 3cqw; right: 3cqw; bottom: 3cqw; padding: 3cqw 3.5cqw 4cqw; border-radius: 7cqw; background: rgba(24, 24, 24, 0.95); display: grid; gap: 2.2cqw; }
.sheet::before { content: ""; width: 10cqw; height: 1.1cqw; border-radius: 9px; background: rgba(255, 255, 255, 0.3); justify-self: center; margin-bottom: 1cqw; }
.cue { display: flex; align-items: center; gap: 0.8em; padding: 0.7em 0.8em; border-radius: 1.1em; background: rgba(255, 255, 255, 0.07); }
.cue span { width: 2.7em; height: 2.7em; border-radius: 50%; display: grid; place-items: center; background: var(--brand-d); flex: none; }
.cue.free span { background: #fff; box-shadow: none; color: #1C1C1E; }
.cue .i { width: 1.3em; height: 1.3em; }
.cue b { display: block; font-size: 1.04em; }
.cue small { display: block; font-size: 0.86em; opacity: 0.7; line-height: 1.25; }
/* compass */
.scr-compass, .scr-live, .scr-lang { background: #141416; }
.scr-title { position: absolute; inset: 13cqw 0 auto; text-align: center; font-weight: 700; font-size: 1.15em; }
.cps { position: absolute; inset: 23cqw 0 0 5cqw; display: grid; gap: 3cqw; align-content: start; }
.cps p { display: flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 1.02em; white-space: nowrap; overflow: hidden; padding-right: 4cqw; }
.cps p .i { color: #FF8A65; width: 1.2em; height: 1.2em; }
.cps-row { display: flex; gap: 2.4cqw; margin-bottom: 2cqw; }
.cps-card { position: relative; flex: none; width: 44cqw; aspect-ratio: 3 / 4.6; border-radius: 4.5cqw; overflow: hidden; background: #2B2B2B; }
.cps-card:first-child { border: 0.6cqw solid transparent; background: linear-gradient(#2B2B2B, #2B2B2B) padding-box, var(--brand-d) border-box; }
.cps-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cps-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); }
.cps-meta { position: absolute; z-index: 1; left: 2cqw; right: 1cqw; bottom: 2cqw; display: flex; gap: 1.6cqw; align-items: center; }
.cps-meta .pav { width: 6.4cqw; height: 6.4cqw; box-shadow: 0 0 0 0.4cqw #fff; }
.cps-meta b { display: block; font-size: 0.86em; white-space: nowrap; }
.cps-meta small { display: block; font-size: 0.74em; opacity: 0.85; white-space: nowrap; }
/* you're live */
.scr-live { display: flex; flex-direction: column; gap: 4cqw; padding: 13cqw 5cqw 6cqw; }
.live-back { font-size: 1.5em; line-height: 1; padding-left: 1cqw; }
.live-text { display: grid; gap: 1.6cqw; padding-inline: 1cqw; }
.live-text b { font-size: 1.5em; font-weight: 700; line-height: 1.15; }
.live-p { font-size: 0.9em; opacity: 0.68; line-height: 1.4; }
.live-art { position: relative; flex: 1; min-height: 0; margin-bottom: 8cqw; }
.live-mo { position: absolute; right: 0; top: 0; bottom: 0; width: 62%; border-radius: 6cqw; overflow: hidden; background: #2B2B2B; }
.live-mo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-mo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }
.live-pill { position: absolute; z-index: 1; left: 50%; top: 3cqw; transform: translateX(-50%); padding: 0.4em 0.9em; border-radius: 99px; background: rgba(24, 24, 24, 0.85); font-size: 0.8em; font-weight: 700; white-space: nowrap; }
.live-name { position: absolute; z-index: 1; left: 4cqw; bottom: 4cqw; }
.live-name b { display: block; font-size: 1.15em; }
.live-name small { display: flex; align-items: center; gap: 0.25em; font-size: 0.88em; opacity: 0.9; }
.live-name .i { width: 0.9em; height: 0.9em; }
.live-pp { position: absolute; left: 0; top: 26%; width: 43%; aspect-ratio: 1; }
.live-pp > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1cqw #fff; }
.live-pp .live-pill { top: auto; bottom: -9cqw; background: #EFEFEF; color: var(--ink); }
.live-checks { display: grid; gap: 2cqw; }
.live-checks li { display: flex; align-items: center; gap: 0.7em; padding: 0.85em 0.9em; border-radius: 1em; background: #272727; font-size: 0.98em; font-weight: 700; }
.live-checks i { width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--bermuda); display: grid; place-items: center; flex: none; }
.live-checks i svg { width: 0.95em; height: 0.95em; }
.live-checks em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--bermuda); font-size: 0.92em; }
/* language */
.scr-lang { background: var(--sun); background: linear-gradient(165deg, #E33B27, #E98141 50%, #EFC75A); }
.lang-top { position: absolute; left: 6cqw; right: 5cqw; top: 15cqw; display: flex; justify-content: space-between; align-items: flex-start; }
.lang-top > svg { width: 30cqw; height: auto; color: rgba(255, 255, 255, 0.6); }
.lang-chip { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.4em 0.9em 0.4em 0.4em; border-radius: 99px; background: rgba(24, 24, 24, 0.75); font-size: 0.9em; font-weight: 700; }
.flag { width: 1.7em; height: 1.7em; border-radius: 50%; flex: none; }
.lang-sheet { position: absolute; inset: 68cqw 0 0; border-radius: 8cqw 8cqw 0 0; background: #1C1C1F; padding: 3cqw 5cqw 0; text-align: center; }
.lang-sheet::before { content: ""; display: block; width: 10cqw; height: 1.1cqw; border-radius: 9px; background: rgba(255, 255, 255, 0.3); margin: 0 auto 3cqw; }
.lang-sheet > b { display: block; font-size: 1.15em; }
.lang-sheet > small { display: block; font-size: 0.84em; opacity: 0.65; margin: 0.4em 2cqw 1em; line-height: 1.35; }
.lang-sheet li { display: flex; align-items: center; gap: 0.9em; padding: 0.85em 0.2em; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; }
.lang-sheet li .flag { width: 2.3em; height: 2.3em; }
.lang-sheet li b { display: block; font-size: 1.06em; line-height: 1.2; }
.lang-sheet li small { display: block; font-size: 0.84em; opacity: 0.6; }
.lang-sheet li > svg:not(.flag) { margin-left: auto; width: 1.3em; height: 1.3em; }
/* chat: the app's chat screen (bubbles, composer) in the page's theme */
/* phone screens are product shots: Night colours on both site themes, like every other screen in the phone */
.scr-chat { --chat-bg: #141416; --chat-bar: #1C1C1F; --chat-line: #2C2C30; --chat-own: #702A1E; --chat-in: #2A2A2F; --chat-in-line: #2A2A2F; --chat-in-text: #FFFFFF; --chat-sub: #A1A1A6; --chat-box: #2A2A2F;
  background: var(--chat-bg); color: var(--chat-in-text); }
.chat-head { position: absolute; inset: 0 0 auto; padding: 12cqw 4cqw 3cqw; display: flex; align-items: center; gap: 0.7em; background: var(--chat-bar); border-bottom: 1px solid var(--chat-line); }
.chat-head > span { font-size: 1.6em; line-height: 1; }
.chat-head b { display: block; font-size: 1.08em; line-height: 1.2; }
.chat-head small { font-size: 0.84em; color: var(--bermuda); font-weight: 600; }
.chat-body { position: absolute; inset: 26cqw 0 18cqw; padding: 4cqw; display: flex; flex-direction: column; gap: 2cqw; }
.chat-sys { align-self: center; font-size: 0.78em; color: var(--chat-sub); background: rgba(127, 127, 127, 0.12); padding: 0.35em 0.9em; border-radius: 99px; text-align: center; }
.chat-gift { align-self: center; font-size: 0.84em; font-weight: 700; background: var(--tip); color: #fff; padding: 0.5em 0.9em; border-radius: 0.9em; }
.msg { max-width: 80%; padding: 0.5em 0.85em 0.45em; border-radius: 1.2em; font-size: 0.98em; line-height: 1.35; }
.msg.them { align-self: flex-start; background: var(--chat-in); box-shadow: inset 0 0 0 1px var(--chat-in-line); color: var(--chat-in-text); border-bottom-left-radius: 0.35em; }
.msg.me { align-self: flex-end; background: var(--chat-own); color: #fff; border-bottom-right-radius: 0.35em; }
.msg.voice { display: flex; align-items: center; gap: 0.6em; }
.msg.voice u { width: 2em; height: 2em; border-radius: 50%; background: var(--brand-d); display: grid; place-items: center; flex: none; }
.msg.voice u::after { content: ""; border-left: 0.6em solid #fff; border-block: 0.38em solid transparent; margin-left: 0.14em; }
.msg.voice i { display: flex; align-items: center; gap: 0.16em; height: 1.5em; }
.msg.voice i b { width: 0.18em; border-radius: 2px; background: currentColor; opacity: 0.5; }
.msg.voice small { font-size: 0.8em; color: var(--chat-sub); }
.chat-box { position: absolute; left: 4cqw; right: 4cqw; bottom: 5cqw; height: 11cqw; padding-inline: 4cqw 1cqw; border-radius: 99px; background: var(--chat-box); display: flex; align-items: center; gap: 0.7em; color: var(--chat-sub); }
.chat-box em { font-style: normal; flex: 1; }
.chat-box .i { color: #fff; background: var(--brand-d); border-radius: 50%; width: 2.1em; height: 2.1em; padding: 0.45em; }
.scr-chat .st { color: var(--chat-in-text); }

/* ---------- stage: phone with a glow ---------- */
.stage { position: relative; display: grid; place-items: center; padding-block: 12px; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(239, 80, 53, 0.42), rgba(240, 186, 38, 0.12) 62%, transparent); filter: blur(30px); opacity: var(--glow); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 6px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; width: 100%; padding: 18px 20px; border: 0; border-radius: var(--r-m); background: transparent; text-align: left; cursor: pointer; transition: background 0.25s; }
.step::before { counter-increment: step; content: counter(step); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--soft); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
:lang(bn) .step::before { content: counter(step, bengali); }
.step b { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--soft); align-self: center; transition: color 0.25s; }
.step span { grid-column: 2; color: var(--mute); font-size: 1rem; max-width: 30em; display: none; }
.step[aria-selected="true"] { background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.step[aria-selected="true"]::before { background: var(--brand-d); color: var(--on-brand); box-shadow: none; }
.step[aria-selected="true"] b { color: var(--text); }
.step[aria-selected="true"] span { display: block; color: var(--soft); }
.step i { grid-column: 1 / -1; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--line); overflow: hidden; display: none; }
.step[aria-selected="true"] i { display: block; }
.step i::after { content: ""; display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.is-auto .step[aria-selected="true"] i::after { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
/* long walkthrough on the "how it works" page: on wide screens the phone sticks while the steps scroll */
@media (min-width: 900px) {
  .walk { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .walk .stage { position: sticky; top: calc(var(--header) + 24px); height: calc(100svh - var(--header) - 48px); max-height: 760px; }
  .walk .steps { gap: 0; }
  .walk .step { min-height: 62svh; align-content: center; cursor: default; background: transparent !important; box-shadow: none !important; padding-inline: 0; grid-template-columns: 1fr; }
  .walk .step::before { content: "0" counter(step); width: auto; height: auto; border-radius: 0; box-shadow: none !important; background: none !important; justify-content: start; font-size: clamp(3rem, 5vw, 4.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--night-4) !important; grid-row: auto; }
  :lang(bn) .walk .step::before { content: counter(step, bengali); }
  .walk .step[aria-selected="true"]::before { background: var(--brand-text) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent; }
  .walk .step b { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
  .walk .step span { display: block; grid-column: 1; font-size: 1.15rem; }
  .walk .step i { display: none !important; }
  .walk .step:not([aria-selected="true"]) { opacity: 0.45; transition: opacity 0.3s; }
}

@media (max-width: 899px) {
  .walk .stage { position: sticky; top: var(--header); z-index: 3; --pw: clamp(150px, 24svh, 216px); margin-inline: calc(-1 * var(--gut)); padding-block: 10px 12px; background: var(--night); }
  .walk .stage::before { inset: 12% 26%; }
  .walk .stage::after { content: ""; position: absolute; inset: 100% 0 auto; height: 26px; background: linear-gradient(var(--night), transparent); pointer-events: none; }
  .walk .steps { gap: 0; padding-block: 6px 36px; }
  .walk .step { cursor: default; background: transparent !important; padding: 16px 4px; }
  .walk .step span { display: block; }
  .walk .step i { display: none !important; }
  .walk .step:not([aria-selected="true"]) { opacity: 0.42; transition: opacity 0.3s; }
}

.how-grid { display: grid; gap: 8px; }
.how-head .sec-head { margin-bottom: 16px; }
.how-stage { --pw: clamp(190px, 27svh, 240px); padding-block: 8px 16px; }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; grid-template-areas: "head stage" "steps stage"; }
  .how-head { grid-area: head; align-self: end; }
  .how-steps { grid-area: steps; }
  .how-stage { grid-area: stage; align-self: center; --pw: 330px; }
}

/* ---------- scroller of Moments ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--night-3); color: var(--soft); font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background 0.2s, color 0.2s; }
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px var(--gut) 20px; margin-inline: calc(-1 * var(--gut)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .mo { flex: none; width: clamp(168px, 44vw, 214px); scroll-snap-align: start; }
.rail .mo.is-out { display: none; }
.rail-nav { display: none; gap: 8px; }
@media (hover: hover) and (min-width: 760px) { .rail-nav { display: flex; } }
/* quiet round buttons, as in the app: white with a dark arrow in both themes */
.round { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #1C1C1E; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; transition: background 0.2s; }
.round:hover { background: #F2F2F7; }
.note { color: var(--mute); font-size: 0.86rem; }

/* ---------- cards ---------- */
.card { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-l); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.card .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-d); color: var(--on-brand); margin-bottom: 6px; }
.card p { color: var(--soft); font-size: 0.98rem; }
.persona { position: relative; display: grid; align-content: end; min-height: 460px; padding: 26px; border-radius: 24px; overflow: hidden; isolation: isolate; background: var(--ph); }
.persona > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s; }
.persona:hover > img { transform: scale(1.04); }
.persona::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(24, 24, 24, 0.9)); }
.persona .eyebrow { margin-bottom: 8px; }
.persona p { color: var(--soft); margin-top: 8px; }
@media (max-width: 759px) {
  .personas { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 10px; scrollbar-width: none; }
  .personas::-webkit-scrollbar { display: none; }
  .personas .persona { flex: 0 0 84%; scroll-snap-align: center; min-height: min(440px, 62svh); }
}
.points { display: grid; gap: 22px; }
@media (min-width: 620px) { .points { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }
.point { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.point .ico { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-d); color: var(--on-brand); }
.point b { font-size: 1.08rem; align-self: center; }
.point > span:not(.ico) { grid-column: 2; color: var(--soft); font-size: 0.96rem; }

/* ---------- why / founders ---------- */
.why-quote { font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
/* the stat card: charcoal with a gradient ring, the same in both themes (app Wallet card) */
.stat { --brand-text: var(--brand); padding: 18px 22px; border-radius: 24px; border: 2px solid transparent; background: linear-gradient(var(--tip), var(--tip)) padding-box, var(--brand-d) border-box; color: #fff; max-width: 30rem; }
.stat p { font-size: 1.05rem; }
.stat b { font-weight: 700; background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat small { display: block; color: rgba(255, 255, 255, 0.68); margin-top: 6px; font-size: 0.8rem; }
.sign { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.sign-faces { display: flex; }
.sign-faces img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--night); }
.band.on-paper .sign-faces img { box-shadow: 0 0 0 3px var(--night-2); }
.sign-faces img + img { margin-left: -14px; }
.founders { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px)); }
.founder { display: grid; gap: 12px; align-content: start; }
.founder .ph { position: relative; aspect-ratio: 5 / 6; border-radius: var(--r-l); padding: 3px; background: var(--sun); }
.founder .ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.founder .role { color: var(--hi); font-weight: 700; font-size: 0.92rem; }
.founder p { color: var(--soft); font-size: 0.96rem; }
.founder .link { justify-self: start; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; font-size: 1.4rem; line-height: 1; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: rotate 0.25s, background 0.2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--brand-d); color: var(--on-brand); box-shadow: none; }
.faq .a { padding: 0 44px 24px 0; color: var(--soft); max-width: 44em; display: grid; gap: 12px; }
.helpful { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--mute); }
.helpful button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 99px; background: var(--night-3); cursor: pointer; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- film band: full-bleed video with words on top ---------- */
.film { position: relative; overflow: hidden; isolation: isolate; display: grid; align-items: end; min-height: clamp(480px, 70vw, 700px); background: var(--ph); }
.film > [data-only] > img, .film > [data-only] > video, .film > img, .film > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.film video { opacity: 0; transition: opacity 0.6s; z-index: -1 !important; }
.film video.is-ready { opacity: 1; }
.film::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 24, 24, 0.45), rgba(24, 24, 24, 0.1) 35%, rgba(24, 24, 24, 0.88)); }
.film .wrap { display: grid; gap: 20px; justify-items: start; padding-block: 64px; }
.film.short { min-height: clamp(380px, 46vw, 520px); }
.page-hero { padding-block: clamp(48px, 8vw, 104px) clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero { isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--text); opacity: calc(0.055 * var(--pat-k, 1)); -webkit-mask: url("../brand/pattern.svg") 100% 0 / 520px auto, linear-gradient(100deg, transparent 30%, #000 85%); -webkit-mask-composite: source-in; mask: url("../brand/pattern.svg") 100% 0 / 520px auto, linear-gradient(100deg, transparent 30%, #000 85%); mask-composite: intersect; }
.page-hero .wrap { display: grid; gap: 20px; justify-items: start; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.jump a { font-weight: 700; text-decoration: none; color: var(--soft); border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; }
.jump a:hover { color: var(--text); border-color: var(--hi); }

/* ---------- features ---------- */
.feature { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); } .feature:nth-of-type(even) > .stage { order: -1; } }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-d); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(0.36em + 5px); width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; }
/* a label, not a button: small corners, Yupi blue (saffron is kept for requests, as in the app) */
.soon { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.3em 0.65em; border-radius: 6px; background: color-mix(in srgb, var(--tag) 16%, transparent); color: var(--tag); }
.timeline { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.timeline li { padding: 22px; border-radius: var(--r-m); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; align-content: start; }
.timeline .when { font-weight: 700; color: var(--hi); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.timeline p { color: var(--soft); font-size: 0.95rem; }
.langs { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: 1.3rem; }
.langs li:nth-child(3n + 1) { color: var(--hi); }

/* ---------- plans ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--r-l); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.plan.hot { background: linear-gradient(var(--night-3), var(--night-3)) padding-box, var(--brand-d) border-box; border: 2px solid transparent; box-shadow: 0 30px 70px -40px rgba(239, 80, 53, 0.6); }
.plan .price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.plan .btn { margin-top: auto; justify-self: start; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--night-4); cursor: pointer; font-weight: 700; font-size: 0.92rem; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.calc { display: grid; gap: 22px; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-l); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
/* the app's slider: a grey track filled with the gradient up to a white knob */
.calc input[type="range"] { width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--brand) 0 0 / var(--fill, 50%) 100% no-repeat, var(--night-4); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--brand) 0 0 / var(--fill, 50%) 100% no-repeat, var(--night-4); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.calc input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.calc-out div { padding: 16px; border-radius: var(--r-m); background: var(--night-2); }
.calc-out b { display: block; font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out small { color: var(--mute); }
.table { overflow-x: auto; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.98rem; }
.table th, .table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.table tbody th { font-weight: 600; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; } .no { color: var(--mute); }
@media (max-width: 619px) {
  .table table { min-width: 0; table-layout: fixed; font-size: 0.86rem; }
  .table th, .table td { padding: 12px 6px; overflow-wrap: anywhere; }
  .table th:first-child { width: 40%; padding-left: 14px; }
  .table td, .table thead th:not(:first-child) { text-align: center; }
  .table thead th { font-size: 0.7rem; letter-spacing: 0.04em; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-l); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.94rem; }
.field label i { font-style: normal; font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea, .inline-form input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--night-2); color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-form input:focus { outline: none; border-color: var(--focus); }
.field .err { display: none; color: var(--bad); font-size: 0.88rem; font-weight: 600; }
.field.bad .err { display: block; }
.field.bad input, .field.bad textarea { border-color: var(--bad); }
.two { display: grid; gap: 18px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 520px; }
.inline-form input { flex: 1 1 220px; border-radius: 999px; padding-inline: 20px; min-height: 52px; background: var(--night-2); }
/* on a coloured band the field is the app's white field */
:is(.on-bermuda, .on-saffron, .on-steel) .inline-form input { background: #fff; color: #141416; border-color: transparent; }
:is(.on-bermuda, .on-saffron, .on-steel) .inline-form input::placeholder { color: #6E6E73; }
:is(.on-bermuda, .on-saffron, .on-steel) .inline-form input:focus { border-color: #141416; }
.done { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 24px 8px; }
.done .lottie { width: 150px; height: 150px; border-radius: 50%; background: var(--saffron); }
.codes { display: flex; gap: 10px; }
.codes input { width: 58px; min-height: 64px; text-align: center; font-size: 1.6rem; font-weight: 700; padding: 0; }
.radio { display: grid; gap: 8px; }
.radio label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--night-2); cursor: pointer; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.radio input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-3); cursor: pointer; }
.radio input:checked { box-shadow: none; background: radial-gradient(circle, #fff 0 4px, transparent 4.5px), var(--brand-d); }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-danger { background: var(--bad); color: #fff; } /* red only for errors and deleting an account */
.mail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-m); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.mail small { display: block; color: var(--mute); }
.mail-body { margin: 0; padding: 14px 16px; max-height: 240px; overflow: auto; border-radius: var(--r-m); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 0.92rem; white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.form.done { gap: 14px; }
.form.done > .mail, .form.done > .mail-body { justify-self: stretch; text-align: left; }
.mail b { user-select: all; overflow-wrap: anywhere; }
.copy { min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--night-4); cursor: pointer; font-weight: 700; font-size: 0.86rem; flex: none; }
/* notes: the app's charcoal tip card; warnings keep a red edge */
.callout { padding: 18px 20px; border-radius: var(--r-m); display: grid; gap: 6px; }
.callout:not(.alert) { --text: #fff; --soft: rgba(255, 255, 255, 0.84); --mute: rgba(255, 255, 255, 0.7); --hi: #FF8A65; background: var(--tip); color: var(--text); }
.callout.alert { background: color-mix(in srgb, var(--bad) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 45%, transparent); }
.emergency { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.emergency div { order: 1; padding: 6px 12px; border-radius: 12px; border: 2px solid transparent; background: var(--night-2); }
.emergency small { display: block; color: var(--mute); font-size: 0.78rem; }
.emergency b { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
:root[data-region="bd"] .emergency [data-local="bd"], :root[data-region="in"] .emergency [data-local="in"], :root[data-region="au"] .emergency [data-local="au"], :root[data-region="us"] .emergency [data-local="us"] { order: 0; background: linear-gradient(var(--night-2), var(--night-2)) padding-box, var(--brand-d) border-box; }
.numbered { display: grid; gap: 14px; counter-reset: n; }
.numbered li { position: relative; padding-left: 52px; min-height: 38px; display: grid; align-content: center; counter-increment: n; color: var(--soft); }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--brand-d); color: var(--on-brand); }
:lang(bn) .numbered li::before { content: counter(n, bengali); }
.numbered b { color: var(--text); }
.badges { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: var(--soft); }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges .i { color: var(--hi); }
.clocks { display: flex; flex-wrap: wrap; gap: 10px; }
.clock { padding: 12px 16px; border-radius: var(--r-m); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.clock small { display: block; color: var(--mute); font-size: 0.78rem; }
.clock b { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- long documents ---------- */
.doc { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .doc { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } .toc { position: sticky; top: calc(var(--header) + 24px); } }
.toc { display: grid; gap: 2px; font-size: 0.92rem; }
.toc b { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.toc a { text-decoration: none; color: var(--soft); padding: 6px 0 6px 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--text); border-color: var(--hi); }
.prose { max-width: 46rem; color: var(--soft); display: grid; gap: 16px; min-width: 0; }
.prose h2 { color: var(--text); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-top: 28px; scroll-margin-top: calc(var(--header) + 24px); }
.prose h3 { color: var(--text); font-size: 1.15rem; margin-top: 10px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose b, .prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

/* ---------- Moment viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 12px max(16px, env(safe-area-inset-bottom, 0px)); background: rgba(12, 12, 12, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.viewer-in { position: relative; display: grid; gap: 12px; justify-items: center; width: min(100%, 420px); }
.viewer-card { position: relative; width: 100%; max-height: calc(100svh - 150px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #2A2A2F; color: #fff; container-type: inline-size; isolation: isolate; box-shadow: 0 0 0 3px transparent, 0 40px 90px -30px #000; }
@media (max-height: 760px) { .viewer-card { width: auto; height: calc(100svh - 150px); } }
.viewer-card > img, .viewer-card > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.viewer-card > video { z-index: -1; }
.viewer-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 22%, transparent 55%, rgba(0, 0, 0, 0.78)); pointer-events: none; }
.viewer-top { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.viewer-top .av { width: 44px; height: 44px; }
.viewer-top small { display: block; font-weight: 600; opacity: 0.85; font-size: 0.82rem; }
.viewer-tag { margin-left: auto; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.5); }
.viewer-card .sticker { left: 16px; bottom: 96px; font-size: clamp(18px, 6cqw, 25px); max-width: 68%; }
.viewer-foot { position: absolute; left: 16px; right: 84px; bottom: 22px; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.viewer-acts { position: absolute; right: 14px; bottom: 18px; display: grid; gap: 12px; }
/* as in the app: gift and video intro in the gradient, the free hello white */
.act { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--brand-d); color: #fff; box-shadow: 0 8px 20px -8px #000; transition: transform 0.15s; }
.act:hover { transform: scale(1.08); }
.act .i { width: 26px; height: 26px; }
.act.hi { background: #fff; color: #1C1C1E; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.act.hi.is-sent { background: var(--brand-d); color: #fff; box-shadow: none; animation: pop 0.4s; }
@keyframes pop { 50% { transform: scale(1.25); } }
.viewer-msg { position: absolute; left: 14px; right: 14px; top: 76px; padding: 12px 14px; border-radius: 16px; background: rgba(24, 24, 24, 0.92); font-size: 0.92rem; font-weight: 600; line-height: 1.4; box-shadow: inset 0 0 0 1px var(--line-2); }
.viewer-x, .viewer-prev, .viewer-next { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(39, 39, 39, 0.9); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: inset 0 0 0 1px var(--line-2); z-index: 2; }
.viewer-x { right: 0; top: -58px; }
.viewer-prev { left: -62px; top: 44%; } .viewer-next { right: -62px; top: 44%; }
@media (max-width: 600px) { .viewer-x { right: 10px; top: 10px; background: rgba(0, 0, 0, 0.55); } .viewer-top { right: 66px; } .viewer-tag { display: none; } .viewer-prev, .viewer-next { top: auto; bottom: -58px; } .viewer-prev { left: 0; } .viewer-next { right: 0; } .viewer-in { padding-bottom: 0; } }
.viewer-cta { min-height: 46px; }

/* ---------- toast, sticky CTA ---------- */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 95; max-width: min(92vw, 460px); padding: 14px 18px; border-radius: 16px; background: var(--tip); color: #fff; font-weight: 700; font-size: 0.95rem; box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.6); }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--night-2) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--line-2); translate: 0 140%; transition: translate 0.35s; }
.sticky-cta.is-on { translate: 0 0; }
.sticky-cta p { font-weight: 700; font-size: 0.9rem; line-height: 1.25; margin-right: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night-2); border-top: 1px solid var(--line); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; color: var(--soft); }
.foot-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; } }
.foot-brand { display: grid; gap: 14px; align-content: start; max-width: 320px; }
.foot-brand svg { height: 48px; width: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
@media (min-width: 900px) { .foot-cols { display: contents; } }
.foot-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
:lang(bn) .foot-col h4, :lang(hi) .foot-col h4 { letter-spacing: 0.02em; text-transform: none; font-size: 0.9rem; }
.foot-col ul { display: grid; gap: 9px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-col small { color: var(--mute); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.socials a:hover { background: var(--night-4); }
.socials svg { width: 19px; height: 19px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); align-items: baseline; }
.foot-langs b { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-right: 8px; }
.foot-langs a, .foot-langs button { border: 0; background: none; padding: 2px 0; cursor: pointer; color: var(--mute); text-decoration: none; font-weight: 600; }
.foot-langs a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-langs a.is-on { color: var(--hi); }
.foot-country { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); position: relative; }
.foot-country .country { position: static; } /* the menu lines up with the row's left edge, so it fits a 360px phone */
.foot-region { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.foot-region > b { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.foot-country .country-btn { color: var(--text); }
.foot-theme { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.foot-theme > b { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
:lang(bn) .foot-theme > b, :lang(hi) .foot-theme > b, :lang(bn) .foot-region > b, :lang(hi) .foot-region > b { letter-spacing: 0.02em; text-transform: none; font-size: 0.9rem; }
.theme-pick { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--night-4); box-shadow: inset 0 0 0 1px var(--line); }
.theme-pick button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; font-size: 0.86rem; color: var(--soft); white-space: nowrap; }
.theme-pick button:hover { color: var(--text); }
.theme-pick button[aria-pressed="true"] { background: var(--night-3); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16), inset 0 0 0 1px var(--line); }
@media (min-width: 760px) { .foot-theme { margin-left: auto; } }
.foot-bottom { display: grid; gap: 8px; margin-top: 24px; font-size: 0.82rem; color: var(--mute); }
.has-sticky .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .has-sticky .site-footer { padding-bottom: 40px; } }

/* ---------- small helpers ---------- */
.center { text-align: center; justify-items: center; margin-inline: auto; }
.mascot { width: min(240px, 60%); }
.plus-mark { display: block; width: 132px; }
.plus-mark svg { fill: url(#yupi-grad-plus); }
.plus-mark svg { width: 100%; height: auto; }
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.swatch { border-radius: var(--r-m); overflow: hidden; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.swatch i { display: block; height: 84px; box-shadow: inset 0 0 0 1px var(--line); }
.swatch div { padding: 12px 14px; font-size: 0.88rem; }
.swatch small { display: block; color: var(--mute); }
.logo-tile { display: grid; place-items: center; padding: 40px; border-radius: var(--r-l); min-height: 200px; }
.logo-tile svg { width: min(240px, 70%); height: auto; }
.logo-tile svg { fill: url(#yupi-grad); }
.logo-tile span svg { fill: url(#yupi-grad-plus); }
.logo-tile.on-grad { background: linear-gradient(135deg, #EF5035 0%, #EF5035 30%, #F0BA26 100%); }
.logo-tile.on-grad svg { fill: #FFFFFF; }
.bigstats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.bigstat { padding: 24px; border-radius: var(--r-l); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.bigstat b { display: block; width: fit-content; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; padding-bottom: 6px; background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.bigstat span { color: var(--soft); font-size: 0.95rem; }
.quad { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; border-radius: var(--r-l); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.82rem; font-weight: 700; }
.quad::before, .quad::after { content: ""; position: absolute; background: var(--line-2); }
.quad::before { left: 50%; top: 8%; bottom: 8%; width: 1px; } .quad::after { top: 50%; left: 8%; right: 8%; height: 1px; }
.quad span { position: absolute; translate: -50% -50%; text-align: center; color: var(--mute); }
.quad .axis { color: var(--soft); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.quad .us { padding: 8px 14px; border-radius: 99px; background: var(--brand); color: var(--on-brand); }

/* ---------- investor page: the two pitch PDFs, one under the other, numbered 1 and 2 ---------- */
.pdocs { display: grid; gap: 16px; }
.pdoc { display: grid; border-radius: var(--r-l); overflow: hidden; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.pdoc-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-2); }
.pdoc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pdoc-cover:hover img { transform: scale(1.03); }
.pdoc-body { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 26px 24px 30px; }
.pdoc-step { display: flex; align-items: center; gap: 16px; }
.pdoc-num { flex: none; min-width: 0.6em; font-size: clamp(3.4rem, 6vw, 4.2rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.05em; background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; } /* a plain numeral, not a filled circle that could pass for a button */
.pdoc-step .eyebrow { margin-bottom: 6px; }
.pdoc-step h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.pdoc-inside { display: grid; gap: 10px; }
.pdoc-inside > p { color: var(--soft); }
.pdoc-meta { color: var(--mute); font-size: 0.92rem; font-weight: 600; }
.pdoc .ticks { gap: 8px; font-size: 0.96rem; }
.pdoc .ticks b { color: var(--text); }
@media (min-width: 860px) {
  .pdoc { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; }
  .pdoc-cover { margin: 22px 0 22px 22px; border-radius: var(--r-m); box-shadow: 0 0 0 1px var(--line); }
  .pdoc-body { gap: 11px; padding: 22px 30px; }
}
/* On a laptop each PDF is one slim row: picture, then number, title and button, then what is inside.
   Both rows and the headline fit one MacBook screen (measured at 1512 x 829 and 1440 x 775). */
@media (min-width: 1100px) {
  .pdoc { grid-template-columns: clamp(200px, 16vw, 240px) minmax(0, 1fr); }
  .pdoc-cover { margin: 16px 0 16px 20px; }
  .pdoc-body { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 32px; row-gap: 0; align-items: start; padding: 16px 26px 16px 28px; }
  .pdoc-step, .pdoc-meta, .pdoc-body > .btn { grid-column: 1; }
  .pdoc-step { grid-row: 2; gap: 14px; } .pdoc-meta { grid-row: 3; margin-top: 8px; }
  .pdoc-step h3 { font-size: 1.5rem; }
  .pdoc-step .eyebrow { margin-bottom: 4px; }
  .pdoc-num { font-size: 3.3rem; }
  .pdoc-body > .btn { grid-row: 4; min-height: 44px; margin-top: 12px; } /* number, title and button sit together, centred beside the list */
  .pdoc-inside { grid-column: 2; grid-row: 1 / span 5; align-self: center; gap: 6px; }
  .pdoc-inside > p { font-size: 0.96rem; }
  .pdoc .ticks { gap: 4px; font-size: 0.92rem; }
}
/* a short laptop window: drop the one-line summary so both rows still fit */
@media (min-width: 1100px) and (max-height: 760px) { .pdoc-inside > p { display: none; } }
@media (max-width: 520px) { .pdoc .btn { width: 100%; white-space: normal; } }

/* ---------- pages that should fit a laptop screen (.fit, the investor page) ----------
   The headline is short, section gaps follow the height of the window, and no section is taller than one MacBook screen. */
.fit .page-hero { padding-block: clamp(28px, 5vh, 64px) clamp(10px, 2vh, 24px); }
.fit .page-hero .wrap { gap: 14px; }
.fit .page-hero .h1 { font-size: clamp(1.8rem, min(9.2vw, 8.4vh), 4.2rem); }
.fit .page-hero .lede { max-width: none; }
.fit .band { padding-block: clamp(48px, 9vh, 88px); }
.fit .band-s { padding-block: clamp(36px, 6vh, 64px); }
.fit .sec-head { margin-bottom: clamp(22px, 4vh, 40px); }
.fit #documents { padding-top: clamp(10px, 2vh, 24px); }
.fit #documents .sec-head { max-width: none; gap: 8px; margin-bottom: clamp(14px, 2.4vh, 22px); }
.fit #documents .sec-head .h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); }

/* ---------- even rows (Rony, 2026-11-12: "4 by 2 looks really weird") ----------
   A row of boxes never ends in a short last row. The columns come from how many boxes there are (2, 3, 4, 5, 6, 8 or 9),
   not from how many happen to fit: six sit 6 x 1, 3 x 2, 2 x 3 or 1 x 6, never 4 + 2 or 5 + 1.
   media/even_rows.mjs checks every page at eight widths. */
:is(.grid, .timeline):has(> :nth-child(n + 2):last-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) {
  :is(.grid, .timeline):is(:has(> :nth-child(2):last-child), :has(> :nth-child(4):last-child), :has(> :nth-child(6):last-child), :has(> :nth-child(8):last-child)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
  :is(.grid, .timeline):is(:has(> :nth-child(3):last-child), :has(> :nth-child(6):last-child), :has(> :nth-child(9):last-child)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  :is(.grid, .timeline):is(:has(> :nth-child(4):last-child), :has(> :nth-child(8):last-child)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  :is(.grid, .timeline):has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  :is(.grid, .timeline):has(> :nth-child(5):last-child) > .card { padding: 22px; }
}
@media (min-width: 760px) { .grid.personas:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* bigger cards for a 3 x 2 block */
.grid.roomy { gap: 20px; }
.grid.roomy > .card { padding: clamp(26px, 3vw, 36px); gap: 12px; }
.grid.roomy > .card .h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.grid.roomy > .card p { font-size: 1.05rem; }
/* stat boxes: three stay on one line; six go 2 x 3, 3 x 2, then one line of six, a little smaller */
.bigstats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bigstats:has(> :nth-child(6):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .bigstats:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .bigstats:has(> :nth-child(6):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .bigstats:has(> :nth-child(6):last-child) .bigstat { padding: 20px 16px; }
  .bigstats:has(> :nth-child(6):last-child) .bigstat b { font-size: clamp(1.9rem, 2.9vw, 2.5rem); }
  .bigstats:has(> :nth-child(6):last-child) .bigstat span { font-size: 0.86rem; line-height: 1.35; display: block; }
}
@media (max-width: 559px) { .bigstat { padding: 18px 16px; } .bigstats:has(> :nth-child(3):last-child) .bigstat b { font-size: 1.6rem; } }
/* nine colour swatches: always 3 x 3 */
.swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* three clocks, three calculator results, four emergency numbers: one line, or 2 x 2 for the four on a phone */
.clocks { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; }
.calc-out { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.emergency { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 559px) {
  .clocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .clock { padding: 10px 12px; } .clock b { font-size: 1.05rem; }
  .calc-out { gap: 8px; } .calc-out div { padding: 12px; } .calc-out b { font-size: 1.25rem; }
  .emergency { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the four Yupi+ lengths: 2 x 2, or one line of four where the card is wide enough */
.plan { container-type: inline-size; }
.seg:has(> :nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 460px) { .seg:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } .seg:has(> :nth-child(4):last-child) button { padding: 0 8px; } }
/* buttons that share a line on a computer and stack full width on a phone, so a third one never wraps alone */
@media (max-width: 859px) { .cta-even { flex-direction: column; align-items: stretch; width: min(100%, 420px); } .cta-even .btn { white-space: normal; text-align: center; } }

/* ---------- investor page: the two founders ---------- */
.team { display: grid; gap: 20px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.member { display: grid; grid-template-columns: clamp(104px, 28%, 168px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-l); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.member > img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--r-m); }
.member-body { display: grid; gap: 8px; align-content: start; justify-items: start; }
.member .role { color: var(--hi); font-weight: 700; font-size: 0.92rem; }
.member-body > p:not(.role) { color: var(--soft); font-size: 0.98rem; }
/* the three mascots share one line at every width */
.mascots { display: grid; grid-template-columns: repeat(3, minmax(0, 120px)); gap: clamp(10px, 3vw, 20px); align-items: end; justify-content: start; padding: 24px; border-radius: var(--r-l); }
.mascots img { width: 100%; height: auto; }
/* clocks: the times line up even when a label takes two lines */
.clock { display: grid; align-content: space-between; }
/* rows of chips and jump links: one line that slides sideways on a phone or tablet, never a short second line */
.chips::-webkit-scrollbar, .jump::-webkit-scrollbar { display: none; }
@media (max-width: 759px) {
  .chips { flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .chips .chip { flex: none; }
}
@media (max-width: 859px) {
  .jump { flex-wrap: nowrap; gap: 22px; overflow-x: auto; scrollbar-width: none; justify-self: stretch; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); padding-bottom: 4px; }
  .jump a { flex: none; white-space: nowrap; }
}

/* ======================================================================================================
   Design pass 2 (15 Nov 2026): the Figma "PROPOSED WEB DESIGN" (10403:744) and its review, block by block.
   Plain DAY / NIGHT pages (grey #F2F2F7 page with white cards in Day, #141416 with #1C1C1F cards in Night).
   The brand doodle stays only on the language band, faded. Pictures and videos are the same per-country ones.
   ====================================================================================================== */
.page-hero::before { content: none; }
.raised { --night-3: var(--card-in-band); }

/* buttons: secondary = filled grey pill; outline pill for the "more" buttons; text links in Yupi blue */
.btn-ghost { background: var(--night-4); color: var(--text); box-shadow: none; }
.btn-ghost:hover { background: color-mix(in srgb, var(--night-4) 88%, var(--text)); }
.raised .btn-ghost { background: var(--card-in-band); }
.film .btn-ghost, .viewer .btn-ghost { background: rgba(255, 255, 255, 0.18); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-line:hover { background: var(--hover); }
.link { color: var(--link); border-bottom-color: color-mix(in srgb, var(--link) 35%, transparent); }
.link:hover { border-color: var(--link); }

/* hero: four straight Moment cards in two columns, the right one set lower (the country's own Moments) */
.hero-side { display: grid; gap: 4px; }
.hero-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; padding-bottom: 40px; }
.hero-cards .mo { aspect-ratio: 3 / 4; border-radius: 24px; }
.hero-cards .mo:nth-child(even) { translate: 0 40px; }
.hero-cards .mo:hover { transform: translateY(-4px); }
@media (max-width: 899px) {
  .hero-home .wrap { display: grid; min-height: 0; gap: 18px; padding-bottom: 28px; }
  .hero-home .hero-copy { padding-block: 28px 0; }
  .hero-home .hero-copy::before { content: none; }
  .hero-home .btn-sun, .hero-home .btn-ghost { flex: 1 1 0; display: inline-flex; min-height: 52px; font-size: 1rem; }
  .hero-home .wall-hint { position: static; display: flex; justify-content: flex-end; margin-top: -8px; }
  .hero-home .wall-pause { color: var(--soft); }
  .hero-home .wall-pause i { width: 28px; height: 28px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }
}
@media (min-width: 600px) and (max-width: 899px) { .hero-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hero-cards .mo:nth-child(even) { translate: 0 24px; } }
@media (min-width: 900px) {
  .hero-home .wrap { min-height: min(820px, calc(100svh - var(--header) - var(--topbar))); align-content: center; row-gap: 0; }
  .hero-side { width: min(100%, 470px); justify-self: end; }
  .hero-home .wall-hint { margin-top: 0; }
}

/* Moment captions: white words on the photo, as in the app (no coloured sticker labels) */
.sticker, .sticker.vermilion, .sticker.teal, .sticker.ink, .sticker.paper { background: none; color: #fff; padding: 0; border-radius: 0; transform: none; rotate: none; font-size: clamp(12px, 7cqw, 20px); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

/* the language band: a quiet band, every third word in the gradient, the brand ornament behind it (.orn) */
.hello { background: var(--night-2); border-block: 1px solid var(--line); padding-block: 22px 18px; }
.hello-row { font-size: clamp(1.45rem, 2.5vw, 2.1rem); gap: 0.8em; }
.hello-row span { color: var(--text); }
.hello-row span:nth-of-type(3n) { background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hello-cap { margin-top: 4px; }
@media (hover: hover) { .hello:hover .hello-row { animation-play-state: paused; } }

/* How it works: grey number circles, the open step is a white card with the gradient number, no progress line */
.step::before { background: var(--night-4); box-shadow: none; }
.step[aria-selected="true"] { background: var(--night-3); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), inset 0 0 0 1px var(--line); }
.step i, .step[aria-selected="true"] i { display: none; }
.how-more { margin: 22px 0 0 20px; }

/* chips as in the app: idle = card + thin line, picked = gradient */
.chip { background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }

/* Who it's for: white card, photo on top, label, title and words below */
.persona { display: flex; flex-direction: column; align-content: stretch; min-height: 0; padding: 0; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.persona > img { position: static; height: auto; aspect-ratio: 16 / 10; z-index: auto; }
.persona::after { content: none; }
.persona-text { display: grid; gap: 6px; padding: 18px 22px 24px; }
.persona .eyebrow { margin-bottom: 0; }
.persona p:not(.eyebrow) { color: var(--soft); margin-top: 0; font-size: 0.98rem; }
@media (max-width: 759px) { .personas .persona { min-height: 0; } }

/* Safety: a plain block, gradient icon circles, the four promises in two columns */
@media (min-width: 600px) { #safety .points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; } }

/* Why: the big stat in a charcoal card with the gradient ring (same in Day and Night, like the app's Wallet) */
.stat.big { display: grid; gap: 12px; align-content: start; justify-self: stretch; max-width: 34rem; padding: clamp(24px, 3vw, 36px); border-radius: 28px; }
.stat.big .stat-num { font-size: clamp(3.4rem, 7vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; }
.stat.big p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 700; line-height: 1.45; }
.stat.big small { margin-top: 0; }
.why .lede { max-width: 32em; }

/* Yupi Tables (AU): a plain card in the page */
.tables-card { padding: clamp(24px, 4vw, 44px); border-radius: 24px; }
.tables-card .h2 { max-width: 16em; }
.tables-card .inline-form input { background: var(--night-4); border-color: transparent; }

/* FAQ: every question in its own card, the open one shows the gradient minus */
.faq { gap: 10px; border-top: 0; }
.faq details { border-bottom: 0; border-radius: 20px; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { padding: 18px 64px 18px 22px; font-size: clamp(1rem, 1.3vw, 1.12rem); }
.faq summary::after { right: 18px; width: 30px; height: 30px; font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; rotate: none; }
.faq .a { padding: 0 22px 20px; }

/* the closing photo band: the country's own photo, now a rounded card in the page */
.film:not(.viewer) { width: calc(100% - 2 * var(--gut)); max-width: var(--wrap); margin: 0 auto clamp(56px, 7vw, 104px); border-radius: 32px; }
.film .wrap { padding-inline: clamp(24px, 4vw, 56px); }
main > .film:first-child { margin-top: clamp(12px, 2vw, 24px); }
.hero-side .wall-hint { grid-column: auto; }

/* The brand ornament exactly as the Figma frames draw it (YUPI 4.0 > 01 FOUNDATIONS), on the language band and on Safety.
   Day:   "Background Pattern" 8413:73609, #C6C5C4 doodles on #DDDDDD, its own size (655 px tile).
   Night: "Patterns", #828282 doodles on #5C5C5C, its own size (745 px tile).
   Both frames are at 30 %, so the layer is too. The tiles are built from the Figma exports by media/figma_assets.py. */
.orn { position: relative; isolation: isolate; }
/* Figma 10526:1066-1077: pattern.svg tiled at 560 px (Figma holds it as a 1120 px double-resolution image) from the block's top-left corner; black at 0.8 % by day, white at 0.6 % at night */
.orn::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #fff; opacity: 0.006; -webkit-mask: url("../brand/pattern.svg") 0 0 / 560px auto repeat; mask: url("../brand/pattern.svg") 0 0 / 560px auto repeat; }
:root[data-theme="day"] .orn::before { background: #000; opacity: 0.008; }

/* ---- Figma web design, 21 Nov 2026 (items 2, 4, 5, 7, 8, 9 of the review) ---- */

/* 7 · calmer spacing: blocks breathe 104 px top and bottom at most, as in the Figma frames */
/* Figma: 56 on a phone (390), 80 on an iPad (834), 104 on a computer (1440) */
.band { padding-block: 56px; }
.band-s { padding-block: 40px; }
@media (min-width: 760px) { .band { padding-block: 80px; } .band-s { padding-block: 56px; } }
@media (min-width: 1200px) { .band { padding-block: 104px; } .band-s { padding-block: 64px; } }
/* footer: 56 top on a phone, 72 top and 104 bottom on a computer */
.site-footer { padding-top: 56px; }
@media (min-width: 900px) { .site-footer, .has-sticky .site-footer { padding-top: 72px; padding-bottom: 104px; } }
#near .rail { padding-bottom: 8px; }

/* 2 · three small faces before the proof line */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.proof-faces { display: inline-flex; flex: none; }
.proof-faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; padding: 2px; background: var(--brand-d); box-shadow: 0 0 0 2px var(--night); } /* gradient ring, as in Figma */
.proof-faces img + img { margin-left: -9px; }

/* 4 · questions: heading on top with the Help Centre link on the right, the questions in one column under it */
.faq-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.faq-col { max-width: 900px; }
.faq { gap: 12px; }
.faq summary { padding: 20px 64px 20px 20px; }
.faq .a { padding: 0 20px 20px; }

/* 5 · footer bottom row: country, the Day / Night / Auto switch, then the company line on the right */
.foot-theme { margin-left: 0 !important; }
.theme-pick { padding: 4px; gap: 2px; box-shadow: none; }
.theme-pick button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; min-height: 32px; }
.theme-pick button[aria-pressed="true"] { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.foot-country .country-btn { background: var(--night-4); box-shadow: none; }
.foot-country .country-btn:hover { background: var(--hover); }
.theme-pick svg { width: 14px; height: 14px; flex: none; }
.foot-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.foot-legal { display: flex; align-items: center; min-height: 40px; font-size: 0.82rem; color: var(--mute); }
@media (min-width: 760px) { .foot-legal { margin-left: auto; } }

/* 8 · store buttons: a phone sees only its own store; a computer sees just the QR code where there is one */
:root[data-platform="ios"] .store[data-store="android"], :root[data-platform="android"] .store[data-store="ios"] { display: none; }
@media (min-width: 760px) { :root[data-platform="desktop"] .stores:has(+ .qr) { display: none; } }

.point .ico { width: 44px; height: 44px; }
/* 9 · Safety: promise icons 44 px; the faint Figma doodle stays behind it (.orn); the phone shows My Profile as in the app (DAY and NIGHT) */
.scr-profile { --pf-bg: #F2F2F7; --pf-card: #FFFFFF; --pf-chip: #F2F2F7; --pf-text: #1C1C1E; --pf-sub: #6E6E73; --pf-line: #E5E5EA; --pf-done: #DCEFF2;
  background: var(--pf-bg); color: var(--pf-text); display: flex; flex-direction: column; gap: 3cqw; padding: 0 4.5cqw; font-size: 4.1cqw; }
:root[data-theme="night"] .scr-profile { --pf-bg: #141416; --pf-card: #1C1C1F; --pf-chip: #2A2A2F; --pf-text: #FFFFFF; --pf-sub: #A1A1A6; --pf-line: #2C2C30; --pf-done: #10343A; }
.scr-profile .st { color: var(--pf-text); }
.pf-bar { position: relative; display: flex; justify-content: center; align-items: center; margin: 0 -4.5cqw; padding: 14cqw 4.5cqw 3cqw; border-bottom: 1px solid var(--pf-line); background: var(--pf-card); }
.pf-bar b { font-size: 1.08em; }
.pf-tools { position: absolute; right: 4.5cqw; bottom: 3cqw; display: flex; gap: 2.6cqw; }
.pf-tools svg { width: 5.6cqw; height: 5.6cqw; }
.pf-card { display: grid; gap: 2.4cqw; padding: 3.6cqw; border-radius: 5cqw; background: var(--pf-card); }
.pf-top { display: flex; align-items: center; gap: 3.4cqw; }
.pf-ring { position: relative; flex: none; width: 21cqw; aspect-ratio: 1; padding: 0.8cqw; border-radius: 50%; background: var(--bermuda); }
.pf-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 0.8cqw var(--pf-card); }
.pf-ring i { position: absolute; left: 50%; bottom: -1.6cqw; translate: -50% 0; padding: 0.2em 0.6em; border-radius: 99px; background: var(--bermuda); color: #fff; font-style: normal; font-weight: 700; font-size: 0.72em; }
.pf-who { display: grid; gap: 0.3cqw; min-width: 0; }
.pf-who b { font-size: 1.3em; line-height: 1.15; }
.pf-who small { color: var(--pf-sub); font-size: 0.86em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-bio { font-size: 0.86em; }
.pf-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.pf-btns span { padding: 0.6em 0.2em; border-radius: 99px; background: var(--pf-chip); text-align: center; font-weight: 700; font-size: 0.8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-done { display: flex; align-items: center; gap: 2.6cqw; padding: 3cqw 3.6cqw; border-radius: 5cqw; background: var(--pf-done); }
.pf-done i { flex: none; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--bermuda); color: #fff; display: grid; place-items: center; }
.pf-done i svg { width: 3.8cqw; height: 3.8cqw; }
.pf-done span { display: grid; gap: 0.4cqw; min-width: 0; }
.pf-done b { font-size: 0.9em; }
.pf-done small { color: var(--pf-sub); font-size: 0.76em; line-height: 1.3; }
.pf-done em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 0.8em; color: var(--pf-sub); }
.pf-plus { position: relative; display: flex; align-items: center; min-height: 30cqw; border-radius: 5cqw; overflow: hidden; background: var(--pf-card); box-shadow: inset 0 0 0 0.7cqw transparent; border: 0.7cqw solid transparent; background: linear-gradient(var(--pf-card), var(--pf-card)) padding-box, var(--brand-d) border-box; }
.pf-plus-mark { display: grid; justify-items: center; gap: 1cqw; width: 55%; }
.pf-plus-mark svg { width: 26cqw; height: auto; fill: url(#yupi-grad-plus); }
.pf-plus-mark small { font-size: 0.8em; font-weight: 600; letter-spacing: 0.3em; }
/* Figma: the Yupi+ card stays white with its orange edge in Night too */
:root[data-theme="night"] .pf-plus { --pf-card: #FFFFFF; color: #1C1C1E; }
.pf-plus img { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.pf-h { margin-top: 1cqw; font-weight: 700; font-size: 0.98em; }
.pf-story { display: flex; align-items: center; gap: 2cqw; padding: 3cqw 3.6cqw; border-radius: 4cqw; background: var(--pf-card); font-size: 0.86em; }
.pf-story span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-story svg { width: 4.6cqw; height: 4.6cqw; flex: none; }
.pf-nav { position: absolute; left: 4cqw; right: 4cqw; bottom: 6cqw; display: flex; justify-content: space-around; align-items: center; padding: 2.6cqw 2cqw; border-radius: 99px; background: var(--pf-card); box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.14); color: var(--pf-text); }
.pf-nav .i, .pf-nav-logo { width: 6.4cqw; height: 6.4cqw; }
.pf-nav-logo { display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 0.5cqw currentColor; }
.pf-nav-logo svg { width: 72%; height: auto; }
.pf-nav img { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; object-fit: cover; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.pf-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2.4cqw; }

/* ---- Figma web design, 21 Nov 2026 — the 12 further differences ---- */
/* 1 · header: solid surface, a thin line always under it, 76 px tall from iPad up */
.site-header { background: var(--night-2); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line); }
@media (min-width: 760px) { :root { --header: 76px; } }
/* 2 · header buttons 40 px with 24 px sides */
@media (min-width: 900px) { .header-cta .btn { min-height: 40px; padding: 0 24px; } }
/* 3 · the active step is a plain white card with a thin border, no shadow */
.step[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--line); }
/* 4 · outline buttons 48 px */
.btn-line, .btn-line.btn-sm { min-height: 48px; }
/* 5 · filter chips 40 px */
.chip { min-height: 40px; }
/* 6 · arrow buttons beside a row: 44 px, surface colour, thin border */
.rail-nav .round { width: 44px; height: 44px; background: var(--night-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.rail-nav .round:hover { background: var(--hover); }
/* 7 · Near you cards 282 x 366 from iPad up */
@media (min-width: 760px) { #near .rail .mo { width: 282px; aspect-ratio: 282 / 366; } }
/* 8 · stat card: 24 px corners, 32 px inside */
.stat.big { border-radius: 24px; padding: clamp(24px, 3vw, 32px); }
/* 9 · Yupi Tables card: dashed edge, 48 px inside */
.tables-card { box-shadow: none; border: 1.5px dashed var(--line-2); padding: clamp(24px, 4vw, 48px); }
/* 10 · social icons: filled circles */
.socials a { background: var(--night-4); box-shadow: none; }
.socials a:hover { background: var(--hover); }
/* 12 · the Tables sign-up field 52 px */
.tables-card .inline-form input { min-height: 52px; height: 52px; padding-block: 0; }

/* ---- Figma web design, third pass (26 Nov 2026 evening): the greys and the type scale of the Desktop 1440 frames ---- */
/* Body copy is the secondary grey (Night #A1A1A6, Day #6E6E73) and Day text #1C1C1E: the tokens at the top. */
/* Header links: 15 px SemiBold in the text colour. */
.nav a { color: var(--text); font-size: 15px; }
/* Headlines 64 / 70 and 48 / 56; the hero's words 19 / 28. */
.h1 { font-size: clamp(1.8rem, 9.2vw, 4rem); line-height: 1.094; }
.h2 { font-size: clamp(1.75rem, 4.3vw, 3rem); line-height: 1.167; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.1875rem); line-height: 1.474; }
:lang(bn) .h1, :lang(hi) .h1 { line-height: 1.24; }
:lang(bn) .h2, :lang(hi) .h2 { line-height: 1.24; }
/* The hero's Moments: two columns of 280-wide cards, 16 apart (the frame's 576 px column beside the words). */
.hero-cards { gap: 16px; }
@media (min-width: 1200px) { .hero-home .wrap { grid-template-columns: minmax(0, 1fr) 576px; } .hero-home .hero-side { width: 576px; } }

/* ---- Figma web design, fourth pass (26 Nov 2026 night): the review of the live site against the Desktop 1440, iPad 834 and Phone 390 frames ---- */
/* The two greys the frames use beyond the tokens above: text/tertiary (the ticker's dots) and border/subtle (quiet edges). */
:root { --tert: #6E6E73; --subtle: #2C2C30; --wrap: 1200px; }
:root[data-theme="day"] { --tert: #96969C; --subtle: #E5E5EA; }
@media (min-width: 760px) { :root { --gut: 40px; } }
/* Type: no tracking anywhere in the frames. */
.display, .h2, .h3 { letter-spacing: 0; }
.h1 { font-size: clamp(2.25rem, 10.25vw, 4rem); }
/* No glows: buttons and phones sit flat on the page, as in the frames. */
.btn-sun, .btn-sun:hover { box-shadow: none; }
.stage::before { content: none; }

/* Header: logo left, the links pushed right beside Log in and Get the app; on a phone, Get the app and a round menu button (Log in is in the menu). */
.brand svg { height: 32px; }
@media (min-width: 900px) { .nav { margin-left: auto; } .header-cta { margin-left: 0; } }
@media (max-width: 899px) { .header-cta .btn:not(.login) { display: inline-flex; min-height: 40px; padding: 0 18px; } }
@media (max-width: 599px) { .header-cta .login { display: none; } }
.menu-btn { border-radius: 50%; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--subtle); }

/* Hero: the words in one weight (no gradient word; the line break is dropped in the template), the proof line in one weight, 14 px. */
.hero-home .display em { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
.proof { font-size: 14px; font-weight: 600; color: var(--soft); }
.proof b { color: inherit; font-weight: inherit; }
.proof > span:last-child { flex: 1 1 0; min-width: 12em; }
@media (min-width: 900px) {
  .hero-home .wrap { min-height: 0; padding-block: 88px 104px; align-content: normal; align-items: center; }
  .hero-home .hero-copy { padding-block: 0; gap: 24px; max-width: 560px; }
  .hero-home .lede { max-width: 520px; }
  .hero-cards { padding-bottom: 56px; }
  .hero-cards .mo { aspect-ratio: 280 / 330; }
  .hero-cards .mo:nth-child(even) { translate: 0 56px; }
}
@media (min-width: 1200px) { .hero-home .wrap { column-gap: 64px; } }
/* Phone: 48 above the words, the two buttons full width one under the other, the Moments a row that slides sideways. */
@media (max-width: 599px) {
  .hero-home .wrap { gap: 32px; padding-bottom: 56px; }
  .hero-home .hero-copy { padding-top: 48px; gap: 20px; }
  .hero-home .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-home .btn-sun, .hero-home .btn-ghost { flex: none; width: 100%; }
  .hero-cards { display: flex; gap: 12px; padding: 0 var(--gut); margin-inline: calc(-1 * var(--gut)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .hero-cards::-webkit-scrollbar { display: none; }
  .hero-cards .mo, .hero-cards .mo:nth-child(even) { flex: 0 0 56%; translate: none; scroll-snap-align: start; }
}

/* Language band: words 28 px Bold with no tracking, the dots in the tertiary grey, the caption 14 px Bold after a gradient globe. */
.hello-row { font-size: clamp(1.375rem, 2.5vw, 1.75rem); letter-spacing: 0; }
.hello-row i { color: var(--tert); opacity: 1; font-size: 0.786em; align-self: center; }
.hello-cap { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; }
.hello-cap .i { width: 16px; height: 16px; }

/* How it works: numbers 01 to 04 at 14 px, titles 20 px, the words 16 / 24, the open step 520 wide. */
.step { column-gap: 16px; }
.step::before { content: counter(step, decimal-leading-zero); font-size: 14px; }
.step b { font-size: clamp(1.125rem, 1.6vw, 1.25rem); letter-spacing: 0; line-height: 1.2; }
.step span { font-size: 16px; line-height: 24px; }
@media (min-width: 900px) { .how-steps { max-width: 520px; } }

/* Near you: the heading with the two arrows on its right, the chips under it, the row of Moments starting under the heading and running off the right edge. */
.near-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 32px); }
.near-top .sec-head { margin-bottom: 0; }
.rail-nav { flex: none; gap: 10px; }
.round .i { width: 20px; height: 20px; }
.rail-nav .round { box-shadow: inset 0 0 0 1px var(--subtle); }
.near-chips { margin-bottom: 16px; }
.chip { font-size: 14px; box-shadow: inset 0 0 0 1px var(--subtle); }
.chip[aria-pressed="true"] { box-shadow: none; }
.rail { scroll-padding-inline: var(--gut); }
#near .rail { margin-right: min(calc(-1 * var(--gut)), calc((100% - 100vw) / 2)); }

/* Safety: each promise a small stack (icon, title, words), two columns 24 apart. */
#safety .points { gap: 24px; max-width: 640px; }
#safety .point { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 300px; }
#safety .point .ico { grid-row: auto; width: 44px; height: 44px; }
#safety .point b { font-size: 18px; line-height: 1.25; align-self: start; }
#safety .point > span:not(.ico) { grid-column: 1; font-size: 15px; line-height: 1.5; }

/* Yupi Tables (AU): straight under Why, a thin dashed edge, the words on the left and the sign-up on the right. */
#tables { padding-top: 0; }
.tables-card { border: 1px dashed var(--subtle); padding: clamp(24px, 4vw, 48px); }
.tables-card .h2 { font-size: clamp(1.625rem, 3vw, 2rem); line-height: 1.15; }
.tables-card .inline-form { gap: 12px; }
@media (min-width: 900px) {
  .tables-card { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 48px; align-items: center; }
  .tables-card > :not(form) { grid-column: 1; }
  .tables-card > form { grid-column: 2; grid-row: 1 / span 3; }
}

/* The closing photo card: the App Store and Google Play buttons show on a computer too, beside the QR code. */
@media (min-width: 760px) { :root[data-platform="desktop"] .stores:has(+ .qr) { display: flex; } }

/* Footer: links 14 SemiBold in the text colour, small capitals for the headings, languages plain, the company line on one line. */
.foot-brand svg { height: 32px; }
.foot-col a { font-size: 14px; font-weight: 600; color: var(--text); }
.foot-col h4, .foot-langs b { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.foot-langs a, .foot-langs button { font-size: 14px; font-weight: 600; color: var(--soft); text-decoration: none; }
.foot-langs a:hover, .foot-langs a.is-on { color: var(--text); }
.foot-legal { display: block; min-height: 0; font-size: 13px; }
.country-btn { padding-left: 12px; }
.country-cur .i { width: 18px; height: 18px; }
