/* ============================================================
   360cloudhost Design System
   Monochrome + single blue accent. Geometric sans (Manrope).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Accent (blue) */
  --accent:        #2563eb;
  --accent-700:    #1d4ed8;
  --accent-800:    #1e40af;
  --accent-50:     #eff4ff;
  --accent-100:    #dbe6ff;
  --accent-ring:   rgba(37, 99, 235, 0.28);

  /* Ink / neutrals (near black -> white) */
  --ink:           #0b0e14;   /* primary text */
  --ink-2:         #3a414e;   /* secondary text */
  --ink-3:         #6b7280;   /* muted text */
  --line:          #e7e9ee;   /* hairline borders */
  --line-2:        #eef0f4;   /* lighter divider */
  --surface:       #ffffff;
  --surface-2:     #fafbfc;   /* subtle section bg */
  --surface-3:     #f4f6f9;   /* card / inset bg */
  --ink-rev:       #ffffff;

  /* Dark band (footer / accents) */
  --night:         #0b0e14;
  --night-2:       #11151d;
  --night-line:    #232a36;
  --night-ink:     #aeb6c4;

  /* Status */
  --green:         #15a35b;
  --green-50:      #e8f7ee;
  --amber:         #b7791f;

  /* Geometry */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadows: soft, restrained */
  --sh-xs: 0 1px 2px rgba(11,14,20,.06);
  --sh-sm: 0 1px 3px rgba(11,14,20,.07), 0 1px 2px rgba(11,14,20,.04);
  --sh-md: 0 6px 20px -6px rgba(11,14,20,.12), 0 2px 6px rgba(11,14,20,.05);
  --sh-lg: 0 24px 60px -18px rgba(11,14,20,.22), 0 8px 24px -12px rgba(11,14,20,.12);
  --sh-accent: 0 10px 28px -8px rgba(37,99,235,.45);

  /* Type */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: 24px;
  --nav-h: 70px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent-100); color: var(--accent-800); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.022em; font-weight: 800; color: var(--ink); }
.h-display { font-size: clamp(2.6rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.h1 { font-size: clamp(2.1rem, 4vw, 3rem); letter-spacing: -0.028em; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.026em; }
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow--muted { color: var(--ink-3); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); line-height: 1.6; font-weight: 450; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-feature-settings: normal; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 680px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.row { display: flex; align-items: center; gap: 12px; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.eyebrow + h2, .eyebrow + h1 { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn--primary:hover { background: var(--accent-700); box-shadow: 0 14px 32px -8px rgba(37,99,235,.55); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1b212c; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-3); border-color: var(--ink-3); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f1f3f6; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--link { height: auto; padding: 0; color: var(--accent); border-radius: 0; }
.btn--link:hover { color: var(--accent-700); }
.btn--link .arrow { transition: transform .2s ease; }
.btn--link:hover .arrow { transform: translateX(3px); }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 13px; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 650; letter-spacing: -0.005em;
  background: var(--surface-3); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap;
}
.badge--accent { background: var(--accent-50); color: var(--accent-700); border-color: var(--accent-100); }
.badge--green { background: var(--green-50); color: var(--green); border-color: #cdeedb; }
.badge--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(21,163,91,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(21,163,91,.45); } 70% { box-shadow: 0 0 0 7px rgba(21,163,91,0); } 100% { box-shadow: 0 0 0 0 rgba(21,163,91,0); } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}
.card--hover:hover { box-shadow: var(--sh-md); border-color: #d9dde4; transform: translateY(-3px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--ink); border: 1px solid var(--line); margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon--accent { background: var(--accent-50); color: var(--accent); border-color: var(--accent-100); }

/* ---------- Icon utility ---------- */
.ico { width: 20px; height: 20px; flex: none; stroke-width: 1.7; }
.ico-sm { width: 16px; height: 16px; flex: none; stroke-width: 1.8; }

/* ---------- Checklist ---------- */
.checks { display: grid; gap: 13px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 0.95rem; }
.checks .tick {
  width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; background: var(--accent-50); color: var(--accent);
}
.checks .tick svg { width: 12px; height: 12px; stroke-width: 2.4; }
.checks--plain .tick { background: transparent; color: var(--green); }
.checks .x { background: transparent; color: var(--ink-3); opacity: .55; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-xs); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: var(--r-sm); font-weight: 600; font-size: 0.92rem; color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--surface-3); }
.nav-link.is-active { color: var(--ink); }
.nav-link .chev { width: 15px; height: 15px; transition: transform .2s ease; opacity: .7; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand b { font-weight: 800; }
.brand .dim { color: var(--ink-3); font-weight: 700; }

/* Mega dropdown */
.nav-item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 12px; opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 120;
}
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item:hover .chev { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { display: flex; gap: 13px; padding: 13px; border-radius: var(--r-md); transition: background .15s ease; }
.mega-link:hover { background: var(--surface-2); }
.mega-ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--surface-3); color: var(--accent); border: 1px solid var(--line); }
.mega-ico svg { width: 19px; height: 19px; }
.mega-link h5 { font-size: 0.92rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.mega-link p { font-size: 0.8rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 14px 13px 6px; border-top: 1px solid var(--line-2); }
.mega-foot span { font-size: 0.82rem; color: var(--ink-3); }

/* Mobile nav */
.nav-burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.nav-burger:hover { background: var(--surface-3); }
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: rgba(11,14,20,.4);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
  display: block;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav-inner {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw);
  background: #fff; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav-inner { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav-label { font-size: 0.74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; padding: 8px 12px 4px; }
.mobile-nav-group { border-bottom: 1px solid var(--line-2); padding-bottom: 10px; margin-bottom: 6px; }
.mobile-nav-group a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: var(--r-sm); font-weight: 600; color: var(--ink-2); font-size: 0.98rem; }
.mobile-nav-group a:hover { background: var(--surface-3); color: var(--ink); }
.mobile-nav-top { display: flex; align-items: center; padding: 13px 12px; border-radius: var(--r-sm); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.mobile-nav-top:hover { background: var(--surface-3); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-ink); padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 24px; padding-bottom: 56px; border-bottom: 1px solid var(--night-line); }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--night-ink); font-size: 0.9rem; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.footer-col h6 { color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--night-ink); font-size: 0.9rem; padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 40px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: #7a8396; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1px solid var(--night-line); color: var(--night-ink); transition: all .15s ease; }
.footer-social a:hover { color: #fff; border-color: #3a4150; }
.footer-pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer-pay .chip { font-size: 0.7rem; font-weight: 700; letter-spacing: .04em; color: #8a93a5; border: 1px solid var(--night-line); border-radius: 6px; padding: 4px 8px; }

/* ---------- Trust bar ---------- */
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.trustbar .cell { background: #fff; padding: 22px 24px; display: flex; gap: 14px; align-items: center; }
.trust-ico { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--surface-3); color: var(--accent); }
.trust-ico svg { width: 20px; height: 20px; }
.trustbar .k { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.trustbar .l { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Pricing ---------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-pill); position: relative; }
.bill-toggle button { height: 38px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 650; font-size: 0.9rem; color: var(--ink-3); transition: color .2s ease; position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bill-toggle button.is-active { color: var(--ink); }
.bill-thumb { position: absolute; top: 5px; left: 5px; height: 38px; background: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-sm); transition: transform .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1); z-index: 1; }
.save-pill { font-size: 0.72rem; font-weight: 700; color: var(--green); background: var(--green-50); padding: 2px 7px; border-radius: var(--r-pill); }

/* Pricing: dynamic savings + value reinforcement */
.plan-save { font-size: 0.78rem; font-weight: 700; color: var(--green); margin-top: 8px; min-height: 17px; }
.plan--featured .plan-save { color: #5dd29a; }
.pricing-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; }
.pricing-trust .it { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pricing-trust .it svg { color: var(--green); flex: none; }
.pricing-more { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding: 18px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); }
.pricing-more .pm-l { display: flex; align-items: center; gap: 14px; }
.pricing-more .pm-ic { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--accent); }
.pricing-more .pm-ic svg { width: 21px; height: 21px; }
.pricing-more h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.pricing-more p { font-size: 0.88rem; color: var(--ink-3); margin-top: 2px; max-width: 380px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.price-grid--4 { grid-template-columns: repeat(4, 1fr); }
.plan { padding: 32px 28px; border-right: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: background .2s ease; }
.plan:last-child { border-right: none; }
.plan--featured { background: var(--ink); color: #fff; }
.plan--featured .plan-name, .plan--featured .price-now, .plan--featured .checks li { color: #fff; }
.plan--featured .plan-desc, .plan--featured .price-unit, .plan--featured .price-renew { color: #aeb6c4; }
.plan--featured .checks .tick { background: rgba(255,255,255,.12); color: #fff; }
.plan--featured .checks li { color: #d7dbe2; }
.plan-flag { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--accent); }
.plan-tag { position: absolute; top: 18px; right: 20px; }
.plan-name { font-size: 1.05rem; font-weight: 750; letter-spacing: -0.01em; }
.plan-desc { font-size: 0.86rem; color: var(--ink-3); margin-top: 5px; min-height: 38px; }
.price { display: flex; align-items: flex-end; gap: 4px; margin-top: 18px; }
.price-cur { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; }
.price-now { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-unit { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 5px; }
.price-renew { font-size: 0.78rem; color: var(--ink-3); margin-top: 8px; min-height: 18px; }
.plan .btn { margin-top: 22px; }
.plan-divider { height: 1px; background: var(--line-2); margin: 24px 0; }
.plan--featured .plan-divider { background: rgba(255,255,255,.12); }
.plan-feats-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.faq-q .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .2s ease; color: var(--ink-2); }
.faq-item.is-open .faq-q .pm { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-2); max-width: 760px; line-height: 1.65; }

/* ---------- Logos strip ---------- */
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 60px); flex-wrap: wrap; opacity: .62; }
.logos span { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap; }

/* ---------- Stat ---------- */
.stat-k { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-l { color: var(--ink-3); font-size: 0.92rem; margin-top: 8px; }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.stars svg { width: 16px; height: 16px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review-card p { color: var(--ink); font-size: 0.98rem; line-height: 1.6; }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.review-who .nm { font-weight: 700; font-size: 0.9rem; }
.review-who .rl { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 650; color: var(--ink-2); }
.input, .textarea, .selectbox {
  height: 48px; padding: 0 15px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 0.95rem; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.textarea { height: auto; padding: 13px 15px; resize: vertical; min-height: 130px; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: #9aa3b0; }
.input:focus, .textarea:focus, .selectbox:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.input.is-error, .textarea.is-error { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.12); }
.field-err { font-size: 0.8rem; color: #dc2626; min-height: 16px; }
.field-hint { font-size: 0.8rem; color: var(--ink-3); }
.input-group { display: flex; gap: 10px; }
.input-affix { position: relative; }
.input-affix .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.input-affix .input { padding-left: 42px; }

/* Domain search */
.domain-search { display: flex; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px; box-shadow: var(--sh-md); max-width: 540px; }
.domain-search input { flex: 1; height: 48px; border: none; background: none; padding: 0 18px; font-size: 1rem; }
.domain-search input:focus { outline: none; }
.domain-search .btn { flex: none; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: none; }
.dot-grid-bg {
  background-image: radial-gradient(circle, rgba(11,14,20,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.kbd { font-family: var(--mono); font-size: 0.78rem; background: var(--surface-3); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--ink-2); }
.tag-mono { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); letter-spacing: -0.02em; }
/* Entrance animation: content is visible by default; JS hides then reveals.
   If JS never runs, nothing is hidden, so content can never be stranded. */
.fade-up { transition: opacity .55s ease, transform .55s ease; }

/* ---------- Feature grid (shared) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feat { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.feat:hover { border-color: #d9dde4; box-shadow: var(--sh-sm); }
.feat .fi { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink); margin-bottom: 15px; border: 1px solid var(--line); }
.feat .fi svg { width: 21px; height: 21px; }
.feat h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.feat p { font-size: 0.88rem; color: var(--ink-3); margin-top: 6px; line-height: 1.55; }

/* ---------- Product hero (shared) ---------- */
.phero { position: relative; overflow: hidden; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.phero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.phero h1 { margin-top: 18px; }
.phero .lead { margin-top: 18px; max-width: 480px; }
.phero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.phero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.phero-bg { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(110% 80% at 75% 0%, #000, transparent 70%); mask-image: radial-gradient(110% 80% at 75% 0%, #000, transparent 70%); }
@media (max-width: 940px) { .phero-grid { grid-template-columns: 1fr; gap: 36px; } .phero-visual { max-width: 520px; } }

/* ---------- Spec list / terminal card ---------- */
.spec-list { display: grid; gap: 0; }
.spec-list .srow { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.spec-list .srow:last-child { border-bottom: none; }
.spec-list .sk { color: var(--ink-3); font-size: 0.9rem; display: flex; align-items: center; gap: 9px; }
.spec-list .sk svg { width: 17px; height: 17px; color: var(--accent); }
.spec-list .sv { font-weight: 700; font-size: 0.95rem; font-family: var(--mono); letter-spacing: -0.02em; }

.terminal { background: var(--night); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; border: 1px solid var(--night-line); }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--night-line); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2b3340; display: block; }
.terminal-bar .tt { font-family: var(--mono); font-size: 0.74rem; color: #6b7585; margin-left: 8px; }
.terminal-body { padding: 20px 22px; font-family: var(--mono); font-size: 0.82rem; line-height: 1.9; color: #aeb6c4; }
.terminal-body .ln { white-space: pre-wrap; }
.terminal-body .c-g { color: #5dd29a; } .terminal-body .c-b { color: #6ea8ff; } .terminal-body .c-d { color: #6b7585; } .terminal-body .c-w { color: #e7ebf2; } .terminal-body .cursor { display: inline-block; width: 8px; height: 15px; background: #5dd29a; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Comparison table ---------- */
.cmp-wrap { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 0.92rem; }
.cmp thead th { background: var(--surface-2); font-weight: 750; font-size: 0.84rem; letter-spacing: -0.01em; vertical-align: bottom; }
.cmp thead th.is-feat { background: var(--accent-50); color: var(--accent-800); }
.cmp td.is-feat { background: rgba(37,99,235,.035); }
.cmp tbody th { font-weight: 650; color: var(--ink-2); }
.cmp td { text-align: center; font-weight: 650; }
.cmp tbody th { text-align: left; }
.cmp .ck { color: var(--accent); display: inline-flex; }
.cmp .ck svg { width: 18px; height: 18px; }
.cmp .no { color: var(--ink-3); opacity: .5; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: none; }
.cmp-plan-name { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.cmp-plan-price { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.cmp-scroll { overflow-x: auto; }
@media (max-width: 760px) { .cmp-scroll { -webkit-overflow-scrolling: touch; } .cmp { min-width: 640px; } }

/* ---------- Config / plan selector cards (VPS / dedicated) ---------- */
.cfg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cfg { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px; cursor: pointer; transition: border-color .18s, box-shadow .2s, transform .2s; position: relative; }
.cfg:hover { border-color: #c3cad6; transform: translateY(-2px); box-shadow: var(--sh-md); }
.cfg.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.cfg-name { font-weight: 750; font-size: 1.05rem; }
.cfg-specs { display: grid; gap: 9px; margin: 18px 0; }
.cfg-spec { display: flex; align-items: center; justify-content: space-between; font-size: 0.86rem; }
.cfg-spec .l { color: var(--ink-3); }
.cfg-spec .v { font-weight: 700; font-family: var(--mono); letter-spacing: -0.02em; }
.cfg-price { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.cfg-price .n { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.cfg-price .u { font-size: 0.82rem; color: var(--ink-3); }
.cfg-check { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; transition: all .18s; }
.cfg.is-selected .cfg-check { background: var(--accent); border-color: var(--accent); }
.cfg-check svg { width: 13px; height: 13px; opacity: 0; stroke-width: 3; }
.cfg.is-selected .cfg-check svg { opacity: 1; }
@media (max-width: 940px) { .cfg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cfg-grid { grid-template-columns: 1fr; } }

/* Shared two-column split (collapses on tablet) */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .split-2 { grid-template-columns: 1fr; gap: 36px; } }

/* Shared feature-grid responsiveness (product pages) */
@media (max-width: 940px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .feat-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid, .feat-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .price-grid, .price-grid--4 { grid-template-columns: 1fr 1fr; }
  .plan { border-bottom: 1px solid var(--line); }
  .trustbar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-actions .btn--ghost { display: none; }
  .nav-burger { display: flex; }
  .price-grid, .price-grid--4 { grid-template-columns: 1fr; }
  .plan { border-right: none; }
}
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trustbar { grid-template-columns: 1fr; }
  .domain-search { flex-direction: column; border-radius: var(--r-lg); background: none; border: none; box-shadow: none; padding: 0; gap: 10px; }
  .domain-search input { flex: none; height: 48px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; }
  .domain-search .btn { width: 100%; height: 48px; }
}
@media (max-width: 480px) {
  /* On small phones the brand + CTA + burger don't fit; the "Get started"
     CTA stays available inside the burger menu, so drop it from the bar. */
  .nav-actions .btn--primary { display: none; }
}
