/* Landing page — mobile-first white and soft-green palette. */
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('fonts/plex-arabic-400.woff2') format('woff2'); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('fonts/plex-arabic-600.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #F5FAF6; --card: #FFFFFF; --soft: #F2F8F3; --line: #E2ECE3; --line-strong: #819586;
  --text: #1B3023; --text2: #596B5E;
  --teal: #347A4C; --on-teal: #FFFFFF; --teal-ink: #28623C; --teal-50: #E8F3E9; --c-teal-soft: #C9E0CC;
  --blue-bg: #E8F3E9; --blue-ink: #28623C; --green-bg: #E8F3E9; --green-ink: #28623C; --purple-bg: #E8F3E9; --purple-ink: #28623C;
  --danger: #A32626; --danger-bg: #FDE8E8;
  --field: #FFFFFF; --placeholder: #718276; --ring: rgba(52, 122, 76, .3); --glow: rgba(52, 122, 76, .18);
  --hero-a: #E7F3E8; --hero-b: #FBFDFB; --hero-line: #D5E7D7;
  --shadow: 0 1px 2px rgba(31, 68, 41, .04), 0 12px 30px rgba(31, 68, 41, .07);
  --scrim: rgba(19, 38, 25, .48);
  --font: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r-md: 14px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.wrap { width: min(100%, 1100px); margin-inline: auto; padding: 22px 16px calc(36px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 24px; }

/* ───── hero ───── */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; padding: 24px 18px 22px; border: 1px solid var(--hero-line); border-radius: 26px; background: radial-gradient(ellipse at 50% -15%, var(--teal-50), transparent 65%), linear-gradient(180deg, var(--hero-a), var(--hero-b)); box-shadow: var(--shadow); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 240px; height: 240px; inset-inline-end: -140px; bottom: -165px; border: 1px solid var(--hero-line); border-radius: 50%; box-shadow: 0 0 0 24px rgba(213, 231, 215, .35), 0 0 0 48px rgba(213, 231, 215, .18); pointer-events: none; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.brand__logo { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 5px var(--teal-50), 0 0 0 6px var(--c-teal-soft), var(--shadow); background: var(--card); }
.brand__name { font-weight: 600; font-size: 17px; line-height: 1.4; display: flex; flex-direction: column; }
.brand__name span { font-weight: 400; font-size: 14px; color: var(--text2); }
h1 { font-size: 28px; line-height: 1.38; font-weight: 600; letter-spacing: 0; max-width: 16em; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--hero-line); border-radius: var(--r-pill); background: var(--card); color: var(--teal-ink); font-size: 13px; font-weight: 600; line-height: 1.4; }
.hero__eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.hero h1 em { color: var(--teal-ink); font-style: normal; }
.lead { color: var(--text2); font-size: 16.5px; max-width: 34em; }
.hint { color: var(--text2); font-size: 14px; }
.hero__facts { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero__facts li { min-width: 0; min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 5px; border: 1px solid var(--hero-line); border-radius: 16px; background: var(--card); color: var(--teal-ink); text-align: center; }
.hero__facts bdi { font-size: 20px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.hero__facts span { color: var(--text2); font-size: 11.5px; line-height: 1.35; }

/* ───── buttons ───── */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 600; transition: background-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn--primary { background: var(--teal); color: var(--on-teal); box-shadow: 0 8px 20px var(--glow); }
.btn--primary:hover { background: var(--teal-ink); }
.btn--primary:active { transform: translateY(1px); }
.btn--xl { min-height: 56px; width: 100%; max-width: 420px; font-size: 17.5px; border-radius: 16px; }
.btn--ghost { background: transparent; color: var(--teal-ink); }
.btn--ghost:hover { background: var(--teal-50); }
.btn[disabled] { opacity: .7; cursor: progress; box-shadow: none; }
.btn:focus { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn:focus:not(:focus-visible) { outline: none; }

/* ───── cards and sections ───── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 21px 18px; }
h2 { font-size: 18px; line-height: 1.5; font-weight: 600; }
.steps h2 { margin-bottom: 18px; }
.steps__list { display: flex; flex-direction: column; }
.steps__list li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.steps__list li:last-child { padding-bottom: 0; }
.steps__list li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.steps__n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-ink); font-weight: 600; font-size: 16px; }
.steps h3 { font-size: 16px; line-height: 1.5; font-weight: 600; margin-bottom: 2px; }
.steps p { color: var(--text2); font-size: 14.5px; line-height: 1.7; }

.levels { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.levels h2 { font-size: 16px; color: var(--text2); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { padding: 8px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; line-height: 1.5; }
.chip--blue { background: var(--blue-bg); color: var(--blue-ink); }
.chip--green { background: var(--green-bg); color: var(--green-ink); }
.chip--purple { background: var(--purple-bg); color: var(--purple-ink); }

/* ───── perks (what the offer includes) ───── */
.perks h2, .faq h2 { margin-bottom: 18px; }
.perks__list { display: flex; flex-direction: column; gap: 20px; }
.perks__list li { display: flex; gap: 14px; }
.perks__ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-ink); }
.perks__ic--blue { background: var(--blue-bg); color: var(--blue-ink); }
.perks__ic--purple { background: var(--purple-bg); color: var(--purple-ink); }
.perks h3 { font-size: 16px; line-height: 1.5; font-weight: 600; margin-bottom: 2px; }
.perks p { color: var(--text2); font-size: 14.5px; line-height: 1.7; }
.perks__split { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.perks__split p { display: flex; align-items: baseline; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--blue-bg); color: var(--blue-ink); font-weight: 600; font-size: 15px; }
.perks__split b { font-size: 20px; line-height: 1.2; }

/* ───── prices: three buttons; choosing one opens the form with that pack selected ───── */
.plans { display: flex; flex-direction: column; gap: 6px; }
.plans h2 { font-size: 20px; text-align: center; }
.plans__sub { text-align: center; color: var(--text2); font-size: 14.5px; margin-bottom: 10px; }
.plans__list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.plan { appearance: none; width: 100%; min-height: 76px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name price' 'cta price'; align-items: center; gap: 2px 12px; padding: 14px 18px; text-align: start; cursor: pointer;
  background: var(--card); color: var(--text); border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); font: inherit; transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .1s var(--ease); -webkit-tap-highlight-color: transparent; }
.plan:hover { border-color: var(--teal); background: var(--teal-50); }
.plan:active { transform: translateY(1px); }
.plan:focus { outline: 3px solid var(--ring); outline-offset: 2px; }
.plan:focus:not(:focus-visible) { outline: none; }
.plan__name { grid-area: name; font-weight: 600; font-size: 17px; line-height: 1.5; }
.plan__cta { grid-area: cta; color: var(--teal-ink); font-size: 13.5px; font-weight: 600; }
.plan__price { grid-area: price; color: var(--text2); font-size: 14px; white-space: nowrap; }
.plan__price b { color: var(--teal-ink); font-size: 26px; line-height: 1.2; font-weight: 600; }

/* ───── what people said (cards in a sideways scroller on phones, columns on desktop) ───── */
.reviews { display: flex; flex-direction: column; gap: 6px; }
.reviews h2 { font-size: 20px; text-align: center; }
.reviews__sub { text-align: center; color: var(--text2); font-size: 14.5px; margin-bottom: 10px; }
.reviews__scroll { margin-inline: -16px; padding: 6px 16px 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.reviews__scroll:focus-visible { outline: 3px solid var(--ring); outline-offset: -3px; border-radius: var(--r-lg); }
.reviews__list { display: flex; gap: 14px; }
.reviews__list > li { flex: 0 0 min(84%, 330px); scroll-snap-align: start; display: flex; }
.review { margin: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 20px 20px 18px; }
.review__q { color: var(--c-teal-soft); flex: none; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.review blockquote[dir='ltr'] p { text-align: left; }
.review__who { align-self: flex-start; padding: 3px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 13.5px; line-height: 1.6; }
.review__who--s { background: var(--blue-bg); color: var(--blue-ink); }
.review__who--p { background: var(--purple-bg); color: var(--purple-ink); }

/* ───── questions (native <details>: works without JavaScript) ───── */
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 2px; font-weight: 600; font-size: 15.5px; line-height: 1.55; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 9px; height: 9px; border-inline-end: 2px solid var(--text2); border-bottom: 2px solid var(--text2); transform: rotate(45deg); margin-inline-end: 4px; transition: transform .15s var(--ease); }
.faq details[open] > summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--teal-ink); }
.faq summary:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.faq details > p { color: var(--text2); font-size: 14.5px; line-height: 1.75; padding: 0 2px 16px; max-width: 42em; }

.closing { display: flex; justify-content: center; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--text2); font-size: 13px; line-height: 1.7; padding-top: 4px; }

/* ───── phone action bar (same place and look as the dashboard's bottom bar) ───── */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31, 68, 41, .09); animation: rise .2s var(--ease); }
.sticky .btn--xl { max-width: none; min-height: 52px; }
.has-sticky .wrap { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ───── dialog (a div, so it also works in old in-app browsers) ─────
   Phones: a bottom sheet with three parts. The head (title + close) and the foot (send button) never scroll;
   only the fields in between do. The sheet is sized to the VISIBLE screen: landing.js copies the visual viewport
   into --vv-h / --vv-top, because on iOS and recent Android the on-screen keyboard covers the page without
   resizing it. Without JavaScript the dvh / vh fallbacks apply. */
html.is-locked, html.is-locked body { overflow: hidden; }
body.is-fixed { position: fixed; left: 0; right: 0; width: 100%; }
.dlg { position: fixed; left: 0; right: 0; top: var(--vv-top, 0px); height: 100vh; height: 100dvh; height: var(--vv-h, 100dvh); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.dlg__scrim { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--scrim); animation: fade .18s ease-out; }
.dlg__panel { position: relative; width: 100%; max-width: 100%; max-height: calc(100% - 10px); display: flex; flex-direction: column; overflow: hidden; background: var(--card); border-radius: 22px 22px 0 0; animation: rise .24s var(--ease); outline: none; }
.dlg__x { position: absolute; z-index: 2; top: 8px; inset-inline-start: 8px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--soft); color: var(--text2); display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dlg__x:hover { background: var(--teal-50); color: var(--teal-ink); }
.dlg__x:focus { outline: 3px solid var(--ring); outline-offset: 1px; }
.dlg__title { font-size: 20px; line-height: 1.45; font-weight: 600; }
.dlg__sub { color: var(--text2); font-size: 14px; line-height: 1.6; margin-top: 2px; }
.req { color: var(--danger); font-weight: 600; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: .6; } }

/* ───── rules gate: the rules are read before the existing lead form ───── */
.rules { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.rules[hidden] { display: none; }
.rules__head { flex: none; padding: 16px 18px 12px; padding-inline-start: 68px; border-bottom: 1px solid var(--line); }
.rules__eyebrow { color: var(--teal-ink); font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.rules__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 16px 18px 22px; scroll-padding-block: 16px; }
.rules__intro { margin-bottom: 18px; color: var(--text2); font-size: 14px; }
.rules__section { margin-top: 18px; }
.rules__section h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 16px; line-height: 1.55; }
.rules__number { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-ink); font-size: 14px; }
.rules__section ul, .rules__section ol { display: flex; flex-direction: column; gap: 7px; padding-inline-start: 40px; color: var(--text2); font-size: 14px; line-height: 1.75; list-style: disc; }
.rules__section ol { list-style: decimal; }
.rules__section li::marker { color: var(--teal); }
.rules__discipline { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.rules__discipline ol { padding-inline-start: 23px; }
.rules__serious { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--danger); font-size: 13px; line-height: 1.7; font-weight: 600; }
.rules__foot { flex: none; display: flex; flex-direction: column; gap: 9px; padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.rules__progress { height: 4px; overflow: hidden; border-radius: 99px; background: var(--soft); }
.rules__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal); transition: width .12s linear; }
.rules__status { color: var(--text2); font-size: 12px; line-height: 1.4; }
.rules__who { border: 0; padding: 0; margin: 0; min-width: 0; }
.rules__who legend { margin-bottom: 5px; font-size: 13px; line-height: 1.45; font-weight: 600; }
.rules__who-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rules__who-options label { position: relative; min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rules__who-options input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rules__who-options span { width: 100%; min-height: 44px; display: grid; place-items: center; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); color: var(--text2); font-size: 13px; font-weight: 600; }
.rules__who-options input:checked + span { border-color: var(--teal); background: var(--teal-50); color: var(--teal-ink); box-shadow: 0 0 0 1px var(--teal); }
.rules__who-options input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 2px; }
.rules__who-options input:disabled + span { opacity: .65; cursor: not-allowed; }
.rules__agree { display: flex; align-items: flex-start; gap: 11px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); cursor: pointer; font-size: 13px; line-height: 1.6; }
.rules__agree.is-disabled { opacity: .65; cursor: not-allowed; }
.rules__agree input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); cursor: pointer; }
.rules__agree input:disabled { cursor: not-allowed; }
.rules__foot .btn--xl { min-height: 52px; }
.rules__foot .btn[disabled] { opacity: .55; cursor: not-allowed; }
.rules__scroll:focus-visible, .rules__agree:focus-within { outline: 3px solid var(--ring); outline-offset: 2px; }

.form { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.form[hidden] { display: none; }
.form__head { flex: none; padding: 16px 18px 12px; padding-inline-start: 68px; border-bottom: 1px solid var(--line); }
.form__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 16px; padding: 16px 18px 20px; scroll-padding-block: 16px; }
.form__foot { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
/* keyboard open (class set by landing.js) or a very short screen: give the fields the room */
.dlg.is-kb .dlg__panel { max-height: 100%; border-radius: 16px 16px 0 0; }
.dlg.is-kb .dlg__sub { display: none; }
.dlg.is-kb .form__head { padding-top: 12px; padding-bottom: 10px; }
.dlg.is-kb .dlg__x { top: 4px; }
.dlg.is-kb .form__foot { padding-top: 8px; padding-bottom: 8px; }
.dlg.is-kb .form__foot .btn--xl { min-height: 48px; }
@media (max-height: 460px) {
  .dlg__panel { max-height: 100%; }
  .form__head .dlg__sub { display: none; }
  .form__head { padding-top: 12px; padding-bottom: 10px; }
  .dlg__x { top: 4px; }
  .form__foot { padding-top: 8px; padding-bottom: 8px; }
  .form__foot .btn--xl { min-height: 48px; }
}

.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: 14.5px; line-height: 1.5; padding: 0; }
.field input[type='text'] { text-align: start; }
.field > legend { margin-bottom: 8px; }
.field input[type='text'], .field input[type='tel'] { width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--field); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: var(--placeholder); }
.field input[type='tel'] { text-align: right; letter-spacing: .02em; }
.field input::placeholder { opacity: 1; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8, 127, 131, .18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.help { color: var(--text2); font-size: 13px; }
.err { color: var(--danger); font-size: 13.5px; line-height: 1.55; font-weight: 600; }
.err:empty { display: none; }
.err--form { background: var(--danger-bg); border-radius: 12px; padding: 10px 14px; }
.is-bad > input[type='text'], .is-bad > input[type='tel'] { border-color: var(--danger); }
.is-bad > input:focus { box-shadow: 0 0 0 4px rgba(163, 38, 38, .16); }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 6px 10px; border: 1.5px solid var(--line-strong); border-radius: 14px; font-weight: 600; font-size: 15px; line-height: 1.4; background: var(--field); transition: background-color .15s, border-color .15s, color .15s; }
.opt input:checked + span { background: var(--teal-50); border-color: var(--teal); color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--teal); }
.opt input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 2px; }
.is-bad .opt span { border-color: var(--danger); }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opt--pack span { flex-direction: column; gap: 0; min-height: 60px; padding: 6px 4px; }
.opt--pack b { font-weight: 600; font-size: 15px; line-height: 1.5; }
.opt--pack small { font-size: 12.5px; font-weight: 400; color: var(--text2); line-height: 1.4; white-space: nowrap; }
.opt--pack input:checked + span small { color: var(--teal-ink); }

.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14.5px; line-height: 1.65; }
.consent input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--teal); cursor: pointer; }
.consent small { display: block; color: var(--text2); font-size: 13px; margin-top: 2px; }
.is-bad .consent { color: var(--danger); }
.form .btn--xl { max-width: none; width: 100%; }

.done { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 56px 20px calc(20px + env(safe-area-inset-bottom)); }
.done[hidden] { display: none; }
.done__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg); color: var(--green-ink); margin-bottom: 4px; }
.done .dlg__title { font-size: 20px; outline: none; }
.done .btn--xl { max-width: none; }
.ltr { direction: ltr; unicode-bidi: isolate; font-weight: 600; }

/* ───── wider screens ───── */
@media (min-width: 640px) {
  .dlg { align-items: center; padding: 24px; }
  .dlg__panel, .dlg.is-kb .dlg__panel { width: 520px; max-height: min(100%, 780px); border-radius: 22px; box-shadow: 0 24px 60px rgba(16, 30, 32, .28); }
  .rules__head { padding: 22px 28px 14px; padding-inline-start: 72px; }
  .rules__scroll { padding: 18px 28px 22px; }
  .rules__foot { padding: 12px 28px 18px; }
  .form__head { padding: 22px 28px 14px; padding-inline-start: 72px; }
  .form__body { padding: 18px 28px 22px; }
  .form__foot { padding: 14px 28px 20px; }
  .dlg__title { font-size: 22px; }
}
@media (min-width: 900px) {
  .sticky { display: none; }
  .has-sticky .wrap { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  .hero { padding: 40px 36px; border-radius: 32px; }
  .wrap { padding-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: 64px; row-gap: 32px; }
  .hero { grid-column: 1; grid-row: 1 / span 2; align-items: flex-start; text-align: start; gap: 22px; }
  .hero__facts { justify-content: flex-start; }
  .brand { flex-direction: row; gap: 18px; }
  .brand__logo { width: 104px; height: 104px; }
  .brand__name { font-size: 19px; }
  h1 { font-size: 44px; line-height: 1.35; }
  .hero__facts { max-width: 520px; gap: 10px; }
  .hero__facts li { min-height: 82px; padding: 10px; }
  .hero__facts bdi { font-size: 23px; }
  .hero__facts span { font-size: 12.5px; }
  .lead { font-size: 18px; }
  .btn--xl { width: auto; min-width: 280px; }
  .steps { grid-column: 2; grid-row: 1; padding: 30px 28px; }
  .levels { grid-column: 2; grid-row: 2; align-items: flex-start; text-align: start; }
  .chips { justify-content: flex-start; }
  .perks, .faq { grid-column: 1 / -1; padding: 30px 28px; }
  .plans { grid-column: 1 / -1; }
  .plans__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .plan { min-height: 132px; grid-template-columns: 1fr; grid-template-areas: 'name' 'price' 'cta'; justify-items: center; text-align: center; gap: 6px; padding: 22px 18px; }
  .reviews { grid-column: 1 / -1; gap: 8px; }
  .reviews__scroll { margin-inline: 0; padding: 8px 0 0; overflow: visible; scroll-snap-type: none; }
  .reviews__list { display: block; column-count: 3; column-gap: 20px; }
  .reviews__list > li { display: block; break-inside: avoid; margin-bottom: 20px; }
  .review { height: auto; }
  .perks__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .faq { justify-self: center; width: min(100%, 760px); }
  .closing { grid-column: 1 / -1; }
  .foot { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  h1 { font-size: 27px; }
  .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
