/* =========================================================
   Randly — main stylesheet
   ========================================================= */

/* ---------- fonts ---------- */
@font-face { font-family: Lufga; font-weight: 600; font-style: normal; font-display: swap;
  src: url(../fonts/lufga-600.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


/* script fonts (downloaded only when a page uses those characters) */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-devanagari-400-normal.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: Jost; font-weight: 400; font-display: swap; src: url(../fonts/jost-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Lexend; font-weight: 400; font-display: swap; src: url(../fonts/lexend-vietnamese-400-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: Lexend; font-weight: 400; font-display: swap; src: url(../fonts/lexend-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lexend; font-weight: 400; font-display: swap; src: url(../fonts/lexend-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-devanagari-500-normal.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: Jost; font-weight: 500; font-display: swap; src: url(../fonts/jost-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Lexend; font-weight: 500; font-display: swap; src: url(../fonts/lexend-vietnamese-500-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: Lexend; font-weight: 500; font-display: swap; src: url(../fonts/lexend-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lexend; font-weight: 500; font-display: swap; src: url(../fonts/lexend-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-devanagari-600-normal.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: Jost; font-weight: 600; font-display: swap; src: url(../fonts/jost-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Lexend; font-weight: 600; font-display: swap; src: url(../fonts/lexend-vietnamese-600-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: Lexend; font-weight: 600; font-display: swap; src: url(../fonts/lexend-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lexend; font-weight: 600; font-display: swap; src: url(../fonts/lexend-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Mada; font-weight: 400; font-display: swap; src: url(../fonts/mada-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: Mada; font-weight: 500; font-display: swap; src: url(../fonts/mada-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: Mada; font-weight: 700; font-display: swap; src: url(../fonts/mada-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- tokens ---------- */
:root {
  --crimson: #C9184A;
  --bordo: #4C222E;
  --dark: #2B0D17;
  --pudra: #FBECF0;
  --pink: #F3688B;
  --ink: #141414;
  --muted: #5C4A50;
  --pale: #EBCBD5;
  --line: #EBDDE1;
  --footer: #1A080E;

  --f-display: Lufga, 'Poppins', system-ui, sans-serif;
  --f-body: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 92px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: #fff; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--crimson); }
a:hover { color: var(--bordo); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .nav :focus-visible, .cta :focus-visible, .safety :focus-visible, .footer :focus-visible { outline-color: #fff; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -0.045em; color: var(--dark); text-wrap: balance; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; color: var(--dark); }
.body { font-size: 18px; line-height: 1.6; color: var(--muted); }
.accent { color: var(--crimson); }
.accent-pink { color: var(--pink); }
.accent-dark { color: var(--dark); }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); }
.eyebrow--pink { color: var(--pink); }
.sec-head { display: flex; flex-direction: column; gap: 18px; }

/* ---------- store button ---------- */
.btn-store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(60, 0, 20, .22); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .2s; }
.btn-store:hover { color: #fff; background: #000; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(60, 0, 20, .3); }
.btn-store:active { transform: translateY(0) scale(.98); }
.btn-store svg { flex: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: sticky; top: 0; z-index: 50; background: var(--crimson); transition: box-shadow .3s, background .3s; }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; transition: padding .3s var(--ease); }
.nav.is-scrolled { background: rgba(201, 24, 74, .94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px rgba(60, 0, 20, .18); }
.nav.is-scrolled .nav__bar { padding-block: 14px; }
.nav__logo { display: flex; flex: none; }
.nav__logo img { height: 44px; width: auto; transition: height .3s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 38px; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); margin-left: auto; }
.nav__menu a { position: relative; color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.nav__menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__menu a:hover::after, .nav__menu a[aria-current="true"]::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 10px; margin-left: clamp(14px, 2.4vw, 32px); }
.lang { position: relative; }
.lang > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; font-size: 14px; transition: background .2s; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover, .lang[open] > summary { background: rgba(255, 255, 255, .24); }
.lang__chev { transition: transform .3s var(--ease-out); }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; width: 240px; max-height: min(70vh, 560px); overflow: auto; padding: 8px; margin: 0; list-style: none;
  background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(43, 13, 23, .28); }
.lang__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang__menu a:hover { background: var(--pudra); color: var(--ink); }
.lang__menu a[aria-current="true"] { background: var(--pudra); color: var(--crimson); font-weight: 600; }
.lang__menu a small { font-size: 12px; color: #8A7A80; text-transform: uppercase; letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .lang[open] .lang__menu { animation: menuIn .28s var(--ease-out); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
}
.nav__toggle { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.nav__toggle svg path { transition: transform .35s var(--ease-out); transform-origin: center; }
.nav__toggle[aria-expanded="true"] .menu-l1 { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .menu-l2 { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav__bar { padding-block: 16px; }
  .nav__logo img { height: 38px; }
  .nav__toggle { display: grid; }
  .js .nav__menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px var(--gutter) 24px; background: var(--crimson); box-shadow: 0 20px 30px rgba(60, 0, 20, .2);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s; }
  .js .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease-out); }
  .js .nav__menu a { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .js .nav__menu a::after { display: none; }
  html:not(.js) .nav__bar { flex-wrap: wrap; }
  html:not(.js) .nav__menu { order: 3; width: 100%; flex-wrap: wrap; }
  html:not(.js) .nav__toggle { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--crimson); overflow: clip; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(32px, 6vw, 88px); padding-bottom: clamp(64px, 9vw, 128px); }
.hero__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(52px, 8vw, 116px); line-height: .95; letter-spacing: -0.05em; color: #fff; }
.hw { display: inline-block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.hw > span { display: inline-block; }
.hw--accent { color: var(--dark); }
.hero__lead { max-width: 460px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.hero__chips li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .7; }

.hero__fan { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; align-items: center; padding: 20px 0 40px; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.fan__card { --w: clamp(92px, 10vw, 150px); position: relative; z-index: var(--z); width: var(--w); flex: none;
  transform: rotate(var(--r)) translateY(var(--y)); }
.fan__card + .fan__card { margin-left: calc(-1 * clamp(22px, 2.6vw, 38px)); }
.fan__card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; border: 5px solid #fff; box-shadow: 0 20px 44px rgba(70, 0, 25, .38); background: var(--bordo);
  transition: transform .5s var(--ease-out); }
.fan__card:hover img { transform: translateY(-10px) scale(1.03); }
@media (max-width: 700px) {
  .fan__card { --w: 24vw; }
  .fan__card img { border-width: 4px; border-radius: 16px; }
  .fan__card + .fan__card { margin-left: -8vw; }
}

.qr { display: none; align-items: center; gap: 16px; margin-top: 4px; padding: 12px 18px 12px 12px; border-radius: 22px; background: rgba(255, 255, 255, .12); width: fit-content; }
.qr img { width: 92px; height: 92px; border-radius: 12px; background: #fff; padding: 6px; }
.qr strong { display: block; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.qr span { display: block; max-width: 200px; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.45; margin-top: 4px; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .qr { display: flex; } }

/* =========================================================
   COMMUNITY STRIP
   ========================================================= */
.community { padding-top: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.community__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.community__head .h2 { max-width: 640px; }
.community__head .body { max-width: 360px; font-size: 17px; }
.strip { overflow: hidden; padding-bottom: 36px; }
.strip__track { display: flex; width: max-content; }
.strip__item { flex: none; width: clamp(130px, 14vw, 200px); margin-right: 16px; transform: translateY(var(--y)); }
.strip__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; background: var(--pudra); }
html:not(.js) .strip__track { margin-inline: auto; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding-block: var(--sec); }
.mf { max-width: 1040px; font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 5.4vw, 78px); line-height: 1.08; letter-spacing: -0.045em; }
.mf__w { color: var(--dark); transition: color .35s ease; }
.mf__w--accent { color: var(--crimson); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { background: var(--pudra); }
.how__inner { display: flex; flex-direction: column; gap: 48px; padding-block: var(--sec); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding: 0; list-style: none; }
.step { background: #fff; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 18px;
  transition: opacity .5s var(--ease), transform .6s var(--ease-out), box-shadow .5s; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__no { font-family: var(--f-display); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -0.05em; color: var(--crimson); transition: transform .6s var(--ease-out); transform-origin: left bottom; }
.step__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--pudra); color: var(--crimson); display: grid; place-items: center; }
.step p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.how__progress { display: none; height: 4px; border-radius: 4px; background: rgba(201, 24, 74, .14); overflow: hidden; }
.how__progress i { display: block; height: 100%; width: 100%; background: var(--crimson); border-radius: inherit; transform: scaleX(var(--p, 0)); transform-origin: left; }

/* =========================================================
   DIFFERENCE (chat)
   ========================================================= */
.diff__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: var(--sec); }
.diff__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.diff__copy .body { max-width: 480px; }
.diff__visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.chat { width: 100%; max-width: 440px; background: var(--pudra); border-radius: 36px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.chat__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.chat__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.chat__name { font-family: var(--f-display); font-weight: 600; font-size: 19px; }
.chat__status { font-size: 13px; color: #1B7F45; display: flex; align-items: center; gap: 6px; }
.chat__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #23A55A; }
.bubble { max-width: 85%; font-size: 17px; line-height: 1.4; padding: 16px 20px; }
.bubble--me { align-self: flex-end; background: var(--crimson); color: #fff; border-radius: 24px 24px 6px 24px; }
.bubble--them { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 24px 24px 24px 6px; box-shadow: 0 8px 20px rgba(76, 34, 46, .08); }
.bubble__read { display: inline-block; margin-left: 8px; vertical-align: -4px; color: #fff; }
.bubble__read svg { display: block; }
.chat__reply { display: grid; }
.chat__reply > * { grid-area: 1 / 1; justify-self: start; align-self: end; }
.typing { display: none; }

/* =========================================================
   FEATURES
   ========================================================= */
.features { background: var(--pudra); padding-block: var(--sec); }
.features__title { max-width: 720px; margin-bottom: 48px; }
.features__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .features__grid { grid-template-columns: 1fr; } }
.feat { min-width: 0; background: #fff; border-radius: 32px; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 20px; transition: box-shadow .5s var(--ease-out); }
.feat:hover { box-shadow: 0 24px 50px rgba(76, 34, 46, .10); }
.feat__visual { height: clamp(200px, 22vw, 260px); border-radius: 22px; background: var(--pudra); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.feat p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* chat visual */
.fv-chat { display: flex; flex-direction: column; gap: 10px; width: 80%; }
.fv-chat__in { align-self: flex-start; background: #fff; color: var(--ink); font-size: 14px; padding: 10px 14px; border-radius: 18px 18px 18px 6px; box-shadow: 0 6px 14px rgba(76, 34, 46, .1); }
.fv-chat__voice { align-self: flex-end; display: flex; align-items: center; gap: 8px; background: var(--crimson); padding: 10px 14px 10px 10px; border-radius: 18px 18px 6px 18px; }
.fv-chat__play { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.fv-chat__time { color: #fff; font-size: 12px; }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { display: block; width: 4px; height: var(--h); border-radius: 2px; background: #fff; transform-origin: center; }

/* stories visual */
.fv-stories { display: flex; gap: 14px; }
.story { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--bordo); font-weight: 600; }
.story__ring { position: relative; width: 62px; height: 62px; border-radius: 50%; padding: 3px; background: #E3DCDF; isolation: isolate; overflow: hidden; }
.story--new .story__ring { background: none; }
.story--new .story__ring::before { content: ''; position: absolute; inset: -20%; z-index: -1; background: conic-gradient(var(--crimson), var(--pink), var(--crimson)); }
.story__ring img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; }

/* nearby visual */
.fv-near { position: relative; width: 100%; height: 100%; }
.fv-near img { position: absolute; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.fv-near__main { left: 14%; top: 20%; width: 74px; height: 74px; box-shadow: 0 10px 22px rgba(76, 34, 46, .2); z-index: 2; }
.fv-near__pulse { position: absolute; left: calc(14% + 37px); top: calc(20% + 37px); width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: rgba(201, 24, 74, .18); z-index: 1; transform: scale(1); opacity: 0; }
.fv-near__tag { position: absolute; z-index: 3; left: calc(14% + 90px); top: calc(20% + 20px); display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 30px; background: #fff; box-shadow: 0 10px 24px rgba(76, 34, 46, .18); font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.fv-near__tag > svg { box-sizing: content-box; padding: 7px; border-radius: 50%; background: var(--crimson); }
.fv-near__tag b { color: var(--crimson); font-weight: 600; }
.fv-near__o1 { right: 14%; bottom: 12%; width: 58px; height: 58px; opacity: .85; }
.fv-near__o2 { left: 12%; bottom: 10%; width: 48px; height: 48px; opacity: .75; }

/* visibility visual */
.fv-vis { display: flex; flex-direction: column; gap: 10px; width: 84%; }
.toggle { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; }
.toggle > div { flex: 1; }
.toggle__label { font-weight: 600; font-size: 14px; color: var(--ink); }
.toggle__sub { font-size: 12px; color: #6E6E76; }
.switch { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: var(--crimson); transition: background .35s; }
.switch i { position: absolute; top: 3px; left: 21px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .15); transition: left .4s var(--ease-out); }

/* =========================================================
   SAFETY
   ========================================================= */
.safety { background: var(--dark); color: #fff; }
.safety__inner { display: flex; flex-direction: column; gap: 48px; padding-block: var(--sec); }
.safety .sec-head { max-width: 640px; }
.safety .h2, .safety .h3 { color: #fff; }
.safety__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.safe { min-width: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: background .4s, border-color .4s; }
.safe:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.safe .h3 { font-size: 24px; }
.safe p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .76); }
.safe__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--crimson); display: grid; place-items: center; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-block: var(--sec); }
.faq__grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); }
.faq__head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.faq__head .body { font-size: 16px; }
.faq__list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 8px 0;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -0.02em; color: var(--dark); transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--crimson); }
.faq__icon { flex: none; color: var(--crimson); transition: transform .4s var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 680px; padding-bottom: 24px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* =========================================================
   CTA
   ========================================================= */
.cta__panel { background: var(--crimson); }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-block: clamp(80px, 11vw, 150px); }
.cta__mark { height: 72px; width: auto; }
.cta .h2 { color: #fff; max-width: 820px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--footer); color: rgba(255, 255, 255, .74); font-size: 15px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 40px; width: auto; align-self: flex-start; }
.footer__company { font-style: normal; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .62); max-width: 380px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer__col { display: flex; flex-direction: column; gap: 4px; }
.footer__col h2 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.footer__col a { color: inherit; text-decoration: none; padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; padding-bottom: max(32px, env(safe-area-inset-bottom)); font-size: 13px; color: rgba(255, 255, 255, .62); }


/* =========================================================
   PER-SCRIPT TYPOGRAPHY
   ========================================================= */
html[data-script="cyrillic"] { --f-display: Lufga, Jost, sans-serif; --f-body: Poppins, Jost, system-ui, sans-serif; }
html[data-script="vietnamese"] { --f-display: Lexend, system-ui, sans-serif; --f-body: Lexend, system-ui, sans-serif; }
html[data-script="arabic"] { --f-display: Mada, Lufga, sans-serif; --f-body: Mada, Poppins, system-ui, sans-serif; }
html[data-script="devanagari"] { --f-display: Lufga, Poppins, sans-serif; }
html[lang="ja"] { --f-display: Lufga, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', Meiryo, sans-serif; --f-body: Poppins, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', Meiryo, sans-serif; }
html[lang="ko"] { --f-display: Lufga, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; --f-body: Poppins, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html[lang="zh-Hans"] { --f-display: Lufga, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; --f-body: Poppins, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }

/* CJK: no negative tracking, a little more leading, balanced line breaks */
html[data-script="cjk"] :is(.h2, .h3, .hero__title, .mf, .step__no, .faq__item summary) { letter-spacing: -0.01em; }
html[data-script="cjk"] :is(.h2, .mf) { line-height: 1.18; word-break: keep-all; }
html[data-script="cjk"] .hero__title { line-height: 1.12; word-break: keep-all; }
html[data-script="cjk"] .hero__title { font-size: clamp(46px, 6.6vw, 96px); }
html[data-script="cjk"] :is(.body, p) { line-height: 1.75; }
html[lang="ko"] :is(.h2, .mf, .hero__title, p) { word-break: keep-all; }

/* Arabic: never track (breaks joining), taller lines */
html[data-script="arabic"] :is(.h2, .h3, .hero__title, .mf, .faq__item summary, .btn-store, .eyebrow) { letter-spacing: 0; }
html[data-script="arabic"] .hero__title { line-height: 1.2; font-weight: 700; }
html[data-script="arabic"] :is(.h2, .mf) { line-height: 1.3; font-weight: 700; }
html[data-script="arabic"] .h3 { font-weight: 700; }
html[data-script="arabic"] .eyebrow { text-transform: none; font-size: 15px; }

/* Devanagari: room for the head-line and matras */
html[data-script="devanagari"] :is(.h2, .h3, .hero__title, .mf, .faq__item summary) { letter-spacing: -0.01em; }
html[data-script="devanagari"] .hero__title { line-height: 1.25; }
html[data-script="devanagari"] :is(.h2, .mf) { line-height: 1.3; }
html[data-script="devanagari"] .hw { padding-top: .12em; margin-top: -.12em; }

/* Vietnamese & Cyrillic: diacritics need a bit more line-height */
html[data-script="vietnamese"] .hero__title, html[data-script="cyrillic"] .hero__title { line-height: 1.04; }
html[data-script="vietnamese"] :is(.h2, .mf) { line-height: 1.14; }
html[data-script="vietnamese"] .hw { padding-top: .08em; margin-top: -.08em; }

/* long headlines in some languages */
html:is([lang="de"], [lang="ru"], [lang="vi"], [lang="pt"], [lang="fr"], [lang="es"], [lang="id"]) .h2 { font-size: clamp(32px, 4.6vw, 64px); hyphens: auto; }

/* =========================================================
   RTL (Arabic)
   ========================================================= */
[dir="rtl"] .fan__card + .fan__card { margin-left: 0; margin-right: calc(-1 * clamp(22px, 2.6vw, 38px)); }
@media (max-width: 700px) { [dir="rtl"] .fan__card + .fan__card { margin-left: 0; margin-right: -8vw; } }
[dir="rtl"] .strip, [dir="rtl"] .fv-near { direction: ltr; }
[dir="rtl"] .nav__menu a::after { transform-origin: right; }
[dir="rtl"] .how__progress i { transform-origin: right; }
[dir="rtl"] .bubble--me { border-radius: 24px 24px 24px 6px; }
[dir="rtl"] .bubble--them { border-radius: 24px 24px 6px 24px; }
[dir="rtl"] .bubble__read { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .fv-chat__in { border-radius: 18px 18px 6px 18px; }
[dir="rtl"] .fv-chat__voice { border-radius: 18px 18px 18px 6px; padding: 10px 10px 10px 14px; }
[dir="rtl"] .switch i { left: 3px; }
[dir="rtl"] .btn-store { padding: 0 22px 0 28px; }

/* =========================================================
   MOTION — only with JS and when the user allows motion.
   Without JS (or with reduced motion) everything above is the final state.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* generic reveal */
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal="card"] { transform: translate3d(0, 48px, 0) scale(.96); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* hero: words rise, fan opens */
  .js .hw > span { transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease-out); transition-delay: calc(150ms + var(--i) * 90ms); }
  .js.is-loaded .hw > span { transform: none; }
  .js .hero__lead, .js .hero__cta, .js .hero__chips { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
  .js .hero__lead { transition-delay: .45s; } .js .hero__cta { transition-delay: .55s; } .js .hero__chips { transition-delay: .65s; }
  .js.is-loaded .hero__lead, .js.is-loaded .hero__cta, .js.is-loaded .hero__chips { opacity: 1; transform: none; }
  .js .fan__card { opacity: 0; transform: translate3d(calc((2 - var(--i)) * 72%), 40px, 0) rotate(0deg);
    transition: transform 1.4s var(--ease-out), opacity .6s var(--ease); transition-delay: calc(350ms + var(--i) * 45ms), 300ms; }
  .js .fan__card:nth-child(3) { opacity: 1; }
  [dir="rtl"].js .fan__card, .js [dir="rtl"] .fan__card { transform: translate3d(calc((var(--i) - 2) * 72%), 40px, 0) rotate(0deg); }
  .js.is-loaded[dir="rtl"] .fan__card { transform: rotate(var(--r)) translateY(var(--y)); }
  .js.is-loaded .fan__card { opacity: 1; transform: rotate(var(--r)) translateY(var(--y)); }

  /* marquee */
  .js .strip__track { animation: marquee 70s linear infinite; }
  @keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

  /* manifesto fill */
  .js .mf__w { color: var(--pale); }
  .js .mf__w.on { color: var(--dark); }
  .js .mf__w--accent.on { color: var(--crimson); }

  /* chat sequence */
  .js .chat [data-at] { opacity: 0; transform: translate3d(0, 14px, 0) scale(.96); transition: opacity .45s var(--ease), transform .6s var(--ease-out); }
  .js .bubble--me[data-at] { transform-origin: right bottom; }
  .js .bubble--them[data-at] { transform-origin: left bottom; }
  .js .chat .bubble__read[data-at] { transform: scale(.4); }
  .js .chat [data-at].on { opacity: 1; transform: none; }
  .js .typing { display: inline-flex; align-self: flex-start; gap: 5px; padding: 16px 20px; background: #fff; border-radius: 24px 24px 24px 6px; box-shadow: 0 8px 20px rgba(76, 34, 46, .08); }
  .js .typing i { width: 8px; height: 8px; border-radius: 50%; background: #C9B5BC; animation: typing 1.2s infinite ease-in-out; }
  .js .typing i:nth-child(2) { animation-delay: .15s; } .js .typing i:nth-child(3) { animation-delay: .3s; }
  @keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

  /* features micro-motion */
  .js .feat.is-in .wave i { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -90ms); }
  @keyframes wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
  .js .feat.is-in .story--new .story__ring::before { animation: spin 3.2s linear infinite; }
  @keyframes spin { to { transform: rotate(1turn); } }
  .js .feat.is-in .fv-near__pulse { animation: pulse 2.2s var(--ease) infinite; }
  @keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
  .js .feat .switch { background: #D9CDD1; }
  .js .feat .switch i { left: 3px; }
  .js .feat.is-in .switch { background: var(--crimson); transition-delay: calc(.6s + var(--i) * .25s); }
  .js .feat.is-in .switch i { left: 21px; transition-delay: calc(.6s + var(--i) * .25s); }
  .js .feat .fv-near__tag { opacity: 0; transform: translate3d(-10px, 0, 0) scale(.9); transition: opacity .5s var(--ease), transform .7s var(--ease-out); transition-delay: .5s; }
  .js .feat.is-in .fv-near__tag { opacity: 1; transform: none; }

  /* safety: background darkens, icons draw */
  .js .safety { background: color-mix(in srgb, var(--dark) calc(var(--p, 1) * 100%), var(--pudra)); }
  .js .safe__icon .draw [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); transition-delay: calc(.35s + var(--i, 0) * .12s); }
  .js .safe__icon .draw rect { fill-opacity: 0; transition: stroke-dashoffset 1.1s var(--ease), fill-opacity .5s .9s; }
  .js .safe.is-in .draw [pathLength] { stroke-dashoffset: 0; }
  .js .safe.is-in .draw rect { fill-opacity: 1; }

  /* CTA: panel expands, mark grows */
  .js .cta { background: #fff; }
  .js .cta__panel { clip-path: inset(calc((1 - var(--p, 1)) * 7%) calc((1 - var(--p, 1)) * 6%) round calc((1 - var(--p, 1)) * 64px)); will-change: clip-path; }
  .js .cta__mark { transform: scale(calc(.55 + var(--p, 1) * .45)); opacity: calc(var(--p, 1) * 1.4 - .2); }
  .js .btn-store--glow { animation: glow 2.8s ease-in-out infinite; }
  @keyframes glow { 0%, 100% { box-shadow: 0 12px 28px rgba(60, 0, 20, .22), 0 0 0 0 rgba(255, 255, 255, .0); } 50% { box-shadow: 0 12px 28px rgba(60, 0, 20, .22), 0 0 0 10px rgba(255, 255, 255, .16); } }

  /* pinned scenes (desktop with enough height) */
  @media (min-width: 900px) and (min-height: 700px) {
    .js .how { height: 260vh; }
    .js .how__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
    .js .how__inner { padding-block: 64px; }
    .js .how__progress { display: block; }
    .js .how.is-pinned .step { opacity: .38; transform: scale(.965); }
    .js .how.is-pinned .step.is-active { opacity: 1; transform: none; box-shadow: 0 30px 60px rgba(201, 24, 74, .12); }
    .js .how.is-pinned .step.is-active .step__no { transform: scale(1.18); }
    .js .how.is-pinned .step.is-done { opacity: .7; transform: scale(.985); }

    .js .diff { height: 200vh; }
    .js .diff__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
    .js .diff__grid { padding-block: 64px; }
  }
}

/* Reduced motion: no smooth scrolling either */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   404
   ========================================================= */
.nf { background: var(--crimson); color: #fff; min-height: 100vh; }
.nf__main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 48px var(--gutter); }
.nf__logo img { height: 44px; width: auto; }
.nf__code { font-family: var(--f-display); font-weight: 600; font-size: clamp(120px, 22vw, 260px); line-height: .85; letter-spacing: -0.06em; color: var(--dark); }
.nf .h2 { color: #fff; }
.nf__text { max-width: 420px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.nf__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; max-width: 640px; margin-top: 18px; }
.nf__langs a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 14px; padding: 6px 0; }
.nf__langs a:hover { color: #fff; text-decoration: underline; }

/* hero size for languages with longer slogans */
html:is([lang="es"], [lang="pt"], [lang="fr"], [lang="de"], [lang="id"], [lang="vi"]) .hero__title { font-size: clamp(48px, 7vw, 100px); }
html[data-script="arabic"] .hero__title { font-size: clamp(46px, 6.4vw, 92px); }
