@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(15,23,32,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.09); padding: 18px 28px; }
.site-header-row { width: 100%; align-items: center; }
.logo-group { align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: #16202B; border: 1px solid rgba(255,255,255,0.09); position: relative; flex-shrink: 0; display: inline-block; }
.logo-mark::before, .logo-mark::after { content: ''; position: absolute; width: 16px; height: 2.5px; background: #4C8DFF; top: 50%; left: 50%; }
.logo-mark::before { transform: translate(-50%, -50%) rotate(45deg); }
.logo-mark::after { transform: translate(-50%, -50%) rotate(-45deg); }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; margin: 0; line-height: 1.1; }
.logo-text a { color: #F3F5F7; text-decoration: none; }
.logo-sub { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: #6E7A85; text-transform: uppercase; font-weight: 400; }
.main-nav a { font-size: 14.5px; color: #A9B4BE; }
.main-nav a:hover { color: #F3F5F7; }

/* ===== Eyebrow label ===== */
.eyebrow-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.11em; text-transform: uppercase; color: #4C8DFF; display: inline-flex; align-items: center; gap: 9px; }
.eyebrow-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #35D07F; }
.eyebrow-tag.on-paper { color: #C5651E; }

/* ===== Status ticker ===== */
.status-ticker { border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; background: #16202B; padding: 16px 22px; flex-wrap: wrap; gap: 12px 24px; }
.status-item { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: #A9B4BE; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-dot.good { background: #35D07F; }
.status-dot.warn { background: #FFA64B; }

/* ===== Service cards ===== */
.service-card { background: #16202B; border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; padding: 26px 24px 24px; transition: border-color 0.18s ease, transform 0.18s ease; }
.service-card:hover { border-color: rgba(76,141,255,0.4); transform: translateY(-2px); }
.service-tag { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.06em; color: #6E7A85; border: 1px solid rgba(255,255,255,0.09); border-radius: 6px; padding: 4px 8px; display: inline-block; }
.has-text-mid-color { color: #A9B4BE; }

/* ===== About stats ===== */
.stat-card { background: #FFFFFF; border: 1px solid rgba(15,23,32,0.1); border-radius: 14px; padding: 22px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; color: #14202A; display: block; }
.stat-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #4C5966; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; display: block; }
.about-signature { border: 1px dashed rgba(15,23,32,0.1); border-radius: 14px; padding: 18px 20px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #4C5966; }

/* ===== Contact channels ===== */
.contact-channel { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; color: #A9B4BE; }

/* ===== Footer ===== */
.site-footer { padding: 56px 28px 30px; background: #16202B; border-top: 1px solid rgba(255,255,255,0.09); }
.footer-top { padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-heading { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #6E7A85; }
.footer-bottom { padding-top: 22px; font-family: 'IBM Plex Mono', monospace; }
.footer-bottom p { color: #6E7A85; font-size: 12px; margin: 0; }

/* ===== Blog / post cards ===== */
.post-card { background: #16202B; border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; padding: 24px; }
.post-source-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #4C8DFF; border: 1px solid rgba(255,255,255,0.09); border-radius: 6px; padding: 3px 8px; }

@media (max-width: 680px) {
	.services-grid { grid-template-columns: 1fr !important; }
}

/* ===== Smooth in-page scrolling (nav links, back-to-top) ===== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Floating back-to-top + contact bubble ===== */
.xsol-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.xsol-fab { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.35); transition: transform 0.15s ease, opacity 0.2s ease; }
.xsol-fab:hover { transform: translateY(-2px); }
.xsol-fab svg { width: 22px; height: 22px; }

.xsol-fab-top { background: #16202B; color: #F3F5F7; border: 1px solid rgba(255,255,255,0.14); opacity: 0; pointer-events: none; transform: translateY(8px); }
.xsol-fab-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.xsol-fab-contact { background: #4C8DFF; color: #071019; position: relative; }

.xsol-fab-label { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); background: #16202B; color: #F3F5F7; font-family: 'IBM Plex Mono', monospace; font-size: 12px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; border: 1px solid rgba(255,255,255,0.09); }
.xsol-fab-contact:hover .xsol-fab-label { opacity: 1; }

@media (max-width: 680px) {
	.xsol-float { right: 16px; bottom: 16px; }
	.xsol-fab-label { display: none; }
}
