/* ==========================================================================
   Public website (landing, pricing, checkout, order, contact, legal)
   Builds on app.css tokens. RTL-first, logical properties, light theme only.
   ========================================================================== */

.site {
  --s-max: 1200px;
  --s-gutter: 24px;
  --s-ink: var(--brand-900);
  --s-line: #e6ebe8;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}
.site h1, .site h2, .site h3 { color: var(--text); }
.site a:hover { text-decoration: none; }
.s-container { width: 100%; max-width: calc(var(--s-max) + var(--s-gutter) * 2); margin-inline: auto; padding-inline: var(--s-gutter); }
.s-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.s-skip:focus { top: 12px; color: #fff; }
.s-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site .icon { flex: none; }

/* ---------------------------------------------------------------- top bar */
.s-topbar { background: var(--s-ink); color: #dcebe7; font-size: 13.5px; }
.s-topbar-in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; flex-wrap: wrap; padding-block: 6px; text-align: center; }
.s-topbar-badge { background: var(--accent); color: #2b1a02; font-weight: 700; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.s-topbar-text { font-weight: 500; }
.s-topbar-link { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.s-topbar-link:hover { color: var(--brand-200); }
.s-cd { display: inline-flex; gap: 10px; align-items: center; color: #fff; }
.s-cd-u { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; padding: 1px 8px; font-size: 13px; }
.s-cd b { font-weight: 700; font-variant-numeric: tabular-nums; }
.s-cd.is-ended { display: none; }

/* ---------------------------------------------------------------- header */
.s-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.s-header.is-scrolled, .s-header.is-minimal { border-bottom-color: var(--s-line); }
.s-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(16, 24, 22, .35); }
.s-header-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--text); letter-spacing: 0; }
.s-brand:hover { color: var(--text); }
.s-brand img { width: 32px; height: 32px; }
.s-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.s-nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.s-nav-links a { display: block; padding: 8px 12px; border-radius: var(--radius); color: var(--text-2); font-weight: 500; font-size: 15px; }
.s-nav-links a:hover { color: var(--primary-text); background: var(--brand-50); }
.s-nav-actions { display: flex; align-items: center; gap: 6px; }
.s-nav-login { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; color: var(--text-2); font-weight: 500; font-size: 14.5px; border-radius: var(--radius); }
.s-nav-login .icon { color: var(--muted); }
.s-nav-login:hover { color: var(--primary-text); background: var(--brand-50); }
.s-nav-cta { margin-inline-start: 6px; --btn-h: 40px; padding: 0 18px; }
.s-header-help { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.s-header-help a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.s-burger { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.s-burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.s-header.is-open .s-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.s-header.is-open .s-burger span:nth-child(2) { opacity: 0; }
.s-header.is-open .s-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- shared section bits */
.s-section { padding-block: 104px; }
.s-tint { background: var(--gray-25); border-block: 1px solid var(--s-line); }
.s-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.s-head.is-start { text-align: start; margin: 0; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-700); margin-bottom: 14px; }
.s-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.s-eyebrow.is-light { color: var(--brand-200); }
.s-h1, .s-h2, .hero-title, .co-title, .cta h2 { text-wrap: balance; }
.s-h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.s-h2 { font-size: clamp(27px, 3.1vw, 38px); font-weight: 700; line-height: 1.35; margin-bottom: 16px; }
.s-lead { font-size: 18px; color: var(--muted); line-height: 1.8; }
.s-head .s-lead { max-width: 640px; margin-inline: auto; }
.s-head.is-start .s-lead { margin-inline: 0; margin-bottom: 24px; }
.s-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.s-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.s-checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); margin-top: 3px; }
.s-checks b { color: var(--text); font-weight: 600; }
.s-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 72px; align-items: center; }
.s-split.is-rev .s-split-text { order: 2; }
.s-split.is-rev .s-split-visual { order: 1; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 112px; overflow: hidden; border-bottom: 1px solid var(--s-line);
  background-image: linear-gradient(var(--s-line) 1px, transparent 1px), linear-gradient(90deg, var(--s-line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, #fff 78%), linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .2) 50%, #fff 100%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; line-height: 1.28; margin-bottom: 20px; color: var(--gray-900); }
.hero-sub { font-size: 19px; color: var(--text-2); line-height: 1.85; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-cta .btn-lg { --btn-h: 52px; padding: 0 26px; font-size: 16px; }
.hero-trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--brand-500); }

/* hero visual — app window */
.hv { position: relative; padding-bottom: 150px; padding-inline-end: 40px; }
.hv-win { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 22, .06), 0 32px 64px -28px rgba(10, 54, 49, .35); overflow: hidden; font-size: 12px; line-height: 1.5; }
.hv-bar { height: 34px; display: flex; align-items: center; justify-content: center; background: var(--gray-50); border-bottom: 1px solid var(--border); }
.hv-url { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 1px 12px; color: var(--muted); font-size: 11px; }
.hv-url .icon { width: 12px; height: 12px; color: var(--success); }
.hv-body { display: grid; grid-template-columns: 46px minmax(0, 1fr); min-height: 360px; }
.hv-side { border-inline-end: 1px solid var(--border); background: var(--gray-25); display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 12px; }
.hv-side img { margin-bottom: 8px; }
.hv-side span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: var(--gray-400); }
.hv-side span.is-on { background: var(--brand-50); color: var(--brand-600); }
.hv-main { padding: 16px; min-width: 0; }
.hv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hv-title { font-weight: 700; font-size: 14.5px; color: var(--text); }
.hv-sub { color: var(--muted); font-size: 11px; }
.hv-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--border-strong); border-radius: 6px; padding: 3px 9px; font-size: 11px; color: var(--text-2); white-space: nowrap; }
.hv-btn .icon { width: 13px; height: 13px; color: var(--success); }
.hv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.hv-kpi { border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hv-kpi::before { content: ""; position: absolute; inset-inline-start: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--brand-500); }
.hv-kpi.k-warn::before { background: var(--accent); }
.hv-kpi.k-bad::before { background: var(--danger); }
.hv-kpi.k-info::before { background: var(--info); }
.hv-kpi span { color: var(--muted); font-size: 10.5px; }
.hv-kpi b { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.3; }
.hv-kpi em { font-style: normal; color: var(--faint); font-size: 10px; }
.hv-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 10px; }
.hv-table { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.hv-tr { display: grid; grid-template-columns: minmax(0, 2.2fr) .8fr .9fr 1.25fr; align-items: center; gap: 6px; padding: 6px 10px; border-top: 1px solid var(--gray-100); font-size: 11px; color: var(--text-2); }
.hv-th { border-top: 0; background: var(--gray-25); color: var(--muted); font-size: 10px; font-weight: 600; padding-block: 6px; }
.hv-emp { display: flex; align-items: center; gap: 7px; min-width: 0; }
.hv-emp i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 600; background: var(--brand-50); color: var(--brand-700); }
.hv-emp > span { display: flex; flex-direction: column; min-width: 0; }
.hv-emp b { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-emp small { color: var(--faint); font-size: 9.5px; white-space: nowrap; }
.hv-src { color: var(--muted); white-space: nowrap; }
.hv-st { font-style: normal; display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.st-ok { background: var(--success-soft); color: var(--success-text); }
.st-late { background: var(--accent-soft); color: var(--accent-text); }
.st-leave { background: var(--info-soft); color: var(--info-text); }
.hv-chart { border: 1px solid var(--border); border-radius: 9px; padding: 10px; display: flex; flex-direction: column; align-self: start; }
.hv-chart-h { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: 10.5px; }
.hv-chart-h b { color: var(--text); font-size: 16px; }
.hv-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding-top: 12px; border-bottom: 1px solid var(--border); }
.hv-bars i { flex: 1; height: var(--h); max-height: 100%; background: var(--brand-100); border-radius: 4px 4px 0 0; }
.hv-bars i.is-today { background: var(--brand-600); }
.hv-bars-x { display: flex; gap: 6px; margin-top: 4px; }
.hv-bars-x span { flex: 1; text-align: center; color: var(--faint); font-size: 9.5px; }

/* hero visual — phone */
.hv-phone { position: absolute; inset-inline-end: -12px; bottom: 0; width: 196px; border-radius: 30px; background: var(--gray-900); padding: 7px; box-shadow: 0 30px 60px -20px rgba(10, 54, 49, .5), 0 0 0 1px rgba(0, 0, 0, .04); }
.ph-screen { background: #fff; border-radius: 24px; overflow: hidden; padding: 0 12px 14px; font-size: 11px; line-height: 1.5; }
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 28px; font-size: 10px; font-weight: 600; color: var(--text); }
.ph-island { width: 54px; height: 15px; border-radius: 10px; background: var(--gray-900); }
.ph-sig { display: inline-flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; background: var(--text); border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 4px; } .ph-sig i:nth-child(2) { height: 6px; } .ph-sig i:nth-child(3) { height: 8px; }
.ph-top { padding: 4px 2px 10px; }
.ph-hello { font-weight: 700; font-size: 13px; color: var(--text); }
.ph-shift { color: var(--muted); font-size: 10px; }
.ph-map { position: relative; height: 100px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background-color: #f1f4f2;
  background-image: linear-gradient(28deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(-62deg, transparent 46%, #fff 46%, #fff 51%, transparent 51%), linear-gradient(90deg, transparent 70%, #e3e9e5 70%, #e3e9e5 71%, transparent 71%); }
.ph-ring { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 1.5px dashed var(--brand-500); background: rgba(26, 132, 112, .10); }
.ph-pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 8px; background: var(--brand-600); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px -2px rgba(18, 114, 101, .5); }
.ph-pin .icon { width: 14px; height: 14px; }
.ph-me { position: absolute; left: 60%; top: 30%; width: 12px; height: 12px; border-radius: 50%; background: var(--info); border: 2.5px solid #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .18); }
.ph-ok { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 10px 0; padding: 5px; border-radius: 999px; background: var(--success-soft); color: var(--success-text); font-weight: 600; font-size: 10.5px; }
.ph-ok .icon { width: 14px; height: 14px; }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border-radius: 12px; background: var(--brand-600); color: #fff; font-weight: 700; font-size: 12.5px; box-shadow: 0 8px 18px -8px rgba(18, 114, 101, .7); }
.ph-btn .icon { width: 18px; height: 18px; }
.ph-meta { text-align: center; color: var(--faint); font-size: 9.5px; margin-top: 8px; }

/* ---------------------------------------------------------------- before / after */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin-inline: auto; }
.cmp-col { border-radius: var(--radius-xl); padding: 32px; border: 1px solid var(--s-line); }
.cmp-before { background: var(--gray-25); }
.cmp-after { background: #fff; border-color: var(--brand-200); box-shadow: 0 24px 48px -32px rgba(10, 54, 49, .35); }
.cmp-h { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; margin-bottom: 20px; }
.cmp-before .cmp-h { color: var(--muted); }
.cmp-before .cmp-h .icon { color: var(--danger); }
.cmp-after .cmp-h { color: var(--brand-700); }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cmp li { padding: 13px 0; border-top: 1px solid var(--s-line); font-size: 15.5px; position: relative; padding-inline-start: 22px; }
.cmp li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 23px; width: 8px; height: 8px; border-radius: 50%; }
.cmp-before li { color: var(--muted); }
.cmp-before li::before { background: var(--gray-300); }
.cmp-after li { color: var(--text); }
.cmp-after li::before { background: var(--brand-500); }

/* ---------------------------------------------------------------- 3 ways */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.way { background: #fff; border: 1px solid var(--s-line); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.way:hover { border-color: var(--brand-200); box-shadow: 0 24px 48px -36px rgba(10, 54, 49, .45); }
.way-fig { height: 168px; display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 20px; border-bottom: 1px solid var(--s-line);
  background-color: var(--gray-25);
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px); background-size: 16px 16px; }
.dg-node { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; width: 74px; }
.dg-node small { font-size: 11.5px; color: var(--muted); white-space: nowrap; font-weight: 500; }
.dg-box { position: relative; width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--brand-600); }
.dg-box .icon { width: 24px; height: 24px; }
.dg-app { background: var(--brand-50); border-color: var(--brand-200); }
.dg-file { color: var(--accent-text); }
.dg-zone { border-radius: 50%; color: var(--brand-700); }
.dg-ring { position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed var(--brand-400); }
.dg-line { position: relative; flex: 1; height: 2px; margin-top: -26px; min-width: 18px; background-image: linear-gradient(90deg, var(--brand-300) 50%, transparent 50%); background-size: 8px 2px; }
.dg-line i { position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-600); inset-inline-start: 0; animation: dg-move 2.6s linear infinite; }
.dg-line.is-both i { animation-direction: alternate; }
@keyframes dg-move { from { inset-inline-start: 0; } to { inset-inline-start: calc(100% - 6px); } }
.way-body { padding: 28px; position: relative; }
.way-n { position: absolute; inset-inline-end: 28px; top: 26px; font-size: 13px; font-weight: 700; color: var(--brand-300); }
.way-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.way-body p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.way-tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.way-tags li { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--gray-50); border: 1px solid var(--s-line); color: var(--text-2); }

/* ---------------------------------------------------------------- payroll formula + payslip */
.fx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; padding: 16px; border-radius: var(--radius-lg); background: var(--gray-25); border: 1px solid var(--s-line); }
.fx-t { padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--text); white-space: nowrap; }
.fx-t b { color: var(--brand-600); font-weight: 700; }
.fx-o { color: var(--faint); font-weight: 700; font-size: 16px; }
.fx-total { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.slip { max-width: 470px; margin-inline: auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 22, .05), 0 40px 80px -40px rgba(10, 54, 49, .4); padding: 26px; font-size: 14px; position: relative; }
.slip::after { content: ""; position: absolute; inset-inline: 26px; bottom: -8px; height: 8px; border-radius: 0 0 14px 14px; background: var(--gray-50); border: 1px solid var(--border); border-top: 0; z-index: -1; }
.slip-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px dashed var(--border-strong); }
.slip-t { font-weight: 700; font-size: 17px; }
.slip-s { color: var(--muted); font-size: 13px; }
.slip-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--success-soft); color: var(--success-text); font-weight: 600; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.slip-emp { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.slip-av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.slip-who { flex: 1; display: flex; flex-direction: column; }
.slip-who b { font-weight: 600; }
.slip-who span, .slip-days span { color: var(--muted); font-size: 12.5px; }
.slip-days { text-align: end; display: flex; flex-direction: column; }
.slip-days b { font-size: 16px; }
.slip-sec { font-size: 12px; font-weight: 600; color: var(--faint); margin: 8px 0 2px; }
.slip-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--gray-100); }
.slip-row span { color: var(--text-2); }
.slip-row em { font-style: normal; color: var(--brand-600); font-weight: 600; font-size: 13px; }
.slip-row b { font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.slip .pos { color: var(--success-text); }
.slip .neg { color: var(--danger-text); }
.slip-net { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--brand-900); color: #fff; }
.slip-net span { color: var(--brand-200); font-weight: 500; }
.slip-net b { font-size: 22px; font-weight: 700; }
.slip-net small { font-size: 13px; font-weight: 500; color: var(--brand-200); }
.slip-foot { margin-top: 12px; color: var(--faint); font-size: 12px; text-align: center; }

/* ---------------------------------------------------------------- employee card mock */
.ec { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 40px 80px -44px rgba(10, 54, 49, .45); overflow: hidden; font-size: 13px; }
.ec-head { display: flex; gap: 14px; align-items: center; padding: 22px 22px 16px; }
.ec-av { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; flex: none; }
.ec-id { display: flex; flex-direction: column; min-width: 0; }
.ec-id b { font-size: 17px; font-weight: 700; }
.ec-id > span { color: var(--muted); font-size: 13px; }
.ec-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.ec-tag { font-style: normal; font-size: 11.5px; padding: 1px 9px; border-radius: 999px; background: var(--gray-50); border: 1px solid var(--border); color: var(--text-2); }
.ec-tag.is-ok { background: var(--success-soft); border-color: var(--success-border); color: var(--success-text); }
.ec-tabs { display: flex; gap: 2px; padding: 0 16px; border-bottom: 1px solid var(--border); overflow: hidden; white-space: nowrap; }
.ec-tabs span { padding: 9px 9px; color: var(--muted); font-size: 12.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ec-tabs span.is-on { color: var(--brand-700); border-bottom-color: var(--brand-600); font-weight: 600; }
.ec-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; background: var(--gray-25); }
.ec-panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.ec-wide { grid-column: 1 / -1; }
.ec-ph { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; margin-bottom: 10px; }
.ec-ph small { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.ec-strip { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; }
.ec-strip i, .ec-legend i { display: block; height: 22px; border-radius: 4px; }
.ec-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; color: var(--muted); font-size: 11.5px; }
.ec-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ec-legend i { width: 9px; height: 9px; border-radius: 3px; }
.c-p { background: var(--brand-500); } .c-l { background: var(--accent); } .c-a { background: var(--danger); } .c-v { background: var(--info); } .c-w { background: var(--gray-150); }
.ec-bal { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.ec-bal b { font-weight: 600; color: var(--text); direction: ltr; unicode-bidi: isolate; }
.ec-prog { height: 6px; border-radius: 6px; background: var(--gray-100); margin: 6px 0 4px; overflow: hidden; }
.ec-prog i { display: block; height: 100%; border-radius: 6px; background: var(--brand-500); }
.ec-prog.is-accent i { background: var(--accent); }
.ec-mini { color: var(--muted); font-size: 11.5px; }

/* ---------------------------------------------------------------- features grid */
.feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--s-line); border-inline-start: 1px solid var(--s-line); border-radius: var(--radius-xl); overflow: hidden; }
.feat-item { padding: 30px 26px; border-bottom: 1px solid var(--s-line); border-inline-end: 1px solid var(--s-line); background: #fff; transition: background .2s; }
.feat-item:hover { background: var(--gray-25); }
.feat-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 18px; }
.feat-ic .icon { width: 21px; height: 21px; }
.feat-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.feat-item p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ---------------------------------------------------------------- security (dark band) */
.s-dark { background: var(--s-ink); color: #cfe2dd;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; }
.s-dark .s-h2 { color: #fff; }
.s-dark .s-lead { color: #a9c6bf; }
.sec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--brand-200); font-weight: 600; }
.sec-link:hover { color: #fff; }
.sec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.sec-grid li { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sec-grid li:nth-child(odd) { padding-inline-end: 24px; }
.sec-grid li:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.sec-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sec-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--brand-200); }
.sec-grid h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.sec-grid p { color: #a9c6bf; font-size: 14.5px; line-height: 1.8; }

/* ---------------------------------------------------------------- how it works */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; counter-reset: how; }
.how::before { content: ""; position: absolute; top: 24px; inset-inline: 16.66%; height: 1px; background-image: linear-gradient(90deg, var(--brand-300) 50%, transparent 50%); background-size: 10px 1px; }
.how li { position: relative; text-align: center; padding: 0 12px; }
.how-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: #fff; border: 1.5px solid var(--brand-600); color: var(--brand-700); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 8px #fff; }
.how li:last-child .how-n { background: var(--brand-600); color: #fff; }
.how h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.how p { color: var(--muted); font-size: 15px; max-width: 320px; margin-inline: auto; }

/* ---------------------------------------------------------------- pricing cards */
.pl { --pl-gap: 24px; }
.pl-toggle { display: flex; width: max-content; margin: 0 auto 40px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.pl-toggle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 22px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pl-toggle button[aria-pressed="true"] { background: var(--brand-900); color: #fff; }
.pl-toggle button:focus-visible { outline: none; box-shadow: var(--ring); }
.pl-save { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.pl-toggle button[aria-pressed="true"] .pl-save { background: var(--accent); color: #2b1a02; }
.pl[data-cycle="monthly"] [data-when="yearly"], .pl[data-cycle="yearly"] [data-when="monthly"] { display: none !important; }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pl-gap); align-items: stretch; max-width: 1120px; margin-inline: auto; }
.pl-grid[data-count="1"] { grid-template-columns: minmax(0, 400px); justify-content: center; }
.pl-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.pl-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pl-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px 28px; box-shadow: var(--shadow-xs); }
.pl-card.is-featured { border: 1.5px solid var(--brand-600); box-shadow: 0 40px 80px -40px rgba(10, 54, 49, .5); }
.pl-flag { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--brand-600); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.pl-name { font-size: 21px; font-weight: 700; }
.pl-tag { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.pl-price { margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--s-line); }
.pl-promo { min-height: 24px; display: flex; align-items: center; gap: 8px; }
.pl-promo-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); border: 1px solid #f3d9ad; }
.pl-old { color: var(--faint); font-size: 14px; }
.pl-amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pl-num { font-size: 44px; font-weight: 700; line-height: 1.2; color: var(--gray-900); letter-spacing: -.5px; }
.pl-cur { font-weight: 600; color: var(--text-2); }
.pl-per { color: var(--muted); font-size: 14.5px; }
.pl-note { color: var(--muted); font-size: 13.5px; margin-top: 4px; min-height: 22px; }
.pl-note b { color: var(--success-text); font-weight: 600; }
.pl-limits { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.pl-limits li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.pl-limits .icon { color: var(--muted); }
.pl-list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--border); display: grid; gap: 10px; }
.pl-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; }
.pl-list .icon { color: var(--brand-600); margin-top: 4px; }
.pl-actions { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; text-align: center; }
.pl-trial { font-size: 14px; font-weight: 600; color: var(--brand-700); }
.pl-trial:hover { color: var(--brand-800); text-decoration: underline; text-underline-offset: 3px; }
.pl-empty { text-align: center; color: var(--muted); padding: 32px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.pl-more { text-align: center; margin-top: 28px; }
.pl-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* payment methods strip */
.pm-strip { max-width: 1120px; margin: 40px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--s-line); }
.pm-strip-title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 2px; }
.pm-strip-title .icon { color: var(--brand-600); }
.pm-strip p { color: var(--muted); font-size: 14.5px; }
.pm-badges { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pm-badges li { display: flex; flex-direction: column; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--gray-25); min-width: 130px; }
.pm-name { font-weight: 700; font-size: 15px; }
.pm-type { color: var(--muted); font-size: 12px; }

/* ---------------------------------------------------------------- FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 72px; align-items: start; }
.faq-wrap .s-head { position: sticky; top: 104px; }
.faq { border-top: 1px solid var(--s-line); }
.faq-item { border-bottom: 1px solid var(--s-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17px; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-700); }
.faq-item summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.faq-ic { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--text-2); transition: transform .2s; }
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic { background: var(--brand-600); border-color: var(--brand-600); }
.faq-item[open] .faq-ic::before, .faq-item[open] .faq-ic::after { background: #fff; }
.faq-item[open] .faq-ic::after { transform: rotate(0); }
.faq-a { padding: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.9; max-width: 720px; }

/* ---------------------------------------------------------------- final CTA */
.cta { background: var(--brand-700); color: #fff; padding-block: 72px;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.35; }
.cta p { color: var(--brand-100); font-size: 17.5px; margin-top: 10px; }
.cta-btns { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.cta-primary { background: #fff; color: var(--brand-800); --btn-h: 52px; padding: 0 28px; font-size: 16px; }
.cta-primary:hover { background: var(--brand-50); color: var(--brand-900); }
.cta-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); --btn-h: 52px; padding: 0 24px; font-size: 16px; }
.cta-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: 0 32px 64px -44px rgba(10, 54, 49, .45); }
.cinfo { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.cinfo li { display: flex; gap: 14px; align-items: center; }
.cinfo-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.cinfo-t { display: flex; flex-direction: column; }
.cinfo-t small { color: var(--muted); font-size: 13px; }
.cinfo-t a, .cinfo-t span { font-weight: 600; color: var(--text); }
.cinfo-t a:hover { color: var(--primary-text); }
.lead .form-grid { gap: 18px; }
.lead .input, .lead .select { height: 46px; font-size: 15px; }
.lead .textarea { font-size: 15px; }
.lead .flash-stack { margin-bottom: 18px; }
.lead-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
[dir="rtl"] .lead-foot .btn .icon { transform: scaleX(-1); }
.lead-note { color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------- footer */
.s-footer { background: var(--gray-25); border-top: 1px solid var(--s-line); padding-top: 64px; font-size: 15px; }
.s-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.s-footer-about p { color: var(--muted); margin-top: 14px; max-width: 320px; font-size: 14.5px; }
.s-footer-h { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.s-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-footer-links a { color: var(--muted); }
.s-footer-links a:hover { color: var(--primary-text); }
.s-footer-contact li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.s-footer-contact .icon { color: var(--faint); }
.s-social { display: flex; gap: 8px; margin-top: 18px; }
.s-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); background: #fff; }
.s-social a:hover { color: var(--primary); border-color: var(--brand-200); }
.s-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--s-line); color: var(--muted); font-size: 13.5px; }
.s-footer-legal { display: flex; gap: 20px; }
.s-footer-legal a { color: var(--muted); }
.s-footer-legal a:hover { color: var(--primary-text); }
.s-footer.is-minimal { padding-top: 0; background: #fff; }
.s-wa { position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.s-wa:hover { color: #fff; filter: brightness(1.05); }
.s-wa .icon { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- pricing page */
.ph { padding: 72px 0 96px; }
.promo-box { max-width: 1120px; margin: -16px auto 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 22px; border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid #f3d9ad; }
.promo-box-t { display: flex; align-items: center; gap: 10px; color: var(--accent-text); }
.promo-cd { display: flex; align-items: center; gap: 8px; color: var(--accent-text); font-size: 14px; }
.promo-cd-u { display: flex; flex-direction: column; align-items: center; min-width: 50px; padding: 4px 6px; background: #fff; border-radius: 8px; border: 1px solid #f3d9ad; }
.promo-cd-u b { font-size: 18px; color: var(--text); line-height: 1.3; }
.promo-cd-u small { font-size: 11px; }
.promo-cd.is-ended { display: none; }
.cmpt-wrap { max-width: 1120px; margin-inline: auto; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-xl); background: #fff; }
.cmpt { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.cmpt th, .cmpt td { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); text-align: center; }
.cmpt tbody th { text-align: start; font-weight: 500; color: var(--text-2); }
.cmpt thead th { position: sticky; top: 0; background: #fff; vertical-align: bottom; padding-block: 22px 16px; border-bottom: 1px solid var(--border); }
.cmpt .cmpt-feat { text-align: start; color: var(--muted); font-weight: 500; width: 40%; }
.cmpt-plan { display: block; font-size: 17px; font-weight: 700; color: var(--text); }
.cmpt-price { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.cmpt .is-featured { background: var(--brand-50); }
.cmpt thead .is-featured { background: var(--brand-50); box-shadow: inset 0 3px 0 var(--brand-600); }
.cmpt-group th { background: var(--gray-25); text-align: start; font-size: 13px; font-weight: 700; color: var(--brand-700); padding-block: 10px; }
.cmpt-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-600); color: #fff; }
.cmpt-yes .icon { width: 14px; height: 14px; }
.cmpt-no { color: var(--gray-300); font-weight: 700; }
.cmpt tfoot td, .cmpt tfoot th { border-bottom: 0; padding-block: 18px; }

/* ---------------------------------------------------------------- checkout */
.site-checkout { background: var(--gray-25); }
.co { padding: 40px 0 88px; }
.co-head { max-width: 1120px; margin: 0 auto 28px; }
.co-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.co-back:hover { color: var(--primary-text); }
.co-title { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.35; }
.co-sub { color: var(--muted); font-size: 16.5px; margin-top: 6px; }
.co-steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--muted); }
[dir="rtl"] .co-steps li { padding: 6px 6px 6px 14px; }
.co-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-100); color: var(--muted); font-size: 13px; }
.co-steps li.is-current { border-color: var(--brand-300); color: var(--brand-700); }
.co-steps li.is-current span { background: var(--brand-600); color: #fff; }
.co-steps li.is-done span { background: var(--brand-50); color: var(--brand-700); }
.co-alert, .co .flash-stack { max-width: 1120px; margin: 0 auto 20px; }
.co-grid { max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.co-form { display: grid; gap: 16px; min-width: 0; }
.co-step { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-xs); scroll-margin-top: 96px; }
.co-step-head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; }
.co-step-head > div { flex: 1; min-width: 0; }
.co-step-head h2 { font-size: 18px; font-weight: 700; }
.co-step-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-600); color: #fff; font-weight: 700; flex: none; }
.co-step-sum { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-step-sum:empty { display: none; }
.co-edit { display: none; }
.co-step-body { padding: 0 26px 26px; }
.co-step-foot { margin-top: 24px; display: flex; justify-content: flex-end; }
.co-form .input, .co-form .select { height: 46px; font-size: 15px; }
.co-form .input-group .input { height: 46px; }
/* wizard mode (JS) */
.co-form.is-wizard .co-step:not(.is-open) .co-step-body { display: none; }
.co-form.is-wizard .co-step:not(.is-open):not(.is-done) { opacity: .62; }
.co-form.is-wizard .co-step:not(.is-open):not(.is-done) .co-step-n { background: var(--gray-200); color: var(--muted); }
.co-form.is-wizard .co-step.is-done:not(.is-open) .co-step-n { background: var(--brand-50); color: var(--brand-700); }
.co-form.is-wizard .co-step.is-done:not(.is-open) .co-edit { display: inline-flex; }
.co-form.is-wizard .co-step.is-open { border-color: var(--brand-300); box-shadow: 0 24px 48px -36px rgba(10, 54, 49, .5); }
.co-form:not(.is-wizard) .co-step-foot [data-step-next] { display: none; }
.co-eye { cursor: pointer; border: 1px solid var(--border-strong); }
.co-slug { font-size: 13px; font-weight: 600; min-height: 0; }
.co-slug.is-ok { color: var(--success-text); }
.co-slug.is-bad { color: var(--danger-text); }
.co-slug.is-wait { color: var(--muted); }
.co-fs { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.co-fs > legend, .co-fs > .label { margin-bottom: 10px; display: block; padding: 0; }
.co-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.co-plan, .co-mode, .co-method { position: relative; display: block; cursor: pointer; }
.co-plan input, .co-mode input, .co-method input, .co-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-plan-in { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; transition: border-color .15s, background .15s; }
.co-plan-name { font-weight: 700; font-size: 16px; }
.co-pop { font-style: normal; font-size: 11px; font-weight: 600; color: var(--brand-700); background: var(--brand-50); padding: 1px 7px; border-radius: 999px; vertical-align: 2px; }
.co-plan-lim { color: var(--muted); font-size: 13px; }
.co-plan-price { margin-top: 6px; font-size: 13px; color: var(--text-2); }
.co-plan-price b { font-size: 17px; }
.co-plan input:checked + .co-plan-in, .co-mode input:checked + span, .co-method input:checked + .co-method-in { border-color: var(--brand-600); background: var(--brand-50); box-shadow: inset 0 0 0 .5px var(--brand-600); }
.co-plan input:focus-visible + .co-plan-in, .co-mode input:focus-visible + span, .co-method input:focus-visible + .co-method-in, .co-seg input:focus-visible + span { box-shadow: var(--ring); }
.co-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--border); }
.co-seg label { cursor: pointer; }
.co-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.co-seg em { font-style: normal; font-size: 11.5px; color: var(--accent-text); background: var(--accent-soft); padding: 0 7px; border-radius: 999px; }
.co-seg input:checked + span { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.co-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-mode > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; }
.co-mode b { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.co-mode b .icon { color: var(--brand-600); }
.co-mode small { color: var(--muted); font-size: 13px; }
.co-coupon { margin-bottom: 4px; }
.co-coupon-row { display: flex; gap: 8px; max-width: 420px; }
.co-coupon-row .input { text-transform: uppercase; }
.co-coupon-row .btn { --btn-h: 46px; }
.co-coupon-msg { font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.co-coupon-msg:empty { display: none; }
.co-coupon-msg.is-ok { color: var(--success-text); }
.co-coupon-msg.is-bad { color: var(--danger-text); }
.co-coupon-msg.is-note { color: var(--accent-text); }
.co-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-method-in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; }
.co-method-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.co-method-top b { font-size: 16px; }
.co-method-top em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--gray-50); border: 1px solid var(--border); padding: 0 8px; border-radius: 999px; }
.co-acc { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 10px; border-radius: 8px; background: #fff; border: 1px dashed var(--border-strong); }
.co-acc-v { font-size: 15px; font-weight: 600; color: var(--text); word-break: break-all; }
.co-method-meta { color: var(--muted); font-size: 13px; line-height: 1.7; }
.co-method-link { align-self: flex-start; }
.co-dz { padding: 26px 20px; }
.co-dz .icon { width: 28px; height: 28px; color: var(--brand-500); }
.co-payer { margin-top: 20px; }
.co-free, .co-trial { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-200); color: var(--brand-800); }
.co-free .icon, .co-trial > .icon { width: 22px; height: 22px; color: var(--brand-600); margin-top: 2px; }
.co-trial p { color: var(--brand-800); opacity: .85; font-size: 14.5px; margin-top: 4px; }
.co-terms { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--s-line); }
.co-terms .check { align-items: flex-start; font-size: 14.5px; }
.co-terms .check input { margin-top: 4px; }
.co-terms.has-error .check { color: var(--danger-text); }
.co-submit { --btn-h: 52px; padding: 0 30px; font-size: 16px; }
.co-secure { display: flex; align-items: center; gap: 6px; justify-content: flex-end; color: var(--faint); font-size: 13px; margin-top: 12px; }
.co-side { position: sticky; top: 96px; }
.co-sum { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-xs); }
.co-sum-h { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.co-sum-plan { display: flex; flex-direction: column; padding-bottom: 16px; border-bottom: 1px solid var(--s-line); }
.co-sum-plan b { font-size: 19px; font-weight: 700; }
.co-sum-plan span { color: var(--muted); font-size: 14px; }
.co-sum-rows { margin: 0; padding: 12px 0; display: grid; gap: 8px; }
.co-sum-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.co-sum-rows > div[hidden] { display: none; }
.co-sum-rows dt { color: var(--muted); }
.co-sum-rows dd { margin: 0; font-weight: 600; text-align: end; }
.co-sum-rows .pos { color: var(--success-text); }
.co-sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--s-line); }
.co-sum-total span { font-weight: 600; }
.co-sum-total b { font-size: 26px; font-weight: 700; color: var(--gray-900); }
.co-sum-note { margin-top: 10px; font-size: 13px; color: var(--accent-text); background: var(--accent-soft); padding: 8px 10px; border-radius: 8px; }
.co-sum-next { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--border); display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.co-sum-next li { display: flex; align-items: center; gap: 8px; }
.co-sum-next .icon { color: var(--brand-500); }
.ord-meta { border-top: 1px solid var(--s-line); margin-top: 14px; padding-top: 14px; }

/* ---------------------------------------------------------------- order status + welcome */
.ord-no { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.ord-no b { color: var(--text); }
.ord-main { display: grid; gap: 16px; min-width: 0; }
.ord-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-xs); }
.ord-h { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.ord-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.ord-tl li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative; }
.ord-tl li::after { content: ""; position: absolute; top: 15px; inset-inline-start: 40px; inset-inline-end: 4px; height: 2px; background: var(--gray-150); border-radius: 2px; }
.ord-tl li:last-child::after { display: none; }
.ord-tl li.is-done::after { background: var(--brand-500); }
.ord-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gray-200); background: #fff; color: #fff; }
.ord-tl .is-done .ord-dot { background: var(--brand-600); border-color: var(--brand-600); }
.ord-tl .is-current .ord-dot { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.ord-tl .is-current .ord-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.ord-tl .is-failed .ord-dot { background: var(--danger); border-color: var(--danger); }
.ord-tl b { display: block; font-weight: 700; font-size: 15px; }
.ord-tl small { display: block; color: var(--muted); font-size: 13px; }
.ord-tl .is-idle b { color: var(--faint); }
.ord-ok { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--s-line); }
.ord-help { margin-top: 14px; color: var(--muted); font-size: 13.5px; text-align: center; }
.done-in { display: flex; justify-content: center; }
.done-card { width: 100%; max-width: 680px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 40px; box-shadow: 0 32px 64px -44px rgba(10, 54, 49, .45); }
.done-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); margin-bottom: 18px; }
.done-ic .icon { width: 30px; height: 30px; }
.done-kv { margin: 24px 0 0; display: grid; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.done-kv > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--gray-100); flex-wrap: wrap; }
.done-kv > div:first-child { border-top: 0; }
.done-kv dt { color: var(--muted); font-size: 14px; }
.done-kv dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; word-break: break-all; }
.done-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.done-next { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: dn; }
.done-next li { counter-increment: dn; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.done-next li::before { content: counter(dn); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: 13px; }
.done-next b { font-weight: 600; }
.done-next span { color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- legal */
.legal-in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-side { position: sticky; top: 104px; }
.legal-nav { display: grid; gap: 4px; margin-top: 24px; }
.legal-nav a { padding: 8px 12px; border-radius: var(--radius); color: var(--text-2); }
.legal-nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .num { color: var(--brand-500); }
.legal-body p { color: var(--text-2); line-height: 1.95; margin-bottom: 12px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .s-nav-links a { padding: 8px 9px; font-size: 14.5px; }
  .s-nav-login { display: none; }
  .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .s-section { padding-block: 80px; }
  .s-burger { display: inline-flex; }
  .s-header-in { gap: 16px; }
  .s-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--s-gutter) 20px; background: #fff; border-bottom: 1px solid var(--s-line); box-shadow: 0 24px 40px -24px rgba(16, 24, 22, .3); max-height: calc(100vh - 72px); overflow-y: auto; }
  .s-header.is-open .s-nav { display: flex; }
  .s-nav-links { flex-direction: column; }
  .s-nav-links a { padding: 12px; font-size: 16px; }
  .s-nav-actions { flex-direction: column; align-items: stretch; border-top: 1px solid var(--s-line); padding-top: 12px; }
  .s-nav-login { display: flex; padding: 12px; font-size: 15.5px; }
  .s-nav-cta { margin: 6px 0 0; --btn-h: 48px; }
  .hero { padding: 48px 0 72px; }
  .hero-in, .s-split, .sec, .faq-wrap, .contact, .legal-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .s-split.is-rev .s-split-text { order: 0; }
  .s-split.is-rev .s-split-visual { order: 1; }
  .hv { max-width: 680px; margin-inline: auto; width: 100%; }
  .ways { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .faq-wrap .s-head, .legal-side { position: static; }
  .pl-grid, .pl-grid[data-count="4"] { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .pl-grid[data-count="2"] { grid-template-columns: minmax(0, 1fr); }
  .pm-strip { flex-direction: column; align-items: flex-start; }
  .pm-badges { justify-content: flex-start; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .s-footer-grid { grid-template-columns: 1fr 1fr; }
  .co-grid { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; order: -1; }
  .co-sum-next { display: none; }
}
@media (max-width: 720px) {
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp { grid-template-columns: minmax(0, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .how::before { display: none; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-grid li:nth-child(odd), .sec-grid li:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .co-plans, .co-modes, .co-methods { grid-template-columns: minmax(0, 1fr); }
  .ord-tl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ord-tl li { flex-direction: row; align-items: center; padding-bottom: 18px; }
  .ord-tl li::after { top: 34px; bottom: 2px; inset-inline-start: 15px; inset-inline-end: auto; width: 2px; height: auto; }
}
@media (max-width: 560px) {
  .site { --s-gutter: 16px; }
  .s-section { padding-block: 64px; }
  .s-head { margin-bottom: 36px; }
  .s-lead { font-size: 16.5px; }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hv { padding-inline-end: 0; padding-bottom: 170px; }
  .hv-phone { width: 168px; inset-inline-end: 8px; }
  .hv-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hv-side, .hv-chart, .hv-btn { display: none; }
  .hv-grid { grid-template-columns: minmax(0, 1fr); }
  .hv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-tr { grid-template-columns: minmax(0, 2fr) .8fr 1.3fr; }
  .hv-tr > :nth-child(3) { display: none; }
  .fx-t { font-size: 13.5px; padding: 6px 10px; }
  .slip { padding: 20px; }
  .ec-body { grid-template-columns: minmax(0, 1fr); }
  .ec-strip i { height: 16px; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .cmp-col, .contact-card, .ord-card, .done-card { padding: 22px; }
  .s-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .s-header-help .text-muted { display: none; }
  .co-step-head { padding: 18px; }
  .co-step-body { padding: 0 18px 20px; }
  .co-step-foot .btn { width: 100%; }
  .co-seg { display: flex; }
  .co-seg label { flex: 1; }
  .co-seg span { justify-content: center; padding-inline: 10px; }
  .co-coupon-row { max-width: none; }
  .pl-card { padding: 26px 22px 22px; }
  .pl-toggle button { padding: 8px 16px; }
  .lead .form-grid { grid-template-columns: minmax(0, 1fr); }
  .lead .span-all { grid-column: auto; }
  .pm-badges li { min-width: 0; flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .dg-line i { animation: none; display: none; }
  .s-header, .way, .feat-item, .faq-ic::before, .faq-ic::after, .s-burger span { transition: none; }
}
@media print {
  .s-header, .s-topbar, .s-footer, .s-wa { display: none; }
}
