/* ============================================================
   Biknine.com - Pricing page theme
   ============================================================ */

:root {
  --purple-hero:   #291739;
  --purple-deep:   #2E0547;
  --purple-mid:    #371B56;
  --purple-cta:    #392649;
  --purple-foot-a: #392649;
  --purple-foot-b: #27113A;
  --primary:       #6840DB;
  --primary-dark:  #5533B8;
  --primary-soft:  #F1ECFD;
  --green:         #66D978;
  --coral:         #FF5A5B;
  --muted-purple:  #9E7CBA;
  --text:          #212529;
  --text-soft:     #4E4A54;
  --text-mute:     #8B8894;
  --line:          #E6E6E6;
  --bg:            #FEFEFF;
  --header-h:      80px;
  --radius:        14px;
  --shadow:        0 10px 40px rgba(46, 5, 71, .10);
  --shadow-lg:     0 18px 55px rgba(46, 5, 71, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Euclid Circular B", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ico { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; box-shadow: 0 8px 22px rgba(104,64,219,.35); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: #fff; color: var(--purple-hero); border-color: #fff; }
.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
/* stays at the top of the document and scrolls away with the page,
   deliberately not sticky/fixed */
.site-header {
  position: static;
  background: var(--purple-hero);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

section[id], .tut-cat, .legal h2 { scroll-margin-top: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }

/* square source image, cropped to a regular octagon.
   29.29% = (1 - 1/(1+sqrt2)) / 2, the cut that makes all 8 sides equal. */
.logo-mark {
  width: 38px; height: 38px; display: block; object-fit: cover;
  clip-path: polygon(
    29.29% 0%, 70.71% 0%,
    100% 29.29%, 100% 70.71%,
    70.71% 100%, 29.29% 100%,
    0% 70.71%, 0% 29.29%
  );
}
.logo-text { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.logo-dot { color: var(--green); font-weight: 700; }

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.86); font-weight: 600; font-size: 15px;
}
.nav-link:hover { color: var(--green); }
.nav-signin { padding: 10px 24px; font-size: 15px; }

.burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: #fff; display: block; border-radius: 2px; }

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
  background: var(--purple-hero);
  background-image:
    radial-gradient(1100px 520px at 12% -25%, rgba(104,64,219,.55), transparent 62%),
    radial-gradient(820px 420px at 95% 5%, rgba(102,217,120,.13), transparent 60%);
  color: #fff;
  padding: 78px 0 74px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block; margin-bottom: 22px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.88); font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 50px; letter-spacing: .2px;
}
.home-hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.12;
  margin: 0 auto 20px; max-width: 900px; letter-spacing: -1px;
}
.hero-accent { color: var(--green); }
.hero-lead {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.74);
  max-width: 760px; margin: 0 auto 30px;
}

.hero-points {
  list-style: none; margin: 0 auto 34px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  max-width: 880px;
}
.hero-points li {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero-points li::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-points:last-child { margin-bottom: 0; }

/* ---------- trust bar ---------- */
.trust-bar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 30px 0 26px;
}
.trust-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}

/* each stat carries its own accent, set by the tone-* class */
.trust-stat {
  --tone: var(--primary);
  position: relative; text-align: center;
  padding: 20px 14px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff;
  transition: .22s ease;
}
.trust-stat::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  background: var(--tone); opacity: .05; transition: opacity .22s ease;
}
.trust-stat:hover { transform: translateY(-4px); border-color: var(--tone); box-shadow: 0 14px 34px rgba(46, 5, 71, .12); }
.trust-stat:hover::before { opacity: .1; }
.trust-stat > * { position: relative; }

.tone-purple { --tone: #6840DB; }
.tone-green  { --tone: #2FA84A; }
.tone-coral  { --tone: #FF5A5B; }
.tone-amber  { --tone: #E08A00; }

.trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 12px; border-radius: 14px;
  background: var(--tone); color: #fff;
  box-shadow: 0 8px 18px rgba(46, 5, 71, .18);                          /* fallback */
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tone) 35%, transparent);
}
.trust-icon svg { width: 24px; height: 24px; }

.trust-stat strong {
  display: block; font-size: 27px; font-weight: 800; color: var(--tone);
  line-height: 1.15; letter-spacing: -.5px;
}
.trust-label { display: block; margin-top: 3px; font-size: 14px; color: var(--text-mute); font-weight: 500; }

/* small "we are live right now" pulse */
.live-dot {
  display: inline-block; width: 9px; height: 9px; margin-left: 4px;
  border-radius: 50%; background: #2FA84A; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(47,168,74,.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,168,74,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(47,168,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,168,74,0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.trust-partners {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; padding-top: 20px;
}
.trust-partners-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted-purple); margin-right: 4px;
}
.trust-partners em {
  --brand: var(--primary);
  display: inline-flex; align-items: center; gap: 8px;
  font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--text-soft);
  background: #FBFAFD; border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 50px; transition: .18s ease; cursor: default;
}
.trust-partners em::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.trust-partners em:hover {
  color: var(--purple-deep); border-color: var(--brand);
  background: #fff; transform: translateY(-2px);
}

/* ============================================================
   HERO / PRODUCT SELECTOR
   ============================================================ */
.pricing-header {
  background: var(--purple-hero);
  background-image:
    radial-gradient(900px 380px at 15% -10%, rgba(104,64,219,.35), transparent 60%),
    radial-gradient(700px 340px at 90% 0%, rgba(102,217,120,.10), transparent 60%);
  color: #fff;
  padding: 60px 0 55px;
  text-align: center;
}
.pricing-header h1 { font-size: 50px; font-weight: 700; margin: 0 0 12px; line-height: 1.15; }
.pricing-header h1 .orange { color: var(--coral); }
.pricing-header h2 {
  font-size: 18px; font-weight: 400; color: rgba(255,255,255,.75);
  margin: 0 auto 40px; max-width: 720px;
}

/* product tabs */
.product-selector {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 42px;
}
.product-box {
  position: relative; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 22px 28px; min-width: 178px;
  transition: .2s ease;
}
.product-box:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.product-box.selected {
  background: #fff; border-color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.product-box .promo {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 50px; letter-spacing: .3px; white-space: nowrap;
}
.product-box .p-name { font-size: 15.5px; font-weight: 600; color: #fff; text-align: center; }
.product-box.selected .p-name { color: var(--purple-deep); }

/* billing cycle */
.product-billing-container { max-width: 760px; margin: 0 auto; }
.billing-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 12px; }
.billing-switch {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px;
  background: rgba(255,255,255,.08); border-radius: 50px;
  border: 1px solid rgba(255,255,255,.10);
}
.billing-switch button {
  border: 0; background: transparent; color: rgba(255,255,255,.8);
  font: inherit; font-size: 14px; font-weight: 600; padding: 10px 22px;
  border-radius: 50px; cursor: pointer; transition: .18s ease;
}
.billing-switch button:hover { color: #fff; }
.billing-switch button.active { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(104,64,219,.45); }

.billing-note { margin-top: 18px; }
.billing-note strong { display: block; font-size: 15px; color: var(--green); font-weight: 600; }
.billing-note p { font-size: 14px; color: rgba(255,255,255,.6); margin: 6px 0 0; }

/* ============================================================
   PLANS
   ============================================================ */
.plans { padding: 55px 0 70px; background: var(--bg); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }

.plan-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  transition: .25s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }

.best-value {
  background: var(--primary); color: #fff; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; padding: 8px;
}

.plan-head { padding: 28px 28px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.plan-name { font-size: 24px; font-weight: 700; color: var(--purple-deep); margin: 0 0 6px; }
.plan-off {
  display: inline-block; background: rgba(255,90,91,.12); color: var(--coral);
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 50px; margin-bottom: 12px;
}
.plan-desc { font-size: 14px; color: var(--text-mute); margin: 0 0 18px; min-height: 44px; }

.plan-price { font-size: 44px; font-weight: 800; color: var(--purple-deep); line-height: 1; }
.plan-price .cur { font-size: 24px; vertical-align: super; font-weight: 700; }
.plan-price .per { font-size: 16px; font-weight: 600; color: var(--text-mute); }
.plan-regular { font-size: 13px; color: var(--text-mute); margin-top: 8px; }
.plan-regular s { color: var(--coral); }

/* bonus pill with gift icon */
.plan-bonus {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 9px 16px; border-radius: 10px;
  background: rgba(255, 90, 91, .10); color: var(--coral);
  font-size: 13.5px; font-weight: 600; text-align: left; line-height: 1.35;
}
.plan-bonus .bonus-icon { flex: 0 0 auto; width: 18px; height: 18px; }

/* powered-by row */
.plan-powered {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 13px; color: var(--text-mute); font-weight: 500;
}
.pw-nginx, .pw-litespeed { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.plan-powered svg { width: 20px; height: 20px; }
.pw-nginx span { color: #009639; letter-spacing: .2px; }
.pw-litespeed span { color: var(--purple-deep); letter-spacing: .2px; }

.plan-body { padding: 22px 28px 28px; }
.spec-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted-purple); margin: 18px 0 10px;
}
.spec-title:first-child { margin-top: 0; }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; color: var(--text-soft); padding: 7px 0;
}

/* line icons for the Specifications rows, a check for everything else */
.li-icon { flex: 0 0 auto; width: 20px; height: 20px; color: var(--primary); }
.li-icon.li-check { color: var(--green); width: 18px; height: 18px; }

.li-text { flex: 1 1 auto; line-height: 1.45; }
.li-text b { color: var(--purple-deep); font-weight: 700; }
.li-text.has-tip { border-bottom: 1px dotted #C9BEE0; padding-bottom: 1px; }

/* the "?" affordance */
.tip-btn {
  flex: 0 0 auto; width: 18px; height: 18px; margin-left: 6px; padding: 0;
  border: 1.5px solid #D6CEE6; border-radius: 50%; background: transparent;
  color: var(--muted-purple); font: inherit; font-size: 11px; font-weight: 700;
  line-height: 1; cursor: help; transition: .16s ease;
}
.tip-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

.tip-bubble {
  position: absolute; z-index: 900; max-width: 260px;
  background: var(--purple-deep); color: #fff;
  font-size: 12.5px; line-height: 1.5; padding: 10px 13px; border-radius: 9px;
  box-shadow: 0 10px 30px rgba(46, 5, 71, .32); pointer-events: none;
}
.tip-bubble[hidden] { display: none; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-summary { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 45px 0; }
.reviews-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.reviews-text h3 { font-size: 28px; font-weight: 700; color: var(--purple-deep); margin: 0 0 8px; }
.reviews-text p { color: var(--text-mute); margin: 0; max-width: 460px; }
.reviews-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.review-badge {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 24px; text-align: center; min-width: 150px; box-shadow: var(--shadow);
}
.review-badge .stars { display: block; color: var(--green); letter-spacing: 2px; font-size: 15px; }
.review-badge strong { display: block; font-size: 20px; color: var(--purple-deep); margin: 4px 0 2px; }
.review-badge small { color: var(--text-mute); font-size: 12px; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title { font-size: 34px; font-weight: 700; color: var(--purple-deep); text-align: center; margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--text-mute); margin: 0 0 36px; }
.compare-title { margin-bottom: 36px; }

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-tables { padding: 70px 0; background: var(--bg); }
.table-wrap { overflow-x: auto; border-radius: 18px; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14.5px; }
table.compare th, table.compare td { padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--line); }
table.compare td:first-child, table.compare th:first-child { text-align: left; width: 34%; color: var(--text-soft); }

table.compare thead th { background: var(--purple-hero); color: #fff; position: sticky; top: 0; z-index: 5; }
table.compare thead th:first-child { background: var(--purple-hero); }
.th-plan-name { font-size: 18px; font-weight: 700; display: block; margin-bottom: 4px; }
.th-plan-price { font-size: 13px; color: var(--green); font-weight: 600; }
.th-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; padding: 2px 10px; border-radius: 50px; margin-bottom: 6px; }

tr.group-row td {
  background: var(--primary-soft); color: var(--purple-deep);
  font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; text-align: left;
}
table.compare tbody tr:hover td:not(.grp) { background: #FBFAFE; }
table.compare tfoot td { padding: 22px 18px; }

/* compare marks */
.cmp-yes, .cmp-no { display: inline-flex; align-items: center; justify-content: center; }
.cmp-yes svg { width: 20px; height: 20px; color: var(--green); }
.cmp-no  svg { width: 18px; height: 18px; color: var(--coral); }

.cmp-unlimited { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text-soft); }
.cmp-inf { width: 20px; height: 20px; color: var(--primary); flex: 0 0 auto; }

/* ============================================================
   FAQ
   ============================================================ */
.pricing-page-faq { padding: 70px 0; background: #fff; border-top: 1px solid var(--line); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--purple-deep);
  padding: 18px 52px 18px 22px; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--primary); line-height: 1;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-item.open .faq-q { color: var(--primary); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--text-soft); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta { background: var(--purple-cta); color: #fff; text-align: center; padding: 70px 0; }
.footer-cta h2 { font-size: 36px; font-weight: 700; margin: 0 0 12px; }
.footer-cta p { color: rgba(255,255,255,.72); max-width: 720px; margin: 0 auto 30px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(var(--purple-foot-a) 25%, var(--purple-foot-b) 85%);
  color: rgba(255,255,255,.72); padding: 60px 0 24px; font-size: 14px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.logo-footer { margin-bottom: 16px; }
.footer-about p { color: rgba(255,255,255,.6); }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 1.2px; margin: 0 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.68); }
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: rgba(255,255,255,.5); font-size: 13px;
}
.pay-methods { display: flex; align-items: center; gap: 10px; }
.pay-methods em {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  background: rgba(255,255,255,.10); padding: 5px 10px; border-radius: 6px; color: #fff;
}

/* ============================================================
   SUB-PAGES (legal, feature, tutorial index)
   ============================================================ */
.page-hero {
  background: var(--purple-hero);
  background-image:
    radial-gradient(900px 380px at 15% -20%, rgba(104,64,219,.38), transparent 62%),
    radial-gradient(700px 340px at 92% 0%, rgba(102,217,120,.10), transparent 60%);
  color: #fff; padding: 56px 0; text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 700; margin: 0 0 12px; line-height: 1.2; }
.page-hero h1 .orange { color: var(--coral); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.72); max-width: 760px; margin: 0 auto; }
.page-hero .updated { display: inline-block; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.55); }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--green); }

.page-body { padding: 56px 0 70px; }
.page-narrow { max-width: 880px; margin: 0 auto; }

/* ---------- long-form / legal ---------- */
.legal h2 {
  font-size: 24px; font-weight: 700; color: var(--purple-deep);
  margin: 42px 0 14px; padding-top: 8px; scroll-margin-top: 100px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; font-weight: 700; color: var(--purple-deep); margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }

.toc {
  background: var(--primary-soft); border: 1px solid #E2DAFA; border-radius: 14px;
  padding: 22px 26px; margin-bottom: 40px;
}
.toc h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 1.2px; color: var(--muted-purple); font-weight: 700; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 7px; font-size: 14.5px; break-inside: avoid; }

.note-box {
  border-left: 4px solid var(--primary); background: #FAF8FF;
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 24px 0;
  font-size: 14.5px; color: var(--text-soft);
}
.note-box.warn { border-left-color: var(--coral); background: #FFF7F7; }

/* ---------- feature grids ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin: 34px 0; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow); transition: .22s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--purple-deep); margin: 0 0 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-soft); margin: 0; line-height: 1.65; }
.feature-card .fc-metric { display: block; font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 10px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin: 34px 0; }
.split-col h3 {
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted-purple); margin: 0 0 16px;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 0 0 16px 30px; font-size: 15px; color: var(--text-soft); line-height: 1.6; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* ---------- datacenter list ---------- */
.dc-region { margin-bottom: 34px; }
.dc-region > h3 {
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted-purple); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.dc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.dc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  box-shadow: var(--shadow); transition: .2s ease;
}
.dc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.dc-city { display: block; font-size: 17px; font-weight: 700; color: var(--purple-deep); }
.dc-country { display: block; font-size: 13.5px; color: var(--text-mute); margin-bottom: 10px; }
.dc-meta { font-size: 12.5px; color: var(--text-soft); }
.dc-meta span { display: block; margin-top: 3px; }

/* ---------- tutorial index ---------- */
.tut-toc {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.tut-toc a {
  font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 50px;
  background: var(--primary-soft); color: var(--primary); transition: .18s ease;
}
.tut-toc a:hover { background: var(--primary); color: #fff; }

.tut-cat { margin-bottom: 38px; scroll-margin-top: 100px; }
.tut-cat h2 {
  font-size: 20px; font-weight: 700; color: var(--purple-deep);
  margin: 0 0 4px; display: flex; align-items: center; gap: 12px;
}
.tut-cat h2 .count {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--muted-purple);
  background: var(--primary-soft); padding: 3px 10px; border-radius: 50px;
}
.tut-cat > p { font-size: 14.5px; color: var(--text-mute); margin: 0 0 16px; }
.tut-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.tut-list li { border-bottom: 1px solid var(--line); }
.tut-list a {
  display: block; padding: 11px 4px 11px 26px; font-size: 14.5px;
  color: var(--text-soft); position: relative; transition: .16s ease;
}
.tut-list a::before {
  content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--green);
}
.tut-list a:hover { color: var(--primary); padding-left: 30px; }

/* ---------- small shared bits ---------- */
.page-cta {
  background: var(--primary-soft); border-radius: 18px; padding: 34px;
  text-align: center; margin-top: 50px;
}
.page-cta h3 { font-size: 22px; font-weight: 700; color: var(--purple-deep); margin: 0 0 8px; }
.page-cta p { color: var(--text-soft); margin: 0 0 20px; }

.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow); margin: 34px 0;
}
.stat-strip div { text-align: center; }
.stat-strip strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat-strip span { font-size: 13px; color: var(--text-mute); }

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(23, 9, 36, .70);
  backdrop-filter: blur(4px);
  animation: fadeIn .18s ease;
}
.modal-overlay[hidden] { display: none; }
body.modal-open { overflow: hidden; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }

@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal { animation: none; }
}

.modal {
  position: relative; width: 100%; max-width: 980px; margin: auto;
  display: flex; flex-direction: column;
  /* 100% of the overlay's content box. The overlay is inset:0, so this
     is a definite height and avoids vh/dvh resolving inconsistently. */
  max-height: 100%;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(23, 9, 36, .45);
  animation: popIn .22s ease;
}
.modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 3;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; transition: .18s ease;
}
.modal-close:hover { background: rgba(255,255,255,.28); }

/* minmax(0,1fr) + min-height:0 stop the grid row from growing to
   content height, which is what lets each column scroll instead of
   the modal cropping its own overflow. */
.modal-grid {
  display: grid; grid-template-columns: 350px 1fr; grid-template-rows: minmax(0, 1fr);
  flex: 1 1 auto; min-height: 0;
}

/* ---------- left panel ---------- */
.modal-aside {
  background: var(--purple-hero);
  background-image:
    radial-gradient(600px 300px at 0% 0%, rgba(104,64,219,.55), transparent 65%),
    radial-gradient(400px 260px at 100% 100%, rgba(102,217,120,.12), transparent 60%);
  color: #fff; padding: 36px 32px; overflow-y: auto; min-height: 0;
}
.aside-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--green); margin-bottom: 10px; }
.modal-aside h3 { font-size: 26px; font-weight: 700; margin: 0 0 10px; }
.aside-lead { font-size: 14.5px; color: rgba(255,255,255,.72); margin: 0 0 26px; }

.aside-facts { list-style: none; margin: 0 0 26px; padding: 0; }
.aside-facts li { position: relative; padding: 0 0 16px 26px; }
.aside-facts li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/10px no-repeat;
}
.aside-facts strong { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.aside-facts span { display: block; font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.5; }

.aside-direct { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.aside-direct-label { display: block; font-size: 12px; letter-spacing: .6px; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.reveal-email {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 8px; cursor: pointer;
  transition: .18s ease; word-break: break-all; text-align: left;
}
.reveal-email:hover { background: rgba(255,255,255,.20); }
.reveal-email.revealed { cursor: text; color: var(--green); }

.aside-note { font-size: 12.5px; color: rgba(255,255,255,.45); margin: 18px 0 0; line-height: 1.6; }

/* ---------- right panel ---------- */
.modal-form-wrap { padding: 36px 34px; overflow-y: auto; min-height: 0; }
.modal-form-wrap h2 { font-size: 26px; font-weight: 700; color: var(--purple-deep); margin: 0 0 6px; }
.modal-sub { font-size: 14px; color: var(--text-mute); margin: 0 0 24px; }
.req { color: var(--coral); }
.opt { color: var(--text-mute); font-weight: 400; font-size: 12px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14.5px; color: var(--text);
  padding: 11px 14px; border: 1px solid #DDD9E3; border-radius: 10px;
  background: #FCFBFE; transition: .16s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(104,64,219,.14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral); background: #FFF7F7; }
.field-error { display: none; font-size: 12.5px; color: var(--coral); margin-top: 5px; }
.field.has-error .field-error, .field-error.show { display: block; }
.char-count { font-size: 11.5px; color: var(--text-mute); margin-top: 5px; align-self: flex-end; }

/* honeypot: off-screen, never focusable */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.field-challenge { max-width: 260px; }
.challenge-row { display: flex; align-items: center; gap: 10px; }
.challenge-q {
  font-size: 17px; font-weight: 700; color: var(--purple-deep);
  background: var(--primary-soft); padding: 10px 16px; border-radius: 10px; letter-spacing: 1px;
}
.challenge-eq { font-size: 17px; font-weight: 700; color: var(--text-mute); }
.field-challenge input { width: 74px; text-align: center; font-weight: 700; }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-soft); line-height: 1.55; margin: 6px 0; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--primary); flex: 0 0 auto; }

.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.form-note { font-size: 12px; color: var(--text-mute); flex: 1 1 200px; line-height: 1.5; }
#cfSubmit[disabled] { opacity: .6; cursor: not-allowed; }

.form-alert { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.55; }
.form-alert[hidden] { display: none; }
.form-alert.ok   { background: rgba(102,217,120,.12); border: 1px solid rgba(102,217,120,.45); color: #1F7A33; }
.form-alert.err  { background: rgba(255,90,91,.09);  border: 1px solid rgba(255,90,91,.40);  color: #B22B2C; }

/* ============================================================
   LOGIN MODAL
   ============================================================ */
.login-overlay { align-items: center; }
.login-modal {
  position: relative; width: 100%; max-width: 430px; margin: auto;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(23, 9, 36, .45);
  animation: popIn .22s ease;
}
.login-modal .modal-close { background: rgba(255,255,255,.16); color: #fff; }
.login-modal .modal-close:hover { background: rgba(255,255,255,.3); }

.login-brand {
  background: var(--purple-hero);
  background-image: radial-gradient(520px 200px at 30% 0%, rgba(104,64,219,.5), transparent 65%);
  padding: 30px 34px 26px; text-align: center;
}
.logo-login { justify-content: center; }

.login-body { padding: 30px 34px 34px; }
.login-body h2 { font-size: 22px; font-weight: 700; color: var(--purple-deep); margin: 0 0 6px; text-align: center; }
.login-sub { font-size: 14px; color: var(--text-mute); margin: 0 0 22px; text-align: center; }

.login-body .field { margin-bottom: 18px; }

.input-icon { position: relative; }
.input-icon > svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-mute); pointer-events: none;
}
.input-icon input {
  width: 100%; font: inherit; font-size: 14.5px; color: var(--text);
  padding: 12px 14px 12px 42px; border: 1px solid #DDD9E3; border-radius: 10px;
  background: #FCFBFE; transition: .16s ease;
}
.input-icon input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(104,64,219,.14); }
.has-error .input-icon input { border-color: var(--coral); background: #FFF7F7; }

.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; padding: 6px; cursor: pointer; color: var(--text-mute); line-height: 0;
}
.pw-toggle svg { width: 20px; height: 20px; }
.pw-toggle:hover { color: var(--primary); }
.pw-toggle.on { color: var(--primary); }

.login-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.remember { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-soft); cursor: pointer; }
.remember input { width: 16px; height: 16px; accent-color: var(--primary); }

.login-secure {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 22px 0 0; font-size: 12px; color: var(--text-mute);
}
.login-secure svg { width: 14px; height: 14px; color: var(--green); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
  .toc ol { columns: 1; }
  .pricing-header h1 { font-size: 38px; }
  .section-title { font-size: 28px; }
  table.compare thead th { position: static; }
  /* stacked: one scroll container for the whole dialog */
  .modal-grid { grid-template-columns: 1fr; grid-template-rows: auto; overflow-y: auto; }
  .modal-aside, .modal-form-wrap { overflow: visible; }
  .modal-aside { order: 2; }
  .modal-form-wrap { order: 1; }
}

/* the swipe hint and the phone comparison view only exist on small screens */
.swipe-hint { display: none; }
.compare-mobile { display: none; }

/* ---- phone comparison view (shown by the <=767px query) ---- */
.cm-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.cm-pill {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 14px 6px 12px; min-height: 68px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  font: inherit; color: var(--text-soft); transition: .18s ease;
}
.cm-pill.active {
  border-color: var(--primary); background: var(--primary-soft);
  box-shadow: 0 6px 18px rgba(104,64,219,.16);
}
.cm-pill-name { font-size: 14px; font-weight: 700; color: var(--purple-deep); line-height: 1.25; text-align: center; }
.cm-pill-price { font-size: 13px; font-weight: 600; color: var(--primary); }
.cm-pill-badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 9.5px; font-weight: 700;
  letter-spacing: .6px; padding: 2px 8px; border-radius: 50px; white-space: nowrap;
}

/* the plan switcher above the cards is a phone-only affordance */
.plan-pills { display: none; }

.cm-sheet {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow);
}
.cm-group-title {
  margin: 0; padding: 13px 18px;
  background: var(--primary-soft); color: var(--purple-deep);
  font-size: 13.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.cm-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
}
.cm-row:last-child { border-bottom: 0; }
.cm-row-off { opacity: .55; }
.cm-label { font-size: 15px; color: var(--text-soft); line-height: 1.4; }
.cm-value {
  flex: 0 0 auto; max-width: 52%; text-align: right;
  font-size: 15px; font-weight: 600; color: var(--purple-deep); line-height: 1.4;
}
.cm-value .cmp-unlimited { justify-content: flex-end; }
.cm-price { color: var(--primary); font-size: 18px; font-weight: 800; }

/* ------------------------------------------------------------
   TABLET  (<= 991px)
   ------------------------------------------------------------ */
@media (max-width: 991px) {
  /* comfortable reading width, cards get more room than on phones */
  .plan-grid { max-width: 620px; }
  .plan-card { border-radius: 20px; }

  .home-hero { padding: 60px 0 56px; }
  .home-hero h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .pricing-header { padding: 52px 0 48px; }
  .pricing-header h2 { font-size: 17px; }

  /* tabs and billing become even grids instead of ragged wrapping */
  .product-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .product-box { min-width: 0; padding: 20px 14px; }
  .product-box .p-name { font-size: 15px; }

  .billing-switch { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .billing-switch button { padding: 13px 8px; }

  .page-body { padding: 44px 0 56px; }
  .legal p, .legal li { font-size: 16px; }
  .tut-list { grid-template-columns: 1fr; }
  .tut-list a { font-size: 15.5px; padding-top: 13px; padding-bottom: 13px; }

  .plan-list li { font-size: 15.5px; padding: 8px 0; }
  .plan-desc { min-height: 0; }
  table.compare { font-size: 15px; }

  /* tablet keeps the real table (there is room for it) but it can
     still scroll, so pin the label column and say so */
  .swipe-hint {
    display: block; text-align: center; margin: -22px 0 16px;
    font-size: 14px; color: var(--muted-purple); font-weight: 600;
  }
  table.compare td:first-child, table.compare thead th:first-child {
    position: sticky; left: 0; z-index: 4;
    background: #fff; box-shadow: 1px 0 0 var(--line);
  }
  table.compare thead th:first-child { background: var(--purple-hero); z-index: 6; }
  table.compare tr.group-row td.grp { position: static; background: var(--primary-soft); }
  table.compare tbody tr:hover td:first-child { background: #fff; }
  .tip-btn { width: 24px; height: 24px; font-size: 12.5px; }
}

/* ------------------------------------------------------------
   PHONE  (<= 767px)
   Priorities: legible type (nothing under 14px), 44px tap
   targets, and a real slide-down menu.
   ------------------------------------------------------------ */
@media (max-width: 767px) {

  /* ---------- mobile menu ---------- */
  .burger {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; gap: 5px;
    background: rgba(255,255,255,.08);
  }
  .burger span { transition: .22s ease; }
  .site-header.open .burger { background: rgba(255,255,255,.18); }

  .nav-right {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--purple-hero);
    border-top: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 40px rgba(23, 9, 36, .45);
    padding: 10px 20px 18px;
  }
  .site-header { position: relative; }
  .site-header.open .nav-right { display: flex; }

  .nav-link {
    display: flex; align-items: center; gap: 12px;
    font-size: 17px; padding: 15px 4px; min-height: 52px;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .nav-link .ico { width: 21px; height: 21px; }
  .nav-signin {
    justify-content: center; margin-top: 14px;
    font-size: 16px; padding: 14px 24px; min-height: 52px;
  }

  /* ---------- home hero ---------- */
  .home-hero { padding: 44px 0 46px; }
  .home-hero h1 { font-size: 31px; letter-spacing: -.4px; }
  .hero-eyebrow { font-size: 13px; padding: 8px 15px; margin-bottom: 18px; }
  .hero-lead { font-size: 16px; margin-bottom: 26px; }
  .hero-points {
    display: grid; grid-template-columns: 1fr; gap: 12px;
    text-align: left; max-width: 340px; margin-bottom: 28px;
  }
  .hero-points li { font-size: 15.5px; }
  .trust-bar { padding: 26px 0 22px; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 20px; }
  .trust-stat { padding: 18px 10px 16px; border-radius: 14px; }
  .trust-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 10px; }
  .trust-icon svg { width: 22px; height: 22px; }
  .trust-stat strong { font-size: 23px; }
  .trust-label { font-size: 13.5px; }
  .trust-partners { gap: 8px; padding-top: 18px; }
  .trust-partners-label { width: 100%; text-align: center; margin: 0 0 4px; font-size: 12.5px; }
  .trust-partners em { font-size: 13px; padding: 7px 13px; }

  /* ---------- pricing hero ---------- */
  .pricing-header { padding: 36px 0 40px; }
  .pricing-header h1 { font-size: 32px; line-height: 1.2; }
  .pricing-header h2 { font-size: 16px; margin-bottom: 30px; }

  .product-selector { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 34px; }
  .product-box { padding: 22px 12px 18px; min-height: 74px; }
  .product-box .p-name { font-size: 15px; line-height: 1.3; }
  .product-box .promo { font-size: 11px; padding: 3px 10px; }

  .billing-label { font-size: 13px; }
  .billing-switch { grid-template-columns: repeat(2, 1fr); border-radius: 14px; gap: 6px; }
  .billing-switch button { font-size: 15px; padding: 14px 8px; min-height: 48px; border-radius: 10px; }
  .billing-note strong { font-size: 16px; }
  .billing-note p { font-size: 14px; }

  /* ---------- plan cards ----------
     one card at a time instead of a 3400px stack */
  .plans { padding: 40px 0 50px; }
  .plan-pills { display: grid; margin-bottom: 22px; }
  .plan-grid { gap: 22px; }
  .plan-card { display: none; }
  .plan-card.is-active { display: block; }
  .plan-card.featured { transform: none; }
  .plan-head { padding: 26px 22px 22px; }
  .plan-name { font-size: 26px; }
  .plan-desc { font-size: 15px; min-height: 0; margin-bottom: 16px; }
  .plan-price { font-size: 46px; }
  .plan-regular { font-size: 14px; }
  .plan-bonus { font-size: 14px; }
  .plan-powered { font-size: 14px; }

  .plan-body { padding: 22px 22px 26px; }
  .spec-title { font-size: 13px; margin: 22px 0 12px; }
  .plan-list li { font-size: 16px; padding: 9px 0; gap: 12px; }
  .li-icon { width: 22px; height: 22px; }
  .li-icon.li-check { width: 20px; height: 20px; }

  /* "?" needs to be a real tap target on touch */
  .tip-btn { width: 26px; height: 26px; font-size: 13px; margin-left: 8px; }
  .tip-bubble { max-width: calc(100vw - 32px); font-size: 14px; padding: 12px 15px; }

  /* ---------- reviews ---------- */
  .reviews-summary { padding: 36px 0; }
  .reviews-inner { justify-content: center; text-align: center; gap: 26px; }
  .reviews-text h3 { font-size: 24px; }
  .reviews-text p { margin: 0 auto; font-size: 15px; }
  .reviews-badges { justify-content: center; gap: 12px; }
  .review-badge { min-width: 0; flex: 1 1 100px; padding: 14px 12px; }

  /* ---------- compare table ---------- */
  .compare-tables { padding: 46px 0; }
  .section-title { font-size: 25px; }
  .section-sub { font-size: 15px; }

  /* the side-by-side table is unusable at this width, so swap it out
     entirely for the one-plan-at-a-time view */
  .table-wrap { display: none; }
  .swipe-hint { display: none; }
  .compare-mobile { display: block; }

  /* ---------- FAQ ---------- */
  .pricing-page-faq { padding: 46px 0; }
  .faq-q { font-size: 16.5px; padding: 18px 48px 18px 18px; min-height: 56px; }
  .faq-a { font-size: 15.5px; padding: 0 18px 18px; }

  /* ---------- sub-pages ---------- */
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 27px; }
  .page-hero p { font-size: 16px; }
  .breadcrumb { font-size: 14px; }
  .page-body { padding: 38px 0 50px; }

  .legal h2 { font-size: 21px; margin: 34px 0 12px; }
  .legal h3 { font-size: 17px; }
  .legal p, .legal li { font-size: 16px; line-height: 1.75; }
  .toc { padding: 20px; }
  .toc li { font-size: 16px; margin-bottom: 12px; }
  .note-box { font-size: 15.5px; }

  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 22px 20px; }
  .feature-card p { font-size: 15.5px; }
  .check-list li { font-size: 16px; padding-bottom: 18px; }
  .dc-grid { grid-template-columns: 1fr; }
  .stat-strip { padding: 22px 18px; gap: 18px; }
  .stat-strip span { font-size: 14px; }
  .page-cta { padding: 26px 20px; }

  .tut-toc { gap: 8px; }
  .tut-toc a { font-size: 15px; padding: 11px 16px; }
  .tut-cat h2 { font-size: 19px; }
  .tut-cat > p { font-size: 15px; }
  .tut-list a { font-size: 16px; padding: 14px 4px 14px 26px; }

  /* ---------- footer ---------- */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer { font-size: 15px; }
  .footer-about p { font-size: 15px; }
  .footer-col h4 { font-size: 14px; }
  .footer-col li { margin-bottom: 2px; }
  .footer-col a { display: block; font-size: 16px; padding: 11px 0; }   /* 44px tap target */
  .footer-bottom { font-size: 14px; justify-content: center; text-align: center; }

  .footer-cta { padding: 50px 0; }
  .footer-cta h2 { font-size: 27px; }
  .footer-cta p { font-size: 15.5px; }
  .cta-buttons .btn { width: 100%; }

  /* ---------- small labels: nothing decorative under ~12.5px ---------- */
  .product-box .promo { font-size: 12.5px; }
  .billing-label { font-size: 14px; letter-spacing: .4px; }
  .plan-off { font-size: 13.5px; padding: 4px 14px; }
  .best-value { font-size: 13px; padding: 9px; letter-spacing: 1px; }
  .review-badge small { font-size: 13.5px; }
  .th-plan-price { font-size: 14px; }
  .th-badge { font-size: 11.5px; padding: 3px 11px; }
  tr.group-row td { font-size: 14px; letter-spacing: .6px; }
  .pay-methods em { font-size: 12.5px; padding: 6px 11px; }
  .swipe-hint { font-size: 14px; }
  .aside-eyebrow { font-size: 12.5px; }
  .aside-note { font-size: 13.5px; }
  .char-count { font-size: 13px; }
  .field-error { font-size: 13.5px; }
  .login-brand-tag { font-size: 13px; }

  /* ---------- buttons ---------- */
  .btn { min-height: 48px; }
  .btn-lg { font-size: 16px; padding: 15px 28px; }

  /* ---------- modals ---------- */
  .modal-overlay { padding: 0; align-items: stretch; }
  .modal { max-width: none; margin: 0; border-radius: 0; }
  .modal-form-wrap { padding: 28px 20px; }
  .modal-aside { padding: 28px 20px; }
  .modal-form-wrap h2 { font-size: 24px; }
  .modal-sub { font-size: 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field label { font-size: 14.5px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; }  /* 16px stops iOS zooming on focus */
  .consent { font-size: 14.5px; }
  .modal-close { width: 42px; height: 42px; background: rgba(41,23,57,.10); color: var(--purple-deep); }
  .aside-facts strong { font-size: 15px; }
  .aside-facts span { font-size: 14.5px; }
  .form-note { font-size: 13.5px; }
  .form-foot .btn { width: 100%; }

  .login-overlay { padding: 16px; align-items: center; }
  .login-modal { max-width: none; }
  .login-body { padding: 26px 22px 30px; }
  .login-body h2 { font-size: 23px; }
  .login-sub { font-size: 15px; }
  .input-icon input { font-size: 16px; padding: 14px 14px 14px 44px; }
  .remember { font-size: 15px; }
  .login-secure { font-size: 13px; }
}

/* ------------------------------------------------------------
   SMALL PHONE  (<= 380px)
   ------------------------------------------------------------ */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .pricing-header h1 { font-size: 28px; }
  .product-selector { grid-template-columns: 1fr; }
  .product-box { min-height: 0; padding: 18px 14px; }
  .plan-price { font-size: 40px; }
  .plan-head, .plan-body { padding-left: 18px; padding-right: 18px; }
  .logo-text { font-size: 21px; }
  .review-badge { flex-basis: 100%; }
  .cm-pills { gap: 6px; }
  .cm-pill { padding: 13px 4px 11px; }
  .cm-pill-name { font-size: 13px; }
  .cm-pill-price { font-size: 12.5px; }
  .cm-row { padding: 12px 14px; gap: 12px; }
  .cm-label, .cm-value { font-size: 14.5px; }
  .cm-group-title { padding: 12px 14px; }
}
