/* Techpullers — Cloud VPS, Managed Cloud, Dedicated and Storage Box pages.
   Builds on style.css tokens; nothing here overrides global components. */

/* ── Hero price ─────────────────────────────────────────── */
.hz-hero__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:var(--space-lg);color:#fff}
.hz-hero__from{font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--c-eyebrow-dark)}
.hz-hero__price [data-hz-from]{font-size:44px;line-height:1;font-weight:800;letter-spacing:-1px}
.hz-hero__per{font-size:16px;color:var(--c-on-dark)}
.hz-hero__usd{flex-basis:100%;font-size:14px;color:var(--c-on-dark-soft)}

/* ── Facts strip ─────────────────────────────────────────── */
.hz-facts{background:#fff;border-bottom:1px solid var(--c-border)}
.hz-facts__list{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--c-border);margin:0;padding:0;list-style:none}
.hz-facts__list li{background:#fff;padding:20px 16px;text-align:center}
.hz-facts__list b{display:block;font-size:26px;line-height:32px;font-weight:800;color:var(--c-heading)}
.hz-facts__list span{display:block;font-size:14px;line-height:20px;color:var(--c-meta);margin-top:2px}
@media (min-width:900px){.hz-facts__list{grid-template-columns:repeat(4,1fr)}.hz-facts__list li{padding:28px 16px}}

/* ── Plan families ─────────────────────────────────────── */
.section__head .lead{max-width:760px;margin-top:12px;font-size:18px;line-height:28px}
.hz-tiers{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 var(--space-xl)}
.hz-tiers a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid var(--c-border);border-radius:999px;
  background:#fff;color:var(--c-heading);font-weight:700;font-size:15px;text-decoration:none;transition:border-color var(--transition),background var(--transition)}
.hz-tiers a:hover,.hz-tiers a:focus-visible{border-color:var(--c-accent);background:#FFF4EC}
.hz-tier{scroll-margin-top:96px}
.hz-tier + .hz-tier{margin-top:var(--space-3xl)}
.hz-tier__head{display:flex;flex-direction:column;gap:6px;margin-bottom:var(--space-lg);padding-bottom:14px;border-bottom:1px solid var(--c-border)}
.hz-tier__head h3{font-size:24px;line-height:30px}
.hz-tier__head p{max-width:720px;color:var(--c-body)}

/* ── Plan cards ─────────────────────────────────────────── */
.hz-grid{gap:var(--space-lg)}
.hz-plan{display:flex;flex-direction:column;position:relative}
.hz-plan .plan__name{font-size:22px;line-height:28px;margin-top:2px}
.hz-plan .plan__tagline{min-height:0;font-size:15px;line-height:22px}
.hz-plan .btn{margin-top:auto}
.hz-plan .plan__gst{margin-bottom:var(--space-lg)}
.hz-plan__code{display:inline-block;align-self:flex-start;font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--c-primary);
  background:#FFF1E6;border-radius:4px;padding:3px 8px}
.hz-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:var(--space-md) 0 0;padding:0;list-style:none}
.hz-specs li{background:var(--c-bg-alt);border-radius:6px;padding:8px 10px;min-width:0}
.hz-specs span{display:block;font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.05em;color:var(--c-meta)}
.hz-specs b{display:block;font-size:15px;line-height:21px;color:var(--c-heading);overflow-wrap:anywhere}
.hz-plan .plan__price{margin-top:var(--space-md)}
@media (min-width:1100px){
  .hz-grid--4{grid-template-columns:repeat(4,1fr)}
  .hz-grid--4 .plan--featured{transform:none}
  .hz-grid--4 .plan__amt{font-size:36px}
}
/* dedicated: long CPU names read better as a stacked list */
#tier-ex .hz-specs{grid-template-columns:1fr}

/* ── Location price table ─────────────────────────────── */
.hz-loc{margin-top:var(--space-lg);border:1px solid var(--c-border);border-radius:var(--radius-card);background:#fff}
.hz-loc summary{cursor:pointer;padding:14px 18px;font-weight:700;color:var(--c-heading);min-height:44px}
.hz-loc summary:hover{color:var(--c-primary)}
.hz-loc .table-wrap{margin:0 18px 18px}
.hz-loc td,.hz-loc th{white-space:nowrap}
.hz-na{color:var(--c-meta)}

/* ── Notes ─────────────────────────────────────────────── */
.hz-footnote{font-size:14px;line-height:22px;color:var(--c-meta);margin-top:var(--space-md)}
.hz-note{max-width:820px;margin-top:var(--space-lg);padding:14px 18px;border-radius:var(--radius-card);background:var(--c-bg-alt);font-size:16px;line-height:26px}
.section--alt .hz-note{background:#fff}
.hz-custom{display:grid;gap:var(--space-md);align-items:center;margin-top:var(--space-xl);padding:var(--space-lg);border-radius:var(--radius-card);
  background:var(--grad-dark);color:var(--c-on-dark)}
.hz-custom h3{color:#fff;margin-bottom:6px}
@media (min-width:900px){.hz-custom{grid-template-columns:1fr auto;padding:var(--space-xl)}}

/* ── Compare columns ─────────────────────────────────── */
.hz-compare{display:grid;gap:var(--space-lg)}
.hz-compare__col{background:#fff;border:1px solid var(--c-border);border-radius:var(--radius-card);padding:var(--space-lg)}
.hz-compare__col--pick{border-top:3px solid var(--c-accent)}
.hz-compare__tag{font-size:14px;font-weight:700;color:var(--c-primary);margin:4px 0 10px}
.hz-compare .tick-list{margin-top:var(--space-md)}
@media (min-width:900px){.hz-compare{grid-template-columns:repeat(3,1fr)}}

.hz-split{display:grid;gap:var(--space-lg)}
.hz-split > div{background:#fff;border:1px solid var(--c-border);border-radius:var(--radius-card);padding:var(--space-lg)}
.hz-split h3{margin-bottom:10px}
.hz-split .tick-list{margin-top:6px}
@media (min-width:900px){.hz-split{grid-template-columns:1fr 1fr}}

/* ── Feature grid ─────────────────────────────────────── */
.hz-feat{display:grid;gap:var(--space-lg)}
.hz-feat__item{background:#fff;border:1px solid var(--c-border);border-radius:var(--radius-card);padding:var(--space-lg)}
.section--alt .hz-feat__item{border-color:transparent}
.hz-feat__item .feature__ico{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:10px;margin-bottom:12px}
.hz-feat__item h3{font-size:19px;line-height:26px;margin-bottom:6px}
.hz-feat__item p{font-size:16px;line-height:25px}
@media (min-width:700px){.hz-feat{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.hz-feat{grid-template-columns:repeat(3,1fr)}}

/* ── Locations ─────────────────────────────────────────── */
.hz-locs{display:grid;gap:var(--space-md);margin:0;padding:0;list-style:none}
.hz-locs li{background:#fff;border:1px solid var(--c-border);border-radius:var(--radius-card);padding:18px 20px}
.hz-locs b{display:block;font-size:17px;color:var(--c-heading)}
.hz-locs span{display:block;font-size:15px;line-height:23px;margin-top:4px}
@media (min-width:700px){.hz-locs{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.hz-locs{grid-template-columns:repeat(4,1fr)}}

/* ── Order steps ─────────────────────────────────────── */
.hz-steps{display:grid;gap:var(--space-lg);margin:0;padding:0;list-style:none;counter-reset:hz}
.hz-steps li{position:relative;padding:var(--space-lg);padding-top:64px;background:var(--c-bg-alt);border-radius:var(--radius-card);counter-increment:hz}
.hz-steps li::before{content:counter(hz);position:absolute;top:20px;left:var(--space-lg);width:34px;height:34px;border-radius:50%;
  background:var(--c-primary);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.hz-steps b{display:block;font-size:18px;color:var(--c-heading);margin-bottom:6px}
.hz-steps span{display:block;font-size:16px;line-height:25px}
@media (min-width:700px){.hz-steps{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.hz-steps{grid-template-columns:repeat(4,1fr)}}

/* ── Storage: protocols + code ───────────────────────── */
.hz-proto{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 var(--space-lg);padding:0;list-style:none}
.hz-proto li{padding:6px 14px;border-radius:999px;background:#fff;border:1px solid var(--c-border);font-weight:700;font-size:14px;color:var(--c-heading)}
.hz-code{margin-top:12px;padding:14px 16px;border-radius:6px;background:#1D1D1D;color:#F5F5F5;font-size:13px;line-height:20px;overflow-x:auto}
.hz-code code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre}

/* ── Managed table ─────────────────────────────────────── */
.hz-mtable th[scope=row]{width:180px;white-space:nowrap;vertical-align:top}
.hz-mtable td{line-height:25px}

@media (prefers-reduced-motion:reduce){.hz-tiers a{transition:none}}

/* where-line + 3-up grids */
.hz-plan__where{font-size:13px;line-height:20px;color:var(--c-meta);margin:2px 0 var(--space-lg)}
.hz-plan .plan__gst{margin-bottom:0}
@media (min-width:1100px){.hz-grid--3{grid-template-columns:repeat(3,1fr)}}
/* keep wide children (code samples) from stretching grid columns on phones */
.hz-split,.hz-feat,.hz-compare,.hz-steps,.hz-locs{grid-template-columns:minmax(0,1fr)}
.hz-split > div,.hz-feat__item,.hz-compare__col{min-width:0}
@media (min-width:700px){.hz-feat,.hz-locs,.hz-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){.hz-split{grid-template-columns:repeat(2,minmax(0,1fr))}.hz-compare{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1100px){.hz-feat{grid-template-columns:repeat(3,minmax(0,1fr))}.hz-locs,.hz-steps{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ── Interaction layer (hz.js) ─────────────────────────── */
/* plan-family nav stays reachable while browsing 16 plans */
.hz-tiers{position:sticky;top:64px;z-index:5;padding:10px 0;margin-top:-10px;background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:saturate(160%) blur(8px);backdrop-filter:saturate(160%) blur(8px)}
.hz-tiers a[aria-current="true"]{background:var(--c-heading);border-color:var(--c-heading);color:#fff}
.hz-tier{scroll-margin-top:136px}

/* order button feedback */
.hz-plan .btn{position:relative;transition:background var(--transition),transform .15s ease,box-shadow var(--transition)}
.hz-plan .btn::after{content:"\2192";display:inline-block;margin-left:8px;transition:transform .2s ease}
.hz-plan .btn:hover::after,.hz-plan .btn:focus-visible::after{transform:translateX(4px)}
.hz-plan .btn:active{transform:scale(.98)}

/* reveal: only when JS opted in (html.hz-anim) — no-JS users see everything */
.hz-anim :is(.hz-grid,.hz-feat,.hz-steps,.hz-locs,.hz-compare,.hz-split) > *{opacity:0;transform:translateY(14px);
  transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.hz-anim :is(.hz-grid,.hz-feat,.hz-steps,.hz-locs,.hz-compare,.hz-split).is-in > *{opacity:1;transform:none}
.hz-anim .hz-grid.is-in > .plan--featured{transform:none}

@media (prefers-reduced-motion:reduce){
  .hz-plan .btn,.hz-plan .btn::after{transition:none}
  .hz-plan .btn:active{transform:none}
}
@media (max-width:699px){
  .hz-tiers{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:calc(var(--gutter) * -1);margin-right:calc(var(--gutter) * -1);padding-left:var(--gutter);padding-right:var(--gutter)}
  .hz-tiers::-webkit-scrollbar{display:none}
  .hz-tiers a{flex:none}
}
