/* Public pages (templates/public_landing.html, subscribe.html, subscribe_order.html) — light design, brand colour #12855f.
   Plans and comparison: static/js/public_packages.js */


:root {
  --bg: #ffffff;
  --tint: #f5f3f7;
  --ink: #1d1426;
  --ink-2: #4a3f55;
  --muted: #6f6479;
  --line: #e7e2ec;
  --line-2: #d6cfdd;
  --brand: #12855f;
  --brand-2: #0d6548;
  --brand-soft: #e6f5ef;
  --mint: #7fe6cd;
  --coral: #ff7a59;
  --ok: #12855f;
  --bad: #be123c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 20, 38, .05), 0 10px 28px rgba(29, 20, 38, .07);
  --shadow-lg: 0 2px 4px rgba(29, 20, 38, .05), 0 22px 54px rgba(29, 20, 38, .13);
  --font: "Inter", "Noto Kufi Arabic", -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.pl { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body.pl { font-family: "Noto Kufi Arabic", "Inter", Tahoma, Arial, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
.pl-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }
.ic { width: 1em; height: 1em; flex: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Colour tones of app groups */
.tone-teal { --tone: #0b8378; --tone-bg: #dcf6f1; }
.tone-rose { --tone: #d23a62; --tone-bg: #fde6ec; }
.tone-blue { --tone: #2268c4; --tone-bg: #e2eefc; }
.tone-violet { --tone: #6541c4; --tone-bg: #ece7fb; }
.tone-amber { --tone: #b86a00; --tone-bg: #fff0d6; }
.tone-plum { --tone: #7b2d8e; --tone-bg: #f3e6f7; }
.tone-green { --tone: #16803f; --tone-bg: #e0f6e7; }
.tone-coral { --tone: #d6482a; --tone-bg: #ffe9e2; }

/* ── Header + menus ── */
.pl-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(29, 20, 38, .42); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility .18s; }
body:has(.pl-dd--mega.is-open) .pl-scrim { opacity: 1; visibility: visible; }
@media (hover: hover) and (min-width: 1101px) { body:has(.pl-dd--mega:hover) .pl-scrim { opacity: 1; visibility: visible; } }
.pl-top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.pl-top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(29, 20, 38, .05); }
.pl-top__in { position: static; display: flex; align-items: stretch; gap: 22px; height: 68px; }
.pl-logo { display: flex; align-items: center; gap: 9px; color: var(--ink); flex: none; }
.pl-logo:hover { color: var(--ink); }
.pl-logo__mark { width: 38px; height: 38px; flex: none; }
.pl-logo__text { display: flex; flex-direction: column; line-height: 1.05; direction: ltr; text-align: left; }
.pl-logo__text b { font-family: "Inter", sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.pl-logo__text b i { font-style: normal; color: var(--brand); }
.pl-logo__text small { font-family: "Inter", sans-serif; font-size: 10.5px; color: var(--muted); letter-spacing: .2px; }

.pl-nav { display: flex; align-items: stretch; gap: 2px; margin-inline: auto; }
.pl-nav > a, .pl-dd__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; color: var(--ink-2); font: inherit; font-size: 14.5px; font-weight: 600; background: none; border: 0; cursor: pointer; }
.pl-nav > a:hover, .pl-dd__btn:hover, .pl-dd.is-open .pl-dd__btn { color: var(--brand); }
.pl-nav > a.pl-nav__login { display: none; }
.pl-dd { position: relative; display: flex; }
.pl-dd--mega { position: static; }
.pl-dd__btn .ic { font-size: 13px; transition: transform .2s ease; }
.pl-dd.is-open .pl-dd__btn .ic { transform: rotate(180deg); }
.pl-dd__panel { position: absolute; top: 100%; inset-inline-start: -12px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.pl-dd--mega .pl-dd__panel { inset-inline: 0; border-radius: 0; border-width: 1px 0 0; padding: 26px 0 30px; }
.pl-dd.is-open .pl-dd__panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) { .pl-dd:hover .pl-dd__panel { opacity: 1; visibility: visible; transform: none; } .pl-dd:hover .pl-dd__btn { color: var(--brand); } }
.pl-mega { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 34px; }
.pl-menu { width: 280px; display: grid; gap: 2px; }
.pl-mi { display: flex; align-items: center; gap: 11px; padding: 8px 9px; border-radius: 10px; color: var(--ink); }
.pl-mi:hover { background: var(--tint); color: var(--ink); }
.pl-mi__ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-size: 16px; }
.pl-mi b { font-size: 13.5px; font-weight: 600; }

.pl-top__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.pl-lang { margin: 0; }
.pl-lang button { padding: 6px 4px; background: none; border: 0; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pl-lang button:hover { color: var(--brand); }
.pl-link { color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; padding: 9px 17px; border-radius: 9px; color: #fff; }
.pl-btn--grad { background: var(--brand); transition: background .15s ease; }
.pl-btn--grad:hover { color: #fff; background: var(--brand-2); }
.pl-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 21px; cursor: pointer; place-items: center; }


/* ── Hero ── */
.pl-cta { color: #fff; background: var(--brand); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.pl-cta:hover { color: #fff; background: var(--brand-2); }
.pl-cta2 { color: var(--brand); background: var(--tint); }
.pl-cta2:hover { background: #ebe6f0; }

/* ── Apps ── */
.pl-strip { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 0 auto 46px; padding: 9px 22px 9px 12px; background: #fff; border-radius: 999px; color: var(--ink); font-size: 14px; box-shadow: var(--shadow); }
[dir="rtl"] .pl-strip { padding: 9px 12px 9px 22px; }
.pl-strip:hover { color: var(--ink); }
.pl-strip b { direction: ltr; unicode-bidi: isolate; letter-spacing: .3px; }
.pl-strip__ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 15px; }
.pl-strip__go { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 12px; color: var(--brand); font-weight: 600; }
[dir="rtl"] .pl-strip__go .ic { transform: scaleX(-1); }
.pl-more[open] > summary .ic { transform: rotate(180deg); }

/* ── Showcase ── */
.pl-show { padding: 60px 0 76px; background: var(--tint); }
.pl-sub { margin: 0 auto 40px; max-width: 680px; text-align: center; color: var(--muted); font-size: 16px; }
.pl-sub--tight { margin-bottom: 22px; font-size: 14.5px; }
.mock { position: absolute; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; }
.mock__bar { padding: 9px 14px; background: #e8e2f0; font-weight: 700; }
.mock__head { padding: 13px 16px 4px; font-weight: 700; font-size: 15px; }
.mock__act { padding: 8px 14px; border-top: 1px solid var(--line); }
.mock__act b { display: block; font-size: 12.5px; font-weight: 600; }
.mock__act span { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 11px; }
.mock__act i { font-style: normal; }
.mock__act i.is-late { color: var(--bad); font-weight: 700; }
.mock__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 8px 16px 0; }
.mock__cols h4 { margin: 0 0 7px; font-size: 13.5px; }
.mock__progress { display: flex; height: 7px; margin-bottom: 10px; overflow: hidden; border-radius: 4px; background: #e1dde6; }
.mock__progress i { background: #28a56f; }
.mock__progress i.b { background: #e2a93b; }
.mock__card { padding: 11px 12px; margin-bottom: 10px; border: 1px solid var(--line-2); border-radius: 7px; }
.mock__card b { display: block; font-size: 13.5px; font-weight: 600; }
.mock__card small { display: block; color: var(--muted); font-size: 11.5px; }
.mock__tags { display: flex; gap: 5px; margin-top: 8px; }
.mock__tags i { width: 42px; height: 8px; border-radius: 4px; background: #d5e5fb; }
.mock__tags i.b { background: #bfeee0; }
.mock__tags i.c { background: #fbdcc9; }
.mock__search { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mock__search .ic { font-size: 17px; color: var(--ink-2); }
.mock__result { padding: 10px 18px; }
.mock__result.is-on { background: #eef8f5; }
.mock__row { display: flex; justify-content: space-between; padding: 8px 16px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mock__head + .mock__row { border-top: 0; }
.mock__row--total { font-weight: 800; font-size: 15px; color: var(--ok); }
.pl-illus { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }

/* ── Headings ── */
.pl-hand { margin: 0 0 10px; color: var(--ink); font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.35; text-align: center; }
.pl-h3 { margin: 0 0 6px; color: var(--ink); font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; line-height: 1.35; text-align: center; }
.pl-mark, .pl-line { color: var(--brand); }

/* ── Hero: text on one side, the product on the other ── */
.pl-hero { background: linear-gradient(180deg, #fff 0, var(--brand-soft) 100%); padding: 56px 0 64px; }
.pl-hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.pl-h1 { margin: 0 0 16px; color: var(--ink); font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; line-height: 1.3; letter-spacing: -.5px; }
html[lang="ar"] .pl-h1 { letter-spacing: 0; line-height: 1.4; }
.pl-lead { margin: 0 0 26px; max-width: 560px; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); }
.pl-lead .pl-line { font-weight: 700; }
.pl-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-teaser .pl-ctas { justify-content: center; }
.pl-cta, .pl-cta2 { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; transition: background .15s ease; }
.pl-cta { color: #fff; background: var(--brand); }
.pl-cta:hover { color: #fff; background: var(--brand-2); }
.pl-cta2 { color: var(--brand); background: #fff; border: 1px solid var(--brand); }
.pl-cta2:hover { background: var(--brand-soft); }
.pl-from { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.pl-from b { color: var(--ink); }
.pl-hero__show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pl-hero__show .mock { position: static; width: auto; }

/* ── Apps ── */
.pl-apps { padding: 44px 0 40px; background: #fff; }
.pl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pl-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 14px; transition: border-color .15s ease, background .15s ease; }
.pl-tile b { font-weight: 600; line-height: 1.4; }
.pl-tile:hover { color: var(--ink); border-color: var(--brand); background: var(--brand-soft); }
.pl-tile__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tone-bg); color: var(--tone); font-size: 22px; }
.pl-more { margin-top: 22px; text-align: center; }
.pl-collage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; max-width: 1120px; margin: 0 auto; }
.pl-collage .mock { position: static; }

/* ── Sections ── */
.pl-sec { position: relative; padding: 70px 0; }
.pl-sec--tint { background: var(--tint); }
.pl-inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.pl-ind { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.pl-ind b { font-weight: 600; line-height: 1.4; }
.pl-ind__ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 21px; }
.pl-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pl-cards--3 { grid-template-columns: repeat(3, 1fr); }
.pl-card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pl-card__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; font-size: 22px; color: var(--brand); background: var(--brand-soft); margin-bottom: 14px; }
.pl-card h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.pl-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.pl-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; counter-reset: s; }
.pl-step { position: relative; padding-inline-start: 58px; }
.pl-step::before { counter-increment: s; content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-weight: 800; font-size: 19px; }
.pl-step h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 700; }
.pl-step p { margin: 0; color: var(--muted); font-size: 14px; }
.pl-faq { max-width: 820px; margin: 30px auto 0; }
.pl-faq details { margin-bottom: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 14px 18px; }
.pl-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary .ic { color: var(--brand); transition: transform .2s ease; }
.pl-faq details[open] summary .ic { transform: rotate(180deg); }
.pl-faq details p { color: var(--muted); margin: 10px 0 0; font-size: 14.5px; }

/* ── Plans ── */
.pl select, .pl input[type=number], .pl input[type=text], .pl input[type=email], .pl input[type=password], .pl textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 12px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.pl select:focus, .pl input:focus, .pl textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 133, 95, .13); }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: end; justify-content: center; margin-bottom: 26px; }
.toolbar label, .toolbar__label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.toolbar select { height: 52px; min-width: 96px; }
.periods { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 11px; }
.period { min-width: 92px; min-height: 42px; padding: 3px 12px; border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: transparent; }
.period small { display: block; min-height: 15px; line-height: 15px; font-size: 11px; font-weight: 700; color: var(--ok); }
.period:hover { background: var(--tint); }
.period.on { color: #fff; background: var(--brand); }
.period.on small { color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.plan { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(29, 20, 38, .04); }
.plan.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.plan h4 { margin: 0 0 4px; font-size: 19px; font-weight: 800; }
.plan h5 { margin: 16px 0 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.plan .desc { margin: 0; min-height: 44px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.plan .was { min-height: 20px; margin-top: 10px; font-size: 13px; color: var(--muted); text-decoration: line-through; }
.plan .price { font-size: 27px; font-weight: 800; color: var(--brand); line-height: 1.3; }
.plan .price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan .billed { min-height: 20px; font-size: 12px; color: var(--muted); }
.plan__btn { min-height: 42px; margin-top: 14px; border: 1px solid var(--brand); border-radius: 9px; background: #fff; color: var(--brand); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s ease, color .15s ease; }
.plan__btn:hover, .plan__btn.on { background: var(--brand); color: #fff; }
.facts { margin-top: 16px; border-top: 1px solid var(--line); }
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.fact b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.plan__list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.plan__list li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.plan__list .ic { margin-top: 4px; color: var(--ok); font-size: 14px; }
.plan__diff { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--tint); }
.plan__diff h5 { margin: 0 0 4px; color: var(--ink-2); }
.plan__diff-line { margin: 3px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.plan__diff-line.is-plus b { color: var(--ok); }
.plan__diff-line.is-minus b { color: var(--bad); }
.pl-note { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }

/* Comparison */
.cmp { margin-top: 60px; }
.cmp__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 12px; }
.cmp__pick { display: flex; flex-wrap: wrap; gap: 7px; }
.cmp__chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.cmp__chip input, .cmp__diff input, .mod input { accent-color: var(--brand); }
.cmp__chip input { width: 15px; height: 15px; margin: 0; }
.cmp__chip.on { border-color: var(--brand); color: var(--ink); }
.cmp__diff { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.cmp__diff input { width: 18px; height: 18px; margin: 0; }
.cmp__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); }
.cmp__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cmp__legend .cell-addon { padding: 0 6px; }
.cmp__scroll { max-height: 82vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cmp__table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.cmp__table th, .cmp__table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp__table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; min-width: 210px; background: #fff; text-align: start; font-weight: 600; }
.cmp__table thead th { position: sticky; top: 0; z-index: 2; min-width: 136px; padding: 12px 8px; background: #fff; vertical-align: top; box-shadow: 0 1px 0 var(--line-2); }
.cmp__table thead th.cmp__corner { inset-inline-start: 0; z-index: 3; color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: start; vertical-align: middle; }
.cmp__table thead b { display: block; min-height: 40px; font-size: 13.5px; line-height: 1.45; }
.cmp__price { display: block; color: var(--brand); font-size: 15.5px; font-weight: 800; white-space: nowrap; }
.cmp__table thead small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.cmp__choose { margin-top: 7px; padding: 4px 9px; border: 1px solid var(--brand); border-radius: 7px; background: #fff; color: var(--brand); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.cmp__choose:hover, .cmp__choose.on { background: var(--brand); color: #fff; }
.cmp__table th.is-on, .cmp__table td.is-on { background: #f1faf6; }
.cmp__table tr.cmp__group th { position: static; padding: 9px 12px; background: var(--tint); color: var(--ink-2); font-size: 12.5px; font-weight: 800; text-align: start; }
.cell-text { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cell-yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dcf6ec; color: var(--ok); font-size: 13px; font-style: normal; }
.cell-addon { display: inline-block; padding: 2px 7px; border-radius: 6px; background: #fff3dd; color: #8a5200; font-size: 12px; font-weight: 700; font-style: normal; white-space: nowrap; }
.cell-no { color: #a79db1; font-style: normal; font-weight: 700; }
.cmp__toggle { padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 800; cursor: pointer; }

/* Builder */
.pricing-box { margin-top: 60px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); scroll-margin-top: 84px; }
.pricing-box.empty { text-align: center; color: var(--muted); }
.steps-title { margin: 22px 0 10px; font-weight: 800; font-size: 14.5px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.layout .steps-title:first-child { margin-top: 0; }
.plan-pick { display: flex; flex-wrap: wrap; gap: 7px; }
.plan-chip { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.plan-chip:hover { border-color: var(--brand); }
.plan-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.companies-label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
#companies { width: 110px; }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.mod { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; border: 1px solid var(--line); transition: border-color .15s ease; }
.mod:hover { border-color: var(--line-2); }
.mod.on { border-color: var(--brand); background: var(--brand-soft); }
.mod.is-in { background: #eefaf5; border-color: #bfe9d7; cursor: default; }
.mod.is-in .cost { color: var(--ok); }
.mod input { width: 17px; height: 17px; flex: none; }
.mod .info { flex: 1; min-width: 0; }
.mod .name { display: block; font-size: 13.5px; font-weight: 700; }
.mod .info .desc { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.mod .cost { font-size: 12px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.err { color: var(--bad); font-size: 14px; }
.summary { position: sticky; top: 88px; padding: 20px; border-radius: 14px; background: var(--tint); }
.summary h4 { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 5px 0; color: var(--ink-2); }
.summary .row.total { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 12px; font-size: 20px; font-weight: 800; color: var(--ink); }
.summary .eq { color: var(--muted); font-size: 12.5px; text-align: end; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 700; border-radius: 9px; }
.btn-accent { color: #fff; background: var(--brand); }
.btn-accent:hover { color: #fff; background: var(--brand-2); }
.btn-lg { padding: 13px 24px; font-size: 15.5px; }
.btn.disabled, .btn[disabled] { opacity: .45; pointer-events: none; }
.summary .btn { width: 100%; margin-top: 14px; }

/* Contact */
.pl-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 34px; border-radius: 18px; background: var(--tint); }
.pl-contact h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; line-height: 1.35; }
.pl-contact p { color: var(--ink-2); font-size: 14.5px; }
.pl-contact__lead { margin-bottom: 0; color: var(--ink) !important; }
.pl-contact > div { min-width: 0; }
.pl-contact form { display: grid; gap: 10px; }
.pl-contact form input, .pl-contact form textarea { width: 100%; min-width: 0; }
.pl-contact textarea { min-height: 110px; resize: vertical; }
.pl-ways { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.pl-way { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); }
.pl-way .ic { color: var(--brand); font-size: 16px; }
.flash { border-radius: 10px; padding: 11px 14px; margin-bottom: 12px; font-weight: 600; }
.flash.ok { background: #e1f7ee; color: #0c6848; }
.flash.bad { background: #fde8ec; color: var(--bad); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer */
.pl-foot { padding: 42px 0 24px; background: var(--ink); color: #c8bfd0; font-size: 13.5px; }
.pl-foot__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
.pl-foot .company { font-weight: 800; color: #fff; font-size: 16px; }
.pl-foot nav { display: flex; flex-direction: column; gap: 5px; }
.pl-foot nav b { margin-bottom: 4px; color: #fff; }
.pl-foot a { color: #c8bfd0; }
.pl-foot a:hover { color: #fff; }
.pl-foot__legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; }

/* App pages (templates/public_modules.html, public_module.html) */
.pl-page-top { padding-top: 40px; }
.pl-mega__title { margin-bottom: 8px; color: var(--tone); font-size: 13px; font-weight: 800; }
.pl-mega__col a { display: flex; align-items: center; gap: 9px; padding: 5px 0; color: var(--ink-2); font-size: 13.5px; }
.pl-mega__col a:hover { color: var(--brand); }
.pl-mega__col a span { display: grid; place-items: center; color: var(--tone); font-size: 16px; }
.pl-mega__foot { display: flex; justify-content: center; gap: 34px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pl-mega__foot a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.pl-mega__foot a:hover { color: var(--brand); }
.pl-mega__foot .ic { font-size: 16px; }
.pl-appgroup { margin-top: 38px; }
.pl-appgroup > h2 { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); color: var(--tone, var(--ink)); font-size: 17px; font-weight: 700; }
.pl-appcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pl-appcard { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.pl-appcard:hover { color: var(--ink); border-color: var(--brand); box-shadow: var(--shadow); }
.pl-appcard b { display: block; font-size: 14.5px; font-weight: 700; }
.pl-appcard small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.pl-crumb { display: flex; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.pl-mod { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.pl-mod__title { margin: 30px 0 10px; text-align: start; }
.pl-mod__lead { margin: 0 0 26px; max-width: 640px; color: var(--ink-2); font-size: 17px; }
.pl-mod__h { margin: 26px 0 8px; font-size: 16px; font-weight: 800; }
.pl-mod__who { margin: 0; color: var(--ink-2); }
.pl-mod__list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.pl-mod__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pl-mod__list .ic { margin-top: 5px; color: var(--ok); font-size: 16px; }
.pl-mod__side { position: sticky; top: 88px; display: grid; gap: 10px; padding: 22px; border-radius: 16px; background: var(--tint); }
.pl-mod__side h2 { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.pl-mod__side h3 { margin: 10px 0 0; font-size: 13.5px; font-weight: 800; }
.pl-mod__side p { margin: 0; color: var(--muted); font-size: 12.5px; }
.pl-mod__side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.pl-mod__side .pl-cta2 { background: #fff; }
.pl-mod__price { color: var(--brand); font-size: 28px; font-weight: 800; }
.pl-mod__price small { color: var(--muted); font-size: 13px; font-weight: 600; }

/* Cookie notice + help bubble */
.cookie { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 70; max-width: 400px; line-height: 1.5; display: none; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px; font-size: 12px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cookie button { border: 0; border-radius: 8px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; padding: 7px 15px; cursor: pointer; flex: none; }
.pl-help { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 10px; }
.pl-help__label { padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-lg); white-space: nowrap; }
.pl-help__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 25px; background: #128c5e; box-shadow: var(--shadow-lg); }
.pl-help:hover .pl-help__label { color: var(--brand); }

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.pl-enter { animation: pl-enter .55s cubic-bezier(.2, .7, .2, 1) both; }
.pl-enter--2 { animation-delay: .08s; } .pl-enter--3 { animation-delay: .16s; }
@keyframes pl-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pl-nav { position: fixed; inset: 68px 0 auto 0; z-index: 55; flex-direction: column; gap: 0; margin: 0; padding: 10px 18px 20px; max-height: calc(100vh - 68px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all .18s ease; }
  body.pl-nav-open .pl-nav { transform: none; opacity: 1; visibility: visible; }
  .pl-nav > a, .pl-dd__btn { width: 100%; justify-content: space-between; padding: 12px 6px; font-size: 15.5px; }
  .pl-dd { display: block; position: static; }
  .pl-dd__panel, .pl-dd--mega .pl-dd__panel { position: static; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; margin: 0 0 8px; padding: 4px 0; }
  .pl-dd.is-open .pl-dd__panel { display: block; }
  .pl-mega { grid-template-columns: 1fr 1fr; padding: 0; gap: 16px; }
  .pl-menu { width: auto; }
  body:has(.pl-dd--mega.is-open) .pl-scrim { display: none; }
  .pl-burger { display: grid; }
  .pl-top__actions { margin-inline-start: auto; }
  .pl-top__actions .pl-link { display: none; }
  .pl-nav > a.pl-nav__login { display: inline-flex; color: var(--brand); }
  .layout, .pl-mod, .pl-hero__in { grid-template-columns: minmax(0, 1fr); }
  .pl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary, .pl-mod__side { position: static; }
  .pl-appcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-mega__foot { justify-content: flex-start; flex-wrap: wrap; gap: 12px 24px; padding-inline: 0; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-cards { grid-template-columns: repeat(2, 1fr); }
  .pl-inds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pl-wrap { padding: 0 16px; }
  .pl-top__in { gap: 10px; height: 60px; }
  .pl-nav { inset: 60px 0 auto 0; max-height: calc(100vh - 60px); }
  .pl-logo__mark { width: 32px; height: 32px; }
  .pl-logo__text b { font-size: 18px; }
  .pl-logo__text small { display: none; }
  .pl-top__actions { gap: 8px; }
  .pl-top__actions .pl-btn { padding: 8px 11px; font-size: 12.5px; }
  .pl-strip { flex-wrap: wrap; justify-content: center; border-radius: 14px; }
  .pl-strip__go { margin: 0; }
  .pl-hero { padding: 30px 0 40px; }
  .pl-cta, .pl-cta2 { flex: 1 1 100%; }
  .pl-collage, .pl-tiles { grid-template-columns: minmax(0, 1fr); }
  .pl-cards, .pl-cards--3, .pl-inds, .pl-how, .plans, .pl-appcards { grid-template-columns: minmax(0, 1fr); }
  .pl-sec { padding: 52px 0; }
  .pl-contact { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .pricing-box { padding: 16px; }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .cmp__table tbody th { min-width: 140px; max-width: 150px; font-size: 12.5px; }
  .pl-foot__in { grid-template-columns: 1fr 1fr; }
  .pl-foot__in > :first-child { grid-column: 1 / -1; }
  .pl-help__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ── Subscribe + order pages (templates/subscribe.html, subscribe_order.html) ── */
.pl-page { position: relative; padding: 34px 0 80px; background: var(--tint); min-height: calc(100vh - 68px); }
.pl-page__head { text-align: center; margin-bottom: 30px; }
.pl-h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.35; font-weight: 800; text-align: center; }
.pl-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.pl-back:hover { color: var(--brand); }
[dir="ltr"] .pl-back .ic { transform: rotate(180deg); }

.pl-steps { list-style: none; margin: 0 auto 34px; padding: 0; max-width: 720px; display: flex; align-items: center; }
.pl-steps li { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 14px; }
.pl-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin-inline: 8px; border-radius: 2px; background: var(--line-2); }
.pl-steps li.is-done:not(:last-child)::after { background: var(--brand); }
.pl-step__dot { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); }
.pl-steps li.is-done .pl-step__dot { background: var(--brand); border-color: transparent; color: #fff; }
.pl-steps li.is-now .pl-step__dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 133, 95, .13); }
.pl-steps li.is-now, .pl-steps li.is-done { color: var(--ink); }
.pl-steps .ic { font-size: 16px; }

.pl-sub-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.pl-panel { position: relative; padding: 26px; margin-bottom: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pl-panel__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 17px; font-weight: 800; }
.pl-panel__title .pl-mi__ic { width: 38px; height: 38px; font-size: 19px; }
.pl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.pl-field { min-width: 0; }
.pl-field--wide { grid-column: 1 / -1; }
.pl-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pl-field input, .pl-field select { width: 100%; }
.pl-field .errorlist, .pl-ferr { color: var(--bad); font-size: 12.5px; margin: 6px 0 0; padding: 0; list-style: none; }
.pl-field.has-err input, .pl-field.has-err select { border-color: var(--bad); }
.pl-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.pl-check input { width: 19px; height: 19px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.pl-alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; margin: 0 auto 22px; max-width: 1100px; border-radius: 12px; font-weight: 600; background: #fde8ec; color: var(--bad); border: 1px solid #f7c7d1; }
.pl-alert .ic { font-size: 18px; margin-top: 2px; }

.pl-receipt { position: sticky; top: 88px; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pl-receipt h2 { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
.pl-receipt .r { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.pl-receipt .r:last-of-type { border-bottom: 0; }
.pl-receipt .r span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-receipt .r.tot { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); border-bottom: 0; font-size: 22px; font-weight: 800; color: var(--ink); }
.pl-receipt .r.tot span:last-child { color: var(--brand); }
.pl-receipt .pl-disc { color: var(--ok); font-weight: 700; }
.pl-receipt .btn { width: 100%; margin-top: 18px; gap: 10px; }
.pl-receipt .note, .pl-order .note { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.pl-receipt .note .ic, .pl-order .note .ic { flex: none; margin-top: 3px; color: var(--brand); }

.pl-order { max-width: 760px; margin: 0 auto; }
.pl-order__hero { text-align: center; padding: 32px 26px; }
.pl-order__icon { width: 76px; height: 76px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; font-size: 36px; color: #fff; background: var(--brand); box-shadow: 0 0 0 8px rgba(18, 133, 95, .1); }
.pl-order__icon.is-ok { background: var(--ok); box-shadow: 0 0 0 8px rgba(18, 133, 95, .12); }
.pl-order__icon.is-bad { background: var(--bad); box-shadow: 0 0 0 8px rgba(190, 18, 60, .1); }
.pl-order__icon.is-wait { animation: pl-pulse 1.8s ease-in-out infinite; }
@keyframes pl-pulse { 50% { box-shadow: 0 0 0 16px rgba(18, 133, 95, .05); } }
.pl-order__hero h1 { margin: 0 0 12px; font-size: 26px; font-weight: 800; }
.pl-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 800; background: #fff3dd; color: #8a5200; }
.pl-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pl-status.is-ok { background: #e1f7ee; color: #0c6848; }
.pl-status.is-bad { background: #fde8ec; color: var(--bad); }
.pl-order__who { margin: 16px 0 6px; color: var(--ink-2); }
.pl-ref { display: inline-block; padding: 5px 12px; border-radius: 8px; background: var(--tint); border: 1px dashed var(--line-2); font-family: ui-monospace, monospace; font-size: 12.5px; color: var(--muted); direction: ltr; word-break: break-all; }
.pl-order .pl-receipt { position: static; }
.pl-order .note.is-bad { color: var(--bad); }

@media (max-width: 1100px) { .pl-sub-grid { grid-template-columns: 1fr; } .pl-receipt { position: static; } }
@media (max-width: 760px) {
  .pl-fields { grid-template-columns: 1fr; }
  .pl-steps li span.pl-step__label { display: none; }
  .pl-panel { padding: 18px; }
}
[dir="rtl"] .btn .ic { transform: scaleX(-1); }
.btn .ic { font-size: 18px; }

/* Sign-up form controls: icon inputs, custom dropdowns with flags, phone prefix (static/js/public_signup.js) */
.pl-input { position: relative; display: flex; align-items: center; }
.pl-input__ic { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; color: var(--muted); font-size: 18px; pointer-events: none; transition: color .2s ease; }
.pl-input input { width: 100%; padding-inline-start: 44px !important; height: 50px; }
.pl-input:focus-within .pl-input__ic { color: var(--brand); }
.pl-input--pw input { padding-inline-end: 46px !important; }
.pl-eye { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.pl-eye:hover { color: var(--ink); background: var(--tint); }
.pl-eye .ic + .ic { display: none; }
.pl-eye.is-on .ic:first-child { display: none; }
.pl-eye.is-on .ic + .ic { display: block; }
.pl-field.has-err .pl-input input, .pl-field.has-err .pl-sel__btn { border-color: var(--bad); }

.pl-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden !important; }
.pl-select { position: relative; }
.pl-select:not(.is-ready) select { width: 100%; height: 50px; }
.pl-select.is-ready > .pl-input__ic { display: none; }
.pl-sel__btn { width: 100%; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; cursor: pointer; text-align: start; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 9px; transition: border-color .15s ease, box-shadow .15s ease; }
.pl-sel__btn:hover { border-color: var(--muted); }
.pl-sel__btn:focus-visible, .pl-select.is-open .pl-sel__btn { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 133, 95, .13); }
.pl-sel__lead { display: grid; place-items: center; flex: none; color: var(--muted); font-size: 18px; }
.pl-sel__lead .pl-input__ic { position: static; transform: none; display: grid; }
.pl-sel__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pl-sel__sub { flex: none; color: var(--muted); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-sel__sub:empty { display: none; }
.pl-sel__chev { flex: none; color: var(--muted); font-size: 16px; transition: transform .2s ease; }
.pl-select.is-open .pl-sel__chev { transform: rotate(180deg); color: var(--brand); }
.pl-flag { width: 24px; height: 18px; flex: none; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(29, 20, 38, .14); }

.pl-sel__panel { position: absolute; z-index: 40; inset-inline: 0; top: calc(100% + 8px); padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); animation: pl-pop .16s ease-out; }
@keyframes pl-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pl-sel__search { position: relative; margin-bottom: 6px; }
.pl-sel__search .ic { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; }
.pl-sel__search input { width: 100%; height: 40px; padding: 0 12px; padding-inline-start: 38px; font: inherit; font-size: 14px; color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 9px; outline: none; }
.pl-sel__search input:focus { border-color: var(--brand); }
.pl-sel__list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; scrollbar-width: thin; }
.pl-sel__opt { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 9px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.pl-sel__opt.is-active { background: var(--brand-soft); color: var(--ink); }
.pl-sel__opt.is-selected { color: var(--ink); font-weight: 700; }
.pl-sel__name { flex: 1; min-width: 0; }
.pl-sel__dial { color: var(--muted); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-sel__check { font-size: 16px; color: var(--brand); visibility: hidden; flex: none; }
.pl-sel__opt.is-selected .pl-sel__check { visibility: visible; }
.pl-sel__empty { display: none; padding: 14px; text-align: center; color: var(--muted); font-size: 13.5px; }

.pl-phone { display: flex; align-items: stretch; height: 50px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; direction: ltr; }
.pl-phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 133, 95, .13); }
.pl-phone__cc { flex: none; display: flex; align-items: center; gap: 7px; padding: 0 10px 0 12px; border: 0; border-right: 1px solid var(--line-2); background: var(--tint); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 8px 0 0 8px; font-variant-numeric: tabular-nums; }
.pl-phone__cc:hover { background: var(--brand-soft); }
.pl-phone__cc .ic { font-size: 13px; color: var(--muted); }
.pl-phone__cc img { width: 24px; height: 18px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(29, 20, 38, .14); }
.pl .pl-phone input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 8px 8px 0; padding: 0 14px; text-align: left; letter-spacing: .4px; }
.pl-field.has-err .pl-phone { border-color: var(--bad); }
.pl-sel__opt[hidden], .pl-sel__panel[hidden] { display: none !important; }
.pl-panel.is-raised { z-index: 30; }
.pl input[type=tel] { font: inherit; color: var(--ink); }
.pl .pl-phone input::placeholder { color: var(--muted); }

/* CMS pages (modules/cms/templates/cms/public_page.html): privacy policy, terms, FAQs... */
.pl-doc { max-width: 860px; }
.pl-doc__title { margin: 0 0 6px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; }
.pl-doc__date { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.pl-doc__draft { margin-bottom: 18px; padding: 10px 14px; border: 1px solid #f3d37a; border-radius: 10px; background: #fff8e1; color: #7a5b00; font-size: 14px; }
.pl-doc__body { color: var(--ink-2); font-size: 16px; overflow-wrap: anywhere; }
.pl-doc__body h2, .pl-doc__body h3, .pl-doc__body h4 { margin: 28px 0 10px; color: var(--ink); line-height: 1.4; }
.pl-doc__body h2 { font-size: 22px; }
.pl-doc__body h3 { font-size: 18px; }
.pl-doc__body p, .pl-doc__body ul, .pl-doc__body ol { margin: 0 0 14px; }
.pl-doc__body ul, .pl-doc__body ol { padding-inline-start: 22px; }
.pl-doc__body blockquote { margin: 0 0 14px; padding: 8px 16px; border-inline-start: 3px solid var(--brand); background: var(--tint); border-radius: 6px; }
.pl-doc__body img { max-width: 100%; height: auto; border-radius: 10px; }
.pl-doc__body figure.table { margin: 0 0 16px; overflow-x: auto; }
.pl-doc__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pl-doc__body th, .pl-doc__body td { padding: 8px 10px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.pl-doc__body th { background: var(--tint); color: var(--ink); }
.pl-foot__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.pl-foot .pl-foot__pages { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }

/* Landing: policies & help cards (CMS pages) */
.pl-policy { display: flex; flex-direction: column; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pl-policy:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.pl-policy p { flex: 1; }
.pl-policy__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.pl-policy__more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.pl-policy:hover .pl-policy__more svg { transform: translateX(3px); }
[dir="rtl"] .pl-policy__more svg { transform: scaleX(-1); }
[dir="rtl"] .pl-policy:hover .pl-policy__more svg { transform: scaleX(-1) translateX(3px); }

/* Landing: the owner's plans, from the price list */
.pl-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0 8px; text-align: start; }
.pl-plan { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pl-plan h3 { margin: 0; font-size: 18px; font-weight: 800; }
.pl-plan__text { margin: 0; flex: 1; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.pl-plan__price b { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.pl-plan__price span { font-size: 13px; color: var(--muted); }
.pl-plan__meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.pl-plan .pl-cta2 { text-align: center; }
@media (max-width: 1000px) { .pl-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pl-plans { grid-template-columns: 1fr; } }
.pl-plan__tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); font-size: 12px; font-weight: 700; }
.pl-plan .pl-cta { text-align: center; }

/* Owner controls of the landing page (Website sales > Landing page): own logo and top picture, preview banner */
.pl-logo__img { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.pl-hero__pic { display: flex; align-items: center; justify-content: center; }
.pl-hero__pic img { display: block; max-width: 100%; max-height: 460px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pl-preview { position: sticky; top: 0; z-index: 60; padding: 8px 16px; text-align: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--coral); }
