
/* ================= pricing page ================= */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price-hero { text-align: center; padding-bottom: 8px; }
.price-hero .lead { margin-inline: auto; }
.bill-switch { display: inline-flex; gap: 4px; padding: 5px; margin-top: 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.bill-switch button { font: inherit; font-weight: 650; border: 0; background: transparent; color: var(--muted); padding: 10px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.bill-switch button span { font-size: .72rem; font-weight: 700; color: var(--accent); background: #e7f7f1; padding: 2px 8px; border-radius: 999px; }
.bill-switch button.on { background: var(--brand); color: #fff; }
.bill-switch button.on span { background: rgba(255,255,255,.2); color: #fff; }
.bill-switch button:focus-visible { outline: 3px solid var(--tint); }

.plans-sec { padding-top: 32px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--brand); box-shadow: 0 14px 40px rgba(20, 82, 204, .18); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan-head { display: flex; gap: 12px; align-items: center; }
.plan-head .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--tint); color: var(--brand); flex: none; }
.plan-head h3 { margin: 0; font-size: 1.3rem; }
.plan-head p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.plan-price { display: flex; flex-direction: column; gap: 2px; min-height: 92px; }
.plan-amt { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.plan-amt.custom { font-size: 2rem; }
.plan-note { color: var(--muted); font-size: .88rem; }
.plan-save { align-self: flex-start; margin-top: 6px; font-size: .75rem; font-weight: 700; color: var(--accent); background: #e7f7f1; padding: 3px 10px; border-radius: 999px; }
.plan-save[hidden] { display: none; }
.plan-limits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.plan-limits li { font-size: .8rem; font-weight: 600; color: var(--brand-d); background: var(--tint); padding: 4px 10px; border-radius: 8px; }
.plan .btn.full { min-height: 48px; }
.plan-feats { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 9px; }
.plan-feats li { display: flex; gap: 9px; font-size: .94rem; line-height: 1.4; }
.plan-feats li .ic { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; stroke-width: 2.4; }
.plan-feats li.plus { font-weight: 700; color: var(--ink); }
.incl { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--muted); font-size: .92rem; }
.incl li { display: inline-flex; align-items: center; gap: 6px; }
.incl .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.4; }

/* calculator */
.calc-sec { background: var(--bg2); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.calc-main { display: grid; gap: 14px; margin: 0; }
.mods { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mod { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; min-height: 72px; }
.mod:hover { border-color: color-mix(in srgb, var(--c, var(--brand)) 45%, #fff); }
.mod input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mod:has(input:focus-visible) { outline: 3px solid var(--tint); }
.mod-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--brand)) 12%, #fff); color: var(--c, var(--brand)); }
.mod-ic .ic { width: 22px; height: 22px; }
.mod-txt { display: flex; flex-direction: column; min-width: 0; }
.mod-txt b { font-size: .96rem; line-height: 1.3; }
.mod-txt b em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--accent); background: #e7f7f1; padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.mod-txt small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.mod-price { font-weight: 750; font-size: .98rem; white-space: nowrap; text-align: right; }
.mod-price small { color: var(--muted); font-weight: 500; }
.mod-tick { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--c, var(--brand)); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .15s; }
.mod-tick .ic { width: 14px; height: 14px; stroke-width: 3; }
.mod.on { border-color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 5%, #fff); box-shadow: 0 4px 14px color-mix(in srgb, var(--c, var(--brand)) 18%, transparent); }
.mod.on .mod-tick { transform: scale(1); }
.mod.base { cursor: default; border-style: dashed; background: #fff; }
.steppers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stepper { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.stepper label { display: flex; flex-direction: column; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.stepper label small { font-weight: 500; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.step-box { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; border: 1px solid #cfd8e5; border-radius: 10px; overflow: hidden; }
.step-box input { width: 100%; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 1.05rem; padding: 8px 4px; min-width: 0; -moz-appearance: textfield; color: var(--ink); background: #fff; }
.step-box input::-webkit-outer-spin-button, .step-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step { border: 0; background: var(--tint); color: var(--brand); font-size: 1.3rem; font-weight: 700; cursor: pointer; min-height: 44px; }
.step:hover { background: #dbe7ff; }
.stepper.off { opacity: .5; }
.stepper.off .step { cursor: not-allowed; }
.calc-links { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }

.calc-sum { position: sticky; top: 88px; padding: 22px; border-radius: 18px; box-shadow: 0 14px 40px rgba(15, 27, 45, .10); }
.sum-h { margin: 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.sum-h span { font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--tint); padding: 3px 10px; border-radius: 999px; }
.sum-big { margin: 8px 0 12px; display: flex; flex-direction: column; }
.sum-big span { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--brand-d); }
.sum-big small { color: var(--muted); font-size: .85rem; }
.sum-lines { list-style: none; margin: 0 0 12px; padding: 12px 0; border-block: 1px dashed var(--line); display: grid; gap: 6px; max-height: 240px; overflow-y: auto; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--muted); }
.sum-lines li b { color: var(--ink); font-weight: 650; white-space: nowrap; }
.sum-tot { margin: 0 0 14px; display: grid; gap: 6px; }
.sum-tot div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.sum-tot dt { color: var(--muted); }
.sum-tot dd { margin: 0; font-weight: 650; white-space: nowrap; }
.sum-tot .free dd { color: var(--accent); }
.sum-tot .grand { padding-top: 8px; border-top: 1px solid var(--line); font-size: 1.02rem; }
.sum-tot .grand dt { color: var(--ink); font-weight: 700; }
.sum-tot .grand dd { font-weight: 800; }
.sum-tip { margin: 0 0 14px !important; padding: 10px 12px; border-radius: 10px; background: #fff7e6; color: #8a5a00 !important; font-size: .86rem !important; line-height: 1.45; }
.sum-tip[hidden] { display: none; }
.sum-note { margin: 10px 0 0 !important; display: flex; gap: 6px; align-items: flex-start; font-size: .8rem !important; }
.sum-note .ic { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 2px; }

.q-bar { display: none; }

/* comparison */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { position: sticky; top: 0; background: #f7f9fd; font-size: 1rem; }
.cmp thead th.pop { color: var(--brand); }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td.yes .ic { width: 20px; height: 20px; color: var(--accent); stroke-width: 2.6; }
.cmp td.no { color: #b6c0cf; }
.cmp tbody tr:hover { background: #fafcff; }

/* quote form */
.quote-sec { background: linear-gradient(180deg, #fff, var(--bg2)); }
.quote-sec .split.top { grid-template-columns: 1fr 1.15fr; align-items: start; }
.quote-gets { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.quote-gets li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.quote-gets .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--tint); color: var(--brand); flex: none; }
.quote-alt { color: var(--muted); }
.quote-summary { white-space: pre-wrap; font: inherit; font-size: .88rem; margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--tint); color: var(--brand-d); border: 1px solid #cfdcff; }
.quote-summary[hidden] { display: none; }
.form .opt { font-weight: 400; color: var(--muted); }
.price-foot { margin-top: 22px; color: var(--muted); font-size: .85rem; text-align: center; }

@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 28px; }
  .plan-price { min-height: 0; }
  .calc { grid-template-columns: 1fr; }
  .calc-sum { position: static; }
}
@media (max-width: 720px) {
  .mods { grid-template-columns: 1fr; }
  .steppers { grid-template-columns: 1fr; }
  .bill-switch { width: 100%; max-width: 360px; }
  .bill-switch button { flex: 1; justify-content: center; padding: 10px 12px; }
  .plan { padding: 22px 18px; }
  .plan-amt { font-size: 2.1rem; }
  .sum-big span { font-size: 2rem; }
  .quote-sec .split.top { grid-template-columns: 1fr; }
  .q-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: #0c1626; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.3); transform: translateY(140%); transition: transform .25s ease; }
  .q-bar.show { transform: translateY(0); }
  .q-bar small { display: block; font-size: .72rem; color: #9fb0c8; }
  .q-bar b { font-size: 1.15rem; }
  .q-bar .btn { min-height: 44px; }
}
.calc-sum .sum-h { color: var(--ink); font-size: 1rem; }
.calc-sum .sum-big { margin: 8px 0 12px; }
@media (max-width: 720px) {
  .cmp-wrap { overflow: visible; }
  .cmp { min-width: 0; table-layout: fixed; font-size: .8rem; }
  .cmp th, .cmp td { padding: 9px 4px; }
  .cmp td, .cmp thead th { font-size: .74rem; }
  .cmp thead th { font-size: .82rem; position: static; }
  .cmp thead th:first-child, .cmp tbody th { width: 37%; }
  .cmp tbody th { font-weight: 600; padding-left: 10px; }
  .cmp td.yes .ic { width: 17px; height: 17px; }
}

.bill-switch button span { white-space: nowrap; }
@media (max-width: 380px) { .bill-switch button span { display: none; } }

/* region + billing switches */
.price-switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.price-switches .bill-switch { margin-top: 0; }
.region-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.region-switch button { font: inherit; font-weight: 650; border: 0; background: transparent; color: var(--muted); padding: 10px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap; }
.region-switch button small { font-size: .72rem; font-weight: 700; opacity: .75; }
.region-switch button.on { background: var(--ink); color: #fff; }
.region-switch button:focus-visible { outline: 3px solid var(--tint); }
.onb-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 26px auto 0; color: var(--ink); font-size: .95rem; text-align: center; }
.onb-note .ic { width: 20px; height: 20px; color: var(--brand); flex: none; }
.sum-min { margin: -4px 0 12px !important; padding: 8px 10px; border-radius: 8px; background: var(--tint); color: var(--brand-d) !important; font-size: .82rem !important; }
.sum-min[hidden] { display: none; }
@media (max-width: 720px) {
  .price-switches { flex-direction: column; align-items: center; }
  .region-switch, .bill-switch { width: 100%; max-width: 380px; }
  .region-switch button { flex: 1; justify-content: center; padding: 10px 8px; }
  .onb-note { align-items: flex-start; text-align: left; }
}
