
  :root{
    --bg: #FFFFFF;
    --panel: #F4F7FC;
    --panel-2: #EBF1FB;
    --line: #DCE4F0;
    --text: #10203D;
    --muted: #5B6B85;
    --signal: #0057D9;
    --signal-dim: #B9D3FA;
    --ok: #0092D6;
    --radius: 3px;
    --maxw: 1120px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:'Inter', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    line-height:1.15;
    margin:0;
    letter-spacing:-0.01em;
  }
  .mono{ font-family:'JetBrains Mono', monospace; }
  a{ color:inherit; }
  img,svg{ display:block; max-width:100%; }
  .wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
  :focus-visible{ outline:2px solid var(--signal); outline-offset:3px; }
  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.001s !important; transition-duration:0.001s !important; }
  }

  /* ---------- Announcement bar ---------- */
  .topbar{
    background:var(--text); color:#DCE6FA;
    font-size:13.5px;
  }
  .topbar-row{
    display:flex; align-items:center; justify-content:center; gap:10px;
    padding:9px 0; flex-wrap:wrap; text-align:center;
  }
  .topbar strong{ color:var(--ok); font-weight:600; }
  .topbar .sep{ color:#4C5E80; }
  .countdown{
    display:inline-flex; align-items:center; gap:5px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.14);
    border-radius:var(--radius);
    padding:4px 9px;
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
  }
  .topbar .view-plans{
    color:#fff; font-weight:600; text-decoration:none;
    border-bottom:1px solid var(--ok);
  }

  /* ---------- Nav ---------- */
  header.site{
    position:sticky; top:0; z-index:50;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  nav{
    display:flex; align-items:center; justify-content:space-between;gap:20px;
    padding:18px 0;
  }
  .brand{
    display:flex; align-items:center; gap:10px;
    font-family:'Space Grotesk', sans-serif;
    font-weight:700; font-size:19px;
    text-decoration:none;
  }
  .brand .dot{
    width:9px; height:9px; border-radius:50%;
    background:var(--signal);
    box-shadow:0 0 0 3px var(--signal-dim);
  }
  .nav-links{ display:flex; gap:34px; list-style:none; margin:0; padding:0; }
  .nav-links a{
    text-decoration:none; color:var(--muted); font-size:14.5px;
    transition:color .15s ease;
  }
  .nav-links a:hover{ color:var(--text); }
  .nav-cta{
    display:inline-flex; align-items:center; gap:8px;
    background:var(--signal); color:#FFFFFF;
    padding:10px 18px; border-radius:var(--radius);
    text-decoration:none; font-weight:600; font-size:14.5px;
    border:1px solid var(--signal);
    transition:background .15s ease;
  }
  .nav-cta:hover{ background:#0047B3; }
  .nav-toggle{ display:none; background:none; border:1px solid var(--line); color:var(--text); width:38px; height:38px; border-radius:var(--radius); cursor:pointer; }

  /* ---------- Mega dropdowns ---------- */
  .nav-item{ position:relative; }
  .nav-item > a{
    display:flex; align-items:center; gap:5px;
    cursor:pointer;
  }
  .nav-item .chev{
    width:9px; height:9px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
    transform:rotate(45deg); margin-top:-3px; transition:transform .15s ease;
  }
  .nav-item.open .chev{ transform:rotate(-135deg); margin-top:2px; }
  .mega{
    position:absolute; top:calc(100% + 18px); left:50%; transform:translateX(-50%);
    width:280px; background:#fff; border:1px solid var(--line); border-radius:6px;
    box-shadow:0 16px 40px rgba(16,32,61,0.12);
    padding:10px; display:none; z-index:60;
  }
  .nav-item.open .mega{ display:block; }
  .mega a.mega-item{
    display:block; padding:11px 12px; border-radius:4px; text-decoration:none;
    color:var(--text);
  }
  .mega a.mega-item:hover{ background:var(--panel); }
  .mega-item .mtitle{
    display:flex; align-items:center; gap:8px;
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:14.5px;
  }
  .mega-item .mdesc{ color:var(--muted); font-size:13px; margin-top:3px; }
  .badge{
    font-family:'JetBrains Mono', monospace; font-size:10.5px; font-weight:500;
    background:#E7F7EE; color:#1A9A5C; padding:2px 7px; border-radius:20px;
  }
  .badge.blue{ background:var(--panel-2); color:var(--signal); }
  @media (max-width: 880px){
    .mega{ position:static; transform:none; width:auto; box-shadow:none; border:none; padding:4px 0 4px 14px; }
  }

  /* ---------- Hero ---------- */
  .hero{
    padding:88px 0 70px;
    border-bottom:1px solid var(--line);
    position:relative;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:56px;
    align-items:center;
  }
  .eyebrow{
    color:var(--signal); font-size:13.5px; margin-bottom:18px;
    display:flex; align-items:center; gap:8px;
  }
  .hero h1{
    font-size:52px;
    letter-spacing:-0.02em;
  }
  .hero h1 .accent{ color:var(--signal); }
  .hero p.lead{
    color:var(--muted); font-size:17.5px; margin-top:20px; max-width:480px;
  }
  .hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
  .btn-primary{
    background:var(--signal); color:#FFFFFF; padding:13px 24px;
    border-radius:var(--radius); text-decoration:none; font-weight:600;
    border:1px solid var(--signal); font-size:15px;
    transition:background .15s ease;
  }
  .btn-primary:hover{ background:#0047B3; }
  .btn-ghost{
    padding:13px 24px; border-radius:var(--radius); text-decoration:none;
    font-weight:500; font-size:15px; border:1px solid var(--line); color:var(--text);
    transition:border-color .15s ease;
  }
  .btn-ghost:hover{ border-color:#9DB3D6; }

  /* terminal panel */
  .term{
    background:var(--panel); border:1px solid var(--line); border-radius:6px;
    overflow:hidden;
  }
  .term-bar{
    display:flex; align-items:center; gap:7px;
    padding:11px 14px; border-bottom:1px solid var(--line);
    background:var(--panel-2);
  }
  .term-bar span{ width:10px; height:10px; border-radius:50%; background:#C7D4E8; }
  .term-bar .label{
    margin-left:8px; color:var(--muted); font-size:12.5px;
  }
  .term-body{ padding:22px; font-family:'JetBrains Mono', monospace; font-size:13.5px; }
  .term-line{ color:var(--muted); margin-bottom:6px; }
  .term-line .path{ color:var(--ok); }
  .term-stats{
    margin-top:16px; display:grid; grid-template-columns:1fr 1fr; gap:14px;
  }
  .stat-box{
    border:1px solid var(--line); border-radius:4px; padding:14px;
  }
  .stat-box .num{
    font-size:26px; font-weight:600; font-family:'Space Grotesk', sans-serif;
    color:var(--text);
  }
  .stat-box .num.accent{ color:var(--ok); }
  .stat-box .lbl{ color:var(--muted); font-size:12px; margin-top:4px; }
  .blink{ animation:blink 1.1s steps(1) infinite; }
  @keyframes blink{ 50%{ opacity:0.25; } }

  /* ---------- section shared ---------- */
  section{ padding:80px 0; border-bottom:1px solid var(--line); }
  .section-head{ max-width:620px; margin-bottom:48px; }
  .section-head .kicker{ color:var(--signal); font-size:13.5px; margin-bottom:12px; }
  .section-head h2{ font-size:34px; }
  .section-head p{ color:var(--muted); margin-top:14px; font-size:16px; }

  /* ---------- Features ---------- */
  .feat-list{
    display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
    background:var(--line); border:1px solid var(--line);
  }
  .feat{
    background:var(--bg); padding:30px 26px;
  }
  .feat .idx{ color:var(--signal); font-family:'JetBrains Mono',monospace; font-size:12.5px; }
  .feat h3{ font-size:19px; margin-top:14px; }
  .feat p{ color:var(--muted); font-size:14.5px; margin-top:10px; }

  /* ---------- Plans ---------- */
  .plan-table{
    width:100%; border-collapse:collapse; border:1px solid var(--line);
  }
  .plan-table th, .plan-table td{
    padding:20px 22px; text-align:left; border-bottom:1px solid var(--line);
    border-right:1px solid var(--line);
    font-size:14.5px;
  }
  .plan-table th:last-child, .plan-table td:last-child{ border-right:none; }
  .plan-table thead th{
    background:var(--panel);
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:16px;
  }
  .plan-table thead th.featured{ color:var(--signal); }
  .plan-table tbody th{
    color:var(--muted); font-weight:500; background:var(--panel-2);
  }
  .price{ font-family:'Space Grotesk', sans-serif; font-size:24px; font-weight:600; }
  .price span{ font-size:13px; color:var(--muted); font-weight:400; }
  .check{ color:var(--ok); }
  .dash{ color:#B7C2D6; }
  .plan-cta-row td{ background:var(--panel); }
  .plan-btn{
    display:inline-block; padding:9px 16px; border:1px solid var(--line);
    border-radius:var(--radius); text-decoration:none; font-size:13.5px; color:var(--text);
  }
  .plan-btn.primary{ background:var(--signal); color:#FFFFFF; border-color:var(--signal); font-weight:600; }

  /* ---------- Datacenter strip ---------- */
  .dc-strip{ padding:56px 0; border-bottom:1px solid var(--line); }
  .dc-row{
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px;
  }
  .dc-item{ flex:1; min-width:180px; }
  .dc-item .num{ font-family:'Space Grotesk', sans-serif; font-size:32px; font-weight:600; }
  .dc-item .lbl{ color:var(--muted); font-size:13.5px; margin-top:6px; }

  /* ---------- Testimonials ---------- */
  .quote-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
  .quote{
    border-left:2px solid var(--signal); padding-left:20px;
  }
  .quote p{ font-size:15.5px; color:var(--text); }
  .quote .who{ margin-top:16px; color:var(--muted); font-size:13.5px; }
  .quote .who b{ color:var(--text); font-weight:500; }

  /* ---------- FAQ ---------- */
  .faq-item{ border-bottom:1px solid var(--line); }
  .faq-item:first-child{ border-top:1px solid var(--line); }
  .faq-q{
    width:100%; background:none; border:none; text-align:left; color:var(--text);
    padding:20px 0; font-size:16px; font-family:'Space Grotesk', sans-serif; font-weight:500;
    display:flex; justify-content:space-between; align-items:center; cursor:pointer;
  }
  .faq-q .plus{ color:var(--signal); font-family:'JetBrains Mono', monospace; font-size:18px; transition:transform .18s ease; }
  .faq-item[open] .faq-q .plus{ transform:rotate(45deg); }
  .faq-a{ color:var(--muted); font-size:14.5px; padding-bottom:20px; max-width:640px; }

  /* ---------- CTA ---------- */
  .cta-band{
    padding:80px 0; text-align:center; border-bottom:1px solid var(--line);
  }
  .cta-band h2{ font-size:32px; }
  .cta-band p{ color:var(--muted); margin-top:14px; }
  .cta-band .hero-actions{ justify-content:center; margin-top:28px; }

  /* ---------- Footer ---------- */
  footer{ padding:48px 0; }
  .footer-row{
    display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px;
  }
  .footer-cols{ display:flex; gap:56px; flex-wrap:wrap; }
  .fcol h4{ font-size:13px; color:var(--muted); font-weight:500; margin-bottom:14px; }
  .fcol a{ display:block; text-decoration:none; color:var(--text); font-size:14px; margin-bottom:9px; }
  .fcol a:hover{ color:var(--signal); }
  .foot-bottom{
    margin-top:44px; padding-top:22px; border-top:1px solid var(--line);
    display:flex; justify-content:space-between; color:var(--muted); font-size:13px; flex-wrap:wrap; gap:10px;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 880px){
    .nav-links{ display:none; }
    .nav-toggle{ display:block; }
    .hero-grid{ grid-template-columns:1fr; }
    .hero h1{ font-size:38px; }
    .feat-list{ grid-template-columns:1fr 1fr; }
    .quote-grid{ grid-template-columns:1fr; }
    .plan-table{ font-size:13px; }
    .plan-table th, .plan-table td{ padding:14px 10px; }
  }
  @media (max-width: 560px){
    .feat-list{ grid-template-columns:1fr; }
    .hero h1{ font-size:32px; }
    .dc-row{ gap:24px; }
  }

/* ---- multi-page additions ---- */
@media (max-width:880px){.nav-links.show{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:#fff;padding:20px 28px;border-bottom:1px solid var(--line);gap:16px;max-height:80vh;overflow:auto}}
.page-hero{padding:64px 0 56px;background:var(--panel)}
.page-hero h1{font-size:44px;letter-spacing:-0.02em}
.page-hero .lead{color:var(--muted);font-size:17.5px;margin-top:16px;max-width:560px}
.crumbs{font-size:13.5px;color:var(--muted);margin-bottom:18px}.crumbs a{text-decoration:none}.crumbs a:hover{color:var(--signal)}
.from{margin-top:18px;color:var(--muted)}.from b{font-family:'Space Grotesk',sans-serif;font-size:26px;color:var(--text)}
a.feat{text-decoration:none;display:block}a.feat:hover h3{color:var(--signal)}
.tablewrap{overflow-x:auto}.tablewrap table{min-width:640px}
.two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:48px}
.form label{display:block;font-size:13.5px;font-weight:500;margin:0 0 6px}
.form input,.form select,.form textarea{width:100%;font:inherit;padding:11px 12px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--text);margin-bottom:18px}
.form textarea{min-height:130px;resize:vertical}
.form button{cursor:pointer;font:inherit;font-weight:600}
.side{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:26px;align-self:start}
.side h3{font-size:17px;margin:18px 0 6px}.side h3:first-child{margin-top:0}.side p{margin:0;color:var(--muted);font-size:14.5px}
.status-table{width:100%;border-collapse:collapse;border:1px solid var(--line)}
.status-table th,.status-table td{padding:16px 20px;text-align:left;border-bottom:1px solid var(--line);font-size:14.5px}
.status-table th{background:var(--panel);font-family:'Space Grotesk',sans-serif}
.prose{max-width:680px}.prose h2{font-size:22px;margin:32px 0 10px}.prose p{color:var(--muted)}
.notfound{text-align:center;padding:120px 0}.notfound h1{font-size:72px}.notfound p{color:var(--muted);margin:14px 0 28px}
@media (max-width:880px){.two-col{grid-template-columns:1fr}.page-hero h1{font-size:34px}}


/* Hosting Baba brand refresh and shared hosting pricing */
:root{--bg:#fff;--panel:#f5f8ff;--panel-2:#eaf2ff;--line:#dce5f2;--text:#10265c;--muted:#536687;--signal:#0082fe;--signal-dim:#d5e9ff;--ok:#fe7600;--radius:8px}
.brand-logo{width:118px;height:auto;max-height:78px;object-fit:contain}
.hb-pricing-section{padding:68px 0 76px;background:#fff}
.hb-pricing-intro{max-width:760px;margin:0 auto 32px;text-align:center}
.hb-pricing-intro h2{font-size:clamp(28px,3vw,38px);margin:10px 0 12px;color:var(--text)}
.hb-pricing-intro p{color:var(--muted);margin:8px 0}
.hb-intro-note,.hb-small-note{font-size:13px;color:var(--muted)}
.hb-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch;margin:30px 0 48px}
.hb-plan-card{display:flex;flex-direction:column;min-width:0;padding:24px 20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 28px rgba(16,38,92,.06)}
.hb-plan-card.is-popular{border:2px solid var(--signal);padding:23px 19px;box-shadow:0 12px 34px rgba(0,130,254,.12)}
.hb-plan-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.hb-plan-eyebrow{font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--muted);text-transform:uppercase}
.hb-popular{font-size:11px;font-weight:700;color:#087b47;background:#e1f7eb;border-radius:30px;padding:4px 9px}
.hb-plan-card h3{font-size:23px;color:var(--text);margin:0 0 6px}
.hb-plan-desc{font-size:13px;line-height:1.5;color:var(--muted);min-height:40px;margin:0 0 18px}
.hb-price{display:flex;align-items:baseline;gap:6px;margin:0 0 2px;color:var(--text)}
.hb-price span{font-size:34px;line-height:1.15;font-weight:700;letter-spacing:-.04em}
.hb-price small{font-size:13px;color:var(--muted)}
.hb-billing-note{font-size:11px;color:var(--muted);margin:0 0 17px}
.hb-plan-highlights{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:9px;flex:1}
.hb-plan-highlights li{font-size:13px;color:var(--text);padding-left:20px;position:relative}
.hb-plan-highlights li:before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:700}
.hb-plan-button{display:block;text-align:center;text-decoration:none;background:var(--panel-2);color:var(--text);font-weight:700;padding:12px 14px;border:1px solid var(--line);border-radius:8px}
.hb-plan-button.primary,.hb-plan-button:hover{background:var(--signal);border-color:var(--signal);color:#fff}
.hb-comparison{margin:46px 0 30px}
.hb-comparison h2,.hb-billing-grid h3{font-size:23px;margin:0 0 18px;color:var(--text)}
.hb-compare-wrap,.hb-table-scroll{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.hb-compare-table,.hb-billing-table{width:100%;border-collapse:collapse;min-width:720px}
.hb-compare-table th,.hb-compare-table td,.hb-billing-table th,.hb-billing-table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:center;font-size:13px}
.hb-compare-table thead th,.hb-billing-table thead th{background:var(--panel);font-weight:700;color:var(--text)}
.hb-compare-table th:first-child,.hb-compare-table td:first-child,.hb-billing-table th:first-child,.hb-billing-table td:first-child{text-align:left}
.hb-compare-table tbody th,.hb-billing-table tbody th{font-weight:600;color:var(--text);background:#fbfcff}
.hb-compare-table tr:last-child th,.hb-compare-table tr:last-child td,.hb-billing-table tr:last-child th,.hb-billing-table tr:last-child td{border-bottom:0}
.hb-billing-grid{display:grid;grid-template-columns:1fr;gap:28px;margin-top:38px}
.hb-small-note{margin-top:12px}
@media(max-width:1050px){.hb-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hb-pricing-section{padding:46px 0}.hb-plan-grid{grid-template-columns:1fr;gap:14px}.hb-plan-card{padding:22px}.hb-plan-card.is-popular{padding:21px}.hb-plan-desc{min-height:0}.hb-compare-table,.hb-billing-table{min-width:680px}}

/* Site-wide light and dark theme shared by every page using this stylesheet. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1226;
  --panel: #101d38;
  --panel-2: #17294d;
  --line: #2a3b61;
  --text: #eaf0ff;
  --muted: #aab8d4;
  --signal: #4ca2ff;
  --signal-dim: #1a3765;
  --ok: #ff8a28;
}
:root[data-theme="light"] { color-scheme: light; }
html, body { transition: background-color .22s ease, color .22s ease; }
:root[data-theme="dark"] body { background: var(--bg); color: var(--text); }
:root[data-theme="dark"] .topbar { background: #0b1f55; color: #eaf0ff; }
:root[data-theme="dark"] .topbar strong { color: #ff9a36; }
:root[data-theme="dark"] .topbar .view-plans { border-color: #ff9a36; }
:root[data-theme="dark"] header.site {
  border-color: var(--line);
  background: rgba(10, 18, 38, .94);
}
:root[data-theme="dark"] .mega,
:root[data-theme="dark"] .nav-links.show {
  border-color: var(--line);
  background: var(--panel);
}
:root[data-theme="dark"] .mega a.mega-item { color: var(--text); }
:root[data-theme="dark"] .brand-logo {
  padding: 4px;
  border-radius: 8px;
  background: #fff;
}
:root[data-theme="dark"] .badge { background: #173b2b; color: #a7e8c0; }
:root[data-theme="dark"] .badge.blue { background: #19345f; color: #9cc9ff; }
:root[data-theme="dark"] .hb-pricing-section { background: var(--panel); }
:root[data-theme="dark"] .hb-plan-card { border-color: var(--line); background: var(--bg); }
:root[data-theme="dark"] .hb-popular { background: #19432f; color: #a7f0c3; }
:root[data-theme="dark"] .hb-compare-table tbody th,
:root[data-theme="dark"] .hb-billing-table tbody th { background: var(--panel-2); color: var(--text); }
:root[data-theme="dark"] .form input,
:root[data-theme="dark"] .form select,
:root[data-theme="dark"] .form textarea {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}
:root[data-theme="dark"] .form input::placeholder,
:root[data-theme="dark"] .form textarea::placeholder { color: #91a2c2; }
:root[data-theme="dark"] .status-table th { background: var(--panel); }
:root[data-theme="dark"] .dc-strip { background: #0b1f55; color: #f0f4ff; }
:root[data-theme="dark"] .dc-strip h2 { color: #f0f4ff; }
:root[data-theme="dark"] .dc-strip .lbl { color: #c3d1ee; }

/* Shared navigation switch; main.js adds it to every page navigation. */
.hb-theme-toggle {
  display: inline-grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-left: 8px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: #f07800;
  box-shadow: 0 3px 10px rgba(16, 38, 92, .1);
  cursor: pointer;
  line-height: 1;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.hb-theme-toggle:hover { border-color: var(--signal); transform: rotate(12deg) scale(1.04); }
.hb-theme-toggle:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.hb-theme-icon {
  display: block;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
:root[data-theme="dark"] .hb-theme-toggle {
  border-color: #405881;
  background: #142544;
  color: #ffd36b;
}
.nav-toggle { flex: 0 0 38px; }
@media (max-width: 560px) {
  header.site nav { gap: 8px; }
  header.site .brand-logo { width: 92px; max-height: 60px; }
  header.site .nav-cta { padding: 8px 12px; font-size: 12px; }
  .hb-theme-toggle, .nav-toggle { width: 36px; height: 36px; flex-basis: 36px; }
  .hb-theme-icon { font-size: 21px; }
}
@media (max-width: 360px) {
  header.site .brand-logo { width: 78px; }
  header.site .nav-cta { padding: 7px 9px; font-size: 11px; }
  .hb-theme-toggle, .nav-toggle { width: 33px; height: 33px; flex-basis: 33px; }
  .hb-theme-icon { font-size: 19px; }
}

/* VPS pricing sections use page-local light-mode colors; map them to the
   shared theme only while dark mode is active. */
:root[data-theme="dark"] .vps-pricing-section,
:root[data-theme="dark"] .windows-vps-plans {
  background: var(--bg);
  color: var(--text);
}
:root[data-theme="dark"] .vps-pricing-section .section-head h2,
:root[data-theme="dark"] .windows-vps-plans .section-head h2,
:root[data-theme="dark"] .vps-plan-card h3,
:root[data-theme="dark"] .windows-vps-plan-card h3,
:root[data-theme="dark"] .vps-card-features-title,
:root[data-theme="dark"] .windows-vps-features-title,
:root[data-theme="dark"] .vps-card-price,
:root[data-theme="dark"] .windows-vps-card-price,
:root[data-theme="dark"] .vps-card-features,
:root[data-theme="dark"] .windows-vps-card-features,
:root[data-theme="dark"] .vps-term-prices strong,
:root[data-theme="dark"] .windows-vps-term-prices strong {
  color: var(--text);
}
:root[data-theme="dark"] .vps-pricing-section .section-head .lead,
:root[data-theme="dark"] .windows-vps-plans .section-head .lead,
:root[data-theme="dark"] .vps-card-index,
:root[data-theme="dark"] .windows-vps-card-index,
:root[data-theme="dark"] .vps-card-desc,
:root[data-theme="dark"] .windows-vps-card-desc,
:root[data-theme="dark"] .vps-card-price span,
:root[data-theme="dark"] .windows-vps-card-price span,
:root[data-theme="dark"] .vps-card-billing,
:root[data-theme="dark"] .windows-vps-card-billing,
:root[data-theme="dark"] .vps-term-prices,
:root[data-theme="dark"] .windows-vps-term-prices,
:root[data-theme="dark"] .vps-pricing-note,
:root[data-theme="dark"] .windows-vps-note {
  color: var(--muted);
}
:root[data-theme="dark"] .vps-plan-card,
:root[data-theme="dark"] .windows-vps-plan-card {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
}
:root[data-theme="dark"] .vps-plan-card.is-popular,
:root[data-theme="dark"] .windows-vps-plan-card.popular {
  border-color: var(--signal);
  box-shadow: 0 14px 36px rgba(0, 130, 254, .18);
}
:root[data-theme="dark"] .vps-card-badge,
:root[data-theme="dark"] .windows-vps-card-badge {
  background: #173b2b;
  color: #a7e8c0;
}
:root[data-theme="dark"] .vps-term-prices,
:root[data-theme="dark"] .windows-vps-term-prices {
  border-color: var(--line);
}
:root[data-theme="dark"] .vps-card-button,
:root[data-theme="dark"] .windows-vps-card-button {
  border-color: #344a70;
  background: var(--panel-2);
  color: var(--text);
}
:root[data-theme="dark"] .vps-card-button:hover,
:root[data-theme="dark"] .windows-vps-card-button:hover {
  border-color: #4d6b9b;
  background: #1c3157;
}
:root[data-theme="dark"] .vps-plan-card.is-popular .vps-card-button,
:root[data-theme="dark"] .windows-vps-plan-card.popular .windows-vps-card-button {
  border-color: var(--signal);
  background: var(--signal);
  color: #07142d;
}
:root[data-theme="dark"] .vps-plan-card.is-popular .vps-card-button:hover,
:root[data-theme="dark"] .windows-vps-plan-card.popular .windows-vps-card-button:hover {
  border-color: #72b5ff;
  background: #72b5ff;
}
