/* =========================================================
   Zoie — pricing page (content from zoie.ai/pricing, styled
   with the landing page's tokens from styles.css)
   ========================================================= */

.nav-links a[aria-current="page"] { color: #fff; font-weight: 600; }
.mobile-menu a[aria-current="page"] { color: #fff; font-weight: 600; }

.p-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #4f5a61;
}
.p-eyebrow--dark { color: rgba(255, 255, 255, .55); }
.p-head { width: 760px; max-width: calc(100% - 64px); margin: 0 auto; text-align: center; }
.p-head .h-38 { margin-top: 10px; }
.p-lead { margin-top: 14px; font-size: 16px; line-height: 24px; color: #4a5054; }
.p-section { padding-top: 120px; }

/* ---------- Pills ---------- */
.p-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px;
  border-radius: 20px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  font-size: 13px; line-height: 16px; font-weight: 500; color: #fff;
}
.p-pill svg { color: #fff; }
.p-pill--soft { background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9); }
.p-pill--dark { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.p-pill--dark svg { color: #fff; }

/* =========================================================
   HERO + PLANS
   ========================================================= */
.p-hero { position: relative; padding-top: 150px; }
.p-hero-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 760px; overflow: hidden;
  background: var(--glow), var(--charcoal);   /* the home page hero's charcoal and light */
}
/* the home page header's lit sphere, drawn in the home scene's 1703px coordinates around the
   page centre and scaled down on smaller screens */
.hero-arc { position: absolute; left: 50%; top: 0; width: 1703px; height: 924px; margin-left: -851.5px; transform: scale(var(--arc-k, .85)); transform-origin: 851.5px 0; pointer-events: none; }
.p-hero-inner { position: relative; text-align: center; color: #fff; }
.p-title { margin-top: 22px; font-size: 52px; line-height: 60px; font-weight: 700; letter-spacing: -.5px; }
.p-sub { margin-top: 18px; font-size: 17px; line-height: 26px; color: rgba(255, 255, 255, .82); }
.p-hero-inner > .p-pill, .billing { display: flex; width: fit-content; margin-inline: auto; }
.p-hero-inner .p-pill--soft { margin-top: 22px; }

.billing {
  display: inline-flex; gap: 4px; margin-top: 30px; padding: 4px;
  border-radius: 30px; background: rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.billing-opt {
  height: 38px; padding: 0 18px; border-radius: 22px;
  font-size: 14px; line-height: 18px; color: rgba(255, 255, 255, .78);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.billing-opt:hover { color: #fff; }
.billing-opt.is-active { background: #fff; color: #000; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.billing-save { margin-left: 4px; font-weight: 600; color: #4ade80; }
.billing-opt.is-active .billing-save { color: #16a34a; }
.p-toggles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.p-toggles .billing { margin: 0; }
.region-switch .billing-opt { display: inline-flex; align-items: center; gap: 7px; }
.region-flag { font-size: 15px; line-height: 1; }

.plans {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch;
  margin-top: 44px;
}
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px 22px; border-radius: 20px;
  background: #fff; color: #09090f;
  box-shadow: inset 0 0 0 1px #e3e7e9, 0 24px 50px -30px rgba(0, 0, 0, .35);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #d6dcdf, 0 30px 60px -30px rgba(0, 0, 0, .45); }
.plan-name { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.4px; color: #6b6684; }
.plan-price { display: flex; align-items: last baseline; gap: 4px; margin-top: 14px; height: 52px; }   /* last baseline: "/mo" lines up with the price even with the old price stacked above it */
.plan-amt { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -1px; }
.plan-per { font-size: 14px; color: #8a849c; }
.plan-billed { min-height: 16px; margin-top: 2px; font-size: 12px; line-height: 16px; font-weight: 500; color: #16a34a; }   /* the yearly saving: "Save $600 a year with annual billing" / "Billed annually · you save $600 a year" (pricing.js) */
.plan-billed + .plan-meta { margin-top: 10px; }
.plan-unit { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; }   /* the old price stacked over "/mo", right of the price (user's request) */
.plan-was { font-size: 14px; line-height: 16px; font-weight: 500; color: #a09bb0; text-decoration: line-through; text-decoration-thickness: 1.2px; }   /* the monthly price, crossed out on Annual */
.plan-was[hidden] { display: none; }
.plan-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 16px; font-size: 13px; line-height: 18px; color: #696579; }
.plan-meta svg { flex: none; color: #8a849c; }
.plan-meta i { font-style: normal; margin: 0 3px; color: #c4bfd3; }
.plan-desc { min-height: 63px; margin-top: 12px; font-size: 14px; line-height: 21px; color: #3a3550; }
.plan-feats { flex: 1; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eceff1; display: flex; flex-direction: column; gap: 11px; }
.plan-feats li { display: flex; gap: 10px; font-size: 14px; line-height: 19px; }
.plan-feats svg { flex: none; margin-top: 1.5px; }
.plan-feats .is-yes svg { color: var(--ink); }
.plan-feats .is-no { color: #9a95aa; }
.plan-feats .is-no svg { color: #c4bfd3; }
.plan-more { align-self: center; margin-top: 22px; padding: 4px 8px; font-size: 13px; line-height: 18px; color: #5b5470; text-decoration: underline; text-decoration-color: rgba(91, 84, 112, .3); text-underline-offset: 3px; transition: color .2s; }
.plan-more:hover { color: #000; }
.plan-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 12px;
  border-radius: 25px; background: var(--charcoal); color: #fff; font-size: 14px; font-weight: 600;   /* black buttons → the charcoal (2026-11-02) */
  transition: background-color .25s, transform .25s var(--ease-out);
}
.plan-cta:hover { background: var(--card-hover); transform: translateY(-1px); }
.plan-cta svg { transition: transform .25s var(--ease-out); }
.plan-cta:hover svg { transform: translateX(3px); }
.plan-credits { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12px; line-height: 16px; color: #16a34a; }

.plan--featured {
  color: #fff;
  background: radial-gradient(70% 60% at 30% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #424a4e 0%, var(--ink) 100%);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75);
}
.plan--featured:hover { box-shadow: 0 36px 70px -28px rgba(0, 0, 0, .85); }
.plan--featured .plan-name, .plan--featured .plan-per, .plan--featured .plan-meta, .plan--featured .plan-meta svg { color: rgba(255, 255, 255, .78); }
.plan--featured .plan-meta i { color: rgba(255, 255, 255, .4); }
.plan--featured .plan-desc { color: rgba(255, 255, 255, .9); }
.plan--featured .plan-feats { border-top-color: rgba(255, 255, 255, .2); }
.plan--featured .plan-feats .is-yes svg { color: #fff; }
.plan--featured .plan-more { color: rgba(255, 255, 255, .85); text-decoration-color: rgba(255, 255, 255, .35); }
.plan--featured .plan-more:hover { color: #fff; }
.plan--featured .plan-cta { background: #fff; color: #000; }
.plan--featured .plan-cta:hover { background: #eef1f2; }
.plan--featured .plan-credits { color: #c8f7d6; }
.plan--featured .plan-billed { color: #c8f7d6; }
.plan--featured .plan-was { color: rgba(255, 255, 255, .5); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  height: 26px; padding: 0 14px; border-radius: 14px; display: flex; align-items: center;
  background: #fff; color: #000; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}

/* price swap animation (monthly ⇄ annual) */
.plan-amt.is-swapping { animation: amt-swap .45s var(--ease-out); }
@keyframes amt-swap { 0% { opacity: 0; transform: translateY(8px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }

/* =========================================================
   COMPARE TABLE
   ========================================================= */
/* ---------- Comparison: dark full-width section, plan names + buttons in the header row ---------- */
.p-compare {
  --c-bg: var(--charcoal); --c-line: #31353d; --c-hl: #262a31; --c-muted: #8d939e; --c-accent: #8ea0ff;
  margin-top: 120px; padding: 110px 0 120px; border-radius: 24px;
  background: var(--glow), var(--c-bg); color: #fff;   /* was --ink, now the dark sections' charcoal and light (2026-11-02) */
}
.theme-dark .p-compare { --c-bg: var(--ink); --c-line: #2c3036; --c-hl: #22262b; }   /* the dark version: the table's own dark grey, as it was */
.p-compare .p-head .h-38 { margin-top: 16px; color: #fff; }
.compare-hint { display: none; margin-top: 18px; text-align: center; font-size: 12px; line-height: 16px; color: var(--c-muted); }
.c-corner-label, .compare-legend { display: none; }   /* phones/tablets: the compact plan table */
.compare-scroll {
  width: 1180px; max-width: calc(100% - 32px); margin: 56px auto 0;   /* same width as the plan cards above */
  border: 1px solid var(--c-line); border-radius: 20px; overflow-x: auto; outline: none;
}
.compare { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; line-height: 20px; }
.compare .c-col-label { width: 28%; }
.compare th, .compare td { padding: 0 20px; border-bottom: 1px solid var(--c-line); text-align: center; vertical-align: middle; }
.compare th + th, .compare td + th, .compare th + td, .compare td + td { border-left: 1px solid var(--c-line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { text-align: left; padding-left: 28px; font-weight: 500; color: #fff; }
.compare .is-hl { background: var(--c-hl); }                     /* featured plan column */

/* header row: plan name above its button */
.c-plans th { height: 158px; padding: 0 22px; }
.c-name { display: block; font-size: 21px; line-height: 28px; font-weight: 600; }
.c-btn {
  display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 18px; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: #fff; background: #262a30; box-shadow: inset 0 0 0 1px #363b42;
  transition: background-color .2s, transform .25s var(--ease-out);
}
.c-btn:hover { background: #30353c; transform: translateY(-1px); }
.c-btn--hl { background: #fff; color: #000; box-shadow: none; }
.c-btn--hl:hover { background: #eef1f2; }

/* price row */
.c-price th, .c-price td { height: 136px; }
.c-row-title { display: block; font-size: 20px; line-height: 26px; font-weight: 600; }
.c-row-sub { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--c-muted); }
.c-bestrow .c-row-sub { margin-top: 0; }
.c-amt { font-size: 38px; line-height: 44px; font-weight: 600; letter-spacing: -1px; }
.c-per { margin-left: 3px; font-size: 14px; color: var(--c-muted); }
.c-amt.is-swapping { display: inline-block; animation: amt-swap .45s var(--ease-out); }

/* "best for" row */
.c-bestrow th, .c-bestrow td { height: 112px; }
.c-best { display: block; font-size: 14px; line-height: 21px; color: #b3b9c3; }

/* feature rows */
.c-feat th, .c-feat td { height: 72px; }
.c-val { font-weight: 500; }
.c-ico { display: inline-block; vertical-align: middle; }
.c-yes { color: var(--c-accent); }
.c-no { color: #5c636e; }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr.c-feat:hover { background: rgba(255, 255, 255, .025); }

/* =========================================================
   CREDIT + SUPPORT BUNDLES
   ========================================================= */
.p-grid3 { width: 896px; max-width: calc(100% - 32px); margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bundle {
  display: flex; flex-direction: column; padding: 24px; border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(#e6eaec, #f3f5f6) padding-box, linear-gradient(180deg, #fff 17%, rgba(255, 255, 255, 0) 100%) border-box;
  box-shadow: inset 0 0 0 1px #dde2e5;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.bundle:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #d3d9dc, 0 18px 40px -24px rgba(0, 0, 0, .35); }
.bundle-off { align-self: flex-start; padding: 3px 9px; border-radius: 8px; background: #dcfce7; color: #16a34a; font-size: 12px; line-height: 16px; font-weight: 700; }
.bundle-num { margin-top: 18px; font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -.5px; }
.bundle-unit { margin-top: 2px; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #8a849c; }
.bundle-desc { flex: 1; margin-top: 14px; font-size: 14px; line-height: 21px; color: #3a3550; }
.bundle-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: 22px;
  border-radius: 25px; background: var(--charcoal); color: #fff; font-size: 14px; font-weight: 600;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.bundle-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }

.p-support { padding-top: 110px; }
/* support bundles use the credit bundles' cards (.bundle); the tag shows the hourly rate, the text the bundle and its price */
/* support bundles: the hours up front, as a dial of 20 hour marks with 5 / 10 / 20 of them lit
   (they light up one by one when the card scrolls into view) and the number in the middle */
.bundle-hours {
  position: relative; display: grid; place-items: center; height: 208px; margin-bottom: 20px; overflow: hidden; border-radius: 14px;
  background: radial-gradient(55% 60% at 50% 50%, rgba(142, 160, 255, .16), transparent 72%), #fff;   /* white, like the preview cards */
  box-shadow: inset 0 0 0 1px #e9edef, 0 2px 8px rgba(0, 0, 0, .05);
}
.bh-ring { position: absolute; top: 50%; left: 50%; width: 172px; height: 172px; margin: -86px 0 0 -86px; }
.bh-ring rect { fill: #eceef3; }   /* thin, light marks: the number leads */
.bh-ring rect.is-on { fill: #9aa7f2; }
.bh-center { position: relative; display: grid; justify-items: center; color: #0b0c0e; }
.bh-num { font-size: 56px; line-height: 56px; font-weight: 700; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.bh-unit { margin-top: 6px; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: #8a849c; }
.motion .bh-ring rect.is-on { fill: #eceef3; transition: fill .25s ease; transition-delay: calc(.3s + var(--j) * 55ms); }
.motion .in-view .bh-ring rect.is-on { fill: #9aa7f2; }
.p-support .bundle { text-align: center; }   /* the support cards: centred under the dial */
.p-support .bundle-off { align-self: center; }
.bundle-price { display: block; margin-top: 4px; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.3px; color: #000; }

/* =========================================================
   COST CALCULATOR (dark striped card, like the app CTA)
   ========================================================= */
.p-calc-wrap { padding-top: 110px; }
.p-calc {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) 477px; gap: 56px; align-items: center;
  width: 1180px; max-width: calc(100% - 32px); margin: 0 auto; padding: 45px 60px 45px 67px;
  border-radius: 28px; color: #fff;
  background: radial-gradient(55% 90% at 22% 8%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 70%), linear-gradient(135deg, #202022 0%, #18181a 60%, #141416 100%);
}
.p-calc::before {   /* faint diagonal light lines */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(112deg, transparent calc(50% - .5px), rgba(255, 255, 255, .06) 50%, transparent calc(50% + .5px)) -8% 0 / 100% 100% no-repeat,
    linear-gradient(112deg, transparent calc(50% - .5px), rgba(255, 255, 255, .04) 50%, transparent calc(50% + .5px)) 22% 0 / 100% 100% no-repeat;
}
.p-calc::after {   /* soft circle behind the estimate card */
  content: ""; position: absolute; z-index: -1; right: 40px; top: -260px; width: 620px; height: 620px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .045), rgba(255, 255, 255, .03) 92%, rgba(255, 255, 255, 0) 100%);
}
.p-calc-pill { height: 32px; padding: 0 16px 0 14px; gap: 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.p-calc-title { margin-top: 22px; font-size: 47px; line-height: 49px; font-weight: 700; letter-spacing: -.02em; }
.p-calc-text { max-width: 430px; margin-top: 18px; font-size: 17.5px; line-height: 24px; color: rgba(255, 255, 255, .82); }
.p-calc-btn { width: auto; height: 50px; margin-top: 26px; padding: 0 7px 0 25px; gap: 20px; font-size: 15.5px; font-weight: 600; }
.p-calc-btn .btn-dot { width: 37px; height: 37px; }

/* the example estimate */
.calc-card { padding: 34px 35px 30px; border-radius: 16px; background: #fff; color: #111; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.calc-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #eceef1; }
.calc-label { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #4b5157; }
.calc-total { margin-top: 6px; font-size: 64px; line-height: 66px; font-weight: 700; letter-spacing: -.035em; }
.calc-plan { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; line-height: 16px; color: #6b7280; }
.calc-logo { flex: none; width: 49px; height: 48px; border-radius: 9px; display: grid; place-items: center; background: #111; }
.calc-logo img { filter: invert(1); }
.calc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 13px; }
.calc-tile { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 14px; border-radius: 10px; background: #f4f5f7; }
.calc-tile svg { flex: none; color: #2b2f33; }
.calc-tile b { display: block; font-size: 17.5px; line-height: 20px; font-weight: 700; }
.calc-tile span { display: block; font-size: 12.5px; line-height: 15px; color: #6b7280; }
.calc-bar { display: flex; height: 18px; margin-top: 17px; border-radius: 99px; overflow: hidden; background: #eef0f3; }
.calc-bar span { flex: none; width: var(--w); transform-origin: 0 50%; transition: transform 1s var(--ease-out); }
.calc-bar .is-calls { background: linear-gradient(90deg, #7b55e0, #8e6cf0); }
.calc-bar .is-msgs  { background: linear-gradient(90deg, #a8bdfd, #6f9bf4 22%, #4e86ee); }
.calc-bar .is-other { background: linear-gradient(90deg, #b3e8d3, #9ddfc4); }
.calc-bar .is-msgs { transition-delay: .15s; } .calc-bar .is-other { transition-delay: .3s; }
.sr-on .p-calc:not(.in-view) .calc-bar span { transform: scaleX(0); }   /* the bar fills in when the card scrolls into view */
.calc-legend { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.calc-legend li { display: grid; grid-template-columns: 12px auto; column-gap: 12px; row-gap: 3px; align-items: center; }
.calc-legend i { width: 12px; height: 12px; border-radius: 50%; }
.calc-legend b { font-size: 12.5px; line-height: 16px; font-weight: 600; }
.calc-legend span { grid-column: 2; font-size: 12px; line-height: 15px; color: #6b7280; }
.calc-legend .is-calls { background: #8562e8; } .calc-legend .is-msgs { background: #5b8ef0; } .calc-legend .is-other { background: #9ddfc4; }
.calc-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 11px; line-height: 15px; color: #6b7280; }
.calc-note svg { flex: none; color: #8a9097; }

/* =========================================================
   FAQ (dark band, same accordion as the landing page)
   ========================================================= */
.p-faq { margin-top: 120px; padding: 96px 0 72px; background: var(--glow), var(--charcoal); color: #fff; }
.p-faq .p-lead { color: rgba(255, 255, 255, .78); }
.p-faq .p-lead a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.p-faq-list { width: 768px; max-width: calc(100% - 32px); margin: 40px auto 0; padding: 13px 14px 14px 15px; border-radius: 18px; background: var(--faq-panel); }
.p-faq-list .faq-a p { width: auto; padding-right: 48px; }
.p-currency { margin-top: 26px; text-align: center; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .45); }

/* =========================================================
   CHANNELS (the home page's logo conveyor behind the phone)
   ========================================================= */
.p-channels { padding: 96px 0 0; background: var(--glow-in), var(--charcoal); color: #fff; text-align: center; overflow-x: clip; }   /* no bottom padding: the phone runs into the section's edge */
.p-channels-title { font-size: 52px; line-height: 60px; font-weight: 700; letter-spacing: -.5px; }   /* same as the page header (.p-title), in white */
.p-channels .int-hero { margin-top: 16px; }
.page-pricing .testimonials { margin-top: 0; }

/* =========================================================
   PLAN DETAILS POPUP
   ========================================================= */
.plan-modal {
  width: min(520px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: auto;
  background: #fff; color: #09090f; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .55);
}
.plan-modal::backdrop { background: rgba(8, 10, 12, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.plan-modal[open] { animation: vm-in .4s var(--ease-out); }
.plan-modal[open]::backdrop { animation: vm-fade .3s ease-out; }
.pm-body { padding: 32px 32px 28px; }
.pm-name { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.4px; color: #4f5a61; }
.pm-tag { margin-top: 6px; font-size: 24px; line-height: 30px; font-weight: 700; }
.pm-price { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; }
.pm-price .plan-amt { font-size: 38px; line-height: 44px; }
.pm-long { margin-top: 12px; font-size: 14.5px; line-height: 22px; color: #3a3550; }
.pm-h { margin-top: 24px; font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #8a849c; }
.pm-incl { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.pm-incl li { display: flex; gap: 10px; font-size: 14px; line-height: 20px; }
.pm-incl svg { flex: none; margin-top: 2px; color: var(--ink); }
.pm-storage { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pm-storage li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px; background: #eef1f2; }
.pm-storage b { font-size: 13px; line-height: 17px; }
.pm-storage span { font-size: 12px; line-height: 16px; color: #6b6684; }
.pm-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin-top: 26px;
  border-radius: 25px; background: var(--charcoal); color: #fff; font-size: 15px; font-weight: 600;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.pm-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.pm-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: #33393c; background: #edf0f0;
  transition: background-color .2s, transform .25s var(--ease-out);
}
.pm-close:hover { background: #e2e7e8; transform: rotate(90deg); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1219px) {
  .hero-arc { --arc-k: .66; }
  .plan-desc { min-height: 42px; }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; padding-inline: 32px; width: auto; }
  .compare-scroll { width: calc(min(760px, 100%) - 64px); max-width: none; }   /* lines up with the 2-column plan grid */
  .compare { min-width: 860px; }
  .compare-hint { display: block; }
  .p-calc { width: calc(min(760px, 100%) - 64px); max-width: none; grid-template-columns: 1fr; gap: 36px; padding: 48px 40px 40px; }   /* stacks, lines up with the 2-column plan grid */
  .calc-card { max-width: 520px; }
  .compare tbody th, .c-plans .c-corner { position: sticky; left: 0; z-index: 1; background: var(--c-bg); box-shadow: 1px 0 0 var(--c-line); }   /* feature names stay pinned while swiping */
  .c-plans th { padding: 0 12px; }
  .c-name { font-size: 17px; line-height: 24px; white-space: nowrap; }   /* one line each, so the buttons line up */
  .c-btn { padding: 0 8px; font-size: 13px; white-space: nowrap; }
  .p-compare { margin-top: 96px; padding: 88px 0 96px; }
  .plan--featured { order: -1; }
}

@media (max-width: 899px) {
  .p-grid3 { grid-template-columns: 1fr; width: min(460px, calc(100% - 32px)); max-width: none; }
  .p-title, .p-channels-title { font-size: 42px; line-height: 50px; }
}
@media (max-width: 640px) {
  .p-hero { padding-top: 112px; }
  .p-hero-bg { height: 700px; }
  .hero-arc { --arc-k: .5; margin-left: -961.5px; }   /* nudged left so the lit edge stays on a phone screen */
  .p-title { padding-inline: 20px; font-size: 30px; line-height: 38px; }   /* phones: every headline 30px, every subheader 16px (user's request) */
  .p-channels { padding-top: 72px; }
  .p-channels-title { padding-inline: 20px; font-size: 30px; line-height: 38px; }
  .p-title br { display: none; }
  .p-sub { padding-inline: 20px; font-size: 16px; line-height: 24px; }
  .p-hero-inner .p-pill--soft { max-width: calc(100% - 32px); height: auto; min-height: 34px; padding-block: 8px; }
  .plans { grid-template-columns: 1fr; padding-inline: 16px; gap: 28px; margin-top: 36px; }
  .p-section { padding-top: 88px; }
  .p-calc-wrap, .p-support { padding-top: 80px; }
  .p-head { max-width: calc(100% - 32px); }
  .p-calc { width: calc(100% - 32px); padding: 36px 18px 18px; gap: 30px; border-radius: 22px; }
  .p-calc-title { font-size: 30px; line-height: 38px; }
  .p-calc-text { font-size: 16px; line-height: 23px; }
  .calc-card { padding: 24px 18px 20px; }
  .calc-total { font-size: 48px; line-height: 52px; }
  .calc-tiles { gap: 8px; }
  .calc-tile { gap: 10px; padding: 0 10px; }
  .calc-tile svg { width: 20px; height: 20px; }
  .calc-tile b { font-size: 15.5px; }
  .calc-tile span { font-size: 11.5px; }
  .calc-legend li { column-gap: 8px; }
  .p-faq { margin-top: 88px; padding: 72px 0 56px; }
  .p-faq-list .faq-a p { padding-right: 24px; }
  .pm-body { padding: 28px 22px 24px; }
  .pm-storage { grid-template-columns: repeat(3, 1fr); }
  .compare-scroll { margin-top: 12px; width: calc(100% - 32px); }
  .compare { min-width: 760px; }
  .compare .c-col-label { width: 150px; }
  .compare tbody th { padding-left: 16px; font-size: 14px; }
  .p-compare { margin-top: 72px; padding: 64px 0 72px; border-radius: 20px; }
}

/* =========================================================
   RIGHT-TO-LEFT (Arabic): table dividers, pinned column and
   FAQ spacing on the other side
   ========================================================= */
[dir="rtl"] .compare th + th, [dir="rtl"] .compare td + th, [dir="rtl"] .compare th + td, [dir="rtl"] .compare td + td { border-left: 0; border-right: 1px solid var(--c-line); }
[dir="rtl"] .compare tbody th { text-align: right; padding-left: 20px; padding-right: 28px; }
[dir="rtl"] .p-faq-list .faq-a p { padding-right: 25px; padding-left: 48px; }
@media (max-width: 1219px) {
  [dir="rtl"] .compare tbody th, [dir="rtl"] .c-plans .c-corner { left: auto; right: 0; box-shadow: -1px 0 0 var(--c-line); }
}
@media (max-width: 640px) {
  [dir="rtl"] .compare tbody th { padding-right: 16px; }
  [dir="rtl"] .p-faq-list .faq-a p { padding-left: 24px; }
}
[dir="rtl"] .bundle-cta svg { scale: -1 1; }   /* "Buy Now" arrows point the way Arabic reads */

/* =========================================================
   Plan comparison on phones/tablets: all four plans in one view
   (compact cells; the plan names stay pinned at the top while the
   table scrolls; no sideways swiping)
   ========================================================= */
@media (max-width: 1219px) {
  .compare-scroll--plans { overflow: visible; }   /* lets the header row stick to the screen */
  .compare.compare--plans { min-width: 0; }
  .compare--plans .c-col-label { width: 27%; }
  .compare--plans tbody th { position: static; box-shadow: none; background: none; }
  .compare--plans thead th, .compare--plans .c-plans .c-corner { position: sticky; top: 68px; left: auto; right: auto; z-index: 3; background: var(--c-bg); box-shadow: 0 1px 0 var(--c-line); }
  .compare--plans thead .is-hl { background: var(--c-hl); }
  .compare--plans thead td:first-child { border-start-start-radius: 19px; }
  .compare--plans thead th:last-child { border-start-end-radius: 19px; }
  .compare--plans .c-plans th, .compare--plans .c-plans td { height: auto; padding: 18px 8px 16px; vertical-align: bottom; }
  .compare--plans .c-corner-label { display: block; text-align: start; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--c-muted); }
  .compare--plans .c-name { white-space: normal; font-size: 15px; line-height: 19px; }
  .compare--plans .c-btn { white-space: normal; height: auto; min-height: 34px; padding: 6px 8px; font-size: 12.5px; line-height: 15px; }
  .compare--plans .c-price th, .compare--plans .c-price td { height: auto; padding-top: 22px; padding-bottom: 22px; }
  .compare--plans .c-amt { font-size: 26px; line-height: 30px; }
  .compare--plans .c-per { display: block; margin: 2px 0 0; font-size: 12px; line-height: 15px; }
  .compare--plans .c-bestrow th, .compare--plans .c-bestrow td { height: auto; padding-top: 16px; padding-bottom: 16px; }
  .compare--plans .c-best { font-size: 12.5px; line-height: 17px; }
  .compare--plans .c-feat th, .compare--plans .c-feat td { height: auto; padding-top: 16px; padding-bottom: 16px; }
  .compare-legend {
    display: flex; justify-content: center; gap: 18px; width: calc(min(760px, 100%) - 64px); margin: 14px auto 0;
    font-size: 12.5px; line-height: 16px; color: var(--c-muted);
  }
  .compare-legend span { display: inline-flex; align-items: center; gap: 6px; }
}
@media (max-width: 899px) {
  .compare-legend { width: calc(100% - 32px); }
}
@media (max-width: 640px) {
  .compare-scroll--plans { width: calc(100% - 24px); }
  .compare--plans { font-size: 12.5px; line-height: 16px; }
  .compare--plans .c-col-label { width: 26%; }   /* a little more room for the four plan columns */
  .compare--plans th, .compare--plans td { padding: 0 3px; }
  .compare--plans tbody th { padding-left: 12px; font-size: 12.5px; line-height: 16px; }
  .compare--plans .c-plans th, .compare--plans .c-plans td { padding: 14px 3px 12px; }
  .compare--plans .c-plans .c-corner { padding-left: 12px; }
  .compare--plans .c-corner-label { font-size: 12px; line-height: 15px; }
  .compare--plans .c-name { font-size: 12.5px; line-height: 15px; font-weight: 600; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
  .compare--plans .c-name:lang(en) { -webkit-hyphens: manual; hyphens: manual; }   /* "Self-" / "Managed": breaks at the hyphen only */
  .compare--plans .c-btn { display: none; }   /* each plan card above has its own button */
  .compare--plans .c-price th, .compare--plans .c-price td { padding-top: 14px; padding-bottom: 14px; }
  .compare--plans .c-row-title { font-size: 13.5px; line-height: 17px; }
  .compare--plans .c-row-sub { margin-top: 3px; font-size: 10.5px; line-height: 13px; }
  .compare--plans .c-amt { font-size: 16px; line-height: 20px; letter-spacing: -.3px; }
  .compare--plans .c-per { margin-top: 1px; font-size: 10.5px; line-height: 13px; }
  .compare--plans .c-bestrow { display: none; }   /* too long for four narrow columns */
  .compare--plans .c-feat th, .compare--plans .c-feat td { padding-top: 12px; padding-bottom: 12px; }
  .compare--plans .c-val { font-size: 12px; line-height: 15px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }   /* breaks long words at proper hyphenation points only */
  .compare--plans .c-val:has(wbr) { word-break: keep-all; -webkit-hyphens: manual; hyphens: manual; }   /* "$9/user/month": breaks after the slashes only */
  .compare--plans .c-ico { width: 14px; height: 14px; }
  [dir="rtl"] .compare--plans tbody th, [dir="rtl"] .compare--plans .c-plans .c-corner { padding-left: 4px; padding-right: 12px; }
}
@media (max-width: 374px) {
  .compare--plans .c-name { font-size: 12px; letter-spacing: -.1px; }   /* "Managed" still fits a 360px phone's column */
}
