/* MAS D B SOFT — company site.
   Same world as pricing.shopleez.com ("the live receipt"): a dark counter, one pool of
   light, real phones on it, and thermal paper for the facts (the company card and the
   legal documents). */

@font-face { font-family: 'Alexandria'; font-weight: 500 800; font-display: swap; src: url(fonts/alexandria-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Alexandria'; font-weight: 500 800; font-display: swap; src: url(fonts/alexandria-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-weight: 400 600; font-display: swap; src: url(fonts/readex-pro-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Readex Pro'; font-weight: 400 600; font-display: swap; src: url(fonts/readex-pro-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-weight: 400 600; font-display: swap; src: url(fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }

:root {
  --counter: #121212; --counter-2: #191918; --counter-3: #222220;
  --rule: #2c2c2a; --rule-hi: #46463f;
  --fg: #ecebe6; --fg-2: #a8a7a0; --fg-hi: #f6f5f0;
  --paper: #fbfbf8; --paper-low: #f1f1ec;
  --ink: #141413; --ink-2: #5a5953; --dash: #bdbcb5;
  --red: #d42a1b; --red-hi: #ff6a5a;
  --pro: #f6dc63; --growth: #f5c3cf;
  --f-display: "Alexandria", "Readex Pro", system-ui, sans-serif;
  --f-body: "Readex Pro", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 4vw, 48px);
  color-scheme: dark; accent-color: var(--red);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #3a3a37 var(--counter); scroll-padding-block-start: 84px; scroll-behavior: smooth; }
body { margin: 0; background: var(--counter); color: var(--fg); font: 400 16px/1.65 var(--f-body); overflow-x: hidden; }
main { overflow-x: clip; } /* light pools reach past the edges; they must not widen the page on phones */
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--counter); }
::-webkit-scrollbar-thumb { background: #3a3a37; border-radius: 8px; border: 3px solid var(--counter); }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* both languages ship in the HTML; the page shows one */
html[data-lang="en"] [lang="ar"]:not(.keep),
html[data-lang="ar"] [lang="en"]:not(.keep) { display: none !important; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- top ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18,18,18,.82); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-block-end: 1px solid transparent; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; margin-inline: auto; padding: 14px var(--pad); }
.mark { display: inline-flex; align-items: baseline; gap: .38em; text-decoration: none; color: var(--fg); direction: ltr; font: 800 20px/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.mark__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); align-self: center; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__a { color: var(--fg-2); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .2s; }
.nav__a:hover { color: var(--fg); }
.lang { height: 40px; padding-inline: 14px; border-radius: 10px; border: 1px solid var(--rule); background: transparent; color: var(--fg); font: 500 15px/1 var(--f-body); cursor: pointer; transition: border-color .2s; }
.lang:hover { border-color: var(--rule-hi); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding-inline: 20px; border-radius: 10px; font: 500 16px/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #bb2316; }
.btn--line { border: 1px solid var(--rule); color: var(--fg); background: transparent; }
.btn--line:hover { border-color: var(--rule-hi); }
.btn--sm { height: 40px; padding-inline: 14px; font-size: 15px; }
.btn:active { transform: translateY(1px); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 80px); }
h1 { font-weight: 800; font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.3rem); line-height: 1.12; letter-spacing: -.01em; color: var(--fg-hi); }
html[data-lang="en"] h1 { letter-spacing: -.035em; line-height: 1.03; }
h1 span { display: block; }
.hero h1 span:nth-child(even) { color: var(--fg-2); font-weight: 700; }
.lead { color: var(--fg-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 48ch; margin-block-start: 22px; }
.lead strong { color: var(--fg); font-weight: 500; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 30px; }
.hero__note { margin-block-start: 18px; color: var(--fg-2); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero__note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 0 4px rgba(63,191,106,.14); }

/* phones on the counter */
.phones { position: relative; isolation: isolate; height: clamp(440px, 46vw, 600px); }
.phones::before { content: ""; position: absolute; z-index: -1; inset: -120px -200px -60px; pointer-events: none; background: radial-gradient(46% 42% at 50% 46%, rgba(255,246,228,.11), rgba(255,246,228,.035) 55%, transparent 76%); }
.phone { position: absolute; width: clamp(170px, 18vw, 238px); aspect-ratio: 460 / 998; padding: 7px; border-radius: 34px; background: linear-gradient(160deg, #2a2a28, #0b0b0b 45%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 30px 60px -20px rgba(0,0,0,.9), 0 60px 120px -50px rgba(0,0,0,.9); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.phones .phone:nth-child(1) { inset-inline-start: 2%; top: 12%; transform: rotate(-7deg); z-index: 1; }
.phones .phone:nth-child(2) { inset-inline-start: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
html[dir="rtl"] .phones .phone:nth-child(2) { transform: translateX(50%); }
.phones .phone:nth-child(3) { inset-inline-end: 2%; top: 14%; transform: rotate(7deg); z-index: 2; }
.slip { position: absolute; z-index: 4; inset-inline-start: 4%; bottom: 0; width: clamp(180px, 17vw, 224px); padding: 14px 16px 18px; color: var(--ink); background: linear-gradient(var(--paper), var(--paper-low)); box-shadow: 0 24px 40px -16px rgba(0,0,0,.9); transform: rotate(-3deg); font-size: 13px; line-height: 1.45;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) bottom / 10px 7px repeat-x;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) bottom / 10px 7px repeat-x; }
.slip b { display: block; font: 700 14px/1.3 var(--f-display); }
.slip ul { list-style: none; padding: 0; margin-block-start: 8px; padding-block-start: 8px; border-block-start: 1.5px dashed var(--dash); display: grid; gap: 3px; }
.slip li { display: flex; justify-content: space-between; gap: 10px; }
.slip li span:last-child { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }

@media (prefers-reduced-motion: no-preference) {
  .phones .phone, .slip { animation: rise .9s var(--ease) both; }
  .phones .phone:nth-child(1) { animation-delay: .12s; }
  .phones .phone:nth-child(3) { animation-delay: .2s; }
  .slip { animation-delay: .45s; }
  @keyframes rise { from { opacity: 0; translate: 0 26px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }
}

/* ---------- clients ---------- */
.clients { border-block: 1px solid var(--rule); padding-block: 22px; }
.clients__in { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.clients__t { color: var(--fg-2); font-size: 14px; margin-inline-end: 6px; }
.clients ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.clients li { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); font-size: 15px; }
.clients li img { width: 30px; height: 30px; border-radius: 8px; }
.clients li i { width: 30px; height: 30px; border-radius: 8px; background: var(--counter-3); display: inline-grid; place-items: center; font: 700 13px/1 var(--f-display); font-style: normal; color: var(--fg-2); }

/* ---------- sections ---------- */
.sect { padding-block: clamp(56px, 8vw, 104px); }
.sect + .sect { border-block-start: 1px solid var(--rule); }
.sect__head { max-width: 60ch; }
.sect h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; color: var(--fg-hi); line-height: 1.12; }
html[data-lang="ar"] .sect h2 { letter-spacing: 0; line-height: 1.35; }
.sect__head .lead { margin-block-start: 14px; }

/* product block */
.prod { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-block-start: 48px; }
.prod + .prod { margin-block-start: clamp(64px, 9vw, 112px); }
.prod__name { display: flex; align-items: center; gap: 12px; font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--f-display); color: var(--fg-hi); letter-spacing: -.02em; direction: ltr; }
html[dir="rtl"] .prod__name { justify-content: flex-end; }
.tag { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink); background: var(--pro); padding: 5px 7px 4px; border-radius: 3px; }
.tag--pink { background: var(--growth); }
.prod__copy p { color: var(--fg-2); margin-block-start: 14px; max-width: 46ch; }
.prod__copy p strong { color: var(--fg); font-weight: 500; }
.ticks { list-style: none; padding: 0; margin-block-start: 22px; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--fg); }
.ticks svg { width: 18px; height: 18px; color: var(--red-hi); margin-block-start: 4px; }

/* tour: real screens in a row */
.tour { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.tour figure { display: grid; gap: 12px; }
.tour .phone { position: relative; width: 100%; padding: 5px; border-radius: 26px; }
.tour .phone img { border-radius: 21px; }
.tour figure:nth-child(even) { margin-block-start: 36px; }
.tour figcaption { color: var(--fg-2); font-size: 14px; line-height: 1.45; }
.tour figcaption b { display: block; color: var(--fg); font-weight: 500; }

/* dashboard in a browser frame */
.browser { margin-block-start: 28px; border-radius: 14px; overflow: hidden; background: var(--counter-2); box-shadow: inset 0 0 0 1px var(--rule), 0 40px 80px -30px rgba(0,0,0,.9); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-block-end: 1px solid var(--rule); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a37; }
.browser__bar span { margin-inline-start: 10px; font: 500 12px/1 var(--f-mono); color: var(--fg-2); letter-spacing: .04em; }
.browser img { width: 100%; }
.browser + figcaption { color: var(--fg-2); font-size: 14px; margin-block-start: 12px; }

/* MasDB → app flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; padding: clamp(20px, 3vw, 32px); border-radius: 14px; background: var(--counter-2); box-shadow: inset 0 0 0 1px var(--rule); }
.flow__n { display: grid; justify-items: center; gap: 10px; text-align: center; }
.flow__n svg { width: 44px; height: 44px; color: var(--fg); padding: 10px; border-radius: 12px; background: var(--counter-3); box-sizing: content-box; }
.flow__n b { font: 700 15px/1.3 var(--f-display); color: var(--fg); }
.flow__n span { font-size: 13px; color: var(--fg-2); line-height: 1.4; }
.flow__arrow { position: relative; width: clamp(28px, 5vw, 64px); height: 2px; background: repeating-linear-gradient(90deg, var(--red-hi) 0 6px, transparent 6px 11px); }
.flow__arrow::after { content: ""; position: absolute; inset-inline-end: -2px; top: -4px; border: 5px solid transparent; border-inline-start: 7px solid var(--red-hi); }
html[dir="rtl"] .flow__arrow::after { border-inline-start-color: var(--red-hi); }
@media (prefers-reduced-motion: no-preference) {
  .flow__arrow { background-size: 22px 2px; animation: march 1.2s linear infinite; }
  html[dir="rtl"] .flow__arrow { animation-direction: reverse; }
  @keyframes march { to { background-position: 22px 0; } }
}
.flow + p { color: var(--fg-2); font-size: 14px; margin-block-start: 12px; }

/* steps */
.steps { list-style: none; padding: 0; margin-block-start: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block-start: 1.5px dashed var(--rule); }
.steps li { padding: 26px 0; padding-inline-end: 24px; }
.steps li + li { padding-inline-start: 24px; border-inline-start: 1.5px dashed var(--rule); }
.steps b { display: block; font: 700 1.15rem/1.3 var(--f-display); color: var(--fg-hi); margin-block-start: 10px; }
.steps p { color: var(--fg-2); margin-block-start: 6px; max-width: 34ch; }
.steps .mono { color: var(--red-hi); font-size: 13px; letter-spacing: .08em; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; margin-block-start: 40px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; color: var(--fg-2); }
.field input, .field textarea, .field select { width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--fg); background: var(--counter-2); border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75746e; }
.field input:hover, .field textarea:hover { border-color: var(--rule-hi); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-hi); box-shadow: 0 0 0 3px rgba(255,106,90,.18); }
.field input:user-invalid { border-color: var(--red-hi); }
.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choice__row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { cursor: pointer; position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; height: 40px; padding-inline: 14px; border-radius: 10px; border: 1px solid var(--rule); color: var(--fg); font-size: 15px; transition: border-color .2s, background-color .2s; }
.choice input:checked + span { border-color: var(--red-hi); background: rgba(255,106,90,.12); }
.choice input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.form__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 4px; }
.form__fine { grid-column: 1 / -1; font-size: 13px; color: var(--fg-2); }
.form__err { grid-column: 1 / -1; font-size: 14px; color: var(--red-hi); min-height: 1.4em; }

/* the company card: thermal paper */
.card { position: relative; isolation: isolate; }
.card::before { content: ""; position: absolute; z-index: -1; inset: -80px -120px; pointer-events: none; background: radial-gradient(50% 45% at 50% 40%, rgba(255,246,228,.08), transparent 72%); }
.card__paper { color: var(--ink); background: linear-gradient(var(--paper) 0, var(--paper) 40%, var(--paper-low) 100%); padding: 26px clamp(18px, 3vw, 28px) 26px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 2px 3px rgba(0,0,0,.35), 0 30px 50px -18px rgba(0,0,0,.85);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) bottom / 12px 8px repeat-x;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) bottom / 12px 8px repeat-x; }
.card__t { font: 800 1.3rem/1.2 var(--f-display); letter-spacing: -.02em; text-align: center; }
.card__ar { font: 700 1.05rem/1.4 var(--f-display); text-align: center; margin-block-start: 2px; }
.card__rows { margin-block-start: 16px; padding-block-start: 12px; border-block-start: 1.5px dashed var(--dash); display: grid; gap: 8px; }
.card__rows div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 12px; align-items: baseline; }
.card__rows dt { color: var(--ink-2); font-size: 13px; }
.card__rows dd { font-weight: 500; text-align: end; overflow-wrap: anywhere; }
.card__rows dd .sub { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.card__rows a { color: var(--ink); }
.card__bars { display: block; width: 100%; height: 34px; margin-block-start: 18px; color: var(--ink); }

/* ---------- footer ---------- */
.foot { border-block-start: 1px solid var(--rule); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 28px 40px; color: var(--fg-2); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--fg-2); }
.foot a:hover { color: var(--fg); }

/* floating WhatsApp on phones */
.wa-float { position: fixed; z-index: 30; inset-inline-end: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; background: var(--red); color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.8); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- documents (privacy, terms) ---------- */
.doc { padding-block: clamp(20px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.printer { position: relative; height: 24px; margin-inline: -14px; border-radius: 12px 12px 4px 4px; background: linear-gradient(#2b2b29, #121211 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 14px 22px -10px rgba(0,0,0,.85); z-index: 2; }
.printer::after { content: ""; position: absolute; inset: auto 10px 5px; height: 2px; border-radius: 2px; background: #000; }
.doc .printer { max-width: 860px; margin-inline: auto; }
.doc .rc { max-width: 832px; margin-inline: auto; margin-block-start: -4px; position: relative; }
.rc__paper { position: relative; color: var(--ink); background: linear-gradient(var(--paper) 0, var(--paper) 40%, var(--paper-low) 100%); box-shadow: 0 2px 3px rgba(0,0,0,.35), 0 30px 50px -18px rgba(0,0,0,.85), 0 70px 120px -40px rgba(0,0,0,.9);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) bottom / 12px 8px repeat-x;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) bottom / 12px 8px repeat-x; }
.doc .rc__paper { padding: clamp(28px, 5vw, 56px) clamp(20px, 6vw, 64px) 40px; font-size: 16px; line-height: 1.75; }
.doc h1 { color: var(--ink); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); }
.doc .meta { color: var(--ink-2); font-size: 14px; margin-block-start: 10px; }
.doc h2 { font-size: 1.15rem; font-weight: 700; margin-block: 30px 8px; padding-block-start: 18px; border-block-start: 1.5px dashed var(--dash); }
.doc p, .doc li { max-width: 70ch; }
.doc p + p { margin-block-start: 10px; }
.doc ul { padding-inline-start: 1.2em; display: grid; gap: 4px; margin-block-start: 8px; }
.doc ul + p { margin-block-start: 12px; }
.doc a { color: var(--red); }
.doc .back { display: inline-block; margin-block-end: 18px; color: var(--fg-2); font-size: 14px; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .hero, .prod, .contact { grid-template-columns: 1fr; }
  .phones { height: clamp(380px, 92vw, 520px); max-width: 560px; width: 100%; margin-inline: auto; }
  .phone { width: clamp(150px, 38vw, 220px); }
  .tour { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__a { display: none; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-inline: 0; border-inline-start: 0; }
  .steps li + li { border-block-start: 1.5px dashed var(--rule); }
  .flow { grid-template-columns: 1fr; justify-items: center; }
  .flow__arrow { width: 2px; height: 30px; background: repeating-linear-gradient(180deg, var(--red-hi) 0 6px, transparent 6px 11px); animation: none; }
  .flow__arrow::after { inset-inline-end: auto; left: -4px; top: auto; bottom: -3px; border: 5px solid transparent; border-top: 7px solid var(--red-hi); }
  .form { grid-template-columns: 1fr; }
  .top .btn--sm { display: none; }
  .wa-float { display: grid; }
}
@media (max-width: 420px) {
  .card__rows div { grid-template-columns: 1fr; gap: 1px; }
  .card__rows dd { text-align: start; }
  [dir="rtl"] .card__rows dd.ltr, [dir="rtl"] .card__rows dd .ltr { text-align: right; }
  .slip { display: none; }
}
@media print { body { background: #fff; } .top, .printer, .wa-float { display: none; } .rc__paper { box-shadow: none; -webkit-mask: none; mask: none; } }
