/* Matchy Matchy website. Same tokens as the app (lib/ui/app_theme.dart).
   Layout: editorial, left-aligned type against a phone-sized card deck;
   one night band for the evening activities; the rest stays light and quiet. */
:root {
  --paper: #F5F6FA;
  --card: #FFFFFF;
  --tint: #EFF0F5;
  --ink: #17181D;
  --muted: #676A7B;
  --line: #E4E5EC;
  --red: #D7263D;
  --red-ink: #B81E33;
  --rose: #FF5A7A;
  --blush: #FFF1F3;
  --blush-line: #FFD3DB;
  --wine: #5B1022;
  --wine-text: #F3D5DA;
  --night: #1B1030;
  --night-2: #2B1B3D;
  --violet: #6D3FD1;
  --verified: #3B82F6;
  --verified-tint: #E6EEFD;
  --mint: #2F9E6E;
  --peach: #FC946E;
  --shadow: 0 1px 2px rgba(23, 24, 29, .05), 0 12px 32px -12px rgba(23, 24, 29, .18);
  --brand: linear-gradient(135deg, var(--rose), var(--red));

  --f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101115; --card: #1A1B21; --tint: #22232B; --ink: #F1F1F4; --muted: #A3A6B5; --line: #2C2E38;
    --red: #EC3A52; --red-ink: #FF6F84; --blush: #2A1519; --blush-line: #4A2129; --wine-text: #F3D5DA;
    --verified-tint: #172238; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101115; --card: #1A1B21; --tint: #22232B; --ink: #F1F1F4; --muted: #A3A6B5; --line: #2C2E38;
  --red: #EC3A52; --red-ink: #FF6F84; --blush: #2A1519; --blush-line: #4A2129; --wine-text: #F3D5DA;
  --verified-tint: #172238; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--f-ar); }
html[lang="ar"] { --f-display: var(--f-ar); --f-body: var(--f-ar); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; z-index: 50; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ms { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1; display: inline-block; font-variation-settings: "FILL" 1, "wght" 500; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; user-select: none; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; margin: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 34em; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.muted { color: var(--muted); }
.accent { color: var(--red); }
.nowrap { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 800 1rem/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(215, 38, 61, .7); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .ms { font-size: 1.3em; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 16px; background: var(--ink); color: var(--paper); text-decoration: none; min-height: 56px; }
.store small { display: block; font: 700 .7rem/1.2 var(--f-body); opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.store b { display: block; font: 800 1.05rem/1.2 var(--f-display); }
.store[aria-disabled="true"] { opacity: .88; cursor: default; }
.store svg { width: 26px; height: 26px; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.2rem/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
html[lang="ar"] .brand { font-family: "Bricolage Grotesque", var(--f-ar); }
.brand img { width: 34px; height: 33px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { color: var(--red-ink); }
.langs { display: inline-flex; background: var(--tint); border-radius: 999px; padding: 3px; }
.langs a { text-decoration: none; font: 800 .8rem/1 var(--f-body); padding: 8px 11px; border-radius: 999px; color: var(--muted); }
.langs a[lang="ar"] { font-family: var(--f-ar); font-size: .9rem; padding-block: 6px; }
.langs a[aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--tint); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .top .nav, .top .top-cta { display: none; }
  .top.open .nav { display: flex; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .top.open .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .top.open .nav .btn { margin-top: 8px; }
  .top .langs { margin-inline-start: auto; }
  .menu-btn { margin-inline-start: 8px; }
}
.nav .btn, .nav .langs { display: none; }
@media (max-width: 1020px) { .top.open .nav .langs { display: inline-flex; align-self: flex-start; margin-top: 8px; } }
@media (max-width: 560px) { .top .wrap > .langs { display: none; } .menu-btn { margin-inline-start: auto; } }
@media (max-width: 1020px) { .top.open .nav .btn { display: inline-flex; } }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 56px; }
@media (max-width: 820px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .scribble { position: relative; white-space: nowrap; color: var(--red); }
.hero h1 .scribble svg { position: absolute; inset-inline: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero .lede { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .ms { color: var(--red); font-size: 1.15rem; }
.hello { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: .92rem; }
.hello b { white-space: nowrap; background: var(--blush); color: var(--red-ink); padding: 5px 10px; border-radius: 999px; font: 700 .95rem/1 var(--f-ar); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- swipe deck ---------- */
.deck-zone { position: relative; display: grid; justify-items: center; gap: 22px; }
.deck { position: relative; width: min(100%, 360px); aspect-ratio: 3 / 4.15; touch-action: pan-y; }
.pcard { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; cursor: grab; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s; will-change: transform; }
.pcard:active { cursor: grabbing; }
.pcard .ph { position: absolute; inset: 0; overflow: hidden; }
.pcard .ph i { position: absolute; border-radius: 50%; filter: blur(34px); opacity: .95; }
.pcard .grain { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(10, 6, 14, .78) 100%); }
.pcard .veil { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); color: #fff; font-weight: 800; font-size: .8rem; }
.pcard .body { position: absolute; inset-inline: 0; bottom: 0; padding: 22px; color: #fff; display: grid; gap: 10px; }
.pcard .name { font: 800 1.7rem/1 var(--f-display); letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
html[lang="ar"] .pcard .name { font-family: var(--f-ar); font-weight: 700; }
.pcard .name .ms { color: #6EA8FF; font-size: 1.3rem; }
.pcard .where { font-weight: 700; opacity: .88; font-size: .95rem; display: flex; align-items: center; gap: 4px; }
.pcard .prompt { background: rgba(255, 255, 255, .96); color: #17181D; border-radius: 18px; padding: 12px 14px; font-size: .95rem; line-height: 1.45; }
.pcard .prompt small { display: block; font: 800 .68rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #B81E33; margin-bottom: 4px; }
html[lang="ar"] .pcard .prompt small { letter-spacing: 0; font-size: .78rem; font-family: var(--f-ar); }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .tags span { background: rgba(255, 255, 255, .2); padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pcard .stamp { position: absolute; top: 28px; padding: 6px 14px; border: 4px solid; border-radius: 14px; font: 800 1.6rem/1 var(--f-display); letter-spacing: .02em; opacity: 0; transition: opacity .1s; }
.pcard .stamp.like { inset-inline-start: 22px; color: #3DDC84; transform: rotate(-12deg); }
.pcard .stamp.nope { inset-inline-end: 22px; color: #FF5A7A; transform: rotate(12deg); }
.deck .end { position: absolute; inset: 0; border-radius: 30px; display: grid; place-content: center; gap: 14px; text-align: center; padding: 28px; background: linear-gradient(160deg, var(--night) 0%, var(--wine) 60%, var(--red) 130%); color: #fff; box-shadow: var(--shadow); }
.deck .end h3 { font-size: 2rem; }
.deck .end p { color: var(--wine-text); }
.deck .end .btn { justify-self: center; background: #fff; color: var(--wine); }
.deck-actions { display: flex; align-items: center; gap: 18px; }
.deck-actions button { width: 60px; height: 60px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow); cursor: pointer; color: var(--muted); transition: transform .15s; }
.deck-actions button:hover { transform: scale(1.06); }
.deck-actions .like { width: 72px; height: 72px; background: var(--brand); color: #fff; }
.deck-actions .star { color: var(--verified); }
.deck-actions .ms { font-size: 30px; }
.deck-note { font-size: .82rem; color: var(--muted); font-weight: 600; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); font-weight: 800; font-size: .88rem; white-space: nowrap; z-index: 30; }
.float-chip .ms { color: var(--red); }
.float-chip.c1 { top: 10%; inset-inline-start: 0; transform: rotate(-4deg); }
.float-chip.c2 { bottom: 30%; inset-inline-end: 0; transform: rotate(3deg); }
.float-chip.c2 .ms { color: var(--violet); }
@media (max-width: 480px) { .float-chip { display: none; } }

/* ---------- cities ribbon ---------- */
.ribbon { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; padding-block: 18px; }
.ribbon ul { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; width: max-content; animation: slide 60s linear infinite; }
.ribbon li { font: 800 1.35rem/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 36px; color: var(--ink); }
.ribbon li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.ribbon li span { color: var(--muted); font-family: var(--f-ar); font-weight: 600; font-size: 1.1rem; margin-inline-start: 10px; }
@keyframes slide { to { transform: translateX(-50%); } }
html[dir="rtl"] .ribbon ul { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(50%); } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--r-lg); padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; position: relative; box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { counter-increment: s; content: counter(s); font: 800 3.4rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--blush-line); position: absolute; top: 18px; inset-inline-end: 22px; }
.steps .ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--blush); color: var(--red); }
.steps .ic .ms { font-size: 26px; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--card); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; position: relative; overflow: hidden; }
.tile p { color: var(--muted); }
.tile .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; }
.tile .ic .ms { font-size: 24px; }
.tile a.more { font-weight: 800; color: var(--red-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.tile a.more:hover { text-decoration: underline; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
@media (max-width: 960px) { .span-4, .span-3, .span-2 { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .span-4, .span-3, .span-2 { grid-column: auto; } }
.tile.hero-tile { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
@media (max-width: 640px) { .tile.hero-tile { grid-template-columns: 1fr; } }

/* mini UI fragments drawn in CSS */
.ui-chat { display: grid; gap: 8px; width: min(260px, 100%); }
.ui-chat .b { padding: 10px 14px; border-radius: 18px; font-size: .9rem; font-weight: 600; max-width: 85%; line-height: 1.4; }
.ui-chat .in { background: var(--tint); border-end-start-radius: 6px; }
.ui-chat .out { background: var(--brand); color: #fff; justify-self: end; border-end-end-radius: 6px; }
.ui-chat .call { justify-self: center; font-size: .78rem; font-weight: 800; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; background: var(--tint); padding: 6px 12px; border-radius: 999px; }
.ui-likes { display: grid; grid-template-columns: repeat(3, 56px); gap: 8px; }
.ui-likes i { width: 56px; height: 72px; border-radius: 14px; filter: blur(.5px); position: relative; overflow: hidden; }
.ui-likes i::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(6px); }
.badge-v { display: inline-flex; align-items: center; gap: 6px; background: var(--verified-tint); color: var(--verified); font-weight: 800; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-pills span { padding: 8px 14px; border-radius: 999px; background: var(--tint); font-weight: 800; font-size: .95rem; }
.lang-pills span:nth-child(2) { font-family: var(--f-ar); }

/* ---------- night band (evening activities) ---------- */
.night { background: radial-gradient(120% 90% at 85% 0%, var(--night-2) 0%, var(--night) 55%, #120a1f 100%); color: #fff; position: relative; overflow: hidden; }
.night .eyebrow { color: #FFB3C1; }
.night .lede, .night p { color: #D9CFE6; }
.night h2, .night h3 { color: #fff; }
.night .stars { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 32% 62%, #fff, transparent), radial-gradient(1.4px 1.4px at 58% 12%, #fff, transparent), radial-gradient(1px 1px at 76% 44%, #fff, transparent), radial-gradient(1.2px 1.2px at 90% 80%, #fff, transparent), radial-gradient(1px 1px at 22% 88%, #fff, transparent), radial-gradient(1px 1px at 46% 34%, #fff, transparent); }
.clock { display: grid; justify-items: end; gap: 6px; font: 800 clamp(3.2rem, 7.5vw, 6.6rem)/.9 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; font-family: "Bricolage Grotesque", var(--f-display); }
.clock span { font-size: .38em; color: #FFB3C1; letter-spacing: 0; }
@media (max-width: 820px) { .clock { justify-items: start; } }
.night-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ncard { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.ncard .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #FFB3C1; }
.ncard .when { font-weight: 800; font-size: .82rem; color: #FFB3C1; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .ncard .when { letter-spacing: 0; font-size: .9rem; }
.ncard.big { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
@media (max-width: 960px) { .night-grid { grid-template-columns: 1fr 1fr; } .ncard.big { grid-column: span 2; } }
@media (max-width: 640px) { .night-grid { grid-template-columns: 1fr; } .ncard.big { grid-column: auto; grid-template-columns: 1fr; } }
.blurface { aspect-ratio: 4 / 3; border-radius: 22px; position: relative; overflow: hidden; background: #2a1840; }
.blurface i { position: absolute; border-radius: 50%; filter: blur(26px); }
.blurface .q { position: absolute; inset-inline: 14px; bottom: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); border-radius: 16px; padding: 10px 12px; font-weight: 700; font-size: .88rem; color: #fff; }
.blurface .chips { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; }
.blurface .chips span { background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 5px 10px; font-size: .75rem; font-weight: 800; color: #fff; }
.blurface .chips span.ok { background: #22C55E; }

/* ---------- safety ---------- */
.safety { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .safety { grid-template-columns: 1fr; } }
.checks { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--verified-tint); color: var(--verified); }
.checks h3 { font-size: 1.15rem; margin-bottom: 4px; }
.checks p { color: var(--muted); font-size: .98rem; }
.idcard { background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.idcard .row { display: flex; align-items: center; gap: 14px; }
.idcard .av { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(from 200deg, var(--rose), #FFD996, var(--rose)); padding: 3px; }
.idcard .av i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #E3B98B, #C98F85 70%); border: 3px solid var(--card); }
.idcard .nm { font: 800 1.3rem/1.1 var(--f-display); display: flex; align-items: center; gap: 6px; }
.idcard .nm .ms { color: var(--verified); }
.idcard ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.idcard ol li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--tint); font-weight: 700; font-size: .95rem; }
.idcard ol li .ms { color: var(--mint); }
.idcard ol li.wait .ms { color: var(--peach); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--card); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; font: 800 1.08rem/1.35 var(--f-body); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ms { color: var(--red); transition: transform .2s; flex: none; }
.faq-list details[open] summary .ms { transform: rotate(45deg); }
.faq-list .a { padding: 0 22px 22px; color: var(--muted); max-width: 64em; }
.faq-list .a p + p { margin-top: 10px; }
.faq-group { display: grid; gap: 14px; margin-bottom: 44px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- download ---------- */
.get { background: var(--card); border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.get::before { content: ""; position: absolute; width: 520px; height: 520px; inset-inline-end: -180px; top: -200px; background: radial-gradient(circle, var(--blush) 0%, transparent 65%); }
.get > * { position: relative; }
.get .howto { display: grid; gap: 10px; }
.get .howto div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 18px; background: var(--paper); }
.get .howto .ms { color: var(--red); font-size: 26px; }
.get .howto b { display: block; }
.get .howto p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .get { grid-template-columns: 1fr; } }

/* ---------- inner page hero & content ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.page-hero .wrap { display: grid; gap: 18px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; font-weight: 700; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; font-size: .92rem; padding: 9px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.toc a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.toc a::before { content: "#"; color: var(--red); }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; }
.chapter .txt { display: grid; gap: 16px; }
.chapter .txt ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.chapter .txt li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--muted); }
.chapter .txt li .ms { color: var(--red); font-size: 20px; margin-top: 3px; }
.chapter .txt li b { color: var(--ink); }
.chapter.flip .txt { order: 2; }
.chapter .anchor { font: 800 .8rem/1 var(--f-body); color: var(--muted); text-decoration: none; letter-spacing: .04em; }
.chapter .anchor:hover { color: var(--red); }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } .chapter.flip .txt { order: 0; } }
.stage { background: var(--card); border-radius: 32px; padding: clamp(20px, 3vw, 32px); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; min-height: 300px; position: relative; overflow: hidden; }
.stage.dark { background: linear-gradient(160deg, var(--night-2), var(--night)); box-shadow: none; }
.stage.blush { background: var(--blush); box-shadow: none; }

/* phone frame */
.phone { width: 250px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 38px; background: #0E0B14; padding: 9px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.phone .scr { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--paper); position: relative; display: grid; grid-template-rows: auto 1fr auto; }
.phone .bar { height: 26px; display: flex; justify-content: center; align-items: center; }
.phone .bar::before { content: ""; width: 70px; height: 18px; border-radius: 12px; background: #0E0B14; }
.phone .tabs { display: flex; justify-content: space-around; padding: 10px 8px 14px; background: var(--card); border-top: 1px solid var(--line); color: var(--muted); }
.phone .tabs .ms { font-size: 20px; }
.phone .tabs .on { color: var(--red); }
.phone .in { padding: 8px 12px; display: grid; gap: 8px; align-content: start; overflow: hidden; }
.phone .mini { border-radius: 20px; position: relative; overflow: hidden; height: 100%; min-height: 250px; background: #2a1840; }
.phone .mini i { position: absolute; border-radius: 50%; filter: blur(20px); }
.phone .mini .cap { position: absolute; inset-inline: 10px; bottom: 10px; color: #fff; font: 800 1rem/1.1 var(--f-display); }
.phone .mini .cap small { display: block; font: 700 .7rem/1.3 var(--f-body); opacity: .85; }
.phone .row { background: var(--card); border-radius: 14px; padding: 10px; display: flex; gap: 8px; align-items: center; font-size: .72rem; font-weight: 700; }
.phone .row i { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.phone .row b { display: block; font-size: .78rem; }
.phone .row span { color: var(--muted); display: block; }
.phone .h { font: 800 1.1rem/1 var(--f-display); padding: 6px 2px 2px; }

/* ---------- about ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--card); border-radius: var(--r-md); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.fact b { font: 800 2rem/1 var(--f-display); letter-spacing: -.02em; }
.fact span { color: var(--muted); font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 42em; display: grid; gap: 16px; font-size: 1.08rem; }
.prose p { color: var(--muted); }
.prose p b { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--wine); color: var(--wine-text); padding-block: 72px 36px; margin-top: 24px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot .brand { color: #fff; font-size: 1.5rem; }
.foot .brand img { width: 42px; height: 41px; }
.foot h4 { margin: 0 0 14px; font: 800 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #FFB3C1; }
html[lang="ar"] .foot h4 { letter-spacing: 0; font-size: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600; }
.foot .tag { margin-top: 16px; max-width: 26em; }
.foot-big { font: 800 clamp(3rem, 12vw, 9.5rem)/.85 var(--f-display); letter-spacing: -.05em; color: rgba(255, 255, 255, .08); margin-top: 56px; white-space: nowrap; overflow: hidden; font-family: "Bricolage Grotesque", var(--f-display); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; margin-top: 8px; font-size: .9rem; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon ul { animation: none; }
  .pcard, .btn, .deck-actions button { transition: none; }
}

/* ---------- drawn app screens on inner pages ---------- */
.callbar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.callbar span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 800; font-size: .85rem; }
.callbar .pri { background: linear-gradient(90deg, var(--violet), var(--rose)); }
.totpick { display: grid; justify-items: center; gap: 8px; padding: 22px 12px; border-radius: 22px; background: var(--tint); font-size: 1.05rem; }
.totpick .ms { font-size: 34px; color: var(--muted); }
.totpick.on { background: var(--blush); box-shadow: inset 0 0 0 2px var(--red); }
.totpick.on .ms { color: var(--red); }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.room { border-radius: 18px; padding: 16px 14px; color: #fff; display: grid; gap: 22px; min-height: 104px; align-content: space-between; }
.room .ms { font-size: 24px; }
.room b { font: 800 1rem/1.1 var(--f-display); }
@media (max-width: 420px) { .rooms { grid-template-columns: 1fr 1fr; } }
.sheet { background: var(--card); border-radius: 24px; padding: 20px; width: min(340px, 100%); display: grid; gap: 14px; box-shadow: var(--shadow); }
.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sheet li { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--tint); font-weight: 700; font-size: .95rem; }
.sheet li.on { background: var(--blush); box-shadow: inset 0 0 0 1.6px var(--red); }
.sheet li .ms { color: var(--red); }
.privrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: min(360px, 100%); }
.privrows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); padding: 14px 16px; border-radius: 16px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.privrows b { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.privrows .st0 { color: var(--mint); } .privrows .st1 { color: var(--red); } .privrows .st2 { color: var(--peach); }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-weight: 700; font-size: 1.1rem; }
.hours b { color: #FFB3C1; }
.sos { display: inline-flex; align-items: center; gap: 8px; font: 800 1.2rem/1 var(--f-display); padding: 0 8px; }
.sos .ms { color: var(--red); }
.linkish { background: none; border: 0; color: var(--wine-text); font: 700 .9rem/1 var(--f-body); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; justify-self: center; }
.linkish:hover { color: #fff; }

/* =====================================================================
   MOTION. Everything here is transform/opacity (smooth on phones),
   loops run only while on screen (.live, set by site.js), and all of it
   switches off for people who ask their device to reduce motion.
   ===================================================================== */
:root { --au1: #FFD3DB; --au2: #E7D5FF; --au3: #FFE2CF; --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.2, 1.5, .4, 1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --au1: #4A1020; --au2: #2B1B4D; --au3: #3A1A12; } }
:root[data-theme="dark"] { --au1: #4A1020; --au2: #2B1B4D; --au3: #3A1A12; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 14px; } }

.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
html[dir="rtl"] .progress { transform-origin: 100% 50%; }
@supports (animation-timeline: scroll()) { .progress { animation: grow linear both; animation-timeline: scroll(root); } }
@keyframes grow { to { transform: scaleX(1); } }

.top { transition: border-color .2s, transform .45s var(--ease); }
.top.away { transform: translateY(-110%); }

/* hero light */
.hero { position: relative; isolation: isolate; }
.aurora { position: absolute; inset: -20% -10% -10%; z-index: -1; pointer-events: none; overflow: hidden; filter: blur(70px); opacity: .75; translate: var(--px, 0) var(--py, 0); transition: translate 1.2s var(--ease); }
.aurora i { position: absolute; border-radius: 50%; width: min(52vw, 640px); aspect-ratio: 1; }
.aurora i:nth-child(1) { background: var(--au1); top: 0; inset-inline-end: 0; animation: drift1 19s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: var(--au2); top: 35%; inset-inline-end: 28%; animation: drift2 23s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: var(--au3); top: 45%; inset-inline-start: -8%; animation: drift3 27s ease-in-out infinite alternate; }
@keyframes drift1 { to { translate: -12% 18%; scale: 1.15; } }
@keyframes drift2 { to { translate: 16% -14%; scale: .85; } }
@keyframes drift3 { to { translate: 14% -10%; scale: 1.2; } }

/* hero entrance */
.hero h1 .w { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(.07s * var(--i) + .1s); }
@keyframes rise { from { opacity: 0; translate: 0 .5em; rotate: 3deg; filter: blur(8px); } }
.hero .scribble path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.1s 1s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .hello { animation: fadeup .8s var(--ease) both; }
.hero .lede { animation: fadeup .9s .55s var(--ease) both; }
.hero .hero-cta { animation: fadeup .9s .7s var(--ease) both; }
.hero .hero-facts { animation: fadeup .9s .85s var(--ease) both; }
@keyframes fadeup { from { opacity: 0; translate: 0 22px; } }
.deck { animation: deal 1.1s .35s var(--ease) both; }
@keyframes deal { from { opacity: 0; translate: 0 60px; rotate: 6deg; scale: .9; } }
.deck-actions { animation: fadeup .9s .9s var(--ease) both; }
.deck-note { animation: fadeup .9s 1.1s var(--ease) both; }
.float-chip { transform: none; }
.float-chip.c1 { rotate: -4deg; animation: pop .6s 1.3s var(--spring) both, bob 4.5s 2s ease-in-out infinite alternate; }
.float-chip.c2 { rotate: 3deg; animation: pop .6s 1.6s var(--spring) both, bob 5.2s 2.3s ease-in-out infinite alternate; }
@keyframes pop { from { opacity: 0; scale: .4; } }
@keyframes bob { to { translate: 0 -12px; } }
@supports (animation-timeline: view()) {
  .hero .deck-zone { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
  @keyframes hero-out { to { translate: 0 -70px; scale: .9; opacity: .2; } }
}

/* deck: buttons and the match moment */
.deck-actions button:active { scale: .88; }
.deck-actions .like { animation: beat 2.4s 2.2s ease-in-out infinite; }
@keyframes beat { 0%, 70%, 100% { scale: 1; } 78% { scale: 1.12; } 86% { scale: .97; } }
.mpop { position: absolute; inset: 0; z-index: 40; border-radius: 30px; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 20px; background: radial-gradient(circle at 50% 38%, #FF6A86 0%, #D7263D 45%, #5B1022 100%); color: #fff; font: 800 2.1rem/1.05 var(--f-display); box-shadow: var(--shadow); animation: mpop .55s var(--spring) both; }
html[lang="ar"] .mpop { font-family: var(--f-ar); font-weight: 700; }
.mpop.out { animation: mpop-out .45s ease both; }
@keyframes mpop { from { opacity: 0; scale: .7; rotate: -4deg; } }
@keyframes mpop-out { to { opacity: 0; scale: 1.08; } }
.mp-avs { position: relative; width: 176px; height: 92px; }
.mp-avs i { position: absolute; top: 0; width: 92px; height: 92px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.mp-avs .me { inset-inline-start: 0; background: radial-gradient(circle at 40% 35%, #9FB3A6, #8FA3BF 70%); animation: from-start .7s .1s var(--spring) both; }
.mp-avs .them { inset-inline-end: 0; background: radial-gradient(circle at 40% 35%, var(--tone, #E3B98B), #C98F85 75%); animation: from-end .7s .1s var(--spring) both; }
@keyframes from-start { from { translate: -70px 0; opacity: 0; } }
@keyframes from-end { from { translate: 70px 0; opacity: 0; } }
html[dir="rtl"] .mp-avs .me { animation-name: from-end; } html[dir="rtl"] .mp-avs .them { animation-name: from-start; }
.mp-heart { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; z-index: 2; animation: heartpop .6s .55s var(--spring) both; }
@keyframes heartpop { from { scale: 0; } }
.pt { position: absolute; z-index: 45; pointer-events: none; color: var(--rose); font-size: var(--s, 22px); left: var(--x0); top: var(--y0); animation: fly 1.1s var(--ease) forwards; }
@keyframes fly { from { opacity: 1; translate: -50% -50%; scale: .3; } 60% { opacity: 1; } to { opacity: 0; translate: calc(-50% + var(--dx)) calc(-50% + var(--dy)); scale: 1; rotate: var(--r); } }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rv { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .bento > .rv:nth-child(2n), .night-grid > .rv:nth-child(2), .night-grid > .rv:nth-child(4), .steps > .rv:nth-child(2n), .faq-list > .rv:nth-child(2n), .facts > .rv:nth-child(2n) { animation-range: entry 8% entry 72%; }
    .night-grid > .rv:nth-child(3n+2), .facts > .rv:nth-child(3n) { animation-range: entry 14% entry 80%; }
  }
  @supports not (animation-timeline: view()) {
    html.js .rv { opacity: 0; translate: 0 40px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
    html.js .rv.in { opacity: 1; translate: 0 0; }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 56px; scale: .97; } }

/* cards: tilt and light under the mouse (desktop) */
.tile, .ncard, .fact, .steps li, .get { transition: transform .6s var(--ease), box-shadow .3s; }
.tile::before, .ncard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--rose) 16%, transparent), transparent 62%); }
.ncard { position: relative; overflow: hidden; }
.ncard::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 179, 193, .16), transparent 62%); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover, .ncard:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
  .tile:hover::before, .ncard:hover::before { opacity: 1; }
  .btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(215, 38, 61, .75); }
}
.tile > *, .ncard > * { position: relative; }

/* the ribbon fades at its edges */
.ribbon { mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }

/* things that appear one after the other (site.js adds .play) */
html.js .play .seq { opacity: 0; translate: 0 10px; scale: .96; transition: opacity .45s var(--ease), translate .5s var(--ease), scale .5s var(--ease); }
html.js .play .seq.show { opacity: 1; translate: 0 0; scale: 1; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: var(--tint); width: max-content; border-end-start-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }
.ui-likes .unblur { filter: blur(6px); transition: filter .6s, opacity .45s, translate .5s, scale .5s; }
html.js .play .unblur.show { filter: blur(0); }
.shine { position: relative; overflow: hidden; }
.shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); translate: -120% 0; animation: shine 3.6s 1s ease-in-out infinite; }
@keyframes shine { 40%, 100% { translate: 120% 0; } }
[data-cycle] > * { transition: box-shadow .4s, background .4s, translate .4s var(--ease); }
[data-cycle] > .hl { box-shadow: inset 0 0 0 2px var(--red); background: var(--blush); translate: 0 -2px; }
html[dir="rtl"] [data-cycle] > .hl { translate: 0 -2px; }

/* phone demo stacks (discover): cards swipe away in turn */
.minis { position: relative; }
.minis .mini { position: absolute; inset: 0; }
.minis .s0 { z-index: 3; } .minis .s1 { z-index: 2; } .minis .s2 { z-index: 1; }
.pbtns { display: flex; justify-content: center; gap: 14px; padding: 6px 0 2px; }
.pbtns .ms { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: 0 4px 10px rgba(0, 0, 0, .1); font-size: 18px; color: var(--muted); }
.pbtns .hot { background: var(--brand); color: #fff; }
.pbtns .ms:last-child { color: var(--verified); }
.live .swipe.s0, .screen.on .swipe.s0 { animation: sw0 7.5s var(--ease) infinite; }
.live .swipe.s1, .screen.on .swipe.s1 { animation: sw1 7.5s var(--ease) infinite; }
.live .swipe.s2, .screen.on .swipe.s2 { animation: sw2 7.5s var(--ease) infinite; }
.live .pbtns .hot, .screen.on .pbtns .hot { animation: hot 7.5s infinite; }
@keyframes sw0 { 0%, 18% { transform: none; opacity: 1; } 30% { transform: translateX(140%) rotate(20deg); opacity: 0; } 30.1%, 94% { transform: none; opacity: 0; } 100% { opacity: 1; } }
@keyframes sw1 { 0%, 45% { transform: none; opacity: 1; } 57% { transform: translateX(-140%) rotate(-20deg); opacity: 0; } 57.1%, 95% { transform: none; opacity: 0; } 100% { opacity: 1; } }
@keyframes sw2 { 0%, 72% { transform: none; opacity: 1; } 84% { transform: translateX(140%) rotate(20deg); opacity: 0; } 84.1%, 96% { transform: none; opacity: 0; } 100% { opacity: 1; } }
@keyframes hot { 0%, 14%, 24%, 68%, 78%, 100% { scale: 1; } 19%, 73% { scale: 1.25; } }

/* faces behind blur (Vidéo surprise) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.face { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(255, 240, 230, .55) 0 16%, transparent 16.5%), radial-gradient(ellipse 42% 30% at 50% 100%, rgba(255, 240, 230, .5) 0 98%, transparent 100%); }
.veilblur { position: absolute; inset: 0; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(27, 16, 48, .15); }
.live.vid .veilblur { animation: unveil 8s infinite; }
.live.vid .press { animation: press 8s infinite; }
.matchpop { position: absolute; left: 50%; top: 42%; translate: -50% -50%; display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--red); font-weight: 800; white-space: nowrap; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); opacity: 0; }
.live .matchpop { animation: mpill 8s var(--spring) infinite; }
@keyframes unveil { 0%, 44% { opacity: 1; } 54%, 90% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes press { 0%, 34%, 44%, 100% { scale: 1; filter: none; } 39% { scale: .9; filter: brightness(1.2); } }
@keyframes mpill { 0%, 62% { opacity: 0; scale: .6; } 68%, 86% { opacity: 1; scale: 1; } 92%, 100% { opacity: 0; scale: .9; } }
.callv .callbar .end { background: #E5484D; }

/* Ceci ou cela: a pick, then the compatibility meter fills */
.totrow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.meter { height: 10px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.meter i { display: block; height: 100%; width: 82%; border-radius: inherit; background: var(--brand); transform-origin: 0 50%; }
html[dir="rtl"] .meter i { transform-origin: 100% 50%; }
.live .meter i { animation: fill 6s var(--ease) infinite; }
.live .totpick.a { animation: pick 6s infinite; }
@keyframes fill { 0%, 30% { transform: scaleX(0); } 55%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes pick { 0%, 12% { box-shadow: none; background: var(--tint); } 20%, 92% { box-shadow: inset 0 0 0 2px var(--red); background: var(--blush); } }
.totpick.on { background: var(--tint); box-shadow: none; }

/* verification: scan line, badge pops */
.av.scan { position: relative; overflow: hidden; border-radius: 50%; }
.av.scan::after { content: ""; position: absolute; inset-inline: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(59, 130, 246, .55), transparent); }
.live .av.scan::after { animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { to { top: 100%; } }
.badgepop { display: inline-grid; color: var(--verified); }
.live .badgepop { animation: bpop 4.5s var(--spring) infinite; }
@keyframes bpop { 0%, 55% { scale: 0; } 65%, 100% { scale: 1; } }

/* report sheet: a reason gets picked, then sent */
.sheet li { transition: none; }
.live .sheet li.pick { animation: rpick 6s infinite; }
.live .sheet .press { animation: press2 6s infinite; }
@keyframes rpick { 0%, 20% { background: var(--tint); box-shadow: none; } 28%, 100% { background: var(--blush); box-shadow: inset 0 0 0 1.6px var(--red); } }
@keyframes press2 { 0%, 55%, 65%, 100% { scale: 1; } 60% { scale: .92; } }
.sheet li.pick .ms { opacity: 0; }
.live .sheet li.pick .ms { animation: tick 6s infinite; }
@keyframes tick { 0%, 24% { opacity: 0; scale: .4; } 30%, 100% { opacity: 1; scale: 1; } }

/* misc loops */
.qcard { width: 100%; border-radius: 24px; padding: 24px; background: linear-gradient(135deg, #2B1B3D, #5B1022 55%, #D7263D); background-size: 180% 180%; color: #fff; display: grid; gap: 14px; }
.live .qcard { animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 100%; } }
.room .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; justify-self: end; margin-top: -30px; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
.live .room .dot { animation: ping 2s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.codechip { position: relative; overflow: hidden; }
.live .codechip { animation: wiggle 5s infinite; }
@keyframes wiggle { 0%, 90%, 100% { rotate: 0deg; } 93% { rotate: -2deg; } 96% { rotate: 2deg; } }
.friends { display: flex; gap: 8px; }
.friends i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--card); }

/* blind date conversation */
.bchat { width: 100%; display: grid; gap: 8px; padding: 16px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-size: .9rem; font-weight: 600; min-height: 250px; align-content: start; }
.bchat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.chipq { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: #FFB3C1; }
.timer { font: 800 1.1rem/1 var(--f-display); font-variant-numeric: tabular-nums; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); direction: ltr; }
.bchat .sys { justify-self: center; font-size: .78rem; font-weight: 800; color: #FFB3C1; background: rgba(255, 179, 193, .12); padding: 6px 12px; border-radius: 999px; }
.bchat .b { padding: 10px 14px; border-radius: 18px; max-width: 80%; line-height: 1.4; }
.bchat .b.in { background: rgba(255, 255, 255, .12); border-end-start-radius: 6px; }
.bchat .b.out { background: var(--brand); justify-self: end; border-end-end-radius: 6px; }
.bchat .reveal { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 4px; }
.bchat .reveal b { width: 100%; text-align: center; font: 800 1rem/1.2 var(--f-display); }
.bchat .reveal span { padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 800; }
.bchat .reveal .yes { background: #22C55E; }
.ncard.big .bchat { min-height: 0; }

/* night: live sky and a clock that reaches 21:00 */
.sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.clock em { font-style: normal; display: inline-block; }
.clock em.flip { animation: flip .38s var(--ease); }
@keyframes flip { from { opacity: 0; translate: 0 .35em; filter: blur(4px); } }
.clock.open em { color: #fff; text-shadow: 0 0 40px rgba(255, 90, 122, .7), 0 0 90px rgba(255, 90, 122, .4); animation: glow 2.6s ease-in-out infinite alternate; }
@keyframes glow { to { text-shadow: 0 0 20px rgba(255, 90, 122, .4), 0 0 50px rgba(255, 90, 122, .2); } }

/* how it works: sticky phone playing each step */
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.flow-steps { list-style: none; margin: 0; padding: 0 0 18vh; }
.fstep { min-height: 52vh; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-content: center; transition: opacity .5s var(--ease), translate .5s var(--ease); cursor: pointer; }
html.js .fstep:not(.on) { opacity: .32; }
.fstep .num { font: 800 3.4rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--red); transition: color .4s; font-family: "Bricolage Grotesque", var(--f-display); }
.fstep.on .num { color: var(--red); }
.fstep .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blush); color: var(--red); margin-bottom: 12px; }
.fstep h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 10px; }
.fstep p { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.flow-phone { position: sticky; top: calc(110px + env(safe-area-inset-top, 0px)); display: grid; place-items: center; padding-block: 12px; }
.flow-phone::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--au1), transparent 65%); z-index: -1; opacity: .8; }
.phone.big { width: 290px; }
.screens { position: relative; padding: 0; }
.screen { position: absolute; inset: 0; padding: 10px 14px; display: grid; gap: 10px; align-content: start; opacity: 0; translate: 0 16px; scale: .98; transition: opacity .5s var(--ease), translate .6s var(--ease), scale .6s var(--ease); pointer-events: none; }
.screen.on { opacity: 1; translate: 0 0; scale: 1; }
.screen .h, .screen .sq, .screen .mtitle { font: 800 1.15rem/1.15 var(--f-display); }
html[lang="ar"] .screen .h, html[lang="ar"] .screen .sq, html[lang="ar"] .screen .mtitle { font-family: var(--f-ar); font-weight: 700; }
.sp { height: 6px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.sp i { display: block; height: 100%; width: 34%; border-radius: inherit; background: var(--brand); transform-origin: 0 50%; }
html[dir="rtl"] .sp i { transform-origin: 100% 50%; }
.screen.on .sp i { animation: spfill 1s .2s var(--ease) both; }
@keyframes spfill { from { transform: scaleX(0); } }
.opts { display: grid; gap: 8px; }
.opt { padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 800; font-size: .9rem; }
.screen.on .opt.pick { animation: optpick .4s .8s both; }
@keyframes optpick { to { box-shadow: inset 0 0 0 2px var(--red); background: var(--blush); color: var(--red-ink); } }
.fl { font-size: .72rem; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.field { display: flex; align-items: center; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: .92rem; min-height: 44px; }
.typed { display: inline-block; white-space: nowrap; clip-path: inset(0 0 0 0); }
.screen.on .typed { animation: type 1.1s 1.3s steps(9) both; }
@keyframes type { from { clip-path: inset(0 100% 0 0); } }
html[dir="rtl"] .screen.on .typed { animation-name: type-rtl; }
@keyframes type-rtl { from { clip-path: inset(0 0 0 100%); } }
.caret { width: 2px; height: 18px; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pbtn { display: grid; place-items: center; min-height: 44px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: .9rem; margin-top: 6px; }
.screen.on .pbtn { animation: press 2.8s 2.4s both; }
.oval { position: relative; justify-self: center; width: 160px; height: 200px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 38%, #E3B98B, #C98F85 70%); box-shadow: 0 0 0 4px var(--card), 0 0 0 6px var(--verified); margin-top: 6px; }
.oval .face { background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .35) 0 18%, transparent 18.5%), radial-gradient(ellipse 50% 32% at 50% 100%, rgba(255, 255, 255, .3) 0 98%, transparent 100%); }
.scanline { position: absolute; inset-inline: 0; height: 26%; top: -26%; background: linear-gradient(180deg, transparent, rgba(59, 130, 246, .6), transparent); }
.screen.on .scanline { animation: scan 1.3s .3s ease-in-out 2 both; }
.vbadge { position: absolute; bottom: 10px; left: 50%; translate: -50% 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--verified); scale: 0; }
.screen.on .vbadge { animation: badgein .6s 3s var(--spring) forwards; }
.vbadge { animation-fill-mode: forwards; }
.hint { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; }
.done { justify-self: center; display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; background: #E9F9EF; color: var(--mint); font-weight: 800; font-size: .82rem; opacity: 0; }
.screen.on .done { animation: appear .6s 2.7s var(--ease) forwards; }
.screen .minis { min-height: 250px; }
.s4 { justify-items: center; text-align: center; }
.s4 .mtitle { font-size: 1.6rem; color: var(--red); margin-top: 18px; }
.s4 .avs { position: relative; width: 150px; height: 80px; }
.s4 .avs i { position: absolute; top: 0; width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--card); box-shadow: var(--shadow); }
.s4 .avs .me { inset-inline-start: 0; background: radial-gradient(circle at 40% 35%, #9FB3A6, #8FA3BF 70%); }
.s4 .avs .them { inset-inline-end: 0; background: radial-gradient(circle at 40% 35%, #D9A89C, #FC946E 75%); }
.s4 .mp-heart { box-shadow: 0 6px 16px rgba(215, 38, 61, .35); }
.screen.on .avs .me { animation: from-start .7s .2s var(--spring) both; }
.screen.on .avs .them { animation: from-end .7s .2s var(--spring) both; }
.screen.on .mp-heart { animation: heartpop .6s .7s var(--spring) both; }
.s4 .mtitle { opacity: 0; }
.screen.on .mtitle { animation: popin .6s .9s var(--spring) forwards; }
.s4 .ui-chat { width: 100%; margin-top: 10px; text-align: start; }
.s4 .ui-chat .b { opacity: 0; }
.screen.on .ui-chat .b.in { animation: appear .5s 1.6s var(--ease) forwards; }
.screen.on .ui-chat .b.out { animation: appear .5s 2.6s var(--ease) forwards; }
@media (max-width: 860px) {
  .flow-grid { grid-template-columns: 1fr; gap: 0; }
  .flow-phone { order: -1; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 5; padding-block: 10px 18px; background: linear-gradient(var(--paper) 88%, transparent); }
  .flow-phone::before { width: 90%; }
  .phone.big { width: 172px; }
  .fstep { min-height: 46vh; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .fstep .num { font-size: 2.4rem; }
  .fstep h3 { font-size: 1.5rem; }
  .screen .minis { min-height: 180px; }
  .screen .minis .mini { min-height: 180px !important; }
  .oval { width: 110px; height: 140px; }
  .screen { padding: 8px 10px; gap: 7px; }
  .screen .sq, .screen .h { font-size: .95rem; }
  .opt, .field, .pbtn { padding: 8px 10px; min-height: 34px; font-size: .75rem; }
  .phone.big { width: 196px; }
  .s4 .mtitle { font-size: 1.05rem; margin-top: 8px; }
  .s4 .avs { width: 110px; height: 58px; } .s4 .avs i { width: 58px; height: 58px; }
  .s4 .ui-chat .b { font-size: .68rem; padding: 7px 9px; max-width: 92%; }
}

@keyframes appear { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes popin { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes badgein { from { scale: 0; } to { scale: 1; } }

/* FAQ opens smoothly where supported */
:root { interpolate-size: allow-keywords; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aurora { display: none; }
  html.js .play .seq, html.js .rv { opacity: 1 !important; translate: none !important; scale: 1 !important; filter: none !important; }
  .screen { transition: none; }
  .vbadge, .done, .s4 .mtitle, .s4 .ui-chat .b { opacity: 1; scale: 1; }
  .matchpop { display: none; }
}
.hero h1 .scribble .ink { color: var(--ink); }

/* ---------- legal pages (privacy, terms, cookies) ---------- */
.legal { display: grid; gap: 18px; }
.legal > * { max-width: 860px; }
.legal .content-section { display: grid; gap: 16px; }
.legal .section-header h2, .legal > h2, .legal .commitment-header h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 4px; }
.legal .privacy-card, .legal .terms-card, .legal .privacy-commitment { background: var(--card); border-radius: var(--r-md); padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.legal .privacy-commitment { background: var(--blush); box-shadow: none; }
.legal .warning { box-shadow: inset 0 0 0 1.5px var(--peach); }
.legal .card-header h3 { font-size: 1.2rem; }
.legal p, .legal li { color: var(--muted); }
.legal b, .legal strong { color: var(--ink); }
.legal ul { margin: 4px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.legal a { color: var(--red-ink); font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .table-wrap, .legal .cookie-table { overflow-x: auto; }
