/* NOX GSM — store sales page
   palette: paper / ink / ultramarine (brand, structure) / top-up yellow (money + actions only) */
/* fa3elha family: light by default, dark on demand, orange brand (#FF3B00) */
:root {
  --paper: #0B0B0D;
  --surface: #121214;
  --raised: #222227;
  --ink: #EEF1F5;
  --muted: #A3ABB8;
  --line: #26262B;
  --brand: #FF5A26;
  --brand-strong: #FF3B00;
  --brand-ink: #FFFFFF;
  --brand-soft: rgba(255, 59, 0, .14);
  --signal: var(--brand-strong);
  --signal-ink: #FFFFFF;
  --ok: #2FCB8E;
  --danger: #FF6B6B;
  --tint: #0F0F12;
  --night: #121214;
  --night-ink: #EEF1F5;
  --night-muted: #A3ABB8;
  --night-line: #26262B;
  --phone: #1C1C20;
  --shadow: rgba(0, 0, 0, .55);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --f-body: "Noto Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Inter", "Noto Sans Arabic", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
:root:not([data-theme="dark"]) {
  --paper: #F4F5F7;
  --surface: #FFFFFF;
  --raised: #FFFFFF;
  --ink: #111827;
  --muted: #545D6B;
  --line: #E1E4EA;
  --brand: #D63200;
  --brand-strong: #FF3B00;
  --brand-soft: #FFEDE6;
  --ok: #0B8A5B;
  --danger: #C8333F;
  --tint: #ECEEF2;
  --night: #111214;
  --night-ink: #F3F4F6;
  --night-muted: #A1A6B0;
  --night-line: #2A2B30;
  --phone: #111214;
  --shadow: rgba(17, 24, 39, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  overflow-x: hidden;
}
[dir="ltr"] body { line-height: 1.6; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { 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(--brand-strong); color: var(--brand-ink); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 0;
  font: 600 16px/1 var(--f-display); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--signal { background: var(--brand-strong); color: #fff; }
.btn--signal:hover { filter: brightness(1.05); }
.btn--brand { background: var(--brand-strong); color: #fff; }
.btn--brand:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-strong { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--brand); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* offer bar (top of the page) */
.promo { background: var(--brand-strong); color: #fff; }
.promo__in { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; padding: 10px 0; text-align: center; }
.promo__text { font-weight: 600; font-size: 15.5px; }
.promo__text b { font-weight: 800; }
.promo__text s { opacity: .75; font-weight: 500; }
.promo__actions { display: inline-flex; align-items: center; gap: 8px; }
.promo__code { font: 800 15px/1 var(--f-display); letter-spacing: .08em; color: var(--brand-strong); background: #fff; border: 2px dashed rgba(255, 255, 255, .7); outline: 2px solid #fff; outline-offset: -4px; border-radius: 10px; padding: 9px 14px; cursor: pointer; direction: ltr; }
.promo__code.is-copied { background: #FFF3EE; }
.promo__cta { color: #fff; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.promo__timer { font: 700 15px var(--f-display); white-space: nowrap; background: rgba(0, 0, 0, .18); border-radius: 8px; padding: 7px 10px; font-variant-numeric: tabular-nums; }

/* timed offer */
.offer { padding: 40px 0; background: var(--surface); border-block: 1px solid var(--line); }
.offer__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.offer__text h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.offer__text p { margin-top: 12px; color: var(--muted); font-size: 17.5px; max-width: 56ch; }
.offer__text p b { color: var(--ink); }
.offer__side { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 22px; border-radius: var(--r-lg); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand-strong) 25%, transparent); }
.offer__price { display: flex; align-items: baseline; gap: 12px; direction: ltr; }
.offer__price s { color: var(--muted); font: 600 22px var(--f-display); }
.offer__price strong { color: var(--brand); font: 800 52px/1 var(--f-display); letter-spacing: -0.02em; }
.countdown { display: flex; gap: 8px; direction: ltr; }
.countdown span { display: grid; gap: 2px; min-width: 66px; padding: 10px 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.countdown b { font: 800 26px/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--ink); }
.countdown small { font-size: 12.5px; color: var(--muted); }
.offer .btn { min-width: 220px; }
.coupon__timer { margin-top: 6px !important; font-size: 14px; font-weight: 600; color: var(--brand); }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-strong); }
.logo__word { font: 700 21px/1 var(--f-display); color: var(--ink); letter-spacing: .02em; direction: ltr; }
.logo__word b { color: var(--brand); font-weight: 700; margin-inline-start: 2px; }
.nav { display: flex; gap: 22px; margin-inline-start: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15.5px; }
.nav a:hover { color: var(--ink); }
.top__tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang select { appearance: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); height: 40px; padding: 0 12px; font: 500 14.5px var(--f-body); cursor: pointer; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn .i-sun { display: none; }
:root:not([data-theme="dark"]) .icon-btn .i-sun { display: block; }
:root:not([data-theme="dark"]) .icon-btn .i-moon { display: none; }

/* hero */
.hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset-block-start: -180px; inset-inline-end: -160px; width: 620px; height: 620px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent); pointer-events: none;
}
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; }
.hero__title { font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; max-width: 13ch; }
.hero__lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.namebox { margin-top: 32px; max-width: 560px; }
.namebox label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 15.5px; }
.namebox__row { display: flex; gap: 8px; padding: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: calc(var(--r-md) + 6px); box-shadow: 0 12px 30px -18px var(--shadow); }
.namebox__row:focus-within { border-color: var(--brand); }
.namebox input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 19px var(--f-display); padding: 0 12px; outline: none; }
.namebox input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); font-weight: 500; }
.hero__links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }

/* phone (the one bold moment) */
.hero__stage { position: relative; justify-self: center; padding: 10px 30px 40px; }
.phone { width: 300px; border-radius: 44px; padding: 12px; background: var(--phone); box-shadow: 0 50px 80px -40px var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, .12); position: relative; transform: rotate(-3deg); }
[dir="ltr"] .phone { transform: rotate(3deg); }
.phone__notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 86px; height: 22px; border-radius: 20px; background: inherit; z-index: 2; }
.phone__screen { background: #F6F6F8; color: #111827; border-radius: 33px; overflow: hidden; padding: 46px 14px 18px; min-height: 540px; }
.ps-bar { display: flex; align-items: center; gap: 8px; }
.ps-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--store-color, #FF3B00); color: #fff; font: 700 17px var(--f-display); transition: background-color .3s ease; }
.ps-name { font: 700 16px/1.2 var(--f-display); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-wallet { font: 600 12px var(--f-display); background: #FFEDE6; color: #C42E00; padding: 5px 8px; border-radius: 8px; direction: ltr; }
.ps-search { margin-top: 14px; background: #fff; border: 1px solid #E2E4F0; border-radius: 12px; padding: 9px 12px; font-size: 13px; color: #8A8FAE; }
.ps-cats { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.ps-cat { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid #E2E4F0; }
.ps-cat.c1 { background: var(--store-color, #FF3B00); color: #fff; border-color: transparent; }
.ps-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ps-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid #ECEDF6; border-radius: 14px; padding: 8px; }
.ps-list b { display: block; font-size: 13px; line-height: 1.3; }
.ps-list small { display: block; font-size: 11px; color: #0E9A68; font-weight: 600; }
.ps-list em { font-style: normal; font: 700 13px var(--f-display); direction: ltr; }
.ps-tile { width: 44px; height: 44px; border-radius: 11px; }
.ps-tile.t1 { background: linear-gradient(135deg, #F2B33D, #C2711C); }
.ps-tile.t2 { background: linear-gradient(135deg, #FF7A59, #C62F4C); }
.ps-tile.t3 { background: linear-gradient(135deg, #D3D6E8, #8E93B5); }
.ps-tile.t4 { background: linear-gradient(135deg, #39E0D0, #FF3E7F); }
.toast {
  position: absolute; inset-inline-start: -8px; bottom: 6px; display: flex; gap: 10px; align-items: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 24px 40px -24px var(--shadow); min-width: 220px;
  animation: toastIn .6s cubic-bezier(.2, .9, .3, 1.2) 1.1s both;
}
.toast b { display: block; font: 600 14px var(--f-display); }
.toast small { display: block; font-size: 12.5px; color: var(--muted); }
.toast__dot { width: 12px; height: 12px; border-radius: 99px; background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 22%, transparent); flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* sells strip */
.sells { background: var(--night); color: var(--night-ink); padding: 34px 0; border-block: 1px solid var(--night-line); }
.sells__in { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; }
.sells__title { font-size: 22px; color: var(--brand); padding-top: 2px; white-space: nowrap; }
.sells__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.sells__list b { display: block; font: 600 16px/1.3 var(--f-display); }
.sells__list span { display: block; font-size: 14px; color: var(--night-muted); margin-top: 4px; line-height: 1.5; }

/* blocks */
.block { padding: 92px 0; }
.block--tint { background: var(--tint); }
.block--ink { background: var(--night); color: var(--night-ink); border-block: 1px solid var(--night-line); }
.block__head { max-width: 680px; margin-bottom: 46px; }
.block__head h2, .faq-wrap h2, .price__text h2, .try__text h2, .order__text h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; }
.block__head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* features: three lists, not cards */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.feat__col { padding: 26px 28px 8px 0; }
[dir="rtl"] .feat__col { padding: 26px 0 8px 28px; }
.feat__col + .feat__col { border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.feat h3 { font-size: 21px; margin-bottom: 16px; color: var(--brand); }
.feat ul { list-style: none; margin: 0; padding: 0; }
.feat li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.feat li:last-child { border-bottom: 0; }

/* seller benefits (from the dashboard) */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 32px; }
.benefit { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.benefit__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; overflow: hidden; }
.benefit__icon img { width: 30px; height: 30px; object-fit: contain; }
.benefit b { display: block; font: 600 17px/1.35 var(--f-display); }
.benefit p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.gallery { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); display: block; }

/* flow diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; }
.flow__side { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow__side li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; font-weight: 600; position: relative; }
.flow__side li::after { content: ""; position: absolute; top: 50%; inset-inline-end: -40px; width: 40px; border-top: 2px dashed color-mix(in srgb, var(--brand) 55%, transparent); }
.flow__side--out li::after { inset-inline-end: auto; inset-inline-start: -40px; }
.flow__core { margin: 0 40px; width: 250px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 8px; padding: 24px; background: var(--brand-strong); color: #fff; box-shadow: 0 0 0 12px var(--brand-soft); }
.flow__core-name { font: 700 24px/1.2 var(--f-display); word-break: break-word; }
.flow__core span:last-child { font-size: 14.5px; opacity: .9; }

/* stores */
.stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.store { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line); text-decoration: none; transition: border-color .15s ease; position: relative; }
.store:hover { border-color: var(--brand); }
.store__name { font: 700 22px var(--f-display); }
.store__host { color: var(--muted); direction: ltr; text-align: start; font-size: 15px; }
.store::after { content: "↗"; position: absolute; top: 18px; inset-inline-end: 20px; color: var(--brand); font-size: 20px; }

/* try */
.try { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.try__text p { margin: 16px 0 28px; color: var(--night-muted); font-size: 18px; max-width: 48ch; }
.try__note { margin-top: 18px !important; color: var(--brand) !important; }
.try__videos h3 { font-size: 20px; margin-bottom: 16px; }
.peek { border-radius: var(--r-lg); background: color-mix(in srgb, var(--night-ink) 6%, transparent); border: 1px solid color-mix(in srgb, var(--night-ink) 14%, transparent); padding: 18px; display: grid; grid-template-columns: 190px 1fr; gap: 16px; }
.peek__side { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.peek__side li { padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--night-muted); }
.peek__side li.is-on { background: var(--brand-strong); color: #fff; font-weight: 600; }
.peek__main { display: grid; gap: 10px; align-content: start; }
.peek__row { height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--night-ink) 8%, transparent); }
.peek__row:first-child { height: 64px; background: color-mix(in srgb, var(--night-ink) 12%, transparent); }
.peek__row:nth-child(3) { width: 82%; } .peek__row:nth-child(5) { width: 64%; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.video { display: block; text-decoration: none; color: var(--night-ink); }
.video__thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #1E1E22 center / cover no-repeat; }
.video__thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 59, 0, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23ffffff'/%3E%3C/svg%3E") center / 26px no-repeat; }
.video__title { display: block; margin-top: 8px; font-weight: 600; font-size: 15px; line-height: 1.45; }

/* price */
.price { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.price__text p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FF3B00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* receipt: a top-up slip */
.receipt {
  background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 28px 28px 30px; position: relative;
  box-shadow: 0 30px 60px -36px var(--shadow); border: 1px solid var(--line); border-bottom: 0;
}
.receipt::after { /* torn slip edge */
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -11px; height: 12px;
  background: conic-gradient(from 135deg at 50% 0, var(--surface) 90deg, transparent 0) 0 0 / 16px 100% repeat-x;
  filter: drop-shadow(0 1px 0 var(--line));
}
.receipt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 2px dashed var(--line); }
.receipt__brand { font: 700 15px var(--f-display); color: var(--brand); direction: ltr; }
.receipt__store { font: 600 15px var(--f-display); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.receipt__rows { margin: 8px 0 0; }
.receipt__rows > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.receipt__rows dt { font-weight: 500; }
.receipt__rows dd { margin: 0; font: 600 18px var(--f-display); direction: ltr; white-space: nowrap; }
.receipt__opt dd { color: var(--muted); transition: color .15s ease; }
.receipt__opt.is-on dd { color: var(--ink); }
.receipt__disc dt { color: var(--ok); font-weight: 600; }
.receipt__disc dd { color: var(--ok) !important; }
.receipt__disc b { font-family: var(--f-display); letter-spacing: .05em; }
.coupon { display: flex; gap: 8px; margin-top: 14px; }
.coupon input { flex: 1; min-width: 0; min-height: 40px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); padding: 0 12px; font: 600 15px var(--f-display); letter-spacing: .05em; text-transform: uppercase; }
.coupon input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.coupon input:focus { outline: none; border-color: var(--brand); border-style: solid; }
.coupon__msg { margin-top: 8px !important; font-size: 14px; font-weight: 500; color: var(--ok); }
.coupon__msg.is-bad { color: var(--danger); }
.was { color: var(--muted); font-size: .5em; font-weight: 600; margin-inline-end: 6px; vertical-align: middle; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; }
.receipt__total span { font-weight: 600; }
.receipt__total strong { font: 700 44px/1 var(--f-display); direction: ltr; letter-spacing: -0.02em; }
.price__renew { margin-top: 22px !important; padding: 14px 16px; border-radius: var(--r-md); background: var(--tint); color: var(--muted) !important; font-size: 15px !important; max-width: 46ch; }
.price__renew b { color: var(--ink); }
.receipt__total + .btn { margin-top: 18px; }

/* switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background-color .15s ease; }
.switch__ui::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: inset-inline-start .15s ease; }
.switch input:checked + .switch__ui { background: var(--brand-strong); }
.switch input:checked + .switch__ui::after { inset-inline-start: 21px; }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--brand); outline-offset: 2px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; top: 0; inset-inline-start: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-strong); color: #fff; font: 700 19px var(--f-display); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; inset-inline-start: 54px; inset-inline-end: -16px; border-top: 2px dashed color-mix(in srgb, var(--brand) 40%, transparent); }
.steps b { display: block; font: 600 18px var(--f-display); }
.steps span { display: block; color: var(--muted); margin-top: 6px; font-size: 15.5px; }

/* order */
.order { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
.order__text p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.order__sum { margin-top: 28px; display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--tint); max-width: 380px; }
.order__sum strong { font: 700 40px/1.1 var(--f-display); direction: ltr; text-align: start; }
[dir="rtl"] .order__sum strong { text-align: end; justify-self: start; }
.order__help { margin-top: 22px !important; color: var(--muted); }
.wa-link { color: var(--ok); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 30px 60px -40px var(--shadow); }
.progress { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: p; }
.progress li { counter-increment: p; font-size: 13.5px; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.progress li::before { content: counter(p); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; margin-inline-end: 6px; font-size: 12px; background: var(--tint); }
.progress li.is-on::before { background: var(--brand-strong); color: #fff; }
.progress li.is-on { color: var(--brand); border-color: var(--brand); }
.progress li.is-done { color: var(--ink); border-color: var(--ink); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: var(--r-md); padding: 4px; margin-bottom: 20px; }
.tab { border: 0; background: transparent; color: var(--muted); font: 600 15px var(--f-display); padding: 10px; border-radius: 10px; cursor: pointer; }
.tab.is-on { background: var(--raised); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .18), inset 0 0 0 1px var(--line); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field small { color: var(--muted); font-size: 13.5px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: var(--r-sm);
  min-height: 48px; padding: 10px 14px; font: 500 16px var(--f-body);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input.code { font: 700 24px var(--f-display); letter-spacing: .3em; text-align: center; }
.form__note { color: var(--muted); font-size: 15px; }
.form__note b { color: var(--ink); }
.form__fine { color: var(--muted); font-size: 13.5px; text-align: center; }
.pay-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 2px; border-top: 1px dashed var(--line); }
.pay-line strong { font: 700 30px var(--f-display); direction: ltr; }
.msg { border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 16px; font-size: 15px; font-weight: 500; background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.msg.is-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.result { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 10px 0; }
.result h3 { font-size: 24px; }
.result p { color: var(--muted); max-width: 40ch; }
.result__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.result__icon.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.result__icon.wait { background: var(--brand-soft); color: var(--brand); }
.result__icon.bad { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 600 18px var(--f-display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* footer */
.foot { background: var(--night); color: var(--night-ink); padding: 40px 0; border-top: 1px solid var(--night-line); }
.foot__in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot .logo__word { color: var(--night-ink); }
.foot .logo__word b { color: var(--brand); }
.foot p { color: var(--night-muted); flex: 1; min-width: 220px; }
.foot .wa-link { color: #3DD9A0; }
.foot small { color: var(--night-muted); }

.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1FAF5A; color: #fff; box-shadow: 0 14px 30px -10px rgba(10, 80, 40, .6); z-index: 40; }

/* responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero__in, .try, .price, .order, .faq-wrap, .offer__in { grid-template-columns: 1fr; gap: 40px; }
  .offer__in { gap: 22px; }
  .hero__stage { order: -1; padding-bottom: 30px; }
  .sells__in { grid-template-columns: 1fr; gap: 18px; }
  .sells__list { grid-template-columns: repeat(2, 1fr); }
  .feat { grid-template-columns: 1fr; }
  .feat__col, [dir="rtl"] .feat__col { padding: 22px 0 6px; }
  .feat__col + .feat__col { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
  .flow__side { width: 100%; grid-template-columns: 1fr 1fr; }
  .flow__side li::after { display: none; }
  .flow__core { margin: 0; width: 220px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .price > .receipt, .order > .panel { max-width: 520px; width: 100%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top__in { gap: 8px; min-height: 58px; }
  .top__tools .btn--sm { display: none; }
  .logo__word { font-size: 18px; }
  .hero { padding: 26px 0 48px; }
  .hero__lead { font-size: 17px; }
  .namebox__row { flex-direction: column; }
  .namebox input { min-height: 46px; }
  .phone { width: 248px; border-radius: 38px; }
  .phone__screen { min-height: 430px; padding-top: 40px; }
  .ps-list li:nth-child(n+4) { display: none; }
  .ps-wallet { display: none; }
  .promo__text { font-size: 14px; }
  .promo__cta { display: none; }
  .countdown span { min-width: 58px; }
  .offer__price strong { font-size: 44px; }
  .promo__in { padding: 8px 0; gap: 6px 12px; }
  .toast { inset-inline-start: -4px; min-width: 0; }
  .sells__list { grid-template-columns: 1fr; gap: 14px; }
  .block { padding: 64px 0; }
  .videos { grid-template-columns: 1fr; }
  .peek { grid-template-columns: 1fr; }
  .peek__main { display: none; }
  .flow__side { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .receipt, .panel { padding: 22px 18px; }
  .receipt__total strong { font-size: 38px; }
}
