/* ============================================================
   HostBMS website. Based on the KarnakPanel site stylesheet (same
   author, same navy / sky-blue family) so the two sites match;
   HostBMS additions are at the end of the file.
   ============================================================ */

:root {
  --bg: #081120;
  --bg2: #0a1428;
  --card: #12203d;
  --card2: #142544;
  --tile: #0c1a38;
  --border: #1e3a5f;
  --border2: #234a7a;
  --accent: #38bdf8;
  --accent2: #4da6ff;
  --tile-title: #4fc3f7;
  --text: #e6edf7;
  --muted: #8ea1bc;
  --muted2: #6b7f9c;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #f87171;
  --radius: 14px;
  --radius-lg: 22px;
  --content-width: 1120px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 480px at 15% -5%, rgba(56,189,248,.14), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(99,102,241,.12), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(14,165,233,.06), transparent 60%);
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ---------- Announcement + nav ---------- */
.announce {
  background: linear-gradient(90deg, #7c2d12, #b45309, #d97706);
  color: #fff; text-align: center; font-size: 13.5px; font-weight: 500;
  padding: 10px 20px; position: relative; z-index: 60;
}
.announce b { font-weight: 800; }
.announce a { text-decoration: underline; font-weight: 800; }
.beta-banner {
  background: linear-gradient(90deg, #7c2d12, #b45309, #d97706);
  color: #fff; text-align: center; font-size: 13.5px; padding: 10px 20px;
}
.beta-banner a { color: #fff; text-decoration: underline; font-weight: 800; }

nav.site, nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 17, 32, .78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30,58,95,.7);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { height: 38px; width: auto; display: block; border-radius: 10px; }
.brand-name { font-size: 20px; color: #fff; font-weight: 500; letter-spacing: -.01em; }
.brand-name strong { font-weight: 800; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 500; align-items: center; }
.nav-links a { opacity: .9; transition: .15s; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: #fff; opacity: 1; }
.nav-links a.report-link {
  color: var(--accent); border: 1px solid rgba(56,189,248,.45); border-radius: 100px;
  padding: 6px 14px; font-weight: 700; white-space: nowrap;
}
.nav-links a.report-link:hover { background: rgba(56,189,248,.12); color: #fff; border-color: var(--accent); }
.nav-links a.report-link.active { background: rgba(56,189,248,.16); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid var(--border2); cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #0ea5e9, #2563eb); border-color: #38bdf8; color: #fff; box-shadow: 0 10px 30px rgba(14,165,233,.32); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(56,189,248,.07); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ---------- HERO: split editorial ---------- */
.hero-split {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px;
  padding: 110px 0 90px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(56,189,248,.09); border: 1px solid rgba(56,189,248,.3);
  color: var(--accent); padding: 8px 18px; border-radius: 100px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(56,189,248,.7)} 70%{box-shadow:0 0 0 10px rgba(56,189,248,0)} 100%{box-shadow:0 0 0 0 rgba(56,189,248,0)} }

h1 {
  font-size: clamp(44px, 5vw, 64px); line-height: 1.04;
  letter-spacing: -.045em; font-weight: 800; margin: 22px 0 24px;
}
h1 .grad, .grad {
  background: linear-gradient(92deg, #38bdf8, #60a5fa 55%, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede, .sub {
  color: var(--muted); font-size: 18px; line-height: 1.75; max-width: 560px;
}
.sub strong, .lede strong { color: #e2ecfa; }
.free-badge {
  display: inline-block; margin-top: 24px; font-size: 13px; font-weight: 800; letter-spacing: .02em;
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #86efac;
  padding: 9px 20px; border-radius: 100px;
}
.hero-meta { margin-top: 14px; color: var(--muted2); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; }
.contact-row { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.contact-row a, .contact-box { color: var(--muted); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--border2); padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0; border-radius: 0; padding-left: 0; padding-right: 0; }
.contact-box:hover, .contact-row a:hover { color: #fff; border-bottom-color: var(--accent); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* Right-hand hero card */
.hero-card {
  background: linear-gradient(180deg, #101e3c, #0b152c);
  border: 1px solid var(--border2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-card-head { display: flex; align-items: center; gap: 8px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.hero-card-head span.lbl { margin-left: 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.terminal { background: #060d1e; margin: 22px; border-radius: 12px; border: 1px solid var(--border); padding: 20px 22px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.8; color: #b9cdf0; overflow: hidden; white-space: normal; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.terminal .c { color: var(--muted2); }
.terminal .g { color: #86efac; }
.terminal .b { color: var(--accent); }
.install-block { margin: 22px 22px 12px; max-width: 100%; }
.install-block .terminal { margin: 0; padding: 18px 20px; overflow: hidden; white-space: pre-wrap; width: 100%; box-sizing: border-box; }
.install-block.tight { margin: 18px 0; }
.install-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.copy-btn { position: static; display: inline-flex; align-items: center; gap: 6px; background: #0e2a4d; border: 1px solid rgba(56,189,248,.45); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 7px 12px; border-radius: 9px; cursor: pointer; transition: .15s; font-family: inherit; white-space: nowrap; }
.copy-btn:hover { background: rgba(56,189,248,.2); border-color: var(--accent); color: #fff; }
.copy-btn.copied { border-color: rgba(34,197,94,.5); color: #86efac; background: rgba(34,197,94,.12); }
.hero-spec { list-style: none; padding: 4px 26px 8px; display: grid; gap: 13px; font-size: 14.5px; color: #c9d6ea; }
.hero-spec li { display: flex; gap: 12px; align-items: flex-start; }
.hero-spec i { color: var(--green); font-style: normal; font-weight: 900; }
.hero-card-foot { padding: 20px 26px 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats strip */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 10px 0 0;
}
.stat { padding: 34px 32px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 34px; letter-spacing: -.03em; color: #fff; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
section.page-section, .section { padding: 110px 0; }
.section.tinted { background: rgba(13,26,54,.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.03em; line-height: 1.1; margin: 16px 0 18px; font-weight: 800; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.75; max-width: 720px; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; }
.section-head.split .lead { max-width: 460px; }

/* Editorial feature rows (replaces wall of cards) */
.feature-rows { border-top: 1px solid var(--border); margin-top: 8px; }
.feature-row { display: grid; grid-template-columns: 72px 1fr 1fr; gap: 32px; padding: 44px 8px; border-bottom: 1px solid var(--border); align-items: start; transition: .15s; }
.feature-row:hover { background: rgba(56,189,248,.025); }
.feature-row .num { color: var(--muted2); font-size: 13px; font-weight: 800; letter-spacing: .1em; padding-top: 6px; }
.feature-row h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.feature-row p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.feature-row p a { color: var(--accent); font-weight: 700; }

/* Fallback card grid (kept for features/compare pages) */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: 0 10px 34px rgba(0,0,0,.28); transition: .18s; }
.card:hover { border-color: var(--border2); transform: translateY(-3px); }
.card .ico { font-size: 28px; width: 58px; height: 58px; display: grid; place-items: center; background: rgba(56,189,248,.09); border: 1px solid rgba(56,189,248,.22); border-radius: 16px; margin-bottom: 22px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p, .card li { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.card ul { margin: 14px 0 0 20px; display: grid; gap: 8px; }
.card code { color: var(--accent); font-size: 12.5px; background: rgba(56,189,248,.1); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.feature-block { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; margin-top: 32px; }
.feature-block h3 { font-size: 23px; margin-bottom: 6px; }
.feature-block h3 .ico { margin-right: 10px; }
.feature-block .tagline { color: var(--accent); font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.feature-block ul { margin-left: 22px; display: grid; gap: 12px; color: #c9d6ea; font-size: 15.5px; line-height: 1.75; }
.feature-block code { color: var(--accent); font-size: 13px; background: rgba(56,189,248,.1); padding: 2px 7px; border-radius: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 44px; }
.panel h3 { font-size: 22px; margin-bottom: 10px; }
.check { list-style: none; margin-top: 20px; display: grid; gap: 18px; color: #d1dcef; font-size: 15.5px; line-height: 1.7; }
.check li { display: flex; gap: 14px; }
.check i { color: var(--green); font-style: normal; font-weight: 900; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; background: rgba(34,197,94,.12); border-radius: 9px; }

/* Tables */
table.spec { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; font-size: 15px; background: #0d1a36; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
table.spec th, table.spec td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.65; }
table.spec th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: rgba(8,17,32,.5); }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td.yes { color: #86efac; font-weight: 700; }
table.spec td.no { color: var(--muted2); }
table.spec td.partial { color: var(--amber); }

/* Stack: open two-col list, not 12 cramped tiles */
.stack-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin-top: 48px; border-top: 1px solid var(--border); }
.stack-row { display: flex; gap: 20px; align-items: flex-start; padding: 26px 4px; border-bottom: 1px solid var(--border); }
.stack-row .s-ico { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; font-size: 24px; background: #0d1a36; border: 1px solid var(--border); border-radius: 14px; }
.stack-row b { display: block; font-size: 16.5px; }
.stack-row span { color: var(--muted); font-size: 14px; }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.stack-item { background: #0d1a36; border: 1px solid var(--border); border-radius: 16px; padding: 34px 22px; text-align: center; }
.stack-item b { display: block; margin-top: 12px; font-size: 15px; }
.stack-item span { color: var(--muted); font-size: 12.5px; display: block; margin-top: 4px; }
.stack-item .big { font-size: 30px; }
.ports { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.ports span { background: #0d1a36; border: 1px solid var(--border); border-radius: 9px; padding: 9px 16px; font-size: 13px; color: #c6d4ea; }
.ports span b { color: var(--accent); }

/* Roadmap timeline */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.road div { background: #0d1a36; border: 1px dashed var(--border2); border-radius: 18px; padding: 34px 30px; }
.road div.shipped { border-style: solid; border-color: rgba(34,197,94,.35); }
.road b { color: var(--accent); font-size: 16px; }
.road div.shipped b { color: #86efac; }
.road p { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.7; }
.timeline { margin-top: 48px; border-left: 2px solid var(--border2); padding-left: 0; display: grid; gap: 0; }
.tl-item { position: relative; padding: 0 0 48px 44px; }
.tl-item::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.tl-item.done::before { border-color: var(--green); background: rgba(34,197,94,.3); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-tag { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tl-item.done .tl-tag { color: #86efac; }
.tl-item h3 { font-size: 21px; margin: 8px 0 8px; }
.tl-item p { color: var(--muted); font-size: 16px; max-width: 640px; }
.limits { display: grid; gap: 12px; margin-top: 40px; }
.limits div { background: rgba(248,113,113,.05); border: 1px solid rgba(248,113,113,.22); border-radius: 14px; padding: 20px 26px; font-size: 15px; color: #e2b8bd; line-height: 1.7; }
.limits div b { color: #fda4af; }

/* CTA band */
.cta-band { background: linear-gradient(180deg, #12315f, #0c1a36); border: 1px solid #2a5a95; border-radius: 28px; padding: 90px 64px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-panel { text-align: center; padding: 90px 64px; background: linear-gradient(180deg, #12315f, #0d1a36); border: 1px solid #2a5a95; border-radius: 28px; box-shadow: var(--shadow); }
.cta-panel .big-emoji { font-size: 48px; margin-bottom: 8px; }
.cta-panel .row { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.big-emoji { font-size: 48px; }

/* Testers band (legacy support) */
.testers { margin: 48px auto 0; max-width: 780px; background: rgba(56,189,248,.06); border: 1px solid rgba(56,189,248,.25); border-radius: var(--radius-lg); padding: 44px; text-align: center; }
.testers-band { margin: 48px auto 0; max-width: 960px; display: grid; grid-template-columns: 1.2fr .8fr; background: rgba(56,189,248,.06); border: 1px solid rgba(56,189,248,.25); border-radius: var(--radius-lg); overflow: hidden; text-align: left; }
.testers-main { padding: 48px; }
.testers-main h3 { font-size: 22px; }
.testers-main p { color: var(--muted); margin: 12px 0 24px; font-size: 15.5px; line-height: 1.75; }
.testers-main .row { display: flex; gap: 12px; flex-wrap: wrap; }
.testers-side { background: rgba(8,17,32,.5); border-left: 1px solid rgba(56,189,248,.18); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.t-stat b { font-size: 30px; color: #fff; margin-right: 10px; }
.t-stat span { color: var(--muted); font-size: 14px; }

/* ---------- Real product screenshot ---------- */
.shot-wrap { margin-top: 64px; }
.shot-figure {
  max-width: 1080px; margin: 0 auto;
  border: 1px solid var(--border2); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); background: #060f22; line-height: 0;
}
.shot-figure img { width: 100%; height: auto; display: block; }
.mock-shell, .shot {
  background: #060f22; border: 1px solid var(--border2);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  max-width: 1000px; margin: 0 auto; font-size: 14px; text-align: left;
}
.mock-topbar { background: linear-gradient(90deg, #0369a1, #0284c7 35%, #0ea5e9 70%, #38bdf8); display: flex; align-items: center; gap: 14px; padding: 14px 22px; }
.mock-brand { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #fff; font-size: 16px; }
.mock-brand strong { font-weight: 800; }
.mock-brand svg { width: 28px; height: 28px; border-radius: 7px; display: block; }
.mock-search { flex: 1; max-width: 400px; background: rgba(10,20,40,.85); border-radius: 99px; padding: 9px 20px; color: #8ea1bc; font-size: 13px; }
.mock-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.mock-toggle { background: #fff; border-radius: 99px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: #333; }
.mock-admin { font-size: 11px; font-weight: 800; background: #7c3aed; color: #fff; border-radius: 6px; padding: 3px 10px; letter-spacing: .05em; }
.mock-user { color: #fff; font-size: 13.5px; font-weight: 600; }
.mock-btn { background: #fff; color: #0c4a6e; border-radius: 99px; padding: 6px 16px; font-size: 12.5px; font-weight: 800; }
.mock-body { display: grid; grid-template-columns: 228px 1fr; min-height: 480px; }
.mock-side { background: #0a142c; border-right: 1px solid #162a4d; padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.mock-support { display: block; text-align: center; font-size: 12.5px; font-weight: 700; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3); color: var(--accent); border-radius: 10px; padding: 10px; margin-bottom: 14px; }
.m-meter { background: #111f3d; border: 1px solid #1e3a5f; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.m-meter b { font-size: 13px; color: #fff; }
.m-meter small.dim { color: var(--muted); display: block; margin-top: 3px; font-size: 12px; }
.bar { height: 7px; background: #060f22; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #38bdf8; border-radius: 99px; }
.m-link { padding: 11px 14px; border-radius: 10px; color: #c6d4ea; font-size: 13.5px; }
.m-link.active { background: rgba(56,189,248,.14); color: #fff; font-weight: 700; }
.m-link .tag { float: right; font-size: 11px; color: var(--muted); }
.mock-main { padding: 40px 40px 44px; background: #060f22; }
.mock-main h3 { font-size: 24px; color: #fff; letter-spacing: -.01em; }
.admin-tag { font-size: 10px; border: 1px solid #38bdf8; color: #38bdf8; border-radius: 99px; padding: 2px 9px; margin-left: 10px; vertical-align: middle; font-weight: 700; }
.mock-sub { color: #8ea1bc; font-size: 13.5px; margin: 10px 0 24px; }
.stat-strip { display: flex; gap: 40px; background: #0c1a38; border: 1px solid #1e3a5f; border-radius: 16px; padding: 22px 30px; margin-bottom: 24px; flex-wrap: wrap; }
.stat-strip b { color: #fff; font-size: 22px; margin-right: 8px; }
.stat-strip span { color: #c6d4ea; font-size: 14px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mock-card { background: #0c1a38; border: 1px solid #1c3a61; border-radius: 16px; padding: 36px 20px 30px; text-align: center; }
.mock-card i { font-size: 34px; display: block; }
.mock-card b { display: block; margin: 14px 0 6px; font-size: 16px; color: var(--tile-title); }
.mock-card span { font-size: 13px; color: #8ea1bc; }
.server-box { margin-top: 24px; background: #0c1a38; border: 1px solid #1c3a61; border-radius: 16px; padding: 28px 30px; }
.server-box h4 { font-size: 16px; color: #fff; margin-bottom: 14px; }
.server-box h4 span { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 8px; }
.live-dot { color: var(--green); }
.srv-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(30,58,95,.6); font-size: 13.5px; color: #d6e4f7; }
.srv-row:last-child { border: 0; }
.srv-row b { color: #fff; }
.mem-bar { height: 7px; background: #1e293b; border-radius: 99px; margin-top: 8px; max-width: 420px; overflow: hidden; }
.mem-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.preview-head { text-align: center; margin: 0 auto; max-width: 720px; }
.preview-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.shot-caption { text-align: center; color: var(--muted2); font-size: 13.5px; margin-top: 22px; }

/* Inner hero */
.inner-hero { padding: 100px 0 30px; max-width: 860px; }
.inner-hero h1 { font-size: clamp(38px, 4.5vw, 54px); }

/* ---------- Footer ---------- */
footer, .site-footer { border-top: 1px solid var(--border); margin-top: 0; padding: 80px 0 48px; background: #060d1e; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; line-height: 1.7; }
.foot-col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted2); font-size: 13px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a:hover { color: #fff; }
.foot-note { margin-top: 6px; }
.ver-pill { border: 1px solid var(--border2); border-radius: 7px; padding: 2px 10px; font-size: 12px; color: var(--accent); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  /* 8 links don't fit here — Stack/Requirements stay one scroll away in the footer */
  .nav-links a[href*="#stack"], .nav-links a[href*="#requirements"] { display: none; }
}
@media (max-width: 1020px) {
  .hero-split { grid-template-columns: 1fr; gap: 56px; padding: 80px 0 64px; }
  .lede, .sub { max-width: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--border); padding: 26px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 12px; padding: 36px 4px; }
  .grid, .grid-3, .split { grid-template-columns: 1fr; }
  .stack-list { grid-template-columns: 1fr; gap: 0; }
  .stack { grid-template-columns: repeat(2, 1fr); }
  .road { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-search { display: none; }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section.page-section, .section { padding: 80px 0; }
}
/* ---------- Bug tracker (report/view/admin) ---------- */
.field { margin: 18px 0; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field input[type=url], .field input:not([type]),
.field select, .field textarea {
  width: 100%; background: #0d1a36; border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); padding: 13px 16px; font-size: 15px; font-family: inherit; line-height: 1.6;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,189,248,.15); }
.field .hint { display: block; color: var(--muted2); font-size: 13px; margin-top: 6px; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
.radio-row input { accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.thread { display: grid; gap: 14px; }
.t-post { background: #0d1a36; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.t-post p { color: #d1dcef; font-size: 15px; white-space: pre-wrap; }
.t-post.t-admin { border-color: rgba(56,189,248,.45); background: rgba(56,189,248,.05); }
.t-post.t-first { border-color: var(--border2); }
.t-meta { color: var(--muted2); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; }

/* Floating bug-report button — every page, incl. mobile (nav hides there) */
.bug-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff;
  font-weight: 800; font-size: 14.5px; padding: 14px 22px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 12px 34px rgba(239,68,68,.4);
  transition: .18s;
}
.bug-fab:hover { transform: translateY(-2px); filter: brightness(1.08); }

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  h1 { font-size: 42px; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-main { padding: 28px 22px 32px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--border); }
  .stat:first-child { border-top: 0; }
  .cta-band, .cta-panel { padding: 56px 28px; }
  .panel, .card, .feature-block { padding: 32px 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card-foot { flex-direction: column; }
  .hero-card-foot .btn { width: 100%; }
}

/* Installer steps: numbered, compact, reuses theme vars */
.install-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: step; font-size: 12.5px; line-height: 1.55; color: #c9d6ea; }
.hero-card .install-steps { margin-left: 22px; margin-right: 22px; }
.install-steps li { display: flex; gap: 10px; align-items: flex-start; }
.install-steps .n { flex-shrink: 0; width: 20px; height: 20px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: var(--accent); background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3); border-radius: 7px; margin-top: 1px; }
.install-steps code { color: var(--accent); font-size: 12px; background: rgba(56,189,248,.1); padding: 2px 7px; border-radius: 6px; overflow-wrap: anywhere; }
.install-block.tight + .install-steps, .install-steps + .install-block { margin-top: 14px; }

/* Trust badges: Semgrep scan + GitHub link, reuses theme vars */
.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.scan-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: #86efac; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.4); border-radius: 100px; padding: 7px 14px; white-space: nowrap; }
.scan-badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.scan-badge small { font-weight: 600; color: var(--muted); letter-spacing: 0; }
.gh-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--border2); border-radius: 100px; padding: 7px 14px; white-space: nowrap; transition: .15s; }
.gh-link:hover { color: #fff; border-color: var(--accent); background: rgba(56,189,248,.07); }
.gh-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- HostBMS additions ---------- */
.announce.hb { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.beta-banner.hb { background: linear-gradient(90deg, #1e3a8a, #312e81); }
.grad-green { background: linear-gradient(90deg, #4ade80, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock-topbar.hb { background: linear-gradient(90deg, #1e3a8a, #2563eb 45%, #38bdf8); }
.mock-row { display: grid; grid-template-columns: 90px 1fr 110px 110px; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(30,58,95,.6); font-size: 13.5px; color: #d6e4f7; }
.mock-row:last-child { border: 0; }
.mock-row b { color: #fff; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 2px 10px; }
.pill.paid { background: rgba(34,197,94,.15); color: #4ade80; }
.pill.unpaid { background: rgba(245,158,11,.15); color: #fbbf24; }
.pill.retry { background: rgba(56,189,248,.15); color: #38bdf8; }
.disclaimer { color: var(--muted2); font-size: 13px; line-height: 1.6; margin-top: 18px; }
.section-head .lead a, .panel p a, .card p a { color: var(--accent); font-weight: 700; }
@media (max-width: 1020px) { .mock-row { grid-template-columns: 70px 1fr 90px; } .mock-row > :nth-child(3) { display: none; } }
