/* =========================================================
   ProHosty frontend stylesheet (hand-written, token driven)
   Load order: tokens.css -> app.css
   Sections: 1 base, 2 layout, 3 typography, 4 buttons, 5 badges,
   6 cards, 7 pricing, 8 forms, 9 header, 10 footer, 11 tables,
   12 accordion, 13 hero, 14 utilities
   ========================================================= */

/* 1. Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* 2. Layout ----------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--surface-2); }
.section-tint { background: var(--brand-50); }
.section-dark { background: var(--brand-900); color: #fff; }
.section-head { max-width: 680px; margin: 0 auto var(--space-12); text-align: center; }
.section-head p { font-size: var(--text-lg); color: var(--ink-500); margin: var(--space-3) 0 0; }
.grid { display: grid; gap: var(--space-6); }
.grid > * { min-width: 0; }
@media (min-width: 640px) and (max-width: 1279px) { .grid-pricing.grid-4 { grid-template-columns: repeat(2, 1fr); } }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1023px) { .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } }
.split { display: grid; gap: var(--space-12); align-items: center; grid-template-columns: 1fr; }
.split > * { min-width: 0; }
.media { display: block; width: 100%; height: auto; margin: 0 auto; }
.media-lg { max-width: 480px; } .media-md { max-width: 400px; } .media-sm { max-width: 320px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.1fr 0.9fr; } .split-reverse > :first-child { order: 2; } }
.stack > * + * { margin-top: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; list-style: none; }   /* also used on <ul> (sitemap, deals): no bullet dots */

/* 3. Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  color: var(--ink-900);
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
h1, .h1 { font-size: var(--text-4xl); }
h2, .h2 { font-size: var(--text-3xl); }
h3, .h3 { font-size: var(--text-2xl); }
h4, .h4 { font-size: var(--text-xl); font-weight: 600; }
h5 { font-size: var(--text-lg); font-weight: 600; }
.display { font-size: clamp(2.25rem, 9vw, var(--text-5xl)); letter-spacing: -0.025em; }
@media (min-width: 768px) {
  h1, .h1 { font-size: var(--text-5xl); }
  h2, .h2 { font-size: var(--text-4xl); }
  .display { font-size: var(--text-6xl); }
}
p { margin: 0 0 var(--space-4); }
.lead { font-size: var(--text-lg); color: var(--ink-500); }
.eyebrow { display: inline-block; font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-600); margin-bottom: var(--space-3); }
.muted { color: var(--ink-500); }
.small { font-size: var(--text-sm); }
.prose { max-width: 65ch; }
.prose h2 { margin-top: var(--space-8); }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: var(--space-4); }
.check-list { list-style: none; }
.check-list li { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-1) 0; }
.check-list .icon { color: var(--success); margin-top: 0.2em; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: #fff; }
.on-dark .lead, .on-dark .muted { color: rgba(255,255,255,0.78); }

/* 4. Buttons ---------------------------------------------- */
/* One button family: same height, radius, weight and motion everywhere; variants only change colour.
   Hover = colour + a soft shadow (no size change), active = 1px press, focus = the brand ring. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-h); padding: 0 22px;
  font: inherit; font-weight: 600; font-size: var(--text-sm); line-height: 1; letter-spacing: 0.005em;
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  white-space: nowrap; text-decoration: none; user-select: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform var(--dur) var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-md); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgba(3, 25, 116, 0.18); }
.btn-primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 6px 16px rgba(3, 93, 237, 0.26); }
.btn-primary:active { box-shadow: 0 1px 2px rgba(3, 25, 116, 0.18); }
.btn-secondary { background: var(--surface); color: var(--brand-600); border-color: var(--brand-200); }
.btn-secondary:hover { background: var(--brand-50); border-color: var(--brand-600); color: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink-900); }
.btn-white { background: #fff; color: var(--brand-900); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12); }
.btn-white:hover { background: var(--brand-50); color: var(--brand-900); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3); }
.btn-sm { height: var(--control-h-sm); padding: 0 var(--space-4); font-size: 13px; }
.btn-lg { height: 52px; padding: 0 var(--space-8); font-size: var(--text-base); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled, .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; box-shadow: none; }

/* 5. Badges ----------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 600; line-height: 1; }
.badge-brand { background: var(--brand-100); color: var(--brand-700); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: #b45309; }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-dark { background: var(--brand-900); color: #fff; }

/* 6. Cards ------------------------------------------------ */
/* One card style: hairline border, soft 1px shadow, 16px radius, 24px padding. Hover (where the card is a
   link or a choice) lifts 2px and tints the border; nothing changes size, so the grid never jumps. */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.card-hover:hover, a.card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200); transform: translateY(-2px); }
.card-lg { padding: var(--space-8); }
.card > :last-child { margin-bottom: 0; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-100); color: var(--brand-600); margin-bottom: var(--space-4); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.card-hover:hover > .icon-tile, .feature-row:hover > .icon-tile { background: var(--brand-600); color: #fff; }
.icon-tile .icon { width: 24px; height: 24px; }
.feature-card h4 { margin-bottom: var(--space-2); }
.feature-card p { margin: 0; color: var(--ink-500); font-size: var(--text-sm); }
.tld-card { text-align: center; }
.tld-card .tld { font-size: var(--text-3xl); font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; }
.tld-card .price { font-size: var(--text-xl); font-weight: 700; color: var(--brand-600); }
.tld-card del { color: var(--ink-500); font-weight: 400; font-size: var(--text-sm); margin-right: 6px; }
.testimonial .stars { display: flex; gap: 2px; color: var(--warning); margin-bottom: var(--space-3); }
.testimonial .stars .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 var(--space-4); color: var(--ink-700); }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--ink-900); font-size: var(--text-sm); }
.stat { text-align: center; }
.stat strong { display: block; font-size: var(--text-4xl); color: var(--brand-600); font-weight: 700; letter-spacing: -0.02em; }
.stat span { color: var(--ink-500); font-size: var(--text-sm); }

/* 7. Pricing ---------------------------------------------- */
.pricing-card { display: flex; flex-direction: column; position: relative; }
.pricing-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200); }
/* the popular card keeps the 1px border (so all cards stay the same size) and gets a brand outline instead */
.pricing-card.is-popular { border-color: var(--brand-600); box-shadow: 0 0 0 1px var(--brand-600), var(--shadow-md); }
.pricing-card.is-popular:hover { border-color: var(--brand-600); box-shadow: 0 0 0 1px var(--brand-600), var(--shadow-lg); }
.pricing-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.pricing-card .plan-name { font-size: var(--text-xl); margin-bottom: var(--space-1); }
.pricing-card .plan-desc { color: var(--ink-500); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.price-block { padding: var(--space-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: var(--space-4); }
.price-block .amount { font-size: var(--text-4xl); font-weight: 700; color: var(--ink-900); letter-spacing: -0.03em; line-height: 1; }
.price-block .amount small { font-size: var(--text-base); font-weight: 500; color: var(--ink-500); letter-spacing: 0; }
.price-block .was { color: var(--ink-500); font-size: var(--text-sm); margin-top: 6px; }
.price-block .was del { margin-right: 6px; }
.pricing-card .features { list-style: none; margin: 0 0 var(--space-6); flex: 1; }
.pricing-card .features li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); padding: 5px 0; }
.pricing-card .features .icon { width: 18px; height: 18px; color: var(--success); margin-top: 2px; }
.pricing-card .features strong { color: var(--ink-900); font-weight: 600; }
.pricing-card .plan-more { display: block; margin-top: var(--space-3); text-align: center; font-size: var(--text-sm); font-weight: 500; color: var(--ink-500); }
.pricing-card .plan-more:hover { color: var(--brand-600); }
/* Tenure selector (Alpine) */
.tenure { position: relative; margin-bottom: var(--space-3); }
/* selector switched off (Shiv27 Theme Options): one line naming the term, then the Buy button */
.pricing-card .plan-term { margin: 0 0 var(--space-3); text-align: center; font-size: var(--text-xs); color: var(--ink-500); }
.tenure-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); text-align: left; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 12px; font: inherit; cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tenure-btn:hover { border-color: var(--brand-200); background: var(--surface); }
.tenure-btn:focus-visible { outline: none; border-color: var(--brand-600); box-shadow: var(--ring); }
.tenure[data-open="true"] .tenure-btn { border-color: var(--brand-600); background: var(--surface); }
.tenure-btn .icon { color: var(--ink-500); transition: transform var(--dur) var(--ease); }
.tenure[data-open="true"] .tenure-btn .icon { transform: rotate(180deg); }
.tenure-line { display: flex; flex-direction: column; }
.tenure-line b { font-size: var(--text-sm); color: var(--ink-900); }
.tenure-line span { font-size: var(--text-xs); color: var(--ink-500); }
.tenure-list { position: absolute; z-index: 20; inset: calc(100% + 6px) 0 auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 4px; list-style: none; max-height: 320px; overflow: auto; }
.tenure-list { animation: ph-pop var(--dur) var(--ease); transform-origin: top center; }
@keyframes ph-pop { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
.tenure-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--dur) var(--ease); }
.tenure-list li:hover, .tenure-list li[aria-selected="true"] { background: var(--brand-50); }
.save-pill { font-size: var(--text-xs); font-weight: 700; color: var(--brand-700); background: var(--brand-100); border-radius: var(--radius-full); padding: 3px 8px; }

/* 8. Forms ------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); }
.input, .select, .textarea {
  width: 100%; height: var(--control-h); padding: 0 var(--space-4);
  font: inherit; color: var(--ink-900); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { height: auto; min-height: 120px; padding: var(--space-3) var(--space-4); resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--ring); }
.input::placeholder { color: var(--ink-300); }
.field .hint { font-size: var(--text-xs); color: var(--ink-500); }
.field.is-invalid .input { border-color: var(--danger); }
.field.is-invalid .hint { color: var(--danger); }
.input-group { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.input-group:focus-within { border-color: var(--brand-600); box-shadow: var(--ring); }
.input-group .input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.input-group .input:focus { box-shadow: none; }
.input-group .btn { border-radius: 0; height: auto; }
.domain-search { max-width: 640px; }
.domain-search .input-group { height: 56px; border-radius: var(--radius-lg); padding: 6px; gap: 6px; }
@media (max-width: 479px) { .domain-search .btn span { display: none; } .domain-search .btn { padding: 0 14px; } }
.domain-search .input { height: 100%; }
.domain-search .btn { border-radius: var(--radius-md); height: 100%; }

/* 9-10. Header and footer ------------------------------- */
/* The top bar, header, mega menu, mobile drawer, footer and WhatsApp button live in css/chrome.css
   ("phc-" classes). That file is shared with the WHMCS client area, so they are not styled here. */
.social { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); list-style: none; }
.social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--brand-50); color: var(--brand-600); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.social a:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.social .icon { width: 18px; height: 18px; }

/* 11. Tables ---------------------------------------------- */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); } /* position:relative keeps .sr-only cells inside the scroller */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--text-sm); min-width: 640px; }
.table th, .table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); transition: background-color var(--dur) var(--ease); }
.table th:first-child, .table td:first-child { text-align: left; position: sticky; left: 0; z-index: 1; background: var(--surface); font-weight: 600; color: var(--ink-900); }
.table thead th { background: var(--surface-2); color: var(--ink-900); font-weight: 600; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover > * { background: var(--surface-2); }
.table .yes { color: var(--success); } .table .no { color: var(--danger); }

/* Head-to-head comparison: ProHosty's column is the one highlighted block (brand header, tinted cells,
   solid ticks, bold figures); competitor columns stay grey so the eye lands on ours. */
.compare-table { min-width: 760px; }
.compare-table th, .compare-table td { padding: 15px 16px; vertical-align: middle; }
.compare-table thead th { padding-top: 18px; padding-bottom: 18px; background: var(--surface); color: var(--ink-500); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.compare-table thead th:first-child { color: var(--ink-500); }
.compare-table th[scope="row"] { font-weight: 500; color: var(--ink-900); min-width: 200px; }
.compare-table td { color: var(--ink-500); }
.compare-table td .icon { width: 18px; height: 18px; margin: 0 auto; }
.compare-table .cmp-yes { color: var(--ink-500); }
.compare-table .cmp-no { color: var(--ink-300); }
.compare-table .cmp-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--radius-full); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-500); font-size: 11px; font-weight: 600; }
.compare-table td small { display: block; color: var(--ink-500); font-size: 11px; font-weight: 400; }
.compare-table .cmp-price { font-size: var(--text-base); font-weight: 600; color: var(--ink-700); }
/* our column */
.compare-table .is-us { position: relative; background: var(--brand-50); color: var(--brand-900); font-weight: 700; border-left: 1px solid var(--brand-200); border-right: 1px solid var(--brand-200); min-width: 150px; }
.compare-table thead .is-us { background: var(--gradient-brand); color: #fff; border-color: var(--brand-600); border-bottom-color: transparent; font-size: var(--text-base); letter-spacing: 0; text-transform: none; }
.compare-table thead .is-us b { display: block; font-weight: 700; line-height: 1.2; }
.compare-table thead .is-us .cmp-flag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; margin-bottom: 6px; border-radius: var(--radius-full); background: rgba(255,255,255,0.16); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.compare-table thead .is-us .cmp-flag .icon { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.compare-table .is-us .cmp-check { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--success); color: #fff; box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3); }
.compare-table .is-us .cmp-check .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.compare-table .is-us .cmp-price { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; color: var(--brand-600); line-height: 1.1; }
.compare-table .is-us small { color: var(--brand-700); font-weight: 600; }
.compare-table tbody tr:hover > * { background: var(--surface-2); }
.compare-table tbody tr:hover > .is-us { background: var(--brand-100); }
.compare-table tfoot td { padding: 16px; border-bottom: 0; border-top: 1px solid var(--line); background: var(--surface); }
.compare-table tfoot td:first-child { position: sticky; left: 0; color: var(--ink-500); font-size: var(--text-xs); font-weight: 400; }
.compare-table tfoot .is-us { background: var(--brand-50); border-top-color: var(--brand-200); }
.compare-hint { display: none; }
@media (max-width: 859px) {
  .compare-hint { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 0 0 var(--space-2); color: var(--ink-500); font-size: var(--text-xs); }
  .compare-hint .icon { width: 14px; height: 14px; }
  .compare-table th[scope="row"] { min-width: 150px; }
  .compare-table th, .compare-table td { padding: 13px 12px; }
}

/* 12. Accordion ------------------------------------------- */
/* Each question is its own card. Opening animates the height (app.js) and turns the + into a filled ×;
   the answer is real text inside <details>, so it works without JavaScript and for screen readers. */
.accordion { display: grid; gap: var(--space-3); }
.accordion details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.accordion details:hover { border-color: var(--brand-200); }
.accordion details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 18px 20px; font-weight: 600; color: var(--ink-900); transition: color var(--dur) var(--ease); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--brand-700); }
.accordion summary:focus-visible { outline: none; box-shadow: inset var(--ring); border-radius: var(--radius-lg); }
.accordion .faq-toggle { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); transition: transform 240ms var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.accordion .faq-toggle .icon { width: 16px; height: 16px; }
.accordion details[open] .faq-toggle { transform: rotate(45deg); background: var(--brand-600); color: #fff; }
.accordion .body { padding: 0 20px 20px; color: var(--ink-700); }
.accordion .body p { max-width: 70ch; }
@media (max-width: 479px) { .accordion summary { padding: 16px; } .accordion .body { padding: 0 16px 16px; } }

/* 13. Hero ------------------------------------------------ */
.hero { position: relative; padding: var(--hero-y) 0; background: var(--gradient-brand); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,0.12), transparent); pointer-events: none; }
.hero .container { position: relative; }
.hero-light { background: var(--brand-50); color: var(--ink-700); }
.hero-light::after { display: none; }
.tld-strip { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.tld-strip a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: var(--radius-full); background: rgba(255,255,255,0.12); color: #fff; font-size: var(--text-sm); }
.tld-strip a b { font-weight: 600; } .tld-strip a span { opacity: 0.8; }
.hero-light .tld-strip a { background: var(--surface); border: 1px solid var(--line); color: var(--ink-700); }
.offer-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-xl); padding: var(--space-8); text-align: center; backdrop-filter: blur(6px); }
.offer-panel .discount { font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
/* the coupons of the offer panel share one grid cell and cross-fade: the cell is as tall as the tallest coupon,
   so the panel keeps its size while they change (showing/hiding them one after the other made it jump) */
.offer-slides { display: grid; }
.offer-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms; }
.offer-slide.is-active { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
.coupon { display: inline-flex; align-items: center; border: 2px dashed var(--warning); border-radius: var(--radius-md); padding: 4px; margin-top: var(--space-4); background: rgba(255,255,255,0.08); }
.coupon code { font-family: ui-monospace, Menlo, monospace; font-size: var(--text-xl); font-weight: 700; letter-spacing: 0.12em; padding: 6px 14px; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--space-6); }
.slider-nav button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.slider-nav button:hover { background: rgba(255,255,255,0.15); }
.slider-nav .dot { width: 9px; height: 9px; border: 0; background: rgba(255,255,255,0.5); transition: width var(--dur) var(--ease), background var(--dur) var(--ease); }
.slider-nav .dot.is-active { width: 22px; border-radius: var(--radius-full); background: var(--warning); }
.rot-90 { transform: rotate(90deg); } .rot-270 { transform: rotate(270deg); }
.tld-strip { list-style: none; }
.countdown { display: inline-flex; gap: var(--space-3); }
.countdown div { min-width: 64px; padding: 10px 8px; border-radius: var(--radius-md); background: rgba(255,255,255,0.1); text-align: center; }
/* the owner's private preview of the home page offer (index.php?offer_preview=…): one line that says what visitors see */
.offer-preview-note { background: #fbbf24; color: #1f1300; text-align: center; font-size: var(--text-sm); line-height: 1.45; padding: 10px var(--gutter); }
.countdown b { display: block; font-size: var(--text-2xl); line-height: 1; } .countdown span { font-size: var(--text-xs); opacity: 0.8; }

/* Page header hero + breadcrumbs + WHOIS output */
.hero-page { padding: var(--space-12) 0 var(--space-12); }
.hero-page h1 { margin-bottom: var(--space-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--text-sm); margin-bottom: var(--space-4); opacity: .85; }
.crumbs a { color: #fff; } .crumbs span[aria-hidden] { opacity: .5; }
.whois-output { background: var(--ink-900); color: #e2e8f0; border-radius: var(--radius-lg); padding: var(--space-6); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; max-height: 70vh; overflow: auto; }
.narrow { max-width: 820px; margin: 0 auto; }
@media print { .no-print { display: none !important; } .whois-output { max-height: none; color: #000; background: #fff; border: 1px solid #ccc; } }

/* Team, badges, steps, deals */
.team-grid { list-style: none; display: grid; gap: var(--space-6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(5, 1fr); } }
.team-card { text-align: center; padding: var(--space-6) var(--space-4); }
.team-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto var(--space-4); border: 4px solid var(--brand-100); }
.team-card h3 { font-size: var(--text-base); margin-bottom: 2px; }
.social-link { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--brand-50); color: var(--brand-600); }
.social-link:hover { background: var(--brand-600); color: #fff; }
.badges-grid { list-style: none; display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .badges-grid { grid-template-columns: repeat(4, 1fr); } }
.badges-grid a { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: var(--space-4); }
.badges-grid img { max-height: 90px; width: auto; }
.steps { list-style: none; display: grid; gap: var(--space-6); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card { position: relative; text-align: center; padding-top: var(--space-8); }
.step-card .step-num { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-size: var(--text-xs); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.step-card img { width: 88px; height: 88px; margin: 0 auto var(--space-4); object-fit: contain; }
.deal-card { display: flex; flex-direction: column; text-align: center; }
.deal-title { font-size: var(--text-xl); text-transform: uppercase; letter-spacing: .02em; }
.deal-feats { justify-content: center; list-style: none; margin-bottom: var(--space-4); }
.deal-discount { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: var(--space-2) 0 var(--space-4); }
.deal-discount b { font-size: var(--text-6xl); line-height: 1; color: var(--brand-600); letter-spacing: -0.03em; }
.deal-discount span { font-size: var(--text-xl); font-weight: 700; color: var(--ink-900); }
.coupon-light { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); align-self: center; }
.deals-hero .big-off { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: .9; letter-spacing: -0.04em; }

/* Legal documents */
.legal { display: grid; gap: var(--space-8); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .legal { grid-template-columns: 280px 1fr; } .legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
.legal-toc ol { padding-left: 1.2em; margin: 0; font-size: var(--text-sm); }
.legal-toc li + li { margin-top: 6px; }
.legal-toc a { color: var(--ink-700); } .legal-toc a:hover { color: var(--brand-600); }
.legal-body { max-width: 76ch; }
.legal-section + .legal-section { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.legal-section h2 { font-size: var(--text-2xl); margin-top: 0; }
.legal-section h3 { font-size: var(--text-xl); margin-top: var(--space-6); }
.legal-section p { margin-bottom: var(--space-4); }
.legal-section ul, .legal-section ol { padding-left: 1.4em; margin-bottom: var(--space-4); }
.legal-section li + li { margin-top: 6px; }
.legal-section table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.legal-section th, .legal-section td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.rot-180 { transform: rotate(180deg); }

/* 13a. Product hero ---------------------------------------- */
.hero-side { display: flex; flex-direction: column; gap: var(--space-6); align-items: center; }
.hero-points { columns: 1; }
@media (min-width: 640px) { .hero-points { columns: 2; column-gap: var(--space-6); } .hero-points li { break-inside: avoid; } }
.price-panel { width: 100%; max-width: 360px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-8); text-align: center; backdrop-filter: blur(6px); }
.price-panel .big-price { font-size: var(--text-5xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: var(--space-3) 0 var(--space-2); }
.price-panel .big-price small { font-size: var(--text-base); font-weight: 500; opacity: .8; letter-spacing: 0; }
.price-panel .save-pill { background: var(--warning); color: #1f2937; }

/* Add-on toggle on pricing cards */
.addon-toggle { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: var(--space-3); border: 1px dashed var(--brand-200); border-radius: var(--radius-md); background: var(--brand-50); font-size: var(--text-sm); cursor: pointer; }
.addon-toggle input { width: 18px; height: 18px; accent-color: var(--brand-600); margin: 0; }
.addon-toggle b { margin-left: auto; color: var(--brand-700); font-weight: 600; white-space: nowrap; }
/* Tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-6); }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--radius-full); border: 1px solid var(--line); background: var(--surface); color: var(--ink-700); font: inherit; font-weight: 600; font-size: var(--text-sm); cursor: pointer; }
.tabs button:hover { border-color: var(--brand-200); color: var(--ink-900); }
.tabs button.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.tab-panel { gap: var(--space-8); }

/* VPS configurator + table */
.configurator { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .configurator { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.range { width: 100%; height: 8px; margin: var(--space-3) 0; appearance: none; background: linear-gradient(var(--brand-200), var(--brand-200)) no-repeat; background-color: var(--line); border-radius: 999px; cursor: pointer; }
.range::-webkit-slider-thumb { appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-600); border: 4px solid #fff; box-shadow: var(--shadow-md); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-600); border: 4px solid #fff; box-shadow: var(--shadow-md); }
.range:focus-visible { box-shadow: var(--ring); }
.range-ticks { display: flex; justify-content: space-between; margin: 0 0 var(--space-6); }
.range-ticks button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: var(--text-xs); font-weight: 600; color: var(--ink-500); cursor: pointer; }
.range-ticks button.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.spec .icon-tile { margin-bottom: var(--space-2); }
.spec small { color: var(--ink-500); font-size: var(--text-xs); }
.spec b { font-size: var(--text-lg); color: var(--ink-900); }
.summary .big-price { font-size: var(--text-4xl); font-weight: 800; letter-spacing: -0.03em; margin: var(--space-2) 0; }
.summary .big-price small { font-size: var(--text-base); font-weight: 500; letter-spacing: 0; }
.vps-table th[scope="row"] { font-weight: 700; }
.vps-table td { white-space: nowrap; }
.vps-table .price-cell { font-size: var(--text-lg); color: var(--ink-900); }
.vps-table td small { color: var(--ink-500); margin-right: 8px; }
/* Operating-system choice: selectable cards (a real radio group), 12 shown, the rest behind "View all" */
.os-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 640px) { .os-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .os-grid { grid-template-columns: repeat(4, 1fr); } }
.os-grid > li { min-width: 0; }
.os-grid > li.is-extra { display: none; }
.os-grid.is-expanded > li.is-extra { display: block; animation: ph-fade-up 260ms var(--ease) both; }
.os-card { position: relative; display: flex; align-items: center; gap: var(--space-3); height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.os-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.os-card:active { transform: translateY(0); }
.os-card input { position: absolute; opacity: 0; pointer-events: none; }
.os-card img { width: 40px; height: 40px; flex: none; object-fit: contain; }
.os-card b { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); line-height: 1.3; }
.os-card small { display: block; font-size: var(--text-xs); color: var(--ink-500); line-height: 1.4; }
.os-card .os-check { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-600); color: #fff; opacity: 0; transform: scale(0.6); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.os-card .os-check .icon { width: 11px; height: 11px; stroke-width: 3; }
.os-card.is-selected { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand-600); }
.os-card.is-selected .os-check { opacity: 1; transform: none; }
.os-card:focus-within { box-shadow: var(--ring); }
.os-card.is-selected:focus-within { box-shadow: 0 0 0 1px var(--brand-600), var(--ring); }
.os-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); }
.os-picked { margin: 0; color: var(--ink-500); font-size: var(--text-sm); }
.os-picked b { color: var(--ink-900); }

/* 13b. Home feature sections ------------------------------ */
.feature-row { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-lg); transition: background var(--dur) var(--ease); }
.feature-row:hover { background: var(--surface-2); }
.feature-row .icon-tile { margin: 0; flex: none; }
.feature-row h3 { margin-bottom: 6px; }
.apps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
@media (max-width: 479px) { .apps { grid-template-columns: repeat(2, 1fr); } }
.app-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 18px 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); font-size: var(--text-xs); font-weight: 600; color: var(--ink-700); text-align: center; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.app-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--brand-200); }
.app-tile img { width: 56px; height: 56px; object-fit: contain; }
.apps-note { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-6); list-style: none; }
.apps-note li { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--ink-700); }
.apps-note .icon { width: 16px; height: 16px; color: var(--success); }
/* cPanel section: official logo above the copy, official dashboard artwork beside it */
.cpanel-logo { display: block; height: 30px; width: auto; margin-bottom: var(--space-4); }
.cpanel-shot { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; filter: drop-shadow(0 18px 36px rgba(3, 25, 116, 0.14)); }
.cpanel-tasks { display: grid; gap: var(--space-2) var(--space-6); grid-template-columns: 1fr; margin-top: var(--space-4); }
@media (min-width: 640px) { .cpanel-tasks { grid-template-columns: 1fr 1fr; } }
.cpanel-credit { margin: var(--space-4) 0 0; font-size: var(--text-xs); color: var(--ink-500); }
.callback-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-6); padding: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.text-danger { color: var(--danger); }
/* Modal */
.modal { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.5); }
.modal-panel { position: relative; width: min(480px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: var(--radius-md); background: var(--surface-2); color: var(--ink-700); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--line); }

/* 13c. Reviews carousel, compare table, ratings ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: var(--space-6); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { flex: 0 0 min(100%, 340px); scroll-snap-align: start; }
.carousel-nav { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-6); }
.carousel-nav .btn { width: 40px; padding: 0; }
.rating-summary { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: var(--space-3); font-size: var(--text-sm); color: var(--ink-700); }
.rating-summary .stars { display: inline-flex; gap: 2px; color: var(--warning); }
.rating-summary .stars .icon { width: 16px; height: 16px; }

/* 14. Utilities ------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: var(--space-2); } .mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); } .mb-8 { margin-bottom: var(--space-8); }
.hide-mobile { display: none; } @media (min-width: 768px) { .hide-mobile { display: initial; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[x-cloak] { display: none !important; }

/* 15. Motion ---------------------------------------------- */
/* Sections fade up once as they enter the viewport (app.js adds .is-in). Only opacity/transform are
   animated, so nothing reflows; with reduced motion or without JavaScript everything is simply visible. */
@keyframes ph-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); will-change: opacity, transform; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .os-grid.is-expanded > li.is-extra, .tenure-list { animation: none; }
}
a, .tabs button, .range-ticks button, .modal-close, .slider-nav button, .carousel-nav .btn, .tld-strip a { transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-300); }
.tabs button:focus-visible, .range-ticks button:focus-visible { outline: none; box-shadow: var(--ring); }
.modal-panel { animation: ph-pop 200ms var(--ease); }
.modal-backdrop { animation: ph-fade 200ms var(--ease); }
@keyframes ph-fade { from { opacity: 0; } to { opacity: 1; } }
