/* ===== cPanel Hosting page: Plans & feature comparison ===== */
.cph-plans {
  background: #f7f7f9;
  padding: 88px 0;
}

/* Sits immediately before the toggle, invisible — purely an
   IntersectionObserver target (see js/main.js) marking where the toggle's own
   top edge is in normal flow, so JS can tell exactly when it locks into its
   sticky position (see .cph-billing-toggle.is-stuck below). 1px, not 0 —
   some browsers handle intersection ratios unreliably for a truly zero-area
   target. */
.cph-billing-toggle__sentinel { height: 1px; }
/* Same idea, marking where the package header row (.cph-table__intro /
   .cph-table__pkg below) sits in normal flow, so js/main.js can tell when
   IT locks into its own (later, lower) sticky spot. */
.cph-table__pkg-sentinel { height: 1px; }

/* Billing toggle (Monthly / Annually) — see js/main.js for the switch handler
   and the monthly↔annual price math, README "Pricing API" for why the annual
   figures are calculated client-side rather than a 2nd DB column.

   Pinned under the sticky nav (74px + a small gap) while scrolling through the
   feature rows below, with the black package-header row (.cph-table__intro /
   .cph-table__pkg) pinned right beneath it. This toggle's own stick range is
   bounded by .cph-plans__sticky-scope (toggle + both table grids), longer than
   the header's — see .cph-table--main / .cph-table--cta for why the header
   specifically releases right as the CTA row arrives; it's fine for this
   toggle to stay stuck a bit past that point, same as any ordinary sticky bar. */
.cph-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* Padding, not margin, on both sides — margin sits OUTSIDE this element's
     own painted background, so while stuck it would leave a gap that reveals
     whatever feature row has scrolled to that band underneath (the same bug
     on both the nav-side and table-side of this box). Equal 14px top/bottom
     once stuck (see .is-stuck below) so the nav<->switcher gap matches the
     switcher<->table-header gap, same as before — that stuck-state look was
     fine as-is. Sticky top is flush with the nav's own bottom edge (74px
     content + 1px border) so there's no gap at all between .nav's background
     and this one. */
  padding-top: 14px;
  padding-bottom: 28px;
  position: sticky;
  top: 75px; /* nav__inner's 74px + its 1px border-bottom — flush, no reveal */
  z-index: 20;
  background: #f7f7f9; /* matches .cph-plans so scrolled-past rows don't show through while stuck */
}
/* Only the pre-stick (normal document-flow) switcher<->table gap needed
   widening — the already-stuck gap was fine and had to stay exactly as it
   was. Padding can't differ between those two states on its own (it's part
   of the box regardless of scroll position), so js/main.js watches the
   sentinel just above this element with an IntersectionObserver and adds
   .is-stuck the instant this toggle actually locks into its sticky spot,
   which is exactly when this override should kick in. */
.cph-billing-toggle.is-stuck { padding-bottom: 14px; }
.cph-billing-toggle__label {
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: rgba(40, 39, 39, .55);
  transition: color .15s;
}
.cph-billing-toggle__label.is-active { color: #1b1b1f; }
.cph-billing-toggle__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 126, 32, .12);
  color: var(--brand-orange);
  font-size: 11px;
  font-weight: 700;
}
.cph-billing-toggle__switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #d9d9de;
  cursor: pointer;
  transition: background .18s;
  flex-shrink: 0;
}
.cph-billing-toggle__switch[aria-checked="true"] { background: var(--brand-orange); }
.cph-billing-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
  transition: transform .18s;
}
.cph-billing-toggle__switch[aria-checked="true"] .cph-billing-toggle__knob {
  transform: translateX(20px);
}

.cph-table__pkg-billed {
  margin: 6px 0 0; /* was the parent's 16px gap + this element's own -10px —
                       kept net-tight so price + billed-as-line still read as
                       one paired unit, not two separately-spaced lines */
  min-height: 16px; /* reserves space so toggling Monthly/Annually doesn't
                        reflow the row (the CTA button lives in its own row at
                        the bottom of the table now, not directly below this —
                        but this still keeps the price block's own height
                        steady between toggle states). */
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #fff;
}
/* "(switch to Annual to save)" / "(16% Discount)" suffix — forced onto its own
   second line (set by renderPrices() in js/main.js). */
.cph-table__pkg-billed-note {
  display: block;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  /* colour left to inherit from .cph-table__pkg-billed (#fff) — per owner */
}
/* The Monthly-state note is a real <button> that flips billing to Annual —
   strip the UA button chrome, keep it reading as an inline text link. */
.cph-table__pkg-billed-switch {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cph-table__pkg-billed-switch:hover { opacity: .8; }
.cph-table__pkg-billed-switch:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/* Now lives under the Order button in the CTA row (moved off the black
   package header, see .cph-table__btn-cell) — colour changed from white to a
   muted dark tone to read as fine print on that row's white background. */
.cph-table__pkg-guarantee {
  margin: 8px 0 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  text-align: center;
  color: rgb(127, 133, 136);
}

/* overflow-x only applies below the width the 680px-min-width table actually
   needs it (~728px of usable space) — kept out of the unconditional rule
   because ANY non-"visible" overflow on an ancestor (even just one axis; the
   other axis auto-computes to "auto" too) becomes the nearest scroll container
   for position:sticky descendants, breaking the sticky package-header row's
   stick-to-the-real-page-scroll behaviour. Above that width the table already
   fits, so no horizontal scroll is needed and sticky works normally. */
.cph-table-wrap { margin-top: 0; }
@media (max-width: 860px) {
  /* overflow-x:auto alone clips the 680px-min-width table visually, but the
     grid's intrinsic width still leaks into document.documentElement's
     reported scrollWidth in Chromium (a layout-containment quirk, confirmed
     in headless Chrome: scrollWidth stayed inflated even with overflow-x
     switched to hidden). contain:layout stops this element's internal sizing
     from influencing anything outside it, which is exactly what's needed —
     verified this brings documentElement.scrollWidth back down to the
     viewport width at 390px, with the table still scrolling sideways inside
     itself. -webkit-overflow-scrolling:touch keeps that scroll momentum-based
     on iOS Safari. position:relative gives the table's absolutely positioned
     .sr-only spans (the "Yes" text for the check-icon cells) this element as
     their containing block, so they stay inside the scroll box instead of
     positioning against an ancestor further up and forcing the page itself
     to scroll sideways. */
  .cph-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; contain: layout; }
}

/* Direct grid children in row-major order (label, val, val, val, repeat…) — CSS
   Grid auto-placement wraps them into rows on its own, so no wrapping "row" divs
   are needed. A shared-across-plans row (Support, Money-Back) just supplies one
   spanning value cell (`--span3`) instead of 3, and auto-placement still lands the
   next row's label in column 1 correctly.

   No overflow:hidden here (same reason as .cph-table-wrap above — it would
   block the sticky header row) — the rounded corners are instead carved
   directly into the 4 corner cells (.cph-table__intro, .cph-table__pkg--last,
   .cph-table__label--last, .cph-table__btn-cell--last) below. */
.cph-table {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) repeat(3, minmax(150px, 1fr));
  min-width: 680px;
  background: #fff;
  border: 1px solid #e3e3e8;
  border-radius: 14px;
}
/* The CTA row lives in its own grid, seamlessly stacked right under the main
   one (see the HTML comment above .cph-table--cta for why: it's what makes
   the sticky header release exactly when the CTA row arrives instead of
   after it). Split the outer frame's border/radius between them so together
   they still read as one continuous rounded box — border-bottom (main) /
   border-top (cta) are dropped so no line shows at that seam, same as the
   (now border-free) boundary between every other row inside the table. */
.cph-table--main {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.cph-table--cta {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.cph-table__label {
  display: flex;
  align-items: center;
  /* Vertical padding tightened from 13px — with the row-separator lines gone
     (see .cph-table__val's comment), that much padding read as too loose a
     gap between rows. */
  padding: 8px 20px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: rgb(23, 25, 26);
  background: #fafafb;
  border-right: 1px solid #ececf0;
}
/* Last row's empty leading cell (under the intro column) — bottom-left corner,
   same reasoning as .cph-table__pkg--last above. */
.cph-table__label--last { border-bottom-left-radius: 14px; }
/* The otherwise-empty top-left spacer cell carries an intro line instead of
   sitting blank next to the black package headers. Pinned (with .cph-table__pkg
   below) right under .cph-billing-toggle while scrolling the feature rows,
   releasing exactly when .cph-table--main's own bottom edge (now right before
   the CTA row — see .cph-table--cta) reaches this offset. Per owner: this
   whole header row should shrink further once it's scrolled into its sticky
   spot — see .cph-table__intro.is-condensed / .cph-table__pkg.is-condensed
   below, toggled by js/main.js.

   That toggle fires once, right as it locks into place (an
   IntersectionObserver watching a sentinel, same technique as the billing
   toggle's own is-stuck detector above), and the shrink itself is a plain
   CSS transition — NOT continuously scrubbed off live scroll position via a
   scroll-event handler. An earlier version did that (recomputing padding/
   margin/max-height on every scroll frame): forcing a full layout reflow on
   every single scroll pixel is a textbook jank source, and it showed —
   stuttery, dropped frames, unreadable mid-scroll. A one-time CSS transition
   triggered by a single class flip costs one short, browser-optimized
   transition instead of dozens of forced reflows per scroll gesture. */
.cph-table__intro {
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centre the flag + heading block in the tall cell */
  /* No `gap` here (moved to .cph-table__intro-flag's own margin-bottom) — a
     flex `gap` can't be transitioned away when the flag collapses on
     .is-condensed below, since it isn't owned by either child. */
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 24px;
  line-height: 24px;
  font-weight: 500;
  color: rgb(40, 39, 39);
  text-align: center;
  position: sticky;
  top: 129px; /* 75px toggle offset + its stuck-state 14px+26px+14px padding-top/content/padding-bottom (.is-stuck — see that class's comment), all inside its own painted box so nothing shows through */
  z-index: 15;
  background: none; /* the white fill now comes from ::before below, not this box's own background */
}
/* The white background + rounded top-left corner live on a ::before instead
   of directly on this box: some browsers don't reliably keep clipping a
   position:sticky element's OWN border-radius once it's actually in its
   "stuck"/offset state (confirmed — overflow:hidden on the element itself
   wasn't enough), but a plain absolutely-positioned pseudo-element with its
   own border-radius has no such issue since it isn't itself the thing being
   stuck. z-index:-1 keeps it behind the real content (flag + text). */
.cph-table__intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-top-left-radius: 14px;
}
.cph-table__intro-flag {
  width: 34px;
  height: auto;
  margin-bottom: 14px;
  opacity: 1;
  transition: opacity .2s ease, margin-bottom .2s ease;
}
/* Fades away once it locks into its sticky spot — see .cph-table__intro's
   comment above and js/main.js. No max-height/overflow:hidden collapse on
   the flag itself (tried first, reverted): animating a raster image's
   height that way clips it frame-by-frame instead of scaling it, which
   read as a glitchy little sliver mid-shrink. Its own un-collapsed height
   barely matters anyway, since the row's total height is set by the taller
   .cph-table__pkg cells regardless. */
.cph-table__intro.is-condensed .cph-table__intro-flag {
  opacity: 0;
  margin-bottom: 0;
}

.cph-table__val {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Vertical padding tightened from 13px to 8px, matching .cph-table__label —
     the border-top row separators used to mark each row's edge, so once
     those were removed this much padding left the rows looking too loosely
     spaced. */
  padding: 8px 14px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  color: rgb(23, 25, 26);
}
.cph-table__cross { color: #d3382e; }

/* Data Center row: flag has white in it, which would vanish against the table's
   white cells without a border to define its edge. */
.cph-table__flag {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #e3e3e8;
}

/* "Unlimited"/"Unmetered" replaced with ∞ — the visible glyph is aria-hidden and
   paired with a .sr-only span carrying the real word, so screen readers still
   announce "Unlimited"/"Unmetered" rather than a bare, ambiguous symbol. */
.cph-table__val--infinity [aria-hidden] {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-orange);
}

.cph-table__pkg {
  /* sticky (not just relative) so this cell pins alongside .cph-table__intro
     and releases the same way (see .cph-table__intro's comment above). */
  position: sticky;
  top: 129px; /* matches .cph-table__intro's offset, so the row pins as one */
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Inter-child spacing lives on each child's own margin-top now, not a flex
     `gap` — a `gap` can't be transitioned away when the tagline collapses on
     .is-condensed below, since it isn't owned by either neighbouring child.
     Values match the old 16px gap (see each child's own margin comment). */
  padding: 26px 18px;
  background: var(--bg-topbar);
  transition: padding .2s ease;
}
/* Shrinks once it locks into its sticky spot — see .cph-table__intro's
   comment above and js/main.js. */
.cph-table__pkg.is-condensed { padding: 8px 18px; }
/* Last (Premium Salad) header cell only — carries the top-right corner that
   .cph-table's own border-radius used to get for free via overflow:hidden.
   Same ::before approach as .cph-table__intro (see its comment): a plain
   pseudo-element with its own border-radius, instead of border-radius
   directly on the sticky cell, since that wasn't reliably clipping once
   the cell was actually stuck. */
.cph-table__pkg--last { background: none; }
.cph-table__pkg--last::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-topbar);
  border-top-right-radius: 14px;
}
.cph-table__pkg-name {
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 24px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
}
.cph-table__pkg-tagline {
  margin: 16px 0 0; /* was the parent's 16px gap, now owned here so it can
                        collapse away below */
  min-height: 34px;
  max-height: 60px;
  overflow: hidden;
  opacity: 1;
  transform: scaleY(1);
  transform-origin: top;
  transition: max-height .2s ease, opacity .15s ease, margin-top .2s ease, transform .2s ease;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  color: rgb(255, 255, 255);
}
/* Collapses away once it locks into its sticky spot, bringing the package
   name and price closer together — see .cph-table__intro's comment above
   and js/main.js. No min-height here: an earlier version kept the base
   min-height in this override and it silently won over max-height (min-
   height always wins when the two conflict), so the tagline's box stayed
   full-height, just invisible — that was the actual bug behind the
   name<->price gap not visibly shrinking that time. transform: scaleY(0)
   is paired with the max-height collapse for a separate reason: max-height
   alone clips this multi-line text at a flat horizontal line as it shrinks,
   which can slice straight through a line of text mid-transition, reading
   as garbled rather than a clean shrink — scaling the block down in sync
   keeps its visible content's own proportions matching the shrinking box
   instead, so it reads as one whole (if compressed) block, never a
   cut-off one. */
.cph-table__pkg.is-condensed .cph-table__pkg-tagline {
  margin-top: 0;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  transform: scaleY(0);
}
/* Condensing still happens (js/main.js still toggles the class), just as an
   instant cut instead of an animated shrink. */
@media (prefers-reduced-motion: reduce) {
  .cph-table__intro-flag,
  .cph-table__pkg-tagline,
  .cph-table__pkg-price,
  .cph-table__pkg { transition: none; }
}
.cph-table__pkg-price {
  /* price + "/mo" share one baseline-aligned row instead of stacking */
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin: 20px 0 0; /* was the parent's 16px gap + this element's own 4px */
  color: rgba(255, 255, 255, .6);
  transition: margin-top .2s ease;
}
/* Pulls closer to the name once the tagline above it is gone — see
   .cph-table__intro's comment and js/main.js. */
.cph-table__pkg.is-condensed .cph-table__pkg-price { margin-top: 2px; }
.cph-table__pkg-price strong {
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: var(--brand-orange);
}
.cph-table__pkg-price span {
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

/* Per owner: the first two feature rows (Websites, Storage) should ALSO stay
   pinned once the header above locks into its sticky spot, not just the
   toggle + header themselves. Same `position: sticky` mechanism as
   .cph-table__intro/.cph-table__pkg above — each row's 4 cells (label + 3
   vals) share one `top` offset so the whole row pins as one, stacked
   directly under the header.

   The header's own rendered height isn't fixed — it changes the moment it
   condenses (see .is-condensed above) and again whenever the Monthly/
   Annually toggle changes the "billed as..." line's content — so a
   hardcoded pixel offset here would leave a gap, or an overlap, the moment
   the header's height changes. js/main.js measures the header's actual
   height with a ResizeObserver and writes it into --cph-pkg-header-h; a
   ResizeObserver only fires when that box's size genuinely changes, never
   on scroll itself, so this doesn't reintroduce the layout-thrashing
   anti-pattern already reverted once for the header's own condense
   animation (see the comment above .cph-table__intro). Storage then stacks
   on top of that plus one row's own fixed height (36px = 8px+8px vertical
   padding + 20px line-height, shared by .cph-table__label/.cph-table__val —
   both rows are single-line, plain-text content, so this doesn't need the
   same live-measurement treatment as the header). */
.cph-table__row--pin-1,
.cph-table__row--pin-2 {
  position: sticky;
  z-index: 14; /* above ordinary rows scrolling past underneath, below the header's 15 */
}
.cph-table__row--pin-1 { top: calc(129px + var(--cph-pkg-header-h, 160px)); }
.cph-table__row--pin-2 { top: calc(129px + var(--cph-pkg-header-h, 160px) + 36px); }
/* .cph-table__label already carries its own #fafafb background; .cph-table__val
   doesn't (it relies on .cph-table's white background showing through), which
   is fine while scrolling normally but would let rows scrolled past show
   through once this cell is actually pinned — give it an explicit opaque
   background only while pinned. */
.cph-table__val.cph-table__row--pin-1,
.cph-table__val.cph-table__row--pin-2 {
  background: #fff;
}
/* CTA row lives at the bottom of the table now (moved per owner — used to sit
   directly under each price in the header row). Each cell matches the padding/
   border rhythm of an ordinary .cph-table__val row so it reads as one more row,
   not a bolted-on footer. */
.cph-table__btn-cell {
  display: flex;
  flex-direction: column; /* stacks the Order button + .cph-table__pkg-guarantee under it */
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
}
/* Last (Premium Salad) button cell — bottom-right corner, same reasoning as
   .cph-table__pkg--last above. */
.cph-table__btn-cell--last { border-bottom-right-radius: 14px; }
.cph-table__pkg-btn {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--brand-orange);
  border-radius: 8px; /* squared with a small corner — same as .plan-card .btn--outline / .review-btn (overrides the base .btn pill) */
  color: var(--brand-orange);
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
  padding: 10px 14px;
}
.cph-table__pkg-btn:hover { background: var(--brand-orange); color: #fff; }

/* "Exclusive Benefits:" group heading — a full-width row inside the grid,
   bold + underlined like the source template. */
.cph-table__group {
  grid-column: 1 / -1;
  padding: 20px 20px 12px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: rgb(23, 25, 26);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: #fafafb;
}
/* "Yes" value cells under Exclusive Benefits — check glyph + label. */
.cph-table__val--yes { color: rgb(23, 25, 26); }
.cph-table__check { color: var(--brand-orange); flex-shrink: 0; }

@media (max-width: 560px) {
  .cph-plans { padding: 64px 0; }
}

/* ===== cPanel Hosting page: feature grid ===== */
.cph-features {
  position: relative;
  overflow: hidden;
  color: var(--text);
  /* Dark section so the page keeps alternating: dark hero -> light plans table ->
     dark features. Same --brand-dark-family gradient + soft orange glow as the
     homepage Migration section, for a consistent "dark content band" look. */
  background:
    radial-gradient(circle at 15% 12%, rgba(245, 126, 32, .12) 0, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(245, 126, 32, .08) 0, transparent 45%),
    linear-gradient(135deg, #1b2427 0%, #2b383c 52%, #141b1d 100%);
}

.cph-features__inner { padding: 88px 0; }

/* Header block sizing matches the source template: large light-weight title, a
   short thin rule set well below the subtitle, then a wide gap before the grid. */
.cph-features__head { text-align: center; margin-bottom: 64px; }

.cph-features__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: .2px;
}

.cph-features__subtitle {
  margin: 14px auto 0;
  max-width: 560px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(245, 245, 247, .72);
}

.cph-features__underline {
  width: 64px;
  height: 2px;
  margin: 36px auto 0;
  border-radius: 2px;
  /* Brand orange + the site's red accent (same red used in the hero title /
     Web Hosting mega-menu gradient), not the previous light-orange tint. */
  background: linear-gradient(90deg, var(--accent), var(--brand-orange));
}

.cph-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px; /* row / column — template's horizontal gutter is a touch wider */
}

/* icon (col 1, row 1) | title (col 2, row 1) ; description spans both cols on row 2
   so its left edge lines up under the icon — matches the reference layout. */
.cph-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 14px;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .18s, background .18s, transform .18s;
}
.cph-feature:hover {
  border-color: rgba(245, 126, 32, .5);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-3px);
}

/* Icons are external single-colour SVGs in assets/img/features/ (each card sets
   its own file via the --feature-icon custom property). Painted with the brand
   orange via `mask`, so the colour stays defined once here rather than baked
   into 12 files — same idea as the partner-logo `filter` recolour. */
.cph-feature__icon {
  display: block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--brand-orange);
  -webkit-mask: var(--feature-icon) center / contain no-repeat;
  mask: var(--feature-icon) center / contain no-repeat;
}

.cph-feature__title {
  align-self: center;
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  line-height: 25px;
  color: #fff;
}

.cph-feature__desc {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: rgba(245, 245, 247, .72);
}

@media (max-width: 900px) {
  .cph-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cph-features__inner { padding: 64px var(--gutter); } /* `0` zeroed the side gutter, so the subtitle ran to the screen edges */
  .cph-features__head { margin-bottom: 40px; }
  .cph-features__grid { grid-template-columns: 1fr; }
  .cph-feature__title { font-size: 19px; }
  .cph-feature__icon { width: 30px; height: 30px; }
  /* Centred cards: icon stacked above the title, description below. */
  .cph-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ===== cPanel Hosting page: why / infrastructure ===== */
.cph-why {
  /* Light section — keeps the page alternating: dark features -> light "why". */
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 58%, #eef1f7 100%);
}

.cph-why__inner { padding: 88px 0; }

.cph-why__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}

.cph-why__eyebrow {
  display: block;
  margin-bottom: 18px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-orange);
}

/* Type scale + colour match the source template's font-inspector spec (Cairo
   600, 40px/46px) exactly, including its single-colour treatment — no
   gradient/accent split on this heading. */
.cph-why__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 40px;
  line-height: 46px;
  font-weight: 600;
  color: #1b1b1f;
}

.cph-why__underline {
  width: 72px;
  height: 3px;
  margin: 18px 0 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.cph-why__desc {
  margin: 0;
  max-width: 560px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  color: #55555c;
}

.cph-why__map {
  border: 1px solid #e6e6ec;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(50, 61, 65, .07);
  overflow: hidden; /* clips the zoomed map on hover to the card's rounded edge */
}
/* transform-origin matches .cph-why__pin's left/top below, so hovering zooms
   the whole map (image + pin, scaled together as one unit) in on London
   specifically rather than on the card's center. */
.cph-why__map-inner {
  position: relative;
  transform-origin: 46.5% 37%;
  transition: transform .5s ease;
}
.cph-why__map:hover .cph-why__map-inner { transform: scale(2.6); }
.cph-why__map-img { display: block; width: 100%; height: auto; }

/* Single marker over London — same map image and same coordinates as the
   homepage Locations pin, so the two stay consistent (London is the one data
   centre stated site-wide; see the homepage Locations section). */
.cph-why__pin {
  position: absolute;
  left: 46.5%;
  top: 37%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.cph-why__pin-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(245, 126, 32, .18);
  transition: opacity .3s ease;
}
/* Same UK circle flag as the homepage Locations card (assets/img/flags/uk-flag-circle.png).
   Sits over the dot, hidden until the map is hovered/zoomed, then crossfades in. */
.cph-why__pin-flag {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}
.cph-why__map:hover .cph-why__pin-dot { opacity: 0; }
.cph-why__map:hover .cph-why__pin-flag { opacity: 1; }
.cph-why__pin-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--brand-dark);
}

@media (prefers-reduced-motion: reduce) {
  .cph-why__map-inner { transition: none; }
  .cph-why__map:hover .cph-why__map-inner { transform: none; }
  .cph-why__pin-dot,
  .cph-why__pin-flag { transition: none; }
}

.cph-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch; /* equal-height cards regardless of description length */
  gap: 20px;
}

/* icon (col 1, row 1) | title (col 2, row 1) ; description spans row 2 under both */
.cph-why-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cph-why-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 16px 34px rgba(50, 61, 65, .1);
  transform: translateY(-3px);
}

/* Brand-orange glyph (masked external SVG in assets/img/why-cpanel/, set per card via
   --why-icon) inside a soft orange-tinted tile. */
.cph-why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 126, 32, .1);
}
.cph-why-card__icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--brand-orange);
  -webkit-mask: var(--why-icon) center / contain no-repeat;
  mask: var(--why-icon) center / contain no-repeat;
}

.cph-why-card__title {
  align-self: center;
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 21px;
  color: #1b1b1f;
}
.cph-why-card__desc {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
  color: #6a6a72;
}

@media (max-width: 980px) {
  .cph-why__top { grid-template-columns: 1fr; gap: 36px; }
  .cph-why__map { width: 100%; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .cph-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cph-why__inner { padding: 64px var(--gutter); } /* `0` zeroed the side gutter, so text ran to the screen edge */
  .cph-why__grid { grid-template-columns: 1fr; }
  /* Centre the section: heading block, map, and each card (icon above title). */
  .cph-why__top { text-align: center; }
  .cph-why__underline { margin: 18px auto 20px; }
  .cph-why-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ===== cPanel Hosting page: business email ===== */
.cph-email {
  position: relative;
  overflow: hidden;
  color: var(--text);
  /* Dark section — keeps the page alternating: light "why" -> dark email. Same
     dark-band treatment as the Features section. */
  background:
    radial-gradient(circle at 15% 12%, rgba(245, 126, 32, .12) 0, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(245, 126, 32, .08) 0, transparent 45%),
    linear-gradient(135deg, #1b2427 0%, #2b383c 52%, #141b1d 100%);
}

.cph-email__inner { padding: 88px 0; }

.cph-email__top {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
  margin-bottom: 72px;
}

.cph-email__visual { display: flex; justify-content: center; }
.cph-email__art { width: 100%; max-width: 340px; height: auto; }

/* Static envelope outline — no reveal/fade cycle. Motion lives entirely in
   the send/incoming mail glyphs (.cph-email__art-mail-out/-in) further down. */
.cph-email__art-env {
  fill: rgba(255, 255, 255, .04);
  stroke: rgba(255, 255, 255, .32);
  stroke-width: 2;
}
.cph-email__art-line {
  fill: none;
  stroke: rgba(255, 255, 255, .26);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cph-email__art-badge { fill: rgba(245, 126, 32, .14); stroke: var(--brand-orange); stroke-width: 2; }
.cph-email__art-at { fill: var(--brand-orange); font-family: var(--font-heading); font-size: 30px; font-weight: 700; }
.cph-email__art-ping { fill: none; stroke: var(--brand-orange); stroke-width: 1.6; }
/* Brief brightness flash overlaid on the badge, timed to the outgoing mail's
   departure and the incoming mail's landing (see the HTML comment above
   .cph-email__art-badge-flash) — a separate element from
   .cph-email__art-badge itself so it can be hidden outright under
   prefers-reduced-motion without touching the badge's own static styling. */
.cph-email__art-badge-flash { stroke: var(--brand-orange); }

/* Small mail glyph shared by the outgoing and incoming groups — a rounded
   rect body plus a simple V flap, both centred on the group's own local
   origin so each glyph's animateMotion path doubles as its on-canvas
   position directly. */
.cph-email__art-mail rect { fill: rgba(245, 126, 32, .85); stroke: var(--brand-orange); stroke-width: 1.4; }
.cph-email__art-mail-flap { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.cph-email__art-mail { pointer-events: none; }

/* SMIL animations can't be halted by CSS `animation: none`, so the flying
   mail glyphs and the badge's flash overlay are hidden outright — same
   approach as the Migration packet. */
@media (prefers-reduced-motion: reduce) {
  .cph-email__art-mail-out,
  .cph-email__art-mail-in,
  .cph-email__art-badge-flash,
  .cph-email__art-ping { display: none; }
}

/* ===== cPanel Hosting page: backups ===== */
.cph-backups {
  /* Light section — keeps the page alternating: dark email -> light backups. */
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 58%, #eef1f7 100%);
}

.cph-backups__inner { padding: 88px 0; }

.cph-backups__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}

/* Type scale matches the source template. */
.cph-backups__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  color: rgb(32, 29, 44);
}

.cph-backups__underline {
  width: 72px;
  height: 3px;
  margin: 18px 0 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.cph-backups__desc {
  margin: 0;
  max-width: 540px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  color: rgba(32, 29, 44, .82);
}

/* Light "device" frame around the JetBackup dashboard screenshot, like the
   source template. */
.cph-backups__visual { display: flex; justify-content: center; }
.cph-backups__frame {
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(50, 61, 65, .12);
  transition: box-shadow .4s ease;
}
/* Shadow deepens along with the flip below, so the card reads as lifting up
   and turning over rather than just rotating in place. */
.cph-backups__frame:hover {
  box-shadow: 0 28px 64px rgba(50, 61, 65, .2);
}
/* Stage holds the screenshot on top of the real JetBackup logo — overflow
   hidden + the shared border-radius live here so the cross-dissolve below
   stays clipped to a clean rounded rect. aspect-ratio matches the
   screenshot's own intrinsic 1195x614 so the box holds its shape now that
   both images are positioned absolutely rather than sizing the box via a
   normal in-flow <img>. */
.cph-backups__stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  aspect-ratio: 1195 / 614;
}
/* On hover, the screenshot zooms out slightly and blurs away while the logo
   underneath zooms in from a touch smaller and sharpens into focus — a soft
   cross-dissolve (opacity + scale + blur together), no hard wipe edge or
   flip, both layers transitioning at once. */
.cph-backups__shot,
.cph-backups__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .9s ease, transform .9s ease, filter .9s ease;
}
.cph-backups__shot {
  z-index: 2;
  object-fit: cover;
  transform: scale(1);
  filter: blur(0);
}
.cph-backups__logo {
  z-index: 1;
  box-sizing: border-box;
  padding: 15% 16%;
  object-fit: contain;
  background: #fff;
  opacity: 0;
  transform: scale(.85);
  filter: blur(6px);
}
.cph-backups__frame:hover .cph-backups__shot {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(10px);
}
.cph-backups__frame:hover .cph-backups__logo {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .cph-backups__shot,
  .cph-backups__logo { transition: none; }
}

.cph-backups__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

/* icon (col 1, row 1) | title (col 2, row 1) ; description spans row 2 under both */
.cph-backups-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cph-backups-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 16px 34px rgba(50, 61, 65, .1);
  transform: translateY(-3px);
}

/* Brand-orange glyph (masked external SVG in assets/img/backups/, set per card
   via --backup-icon) inside a soft orange-tinted tile. */
.cph-backups-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 126, 32, .1);
}
.cph-backups-card__icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--brand-orange);
  -webkit-mask: var(--backup-icon) center / contain no-repeat;
  mask: var(--backup-icon) center / contain no-repeat;
}

.cph-backups-card__title {
  align-self: center;
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 21px;
  color: rgb(32, 29, 44);
}
.cph-backups-card__desc {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
  color: rgba(32, 29, 44, .74);
}

@media (max-width: 980px) {
  .cph-backups__top { grid-template-columns: 1fr; gap: 36px; }
  .cph-backups__frame { max-width: 520px; }
}

@media (max-width: 640px) {
  .cph-backups__title { font-size: 30px; line-height: 1.2; }
}

@media (max-width: 900px) {
  .cph-backups__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cph-backups__inner { padding: 64px var(--gutter); } /* `0` zeroed the side gutter, so text ran to the screen edge */
  .cph-backups__grid { grid-template-columns: 1fr; }
  /* Centre the section: heading block, screenshot, and each card (icon above title). */
  .cph-backups__top { gap: 32px; margin-bottom: 40px; }
  .cph-backups__content { text-align: center; }
  .cph-backups__underline { margin: 18px auto 20px; }
  .cph-backups-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* Type scale matches the source template. */
.cph-email__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  color: rgb(255, 255, 255);
}

.cph-email__underline {
  width: 72px;
  height: 3px;
  margin: 16px 0 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffb27a, var(--brand-orange));
}

.cph-email__desc {
  margin: 0;
  max-width: 600px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  color: rgba(255, 255, 255, .82);
}

.cph-email__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

/* icon (col 1, row 1) | title (col 2, row 1) ; description spans row 2 under both */
.cph-email-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .18s, background .18s, transform .18s;
}
.cph-email-card:hover {
  border-color: rgba(245, 126, 32, .5);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-3px);
}

/* Brand-orange glyph (masked external SVG in assets/img/email/, set per card via
   --email-icon) inside a soft orange-tinted tile. */
.cph-email-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 126, 32, .14);
}
.cph-email-card__icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--brand-orange);
  -webkit-mask: var(--email-icon) center / contain no-repeat;
  mask: var(--email-icon) center / contain no-repeat;
}

.cph-email-card__title {
  align-self: center;
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 21px;
  color: rgb(255, 255, 255);
}
.cph-email-card__desc {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
  color: rgba(255, 255, 255, .75);
}

@media (max-width: 980px) {
  .cph-email__top { grid-template-columns: 1fr; gap: 40px; }
  .cph-email__art { max-width: 300px; }
}

@media (max-width: 640px) {
  .cph-email__title { font-size: 30px; line-height: 1.2; }
}

@media (max-width: 900px) {
  .cph-email__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cph-email__inner { padding: 64px var(--gutter); } /* `0` zeroed the side gutter, so text ran to the screen edge */
  .cph-email__grid { grid-template-columns: 1fr; }
  /* Heading block first, envelope art after it; everything centred, cards with
     the icon stacked above the title. */
  .cph-email__content { order: -1; text-align: center; }
  .cph-email__top { gap: 32px; margin-bottom: 40px; }
  .cph-email__underline { margin: 16px auto 20px; }
  .cph-email-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ===== cPanel Hosting page: security ===== */
.cph-security {
  position: relative;
  overflow: hidden;
  color: var(--text);
  /* Dark section so the page keeps alternating: light backups -> dark
     security. Same brand-orange-tinted dark gradient as every other dark
     band on this page (.cph-features, .cph-email) — kept consistent with
     the rest of the cpanel-hosting page rather than a one-off accent. */
  background:
    radial-gradient(circle at 15% 12%, rgba(245, 126, 32, .12) 0, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(245, 126, 32, .08) 0, transparent 45%),
    linear-gradient(135deg, #1b2427 0%, #2b383c 52%, #141b1d 100%);
}

.cph-security__inner { padding: 88px 0; }

.cph-security__head { text-align: center; margin-bottom: 64px; }

.cph-security__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: .2px;
}

.cph-security__subtitle {
  margin: 14px auto 0;
  max-width: 620px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(245, 245, 247, .72);
}

.cph-security__underline {
  width: 64px;
  height: 3px;
  margin: 36px auto 0;
  border-radius: 2px;
  /* Same red -> orange gradient as .cph-backups__underline (owner's "orange
     and red mixed gradient" colour code) — reads more clearly as a mix than
     the previous accent -> brand-orange pairing, which sat too close in hue
     to show at this bar's width. */
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.cph-security__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
}

/* Same icon (col 1, row 1) | title (col 2, row 1); description spans both
   cols on row 2 layout as .cph-feature/.cph-backups-card/.cph-email-card. */
.cph-security-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 14px;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .18s, background .18s, transform .18s;
}
.cph-security-card:hover {
  border-color: rgba(245, 126, 32, .5);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-3px);
}

/* Icons are external single-colour SVGs in assets/img/security/ (each card
   sets its own file via the --security-icon custom property), masked with
   --brand-orange — same masked-icon technique used throughout the site. */
.cph-security-card__icon {
  display: block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--brand-orange);
  -webkit-mask: var(--security-icon) center / contain no-repeat;
  mask: var(--security-icon) center / contain no-repeat;
}

.cph-security-card__title {
  align-self: center;
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  line-height: 25px;
  color: #fff;
}

.cph-security-card__desc {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: rgba(245, 245, 247, .72);
}

@media (max-width: 900px) {
  .cph-security__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cph-security__inner { padding: 64px var(--gutter); } /* `0` zeroed the side gutter, so the cards ran to the screen edges */
  .cph-security__head { margin-bottom: 40px; }
  .cph-security__grid { grid-template-columns: 1fr; }
  .cph-security-card__title { font-size: 19px; }
  .cph-security-card__icon { width: 30px; height: 30px; }
  /* Centred cards: icon stacked above the title, description below. */
  .cph-security-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ===== cPanel Hosting page: workflow ===== */
.cph-workflow {
  position: relative;
  /* Light section — keeps the page alternating: dark security -> light
     workflow. Same light gradient treatment as .cph-backups. */
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 58%, #eef1f7 100%);
}

.cph-workflow__inner { padding: 88px 0; }

.cph-workflow__head { text-align: center; margin-bottom: 56px; }

/* Type scale matches the source template. */
.cph-workflow__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  color: rgb(45, 42, 53);
}

.cph-workflow__subtitle {
  margin: 14px auto 0;
  max-width: 600px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  color: rgb(92, 88, 104);
}

.cph-workflow__underline {
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  /* Same red -> orange gradient as .cph-backups__underline /
     .cph-security__underline (owner's "orange and red mixed gradient"
     colour code) — brand-orange throughout this page, not the teal used in
     the supplied mockup (see .cph-workflow-card__icon below). */
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.cph-workflow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
}

/* Centred icon-chip -> title -> description stack (unlike the paired
   icon+title row layout used elsewhere on this page — matches the source
   template's centred card treatment for this section specifically). */
.cph-workflow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 40px 30px;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cph-workflow-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 16px 34px rgba(50, 61, 65, .1);
  transform: translateY(-3px);
}

/* Icon chip: a soft orange-tinted rounded square housing the masked icon —
   same recolour technique as every other section's icons (external
   single-colour SVG in assets/img/workflow/, set per card via
   --workflow-icon, painted with --brand-orange), just larger and centred to
   match this section's own card layout. */
.cph-workflow-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(245, 126, 32, .1);
}
.cph-workflow-card__icon::before {
  content: "";
  width: 30px;
  height: 30px;
  background-color: var(--brand-orange);
  -webkit-mask: var(--workflow-icon) center / contain no-repeat;
  mask: var(--workflow-icon) center / contain no-repeat;
}

.cph-workflow-card__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 24px;
  color: rgb(45, 42, 53);
}

.cph-workflow-card__desc {
  margin: 0;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  color: rgb(92, 88, 104);
}

@media (max-width: 900px) {
  .cph-workflow__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cph-workflow__inner { padding: 64px var(--gutter); } /* `0` zeroed the side gutter, so the cards ran to the screen edges */
  .cph-workflow__head { margin-bottom: 40px; }
  .cph-workflow__grid { grid-template-columns: 1fr; }
}

/* ===== cPanel Hosting page: technical overview ===== */
.cph-overview {
  /* Light section — keeps the page alternating: dark migration -> light
     overview, right before the (black) footer. */
  background: #f7f7fb;
}

.cph-overview__inner { padding: 88px 0; }

.cph-overview__head { text-align: center; margin-bottom: 56px; }

/* Type scale matches the source template. */
.cph-overview__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  color: rgb(32, 29, 44);
}

.cph-overview__underline {
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  /* Same red -> orange gradient used for every other underline on this page
     (owner's "orange and red mixed gradient" colour code) — brand-orange
     throughout, not the teal used in the supplied mockup. */
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.cph-overview__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}

.cph-overview__col { display: flex; flex-direction: column; }

.cph-overview__group { margin-bottom: 36px; }
.cph-overview__group:last-child { margin-bottom: 0; }

.cph-overview__group-title {
  margin: 0 0 16px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 21px;
  color: rgb(32, 29, 44);
  text-align: center;
}

.cph-overview__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cph-overview__list a { text-decoration: underline; text-decoration-color: var(--brand-orange); text-underline-offset: 3px; }
.cph-overview__list li {
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: rgb(32, 29, 44);
  text-align: center;
}

@media (max-width: 760px) {
  .cph-overview__columns { grid-template-columns: 1fr; gap: 0; }
  .cph-overview__col:first-child { margin-bottom: 36px; }
}

@media (max-width: 560px) {
  .cph-overview__inner { padding: 64px 0; }
}

/* ===== Plans table polish =====
   The middle plan (Standard Salad) is the recommended one: a warm tint down its
   whole column, a glowing header with an orange bar and a "Recommended" pill,
   and the one filled call-to-action button. Editorial, not a measured claim: to
   change or drop it, edit the .cph-table__pkg-badge span and the --mid classes
   in cpanel-hosting/index.php. Every tint is opaque on purpose: the pinned rows
   must not let scrolled rows show through (see .cph-table__row--pin-1). */

/* Band: a faint orange glow behind the table so it doesn't sit on flat grey. */
.cph-plans {
  background:
    radial-gradient(720px 420px at 62% 8%, rgba(245, 126, 32, .09), transparent 70%),
    radial-gradient(640px 380px at 10% 70%, rgba(47, 158, 220, .06), transparent 70%),
    #f7f7f9;
}
.cph-table { box-shadow: 0 24px 60px rgba(30, 30, 60, .1); }

/* Header cells: extra top padding on all three (so the names stay level) to make
   room for the Recommended pill; a whisper of gradient and hairline dividers. */
.cph-table__pkg { padding-top: 58px; }
.cph-table__pkg { background: linear-gradient(180deg, #17171a 0%, #000 70%); }
.cph-table__pkg--last { background: none; }
.cph-table__pkg--last::before { background: linear-gradient(180deg, #17171a 0%, #000 70%); }
.cph-table__pkg + .cph-table__pkg { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08); }

/* The recommended column. */
.cph-table--main .cph-table__val--mid,
.cph-table--cta .cph-table__btn-cell--mid {
  background: linear-gradient(180deg, #fff1e2 0%, #fff6ee 100%);
}
.cph-table__val--mid { font-weight: 800; }
.cph-table__pkg--mid {
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(245, 126, 32, .5), transparent 65%),
    linear-gradient(180deg, #24140a 0%, #000 75%);
  box-shadow: inset 0 4px 0 var(--brand-orange), inset 1px 0 0 rgba(255, 255, 255, .08);
}
.cph-table__pkg-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden; /* clips the shine sweep (::after) to the pill shape */
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a3d, var(--brand-orange));
  color: #fff;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 6px 16px rgba(245, 126, 32, .5),
    0 2px 4px rgba(0, 0, 0, .15),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: opacity .15s ease;
}
/* Diagonal light streak sweeping across the pill every few seconds — a quiet
   "premium badge" shimmer, not a flashy loop (long pause between sweeps). */
.cph-table__pkg-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg);
  animation: pkg-badge-shine 3.2s ease-in-out infinite;
}
@keyframes pkg-badge-shine {
  0%   { left: -60%; }
  45%  { left: 130%; }
  100% { left: 130%; }
}
/* Gone once the header shrinks into its sticky spot: no room left for it. */
.cph-table__pkg.is-condensed .cph-table__pkg-badge { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .cph-table__pkg-badge::after { animation: none; display: none; }
}

/* Tick / cross as small tinted discs, easier to scan down a column than bare
   strokes. */
.cph-table__check,
.cph-table__cross {
  box-sizing: content-box;
  padding: 3px; /* 14px icon + 3px each side = 20px: same as the row's line-height, so ticks don't make rows taller */
  border-radius: 50%;
}
.cph-table__check { background: rgba(245, 126, 32, .13); }
.cph-table__cross { background: rgba(211, 56, 46, .1); }

/* One filled call-to-action: the recommended plan's order button. */
.cph-table__btn-cell--mid .cph-table__pkg-btn {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(245, 126, 32, .35);
}
.cph-table__btn-cell--mid .cph-table__pkg-btn:hover { background: #e06f16; border-color: #e06f16; }

/* Row under the pointer (js/main.js adds .is-row-hover to the whole row). */
.cph-table--main .cph-table__label.is-row-hover,
.cph-table--main .cph-table__val.is-row-hover { background: #f1f2f6; }
.cph-table--main .cph-table__val--mid.is-row-hover { background: #ffe6d0; }

/* Once the header row is stuck (.is-condensed), a soft shadow separates it from
   the rows scrolling underneath it. */
.cph-table__pkg { transition: padding .2s ease, box-shadow .2s ease; }
.cph-table__intro { transition: box-shadow .2s ease; }
.cph-table__intro.is-condensed,
.cph-table__pkg.is-condensed { box-shadow: 0 12px 16px -10px rgba(0, 0, 0, .4); }
.cph-table__pkg--mid.is-condensed {
  box-shadow: inset 0 4px 0 var(--brand-orange), 0 12px 16px -10px rgba(0, 0, 0, .4);
}
@media (prefers-reduced-motion: reduce) {
  .cph-table__pkg, .cph-table__intro, .cph-table__pkg-badge { transition: none; }
}

/* ===== Mobile only: comparison table =====
   Fits the phone width so all three plans are visible at once — no sideways
   scrolling. The desktop-only behaviours are switched off here: nothing is
   sticky/pinned (toggle, header row, first rows, label column), the header
   doesn't condense on scroll, and rows don't highlight on hover/tap. Type and
   padding are scaled to the ~90px plan columns; the long plan taglines are
   dropped (name, price, billing line and the Order button carry the message).
   Desktop/tablet rules above are untouched. */
@media (max-width: 560px) {
  .cph-billing-toggle,
  .cph-billing-toggle.is-stuck { position: static; padding-bottom: 20px; }

  .cph-table-wrap { overflow: visible; contain: none; }
  .cph-table { grid-template-columns: 84px repeat(3, minmax(0, 1fr)); min-width: 0; width: 100%; }

  /* No sticky anywhere: cancel the pinning offsets. Header cells stay `relative`
     (the badge and the intro's ::before are positioned against them). */
  .cph-table__label,
  .cph-table__row--pin-1,
  .cph-table__row--pin-2 { position: static; }
  .cph-table__intro, /* is also a .cph-table__label — keep this rule after the one above */
  .cph-table__pkg { position: relative; top: auto; z-index: 0; }

  /* No hover/tap row highlight. Cells stop taking pointer events, so js/main.js's
     row-hover handler never fires; the header and Order buttons are unaffected. */
  .cph-table__label,
  .cph-table__val { pointer-events: none; }

  .cph-table__intro { padding: 10px 6px; font-size: 11px; line-height: 15px; }
  .cph-table__intro-flag { width: 24px; margin-bottom: 6px; }

  .cph-table__pkg,
  .cph-table__pkg.is-condensed { padding: 40px 6px 12px; }
  .cph-table__pkg-badge,
  .cph-table__pkg.is-condensed .cph-table__pkg-badge { top: 12px; padding: 3px 6px; font-size: 8px; letter-spacing: .4px; opacity: 1; }
  .cph-table__pkg-name { width: min-content; margin: 0 auto; font-size: 15px; line-height: 18px; } /* min-content = wrap at every space, so all three names break onto two lines and the prices line up */
  .cph-table__pkg-tagline { display: none; }
  .cph-table__pkg-price,
  .cph-table__pkg.is-condensed .cph-table__pkg-price { flex-wrap: wrap; margin-top: 10px; gap: 0 4px; }
  .cph-table__pkg-price strong { font-size: 16px; line-height: 22px; }
  .cph-table__pkg-price span { font-size: 11px; line-height: 16px; }
  .cph-table__pkg-billed,
  .cph-table__pkg-billed-note { font-size: 11px; line-height: 15px; }
  .cph-table__pkg-billed { margin-top: 4px; }
  .cph-table__pkg.is-condensed { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08); }
  .cph-table__pkg--mid.is-condensed { box-shadow: inset 0 4px 0 var(--brand-orange), inset 1px 0 0 rgba(255, 255, 255, .08); }
  .cph-table__intro.is-condensed { box-shadow: none; }
  .cph-table__intro.is-condensed .cph-table__intro-flag { opacity: 1; margin-bottom: 6px; }

  .cph-table__label { padding: 8px 8px; font-size: 11px; line-height: 15px; }
  .cph-table__val { padding: 8px 4px; font-size: 12px; line-height: 18px; }
  .cph-table__group { padding: 14px 8px 8px; font-size: 12px; line-height: 18px; }
  .cph-table__btn-cell { padding: 12px 6px; }
  .cph-table__pkg-btn { padding: 8px 4px; font-size: 11px; line-height: 14px; text-align: center; justify-content: center; }
  .cph-table__pkg-guarantee { font-size: 10px; line-height: 14px; }
}

/* ===== Tablet only: same `padding: 88px 0` side-gutter bug, one fix for all
   of them. Each of these sections zeros its own side padding at the base
   rule and only restores it inside its ≤560px mobile query, so everything
   runs edge to edge across the whole tablet band in between. Mirrors the
   fix already applied to .cph-hero__inner, .migration__inner and
   .footer__inner. */
@media (min-width: 561px) and (max-width: 1210px) {
  .cph-features__inner,
  .cph-why__inner,
  .cph-email__inner,
  .cph-backups__inner,
  .cph-security__inner,
  .cph-workflow__inner,
  .cph-overview__inner { padding-left: var(--gutter); padding-right: var(--gutter); }
}
