/* ==========================================================================
   Flyhost.in — premium.css
   Premium layer loaded after site.css: retuned tokens, restyled shared
   components, and the homepage sections.

   Audited against two design rule sets (2026-11-21):
   - impeccable (pbakaus): no eyebrows/kickers, no gradient text, no
     purple-to-blue gradients, no glass or grid overlays as decoration, no
     icon-tile card grids, no hero-metric bands, elevation declared once
     (border OR shadow), card radii 12–16px, one authored motion moment.
   - ui-ux-pro-max: one primary CTA per screen, 4.5:1 text contrast, 16px
     body, visible focus, tabular figures for prices, cursor on clickables,
     no layout-shifting hover, reduced motion respected.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brand: #4a1fe0;
  --brand-hover: #3a12c4;
  --deep: #110e2b;               /* hero, stats, footer: one violet-ink surface */
  --deep-2: #1a1640;
  --deep-line: rgb(255 255 255 / .12);
  --on-deep: #f3f1ff;
  --on-deep-2: #c3bee3;          /* tinted from the surface hue, never plain grey */
  --on-deep-3: #9d98c4;
  --glow: rgb(110 72 255 / .32); /* single-hue light source on deep surfaces */

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8f7fc;
  --surface-3: #efedf8;
  --tint: #f6f4ff;
  --fg: #12102a;
  --fg-2: #3b3956;
  --muted: #5d5b76;
  --line: #e4e1ef;
  --line-strong: #cfcbe0;

  --ok: #0c7a54; --ok-soft: #e3f5ed;

  --r-sm: 8px; --r: 10px; --r-lg: 12px; --r-xl: 16px;
  --shadow-xs: 0 1px 2px rgb(18 16 42 / .05);
  --shadow: 0 1px 2px rgb(18 16 42 / .05), 0 4px 14px -6px rgb(18 16 42 / .1);
  --shadow-pop: 0 24px 56px -20px rgb(30 18 90 / .35), 0 4px 12px -4px rgb(18 16 42 / .08);
  --header-h: 72px;
}
:root.dark {
  --bg: #0b0a1a;
  --surface: #13112a;
  --surface-2: #181633;
  --surface-3: #211e40;
  --tint: #15132f;
  --fg: #f1f0fa;
  --fg-2: #cdcae2;
  --muted: #a19dbf;
  --line: #2a2650;
  --line-strong: #3a3566;
  --brand-ink: #b39dff;
  --ok: #4cc38a; --ok-soft: #10261d;
  --shadow-pop: 0 24px 56px -20px rgb(0 0 0 / .8);
}

body { font-size: 16px; }
h1, h2, h3, h4 { font-weight: 700; }
h1 { letter-spacing: -.03em; }
h2 { letter-spacing: -.026em; }
.sec-grey { background: var(--tint); border-block: 0; }
a, button, summary, label[for], select { cursor: pointer; }

/* ---------- Buttons (flat brand fill; hover changes colour, never layout) ---------- */
.btn { border-radius: var(--r); font-weight: 650; min-height: 44px; padding: 10px 18px; touch-action: manipulation; }
.btn-sm { min-height: 38px; padding: 7px 14px; border-radius: var(--r-sm); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn:active { transform: none; }
.btn-primary, .btn-signal { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgb(18 16 42 / .2); }
.btn-primary:hover, .btn-signal:hover { background: var(--brand-hover); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--surface); }
.btn-outline-light { color: #fff; border: 1px solid rgb(255 255 255 / .3); background: transparent; }
.btn-outline-light:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .55); }
.btn-night-ghost { color: #fff; border-color: rgb(255 255 255 / .3); }
.link-light { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 5px; transition: text-decoration-color var(--dur-1) var(--ease); }
.link-light:hover { text-decoration-color: #fff; }

/* ---------- Announcement bar ---------- */
.topbar { background: var(--deep); color: var(--on-deep-2); font-size: 13.5px; position: relative; z-index: 101; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-msg { min-width: 0; }
.topbar-msg b { color: #fff; font-weight: 650; }
.topbar-links { display: flex; align-items: center; gap: 22px; flex: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--on-deep-2); transition: color var(--dur-1) var(--ease); }
.topbar-links a:hover { color: #fff; }
.topbar-links .ico { width: 15px; height: 15px; }
@media (max-width: 820px) { .topbar-links { display: none; } .topbar-inner { justify-content: center; text-align: center; } }
@media (max-width: 520px) { .topbar-extra { display: none; } }

/* ---------- Header (solid surface; no decorative blur) ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { gap: 36px; }
.nav-link, .nav-trigger { font-size: 15px; font-weight: 560; color: var(--fg-2); padding: 9px 13px; }
.nav-item.is-active > .nav-link, .nav-item.is-active > .nav-trigger { color: var(--brand-ink); }
.nav-menu { border-radius: var(--r-xl); padding: 8px; min-width: 340px; }
.nav-menu-link { padding: 11px 14px; border-radius: var(--r); }
.nav-menu-link:hover { background: var(--tint); }
.nav-menu-link:hover strong { color: var(--brand-ink); }
.header-login { font-weight: 600; }
.header-cta { min-height: 40px; padding: 8px 16px; font-size: 14px; }
@media (max-width: 1080px) { .nav-link, .nav-trigger { font-size: 1.05rem; } }

/* ---------- Section heads (centred, no kicker above) ---------- */
.head-c { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.head-c h2 { margin: 0 auto 16px; max-width: 22ch; }
.head-c p { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 0 auto; }
.head h2 { max-width: 20ch; }

/* ---------- Home hero ---------- */
.hx { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 6vw, 88px); isolation: isolate; }
.hx::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 75% at 88% 18%, var(--glow), transparent 70%); }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hx h1 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.04; margin-bottom: 22px; max-width: 15ch; }
.hx .lede { color: var(--on-deep-2); max-width: 54ch; margin-bottom: 30px; }
.hx-price { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hx-price .from { display: block; margin: 0 0 4px; font-size: .92rem; color: var(--on-deep-3); }
.hx-price .amt { display: flex; align-items: baseline; gap: 2px; color: #fff; }
.hx-price .amt span { font-size: 1.5rem; font-weight: 600; align-self: flex-start; margin-top: 8px; color: var(--on-deep-2); }
.hx-price .amt b { font-size: clamp(3rem, 2.4rem + 2vw, 4rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.hx-price .amt small { font-size: 1rem; color: var(--on-deep-3); margin-left: 4px; }
.save-badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--r-sm); background: rgb(76 195 138 / .14); color: #7fe3b6; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 30px; }
.hx-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--on-deep-2); }
.hx-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hx-checks .ico { width: 18px; height: 18px; color: #7fe3b6; }
.hx .instrument.is-light { border: 0; box-shadow: 0 32px 72px -28px rgb(0 0 0 / .75); }
:root.dark .hx .instrument.is-light { border: 1px solid var(--line-strong); }
/* Proof line: plain facts on one rule, not a metric band */
.hx-proof { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--deep-line); display: flex; flex-wrap: wrap; gap: 14px 40px; color: var(--on-deep-2); font-size: .95rem; }
.hx-proof li { display: inline-flex; align-items: center; gap: 10px; }
.hx-proof strong { color: #fff; }
.hx-proof .ico { width: 20px; height: 20px; color: #b39dff; }
@media (max-width: 1000px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } }

/* Logo strip */
.logos { padding: 40px 0 8px; }
.logos > .wrap > p { text-align: center; font-size: .95rem; color: var(--muted); margin-bottom: 8px; }
.logos .stack-row { margin-top: 0; padding-top: 0; border-top: 0; }
.logos .stack-set img { filter: grayscale(1); opacity: .75; transition: filter var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.logos .stack-set li:hover img { filter: none; opacity: 1; }
:root.dark .logos .stack-set img { filter: grayscale(1) invert(1) brightness(1.6); opacity: .6; }

/* ---------- Plan cards (site-wide). Elevation: border only. ---------- */
.billing { justify-content: center; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.billing-label { font-size: .92rem; color: var(--muted); }
.cycle { padding: 4px; border-radius: var(--r-lg); background: var(--surface-3); }
.cycle button { min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm); font-weight: 600; }
.cycle button[aria-pressed="true"] { background: var(--surface); color: var(--brand-ink); box-shadow: 0 1px 3px rgb(18 16 42 / .14); }
.cycle .save { color: var(--ok); font-weight: 700; }
.plans { gap: 20px; border: 0; background: none; box-shadow: none; overflow: visible; border-radius: 0; align-items: stretch; }
.plan, .plan + .plan { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: none; padding: 32px 26px 28px; transition: border-color var(--dur-2) var(--ease); }
.plan:hover { border-color: var(--line-strong); }
.plan.is-popular { border: 2px solid var(--brand); background: var(--tint); box-shadow: none; }
:root.dark .plan.is-popular { border-color: #7b5cff; }
.plan-flag { top: -13px; left: 50%; right: auto; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 5px 12px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.plan h3 { font-size: 21px; }
.plan-price .amt { font-size: 3rem; font-weight: 750; letter-spacing: -.035em; }
.plan .btn { min-height: 48px; font-size: 15px; }
.plan-list { gap: 11px; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 22px; }
.plans-note { text-align: center; }
@media (max-width: 1100px) { .plan:nth-child(n+3) { border-top: 1px solid var(--line); } .plan.is-popular { border-top-width: 2px; } }
@media (max-width: 640px) { .plans { gap: 28px; } .plan + .plan { border-top: 1px solid var(--line); } .billing { align-items: stretch; } }

.spec-wrap { border-radius: var(--r-xl); box-shadow: none; }
.table-scroll-x { border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }

/* ---------- Features: two-column ruled list with leading icons ---------- */
.feats { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.feats-head { position: sticky; top: calc(var(--header-h) + 40px); }
.feats-head h2 { margin-bottom: 16px; max-width: 14ch; }
.feats-head p { color: var(--muted); font-size: 1.1rem; max-width: 40ch; margin-bottom: 26px; }
.feats-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.feats-list li { padding: 26px 0; border-top: 1px solid var(--line-strong); }
.feats-list h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 8px; }
.feats-list h3 .ico { width: 22px; height: 22px; color: var(--brand-ink); }
.feats-list p { color: var(--muted); font-size: .98rem; max-width: 42ch; }
@media (max-width: 960px) { .feats { grid-template-columns: minmax(0, 1fr); } .feats-head { position: static; } }
@media (max-width: 600px) { .feats-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Products: one lead panel + an index of rows ---------- */
.prod { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: stretch; }
.prod-lead { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); background: var(--deep); color: var(--on-deep); }
.prod-lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 100% 0%, var(--glow), transparent 70%); }
.prod-lead > .ico { width: 32px; height: 32px; color: #b39dff; margin-bottom: 28px; }
.prod-lead h3 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: 12px; }
.prod-lead p { color: var(--on-deep-2); max-width: 42ch; margin-bottom: 24px; }
.prod-lead ul { display: grid; gap: 10px; margin-bottom: 32px; color: var(--on-deep-2); }
.prod-lead li { display: flex; gap: 10px; align-items: center; }
.prod-lead li .ico { width: 16px; height: 16px; color: #7fe3b6; }
.prod-lead-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--deep-line); }
.prod-lead-foot small { display: block; color: var(--on-deep-3); font-size: .85rem; }
.prod-lead-foot b { color: #fff; font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.prod-lead-foot b em { font-style: normal; font-size: .95rem; font-weight: 500; color: var(--on-deep-3); }
.prod-list { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.prod-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 22px; transition: background-color var(--dur-1) var(--ease); }
.prod-row + .prod-row { border-top: 1px solid var(--line); }
.prod-row:hover { background: var(--surface-2); }
.prod-row > .ico { width: 22px; height: 22px; color: var(--brand-ink); grid-row: span 2; }
.prod-row h3 { font-size: 1.04rem; }
.prod-row p { grid-column: 2; color: var(--muted); font-size: .92rem; }
.prod-row .price { grid-column: 3; grid-row: 1 / span 2; text-align: right; font-size: .8rem; color: var(--muted); }
.prod-row .price b { display: block; font-size: 1.06rem; color: var(--fg); font-weight: 700; }
.prod-row:hover h3 { color: var(--brand-ink); }
@media (max-width: 960px) { .prod { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Split section (copy + drawing) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 18px; max-width: 18ch; }
.split-copy > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; max-width: 50ch; }
.checklist { display: grid; gap: 14px; margin-bottom: 30px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); margin-top: 1px; }
.checklist .tick .ico { width: 14px; height: 14px; }
.checklist strong { display: block; font-size: 1rem; }
.checklist span { color: var(--muted); font-size: .95rem; }
.visual { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--tint); }
.visual .drawing { background: var(--surface); border-radius: var(--r-lg); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* ---------- Data centres: a ruled table of locations ---------- */
.dcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.dc { padding: 26px 24px; }
.dc + .dc { border-left: 1px solid var(--line); }
.dc h3 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin-bottom: 6px; }
.dc h3 .ico { width: 20px; height: 20px; color: var(--brand-ink); }
.dc p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.dc-flag { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 650; }
.dc-flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dc-flag.live { color: var(--ok); }
.dc-flag.soon { color: var(--muted); }
@media (max-width: 960px) {
  .dcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc:nth-child(3) { border-left: 0; }
  .dc:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .dcs { grid-template-columns: minmax(0, 1fr); } .dc + .dc { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Compare table ---------- */
.compare th, .compare td { padding: 18px 24px; }
.compare thead th { font-size: 1.05rem; background: var(--surface-2); }
.compare thead th.us { background: var(--brand); color: #fff; }
.compare td.us { background: var(--tint); color: var(--fg); font-weight: 600; }

/* ---------- Testimonials: one lead quote, two supporting ---------- */
.quotes { gap: 20px; }
.quote-lead { border-radius: var(--r-xl); background: var(--deep); border: 0; position: relative; overflow: hidden; isolation: isolate; }
.quote-lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 100% 0%, var(--glow), transparent 70%); }
.quote-lead .who span span { color: var(--on-deep-3); }
.quote-lead .initials { background: rgb(255 255 255 / .1); color: #fff; }
.quote { border-radius: var(--r-xl); box-shadow: none; }
.quote .initials { background: var(--tint); color: var(--brand-ink); }

/* ---------- Assurances: one ruled row ---------- */
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line-strong); }
.acard { padding: 28px 28px 28px 0; }
.acard + .acard { padding-left: 28px; border-left: 1px solid var(--line); }
.acard h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 8px; }
.acard h3 .ico { width: 22px; height: 22px; color: var(--brand-ink); }
.acard p { color: var(--muted); font-size: .96rem; }
.acard a { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .assure { grid-template-columns: minmax(0, 1fr); }
  .acard, .acard + .acard { padding: 22px 0; border-left: 0; }
  .acard + .acard { border-top: 1px solid var(--line); }
}

/* ---------- FAQ (bordered accordions) ---------- */
.qa { border-top: 0; display: grid; gap: 10px; }
.qa details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 0 22px; transition: border-color var(--dur-2) var(--ease); }
.qa details[open] { border-color: var(--line-strong); }
.qa summary { padding: 20px 0; font-size: 1.05rem; }
.qa .answer { padding: 0 40px 22px 0; color: var(--muted); }

/* ---------- Closing band ---------- */
.close { background: transparent; padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.close-grid { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; align-items: center; }
.close-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, var(--glow), transparent 70%); }
.close h2 { color: #fff; max-width: 18ch; }
.close p { color: var(--on-deep-2); }
.close .btn-signal { background: #fff; color: #1a1446; box-shadow: none; }
.close .btn-signal:hover { background: #ebe6ff; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--tint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-3); border-top: 0; padding-top: clamp(56px, 7vw, 80px); }
.site-footer a { color: var(--on-deep-2); }
.site-footer a:hover { color: #fff; }
.site-footer .logo-light { display: none !important; }
.site-footer .logo-dark { display: block !important; }
.footer-help { border: 1px solid var(--deep-line); padding: 32px; border-radius: var(--r-xl); background: var(--deep-2); margin-bottom: 56px; align-items: center; }
.footer-help-title { color: #fff; }
.footer-help p { color: var(--on-deep-2); }
.site-footer .btn-light { background: #fff; color: #1a1446; }
.site-footer .btn-light:hover { background: #ebe6ff; color: #1a1446; }
.site-footer .btn-ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .3); box-shadow: none; }
.site-footer .btn-ghost-light:hover { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .55); }
.footer-col h3 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col ul { gap: 10px; }
.footer-pay { color: var(--on-deep-2); }
.footer-bottom { border-color: var(--deep-line); color: var(--on-deep-3); }
.footer-badges { display: grid; gap: 8px; margin-top: 18px; color: var(--on-deep-2); font-size: 13.5px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 8px; }
.footer-badges .ico { width: 16px; height: 16px; color: #7fe3b6; }

@media (max-width: 520px) { .hx-actions { flex-direction: column; align-items: stretch; } .hx-actions .btn { width: 100%; } .hx-actions .link-light { justify-content: center; } }

/* ---------- Product-page audit (impeccable + ui-ux-pro-max), 2026-11-21 ---------- */
/* Drawings render complete from the first paint: no draw-on, no staged text, no blinking LEDs. */
.js .drawing .d { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
.js .drawing .pin, .js .drawing text, .js .dw-cap, .js .drawing .flow { opacity: 1 !important; transition: none !important; }
.drawing .led:not(.led-on) { animation: none !important; }
/* Elevation declared once: border only (no border + soft shadow "ghost cards"). */
.drawing, .illus, .dr-list, .spec-wrap { box-shadow: none; }
.sec-grey .drawing, .sec-grey .illus { border-color: var(--line); }
/* Tinted page hero gets an edge so it never merges into a tinted section below. */
.page-hero { border-bottom: 1px solid var(--line); }
/* Header CTA is secondary, so each hero's primary button is the only filled one on screen. */
.header-cta.btn-ghost { color: var(--brand-ink); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.header-cta.btn-ghost:hover { background: var(--tint); border-color: var(--brand); }
/* Plan picker ticks: SVG icon via mask instead of a Unicode glyph. */
.is-light .cfg-feats li::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; color: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-light .cfg-feats li { gap: 6px; }
.is-light .cfg-feats li.off::before { color: var(--muted);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* Scroll boxes contain their absolutely positioned .sr-only labels (pre-existing mobile overflow on /hosting). */
.spec-wrap, .table-scroll-x, .tld-wrap { position: relative; }

/* ---------- Offer card: real plan + price in the product-page hero ---------- */
.offer { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-pop); overflow: hidden; }
:root.dark .offer { border-color: var(--line-strong); }
.offer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); background: var(--surface-2); }
.offer-live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-weight: 650; white-space: nowrap; flex: none; }
.offer-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.offer-body { padding: 22px; }
.offer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.offer-name { font-size: 1.25rem; letter-spacing: -.015em; }
.offer-tag { flex: none; font-size: 12.5px; font-weight: 700; color: var(--brand-ink); background: var(--tint); border: 1px solid color-mix(in oklab, var(--brand) 22%, var(--line)); padding: 3px 9px; border-radius: var(--r-sm); }
.offer-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.offer-amt { display: flex; align-items: baseline; gap: 2px; }
.offer-amt .cur { font-size: 1.4rem; font-weight: 600; color: var(--muted); align-self: flex-start; margin-top: 8px; }
.offer-amt b { font-size: clamp(2.8rem, 2.2rem + 1.8vw, 3.6rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.offer-amt .per { color: var(--muted); margin-left: 4px; }
.offer-was { display: flex; flex-direction: column; align-items: flex-end; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.offer-was span { color: var(--ok); font-weight: 700; }
.offer-quote { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.offer-note { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.offer-specs { margin: 16px 0 4px; border-top: 1px solid var(--line); }
.offer-specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.offer-specs dt { color: var(--muted); }
.offer-specs dd { font-weight: 600; text-align: right; }
.offer-ticks { margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); gap: 9px; }
.offer-chips, .offer-logos { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 16px; }
.offer-chips p, .offer-logos p { font-size: .82rem; color: var(--muted); }
.offer-chips ul { display: flex; flex-wrap: wrap; gap: 6px; }
.offer-chips li { font-size: .84rem; font-weight: 600; color: var(--fg-2); padding: 4px 10px; border-radius: var(--r-sm); background: var(--surface-3); }
.offer-logos ul { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.offer-logos img { width: auto; }
:root.dark .offer-logos img { filter: grayscale(1) invert(1) brightness(1.6); opacity: .8; }
.offer-go { width: 100%; margin-top: 20px; }
.offer-fine { margin-top: 10px; text-align: center; font-size: .82rem; color: var(--muted); }
.page-hero-grid:has(.offer) { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
@media (max-width: 960px) { .page-hero-grid:has(.offer) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .offer-body { padding: 18px 16px; } .offer-bar { padding: 12px 16px; } }

/* ==========================================================================
   Product-page heroes: one variant per product family.
   - .hv-soft    WordPress / WooCommerce / Student: lavender split + plan card
   - .hv-server  VPS / Cloud / Dedicated: centred, graphite, wide spec strip
   - .hv-search  Domains: centred, search is the hero
   - .hv-plain   Storage / Colocation / SSL: clean white split + plan card
   - .hv-photo   Shared hosting / Reseller: copy left, photo right with a price tag
   The homepage keeps its own deep violet .hx hero.
   ========================================================================== */
.page-hero[class*="hv-"], .hero[class*="hv-"] { border-bottom: 1px solid var(--line); }
.hero-from { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; color: var(--muted); }
.hero-from b { color: var(--fg); font-size: clamp(2.1rem, 1.7rem + 1.2vw, 2.7rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .95rem; color: var(--fg-2); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .ico { width: 18px; height: 18px; color: var(--ok); }
.page-hero[class*="hv-"] .actions, .hero[class*="hv-"] .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Soft: lavender, card lifted */
.hv-soft { position: relative; isolation: isolate; background: #efebff; border-bottom: 0 !important; }
.hv-soft::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 20%, rgb(110 72 255 / .16), transparent 70%); }
:root.dark .hv-soft { background: #17133a; }
:root.dark .hv-soft::before { background: radial-gradient(50% 70% at 85% 20%, rgb(110 72 255 / .28), transparent 70%); }
.hv-soft .offer { border-color: transparent; box-shadow: var(--shadow-pop); }

/* Plain: white, card bordered not floating */
.hv-plain { background: var(--surface); }
.hv-plain .offer { box-shadow: none; border-color: var(--line-strong); }
.hv-plain h1 { max-width: 16ch; }

/* Server: centred copy, graphite surface, horizontal spec strip */
.hv-server { --g: #101216; background: var(--g); color: #eef0f4; text-align: center; padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); border-bottom: 0; }
.hv-server .page-hero-grid, .hv-server .page-hero-grid:has(.offer) { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(36px, 4vw, 56px); }
.hv-server .page-hero-grid > div:first-child { max-width: 780px; }
.hv-server .crumbs { justify-content: center; color: #9aa1ad; }
.hv-server .crumbs a:hover, .hv-server .crumbs [aria-current] { color: #fff; }
.hv-server h1 { color: #fff; max-width: 20ch; margin-left: auto; margin-right: auto; }
.hv-server .lede { color: #b8bec9; margin: 0 auto 26px; }
.hv-server .hero-from { justify-content: center; color: #9aa1ad; }
.hv-server .hero-from b { color: #fff; }
.hv-server .actions { justify-content: center; }
.hv-server .hero-checks { justify-content: center; color: #b8bec9; }
.hv-server .hero-checks .ico { color: #6ee0a8; }
.hv-server .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .28); box-shadow: none; }
.hv-server .btn-ghost:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .55); color: #fff; }
.hv-server .link-go { color: #fff; }
.hv-server .offer { width: 100%; max-width: 1080px; text-align: left; border: 0; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .8); }
:root.dark .hv-server .offer { border: 1px solid var(--line-strong); }
@media (min-width: 900px) {
  .hv-server .offer-body { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 2fr); column-gap: 32px; align-items: start;
    grid-template-areas: "head specs" "price specs" "note specs" "go chips" "fine chips"; }
  .hv-server .offer-head { grid-area: head; }
  .hv-server .offer-price { grid-area: price; }
  .hv-server .offer-note { grid-area: note; }
  .hv-server .offer-go { grid-area: go; }
  .hv-server .offer-fine { grid-area: fine; }
  .hv-server .offer-chips { grid-area: chips; align-self: end; margin-top: 0; padding-top: 16px; }
  .hv-server .offer-specs { grid-area: specs; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .hv-server .offer-specs > div { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; border-bottom: 0; border-right: 1px solid var(--line); }
  .hv-server .offer-specs > div:last-child { border-right: 0; }
  .hv-server .offer-specs dd { text-align: left; font-size: 1.02rem; }
  .hv-server .offer-specs dt { font-size: .85rem; }
}

/* Search: centred, the search bar is the hero */
.hv-search { background: linear-gradient(180deg, var(--tint) 0%, var(--surface) 100%); text-align: center; padding: clamp(48px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); }
.hv-search .page-hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hv-search .page-hero-grid > div { max-width: 820px; width: 100%; }
.hv-search .crumbs { justify-content: center; }
.hv-search h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.hv-search .lede { margin: 0 auto 30px; }
.hv-search .domain { max-width: 720px; margin: 0 auto; text-align: left; }
.hv-search .domain-label { text-align: center; }
.hv-search .domain-bar { padding: 8px; border-radius: 16px; border-color: transparent; box-shadow: var(--shadow-pop); }
.hv-search .domain-bar input { font-size: 1.15rem; padding: 12px 14px; }
.hv-search .domain-bar .btn { min-height: 50px; padding: 0 28px; font-size: 16px; }
.hv-search .tlds { justify-content: center; }
.hv-search .hero-checks { justify-content: center; }

/* Photo (style B): shared hosting + reseller. Copy left, photo right with a price tag. */
.hv-photo { background: var(--surface); }
.hv-photo .page-hero-grid, .hv-photo .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hv-photo h1 { max-width: 15ch; }
.hv-photo.is-soft { position: relative; isolation: isolate; background: #efebff; border-bottom: 0; }
:root.dark .hv-photo.is-soft { background: #17133a; }
.hero-shot { position: relative; margin: 0; }
.hero-shot img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-pop); }
.hero-tag { position: absolute; left: -28px; bottom: 32px; display: grid; gap: 2px; min-width: 190px; padding: 14px 18px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.hero-tag small { font-size: .8rem; color: var(--muted); }
.hero-tag b { font-size: 1.6rem; font-weight: 750; letter-spacing: -.025em; line-height: 1.15; }
.hero-tag b em { font-style: normal; font-size: .92rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.hero-tag span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 650; color: var(--ok); }
.hero-tag span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (max-width: 960px) {
  .hv-photo .page-hero-grid, .hv-photo .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-shot img { aspect-ratio: 16 / 10; }
  .hero-tag { left: 16px; bottom: 16px; }
}

@media (max-width: 520px) {
  .page-hero[class*="hv-"] .actions, .hero[class*="hv-"] .actions { flex-direction: column; align-items: stretch; }
  .page-hero[class*="hv-"] .actions .btn, .hero[class*="hv-"] .actions .btn { width: 100%; }
  .page-hero[class*="hv-"] .actions .link-go { justify-content: center; }
  .hero-tag { min-width: 0; padding: 10px 14px; } .hero-tag b { font-size: 1.3rem; }
}
