/* Rezqa page CSS: only what sits inside a visual (the phone, the listings window, the small
   fragments, the plan table's marks). Layout, type, buttons and spacing come from assets/system.css. */

html[lang="ar"] {
  --font-display: "IBM Plex Sans Arabic", "Reddit Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans Arabic", "Reddit Sans", system-ui, sans-serif;
  --display-tracking: 0em; --display-tracking-xl: 0em;
}
html[lang="ar"] :is(h1, h2, h3, .mo-wh__text) { letter-spacing: 0; line-height: 1.25; }

.ui {
  --fx-bg: #ffffff; --fx-surface: #f8f3dd; --fx-ink: #0a2e1b; --fx-muted: #5b7062;
  --fx-accent: #b4ee3a; --fx-accent-ink: #0a2e1b; --ui-radius: 14px;
  font-family: var(--font-text); color: var(--u-ink);
}
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* the logo in the bar and the footer */
.nav__logo > img { width: 28px; height: 28px; border-radius: 8px; }
.lang { font: inherit; background: none; border: 0; cursor: pointer; }

/* ------------------------------------------------------------ the phone */
.ph {
  width: 296px; height: 608px; padding: 7px; border-radius: 44px; background: #0a2e1b;
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 28px 56px -28px rgb(10 46 27 / .5);
  font-size: 12px; line-height: 1.35; text-align: start;
}
.ph__screen {
  height: 100%; border-radius: 37px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #eaf9c6 0, #f8fdea 26%, #ffffff 60%);
}
.ph__status { display: flex; justify-content: space-between; align-items: center; padding: 13px 24px 4px; font-weight: 500; }
.ph__status i { display: block; width: 20px; height: 10px; border-radius: 3px; background: currentColor; }
.ph__body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 8px 14px 0; }
.ph b, .ph strong { font-weight: 500; }
.ph em { font-style: normal; }

.ph-top { display: flex; align-items: center; gap: 8px; }
.ph-av { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.ph-hello { display: grid; flex: 1; min-width: 0; }
.ph-hello span { color: var(--u-muted); font-size: 11px; }
.ph-pill { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--u-accent); font-weight: 500; font-size: 11px; }
.ph-pill .ico { width: 13px; height: 13px; }
.ph-round { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in oklab, var(--u-accent) 45%, #fff); flex: none; }
.ph-round .ico { width: 15px; height: 15px; }
.ph-search { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1.5px solid var(--u-accent); color: var(--u-muted); }
.ph-search .ico { width: 15px; height: 15px; color: var(--u-ink); }
.ph-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ph-cats > span { display: grid; justify-items: center; gap: 5px; font-size: 11px; }
.ph-cats i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in oklab, var(--u-accent) 30%, #fff); }
.ph-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; }
.ph-h span { font-size: 11px; color: var(--u-muted); text-decoration: underline; }
.ph-row3 .lc__img, .ph-row2 .lc__img { margin-bottom: 4px; }
.ph-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ph-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; justify-items: center; padding: 8px 10px 14px; background: #fff; border-top: 1px solid var(--u-line); font-size: 11px; color: var(--u-muted); }
.ph-tabbar > span { display: grid; justify-items: center; gap: 2px; }
.ph-tabbar .is-on { color: var(--u-ink); font-weight: 500; }
.ph-tabbar .ph-add { width: 44px; height: 44px; margin-top: -26px; border-radius: 50%; background: var(--u-accent); color: var(--u-ink); place-items: center; box-shadow: 0 6px 14px -6px rgb(10 46 27 / .5); }
.ph-bar { display: flex; align-items: center; gap: 10px; }
.ph-bar b { flex: 1; text-align: center; font-size: 13px; margin-inline-end: 30px; }
.ph-back { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--u-surface); flex: none; }
.ph-back .ico { width: 15px; height: 15px; }
.ph-lab { font-size: 13px; font-weight: 500; }
.ph-field { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--u-line-2); background: #fff; color: var(--u-muted); }
.ph-field--cream { background: var(--u-surface); border-color: transparent; color: var(--u-ink); }
.ph-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-chips { display: flex; gap: 6px; }
.ph-chip { flex: 1; display: grid; place-items: center; height: 28px; border-radius: 8px; border: 1px solid color-mix(in oklab, var(--u-accent) 70%, var(--u-ink)); font-size: 11px; }
.ph-chip.is-on { background: var(--u-accent); font-weight: 500; }
.ph-range { height: 4px; border-radius: 4px; background: var(--u-accent); position: relative; margin: 6px 6px 2px; }
.ph-range::before, .ph-range::after { content: ""; position: absolute; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2.5px solid color-mix(in oklab, var(--u-accent) 80%, var(--u-ink)); }
.ph-range::before { inset-inline-start: 12%; } .ph-range::after { inset-inline-end: 22%; }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 10px; background: var(--u-accent); font-weight: 500; }
.ph-btn--soft { background: color-mix(in oklab, var(--u-accent) 38%, #fff); }
.ph-btn .ico { width: 15px; height: 15px; }
.ph-radio { display: flex; align-items: center; gap: 8px; }
.ph-radio::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--u-ink); flex: none; }
.ph-radio.is-on::before { background: radial-gradient(circle, var(--u-ink) 0 3px, transparent 3.5px); }
.ph-cream { display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--u-surface); }
.ph-meta { display: flex; align-items: center; gap: 6px; color: var(--u-muted); }
.ph-meta .ico { width: 14px; height: 14px; }
.ph-text { color: color-mix(in oklab, var(--u-ink) 78%, #fff); font-size: 11px; line-height: 1.45; }
.ph-hero { height: 150px; margin: -8px -14px 0; display: grid; place-items: center; background: var(--tint, #e9efd6); position: relative; flex: none; }
.ph-hero > .ico { width: 54px; height: 54px; stroke-width: 1.1; opacity: .6; }
.ph-hero .ph-back { position: absolute; top: 10px; inset-inline-start: 12px; background: #fff; }
.ph-hero .ph-count { position: absolute; bottom: 10px; inset-inline-end: 12px; display: flex; gap: 4px; align-items: center; padding: 3px 8px; border-radius: 99px; background: #fff; font-size: 11px; }
.ph-hero .ph-count .ico { width: 12px; height: 12px; }
.ph-price { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 500; }
.ph-price span { font-size: 11px; color: var(--u-muted); font-weight: 400; }
.seller { display: flex; align-items: center; gap: 10px; }
.seller__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #0a2e1b; color: #fff; font-weight: 500; flex: none; }
.seller__n { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 500; }
.seller__s { display: flex; align-items: center; gap: 4px; color: var(--u-muted); font-size: 11px; }
.seller__s .ico { width: 12px; height: 12px; color: #7fae12; }
.badge-v { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 7px; border-radius: 99px; background: #0a2e1b; color: #fff; font-size: 11px; font-weight: 500; }
.badge-v .ico { width: 10px; height: 10px; stroke-width: 2.6; color: var(--u-accent); }
.msgs { display: grid; gap: 10px; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 12px; background: var(--u-fill-2); justify-self: start; }
.msg--me { justify-self: end; background: color-mix(in oklab, var(--u-accent) 42%, #fff); }
.msg__time { font-size: 11px; color: var(--u-muted); }
.msg__time--me { justify-self: end; }
.ph-input { display: flex; align-items: center; gap: 8px; margin: auto -14px 0; padding: 10px 14px 14px; border-top: 1px solid var(--u-line); color: var(--u-muted); background: #fff; }
.ph-input span:first-of-type { flex: 1; }
.ph-input i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--u-accent); color: var(--u-ink); }
.ph-input .ico { width: 14px; height: 14px; }
.ph-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ph-photos span { aspect-ratio: 1; border-radius: 8px; background: var(--tint, var(--u-fill-2)); display: grid; place-items: center; color: var(--u-muted); }
.ph-photos span:last-child { background: none; border: 1.5px dashed var(--u-line-2); }
.ph-photos .ico { width: 15px; height: 15px; }
.sw-row { display: flex; align-items: center; gap: 8px; }
.sw-row > span:first-of-type { flex: 1; }
.sw { width: 34px; height: 20px; border-radius: 99px; background: var(--u-fill-3); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); }
.sw.is-on { background: #0a2e1b; } .sw.is-on::after { inset-inline-start: 16px; background: var(--u-accent); }

/* the splash screen */
.ph--splash .ph__screen { background: var(--u-accent); align-items: center; }
.splash { flex: 1; display: grid; justify-items: center; align-content: center; gap: 10px; }
.splash img { width: 92px; height: 92px; border-radius: 22px; }
.splash b { font-size: 22px; letter-spacing: .04em; }
.splash__btns { width: 100%; display: grid; gap: 8px; padding: 0 30px 34px; }
.splash__btns span { display: grid; place-items: center; height: 38px; border-radius: 8px; background: #0a2e1b; color: #fff; font-weight: 500; font-size: 13px; }
.splash__btns span + span { background: #1f4a2c; }

/* ------------------------------------------------------------ a listing card */
.lc { display: grid; gap: 4px; min-width: 0; align-content: start; }
.lc__img { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--tint, #e9efd6); display: grid; place-items: center; position: relative; }
.lc__img > .ico { width: 34%; height: auto; aspect-ratio: 1; max-width: 44px; stroke-width: 1.3; opacity: .6; }
.lc__tag { position: absolute; bottom: 5px; inset-inline-end: 5px; padding: 1px 6px; border-radius: 99px; background: #fff; font-size: 11px; line-height: 1.4; }
.lc__t { font-weight: 400; }
.lc__p { font-weight: 500; white-space: nowrap; }
.lc__m { color: var(--u-muted); font-size: 11px; }

/* ------------------------------------------------------------ hero visual */
.hero__media.lime { background: var(--p-accent); }
.hero-phone { position: absolute; left: 50%; top: max(40px, calc(50% - 304px)); translate: -50% 0; }
.hero__media.lime::after { content: ""; position: absolute; inset: auto 0 0; height: 56px; background: linear-gradient(transparent, var(--p-accent)); pointer-events: none; z-index: 1; }
@media (min-height: 860px) and (min-width: 1024px) { .hero__media.lime::after { display: none; } }

/* ------------------------------------------------------------ the listings window (app-frame) */
.browse__cats { margin-top: var(--s-6); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.app.ui { display: flex; flex-direction: column; margin-top: var(--s-5); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--r-lg); box-shadow: var(--u-shadow-sm); overflow: hidden; position: relative; font-size: 14px; }
.app.ui::after { content: ""; position: absolute; inset: auto 0 0 0; height: 56px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
.app__bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--u-line); flex: none; }
.app__search { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 360px; height: 40px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--u-accent); color: var(--u-muted); }
.app__count { margin-inline-start: auto; color: var(--u-muted); font-size: 13px; white-space: nowrap; }
.lgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; padding: 20px; }
.lgrid .lc { gap: 4px; font-size: 14px; }
.lgrid .lc__img { margin-bottom: 4px; aspect-ratio: 16 / 10; }
.lgrid .lc__m { font-size: 13px; }
.lgrid .lc__tag { font-size: 12px; padding: 2px 8px; bottom: 8px; inset-inline-end: 8px; }
.lgrid .lc[hidden] { display: none; }
@media (max-width: 639px) {
  /* the phone shows the window whole, two cards a row */
  main > section > .wrap > .app.ui.fill { flex: none; }
  .app.ui::after { display: none; }
  .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 12px; }
  .lgrid .lc { font-size: 13px; }
  .app__bar { padding: 10px 12px; } .app__count { display: none; }
  .app__search { max-width: none; height: 36px; }
  .browse__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-5); }
  .browse__cats .tab { padding: 0; }
}

/* ------------------------------------------------------------ the tour frame and the small fragments */
#waitlist .frame { background: var(--p-accent); }
@media (min-width: 1024px) { #waitlist .frame { --ratio: 0px; align-self: stretch; height: 100%; } }
@media (max-width: 1023px) {
  /* stacked: the words, then the frame takes what the screen leaves */
  #waitlist .grid.fill { grid-template-rows: auto minmax(240px, 1fr); }
  #waitlist .frame { --ratio: 0px; height: 100%; min-height: 240px; margin-top: var(--s-5); }
}
#trust .panel { --p-h: 336px; }
.frag { width: 100%; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--u-border); box-shadow: var(--u-shadow-sm); display: grid; gap: 12px; font-size: 13px; line-height: 1.4; text-align: start; }
.frag .seller__av { width: 44px; height: 44px; font-size: 15px; }
.frag .seller__s, .frag .badge-v { font-size: 12px; }
.frag .badge-v { height: 20px; }
.frag__t { font-weight: 500; font-size: 14px; }
.frag__rule { height: 1px; background: var(--u-line); }
.mini { display: flex; align-items: center; gap: 10px; }
.mini i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); flex: none; }
.mini span { flex: 1; } .mini b { font-weight: 500; white-space: nowrap; }
.bar { display: grid; grid-template-columns: 84px 1fr 28px; align-items: center; gap: 10px; }
.bar i { height: 8px; border-radius: 8px; background: var(--u-fill-2); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; inset-inline-end: calc(100% - var(--v)); background: #9bd61f; border-radius: 8px; }
.bar b { font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
.frag .ph-radio { font-size: 13px; }
.frag .ph-btn { height: 40px; }
.frag .sw-row { min-height: 28px; }
.frag .sw-row .ico { color: var(--u-muted); }
.frag em { font-style: normal; }
.frag b { font-weight: 500; }
.biz { gap: 16px; padding: 20px; }
.biz__follow { padding: 0 20px; height: 36px; flex: none; }
.biz__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.biz__stats span { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 12px; background: var(--u-surface); }
.biz__stats b { font-size: 18px; } .biz__stats em { font-size: 12px; color: var(--u-muted); }
.biz__stats .is-on { background: var(--u-accent); } .biz__stats .is-on em { color: var(--u-ink); }
.otp { max-width: 340px; margin-top: var(--s-6); }
.otp__boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp__boxes span { display: grid; place-items: center; height: 44px; border-radius: 10px; border: 1px solid var(--u-line-2); font-size: 16px; font-weight: 500; }
.otp__boxes span:nth-child(5) { border: 2px solid #0a2e1b; }
@media (max-width: 639px) {
  .trust__more { display: none; }
  #trust .panel, main > section#trust.g2 .card--open > .panel { --p-h: 150px; }
  .otp { margin-top: var(--s-4); }
  #tour .section-head > p { display: none; }
  .closing__cta .t-lead, .closing__links .footer__lede { display: none; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  /* the tablet stacks the four cards in one column down two screens */
  main > section#trust.g2 > .wrap { display: flex; flex-direction: column; gap: var(--card-gap); }
  #trust .panel { --p-h: 250px; }
  #faq { --h: 2; }
  .business__head { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .business__head > * { grid-column: auto; }
}

/* ------------------------------------------------------------ the plan table */
.plans { margin-top: var(--s-6); width: 100%; border-collapse: collapse; table-layout: fixed; }
.plans th, .plans td { text-align: start; font-weight: 400; padding: 0; height: 48px; vertical-align: middle; border-bottom: 1px solid var(--line); }
.plans th:first-child { width: calc(50% + var(--gutter) / 2); }
.plans thead th { height: auto; padding-bottom: var(--s-3); vertical-align: bottom; border-bottom: 0; }
.plans thead b { display: block; font: var(--display-weight) var(--t-card)/1.3 var(--font-display); }
.plans thead th > span { color: var(--muted); font-size: var(--t-small); }
.plans .ico { width: 20px; height: 20px; display: block; }
.plans .is-no { color: var(--muted); }
.plans__val { font-weight: 500 !important; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
  .plans th, .plans td { height: auto; padding-block: 10px; font-size: 15px; line-height: 1.35; }
  .plans th:first-child { width: auto; }
  .plans th:not(:first-child), .plans td { width: 62px; }
  .plans thead b { font-size: 15px; }
  .plans thead th > span { font-size: 13px; }
}

/* the waitlist form sits in the text column: one field a row */
#waitlist .form { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-6); max-width: 440px; }

/* the name in the close, set to what the screen holds beside the links */
.close__word { font-size: clamp(64px, 11vw, 160px); }
@media (max-width: 639px) { .close__word { font-size: clamp(56px, 19vw, 96px); } }
.close__word { flex: none; line-height: 1; overflow: visible; }
.hero--split { --ly-h1: clamp(40px, 4.2vw, 62px); }

/* links in a head keep their own width */
.section-head > .link { justify-self: start; }

/* the phone: each section fills its screens */
@media (max-width: 639px) {
  .lgrid .lc__img { aspect-ratio: 1; }
    #business .section-head > p, .biz__stats { display: none; }
  .business__head { row-gap: var(--s-4); }
  .plans { margin-top: var(--s-5); }
  .plans th, .plans td { padding-block: 5px; }
  #faq .grid { flex: 1 1 0; min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
  #faq .faq { display: flex; flex-direction: column; justify-content: space-between; }
  #faq .faq > .faq__item { padding-block: var(--s-4); }
}
@media (max-width: 359px) {
  #waitlist .grid.fill { grid-template-rows: auto minmax(120px, 1fr); }
  #waitlist .frame { min-height: 120px; }
}
@media (max-width: 639px) {
  .lgrid { gap: 32px 12px; padding: 16px 12px 20px; }
  .browse__cats { margin-top: var(--s-6); }
  .app.ui { margin-top: var(--s-6); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  /* the tablet: the two long sections fill their two screens */
  #trust .panel { --p-h: 320px; }
  #faq > .wrap > .grid { flex: 1 1 0; grid-template-rows: auto minmax(0, 1fr); }
  #faq .faq { display: flex; flex-direction: column; justify-content: space-between; }
}

/* ============================================================ round two: photographs and motion */
/* photographs in the listing cards and the phone screens */
.lc__img { overflow: hidden; }
.lc__img > img, .ph-hero > img, .ph-photos img, .mini i img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ph-hero { overflow: hidden; }
.ph-hero .ph-back, .ph-hero .ph-count, .lc__tag, .lc__heart { z-index: 1; }
.ph-photos span, .mini i { position: relative; overflow: hidden; }
.lc__heart { position: absolute; top: 5px; inset-inline-end: 5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #c5cfc0; }
.lc__heart .ico { width: 11px; height: 11px; }
.lgrid .lc { transition: transform 260ms cubic-bezier(.2, .7, .2, 1); }
.lgrid .lc__img > img { transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (pointer: fine) {
  .lgrid .lc:hover { transform: translateY(-3px); }
  .lgrid .lc:hover .lc__img > img { transform: scale(1.06); }
  .plans tbody tr { transition: background-color 180ms ease; }
  .plans tbody tr:hover { background: var(--p-surface); }
}

/* the hero picture: drifting light, two chips, a message and a like inside the phone; one loop, one pause button */
.hero-pic { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.hero-pic::before, .hero-pic::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(64px); opacity: .7; }
.hero-pic::before { background: #eaff9c; top: -120px; left: -90px; animation: rz-drift-a 12s ease-in-out infinite alternate; }
.hero-pic::after { background: #86d81c; bottom: -160px; right: -110px; animation: rz-drift-b 14s ease-in-out infinite alternate; }
.chip { position: absolute; z-index: 2; display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #fff; color: #0a2e1b; font-size: 14px; line-height: 1.2; box-shadow: 0 14px 34px -14px rgb(10 46 27 / .5); animation: rz-bob 5s ease-in-out infinite; }
.chip b { font-weight: 500; }
.chip .ico { width: 15px; height: 15px; color: #7fae12; }
.chip .badge-v { height: 22px; font-size: 12px; }
.chip--a { top: 15%; inset-inline-start: 5%; }
.chip--b { bottom: 17%; inset-inline-end: 5%; animation-delay: -2.5s; }
.hero-phone { z-index: 1; animation: rz-rise 1000ms cubic-bezier(.16, 1, .3, 1) both; }
.toast { position: absolute; z-index: 3; top: 10px; inset-inline: 10px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -10px rgb(10 46 27 / .45); transform: translateY(-150%); animation: rz-toast 9s cubic-bezier(.2, .8, .2, 1) infinite; }
.toast img { width: 26px; height: 26px; border-radius: 8px; }
.toast span { display: grid; } .toast em { color: var(--u-muted); font-size: 11px; }
.hero-pic .lc__heart { animation: rz-heart 9s ease infinite; }
[data-loop].is-paused *, [data-loop].is-paused *::before, [data-loop].is-paused *::after { animation-play-state: paused !important; }
@keyframes rz-drift-a { to { transform: translate(120px, 160px) scale(1.15); } }
@keyframes rz-drift-b { to { transform: translate(-140px, -120px) scale(1.1); } }
@keyframes rz-bob { 50% { transform: translateY(-10px); } }
@keyframes rz-rise { from { transform: translateY(48px); opacity: 0; } }
@keyframes rz-toast { 0%, 10% { transform: translateY(-150%); } 16%, 50% { transform: none; } 56%, 100% { transform: translateY(-150%); } }
@keyframes rz-heart { 0%, 60% { color: #c5cfc0; transform: none; } 64% { color: #e5484d; transform: scale(1.4); } 68%, 94% { color: #e5484d; transform: none; } 100% { color: #c5cfc0; } }
@media (max-width: 639px) { .hero-pic::before, .hero-pic::after { width: 260px; height: 260px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-pic::before, .hero-pic::after, .chip, .hero-phone, .toast, .hero-pic .lc__heart { animation: none; }
  .loop-pause[data-loop-pause] { display: none; }
}

/* the tour: its screens on the dark band */
#tour .tourv { overflow: hidden; background: var(--surface); border-radius: var(--r-lg); }
#tour:not(.is-live) .tourv { position: relative; }
#tour .tourv > .ph { position: absolute; left: 50%; top: 24px; translate: -50% 0; box-shadow: 0 0 0 1px rgb(180 238 58 / .45), 0 30px 90px -30px rgb(180 238 58 / .4); }
#tour:not(.is-live) .tourv { height: 30svh; min-height: 220px; }
#tour:not(.is-live) .tourv { background: none; border-radius: 0; }
#tour:not(.is-live) .tourv::after { content: ""; position: absolute; inset: auto 0 0; height: 48px; background: linear-gradient(transparent, var(--bg)); }
#tour.is-live .mo-pc__visuals { aspect-ratio: auto; height: min(708px, calc(100svh - 192px)); max-height: none; background: var(--surface); border: 0; border-radius: var(--r-lg); overflow: hidden; }
#tour.is-live .tourv { background: none; border-radius: 0; }
#tour.is-live .tourv > .ph { top: max(24px, calc(50% - 304px)); }
@media (min-width: 640px) and (max-width: 1023px) { main > section#tour:not(.is-live) { min-height: 200vh; min-height: 200svh; } }
@media (max-width: 639px) {
  main > section#tour:not(.is-live) { min-height: 200vh; min-height: 200lvh; }
  #tour:not(.is-live) .tourv { height: 192px; min-height: 0; }
}

/* the safety cards answer the pointer: bars fill, switches flip, the badge and the chosen reason land */
@media (hover: hover) and (pointer: fine) {
  #trust .card:hover .bar i::after { animation: rz-grow 900ms cubic-bezier(.2, .7, .2, 1) both; }
  #trust .card:hover .bar:nth-of-type(2) i::after { animation-delay: 80ms; }
  #trust .card:hover .bar:nth-of-type(3) i::after { animation-delay: 160ms; }
  #trust .card:hover .bar:nth-of-type(4) i::after { animation-delay: 240ms; }
  #trust .card:hover .badge-v, #trust .card:hover .ph-radio.is-on::before { animation: rz-pop 520ms cubic-bezier(.2, .8, .2, 1) both; }
  #trust .card:hover .sw.is-on::after { animation: rz-flip 900ms cubic-bezier(.2, .8, .2, 1) both; }
  #trust .card:hover .sw.is-on { animation: rz-flip-bg 900ms ease both; }
}
@keyframes rz-grow { from { inset-inline-end: 100%; } }
@keyframes rz-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
@keyframes rz-flip { from { inset-inline-start: 2px; background: #fff; } }
@keyframes rz-flip-bg { from { background: var(--u-fill-3); } }
@media (prefers-reduced-motion: reduce) { #trust .card * , #trust .card *::after, #trust .card *::before { animation: none !important; } }

/* what a listing shows: the statement beside one listing card with its four facts */
.facts { gap: 0; padding: 0; overflow: hidden; border-radius: 20px; }
.facts__photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.facts__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.facts__photo .lc__tag { font-size: 12px; padding: 2px 8px; bottom: 10px; inset-inline-end: 10px; }
.facts > .frag__t { padding: 16px 20px 6px; font-size: 16px; }
.fact { display: grid; grid-template-columns: 36px 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 20px; font-size: 14px; }
.fact:last-child { padding-bottom: 18px; }
.fact i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in oklab, var(--u-accent) 38%, #fff); transition: background-color 200ms ease, transform 200ms ease; }
.fact span { color: var(--u-muted); }
.fact b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 500; }
.fact b span { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .facts:hover .fact i { animation: rz-pop 520ms cubic-bezier(.2, .8, .2, 1) both; background: var(--u-accent); }
  .facts:hover .fact:nth-of-type(2) i { animation-delay: 90ms; }
  .facts:hover .fact:nth-of-type(3) i { animation-delay: 180ms; }
  .facts:hover .fact:nth-of-type(4) i { animation-delay: 270ms; }
  .facts__photo img { transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
  .facts:hover .facts__photo img { transform: scale(1.05); }
}
@media (max-width: 1023px) { .promise__grid { row-gap: var(--s-6); } .facts { max-width: 440px; } }
@media (max-width: 639px) {
  .facts__photo { aspect-ratio: 16 / 7; }
  .facts > .frag__t { padding: 12px 16px 2px; font-size: 15px; }
  .fact { padding: 5px 16px; grid-template-columns: 30px 56px minmax(0, 1fr); }
  .fact i { width: 30px; height: 30px; }
  .fact:last-child { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .facts .fact i { animation: none !important; } }

.fact .badge-v, .fact .badge-v span { color: #fff; }
@media (min-width: 1024px) {
  .facts__photo { aspect-ratio: 4 / 3; }
  .facts > .frag__t { padding: 20px 24px 8px; font-size: 18px; }
  .fact { padding: 11px 24px; font-size: 15px; grid-template-columns: 40px 72px minmax(0, 1fr); }
  .fact i { width: 40px; height: 40px; }
  .fact:last-child { padding-bottom: 22px; }
}
@media (min-width: 1024px) and (max-height: 859px) { .facts__photo { aspect-ratio: 16 / 9; } }
@media (max-width: 639px) { .close__word { font-size: clamp(48px, 16vw, 80px); } }

/* ============================================================ the phone: every screen shown whole, smaller, never cut */
@media (max-width: 639px) {
  /* hero: both buttons on one row, so the picture gets the room; the app's phone whole inside it */
  .hero .btn-row { flex-direction: row; flex-wrap: nowrap; gap: var(--s-2); }
  .hero .btn-row .btn { width: auto; flex: 1 1 auto; padding-inline: var(--s-3); }
  .hero-phone { zoom: .47; top: 32px; }
  .hero__media.lime::after { display: none; }
  .chip { padding: 7px 10px; font-size: 12px; border-radius: 12px; }
  .chip .badge-v { height: 20px; font-size: 11px; }
  .chip--a { top: 12%; inset-inline-start: 4%; }
  .chip--b { bottom: 14%; inset-inline-end: 4%; }

  /* tour: each step's words beside its whole screen */
  #tour:not(.is-live) .mo-pc__steps { gap: var(--s-5); }
  #tour:not(.is-live) .mo-pc__step { grid-template-columns: minmax(0, 1fr) 148px; column-gap: var(--s-4); row-gap: var(--s-2); align-items: start; align-content: start; padding-left: 0; border-left: 0; }
  #tour:not(.is-live) .mo-pc__step h3, #tour:not(.is-live) .mo-pc__step p { grid-column: 1; }
  #tour:not(.is-live) .mo-pc__step .tourv { grid-column: 2; grid-row: 1 / span 3; height: 304px; min-height: 0; margin: 0; overflow: visible; }
  #tour:not(.is-live) .tourv::after { display: none; }
  #tour:not(.is-live) .tourv > .ph { position: static; translate: none; zoom: .5; }

  /* waitlist: the first screen whole */
  #waitlist .stage > .at-rise { left: 50%; top: 14px; translate: -50% 0; }
  #waitlist .stage .ph { zoom: .44; }
  #waitlist .stage { -webkit-mask: none; mask: none; }

  /* safety: each fragment whole in its panel, its longer rows left out */
  #trust .panel, main > section#trust.g2 .card--open > .panel { --p-h: 160px; }
  #trust .stage { -webkit-mask: none; mask: none; }
  #trust .stage > .at-rise.fit { top: 12px; left: 12px; right: 12px; }
  #trust .frag { zoom: .7; }
  #trust .frag .mini:nth-of-type(n + 5), #trust .frag .ph-radio:nth-of-type(n + 5), #trust .frag .frag__rule ~ .frag__t, #trust .frag .frag__rule ~ .ph-text,
  #trust .frag .frag__rule ~ .sw-row, #trust .frag > .ph-field { display: none; }
  #trust .frag .bar ~ .frag__rule, #trust .frag .sw-row ~ .frag__rule { display: none; }
}
@media (max-width: 639px) { .close__word { font-size: clamp(44px, 14vw, 68px); } }
