/* Crosmix shared styles: navbar (all pages) + clean content pages */
:root {
  --bg: #081114;
  --card: rgba(14, 25, 30, 0.80);
  --box: #0f1c21;
  --box-hover: #14262c;
  --border: rgba(160, 220, 215, 0.09);
  --border-strong: rgba(160, 220, 215, 0.18);
  --text: #e6f2f1;
  --muted: #8ba5a8;
  --accent: #5cc9bd;
  --accent-soft: rgba(92, 201, 189, 0.14);
  --grad: linear-gradient(135deg, #1e9488 0%, #2a6bb5 100%);
  --radius-lg: 28px;
  --radius-md: 20px;
  --nav-h: 68px;
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 640px) {
  :root { --nav-h: 94px; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: dark; background: var(--bg); }

/* ---------- Navbar (never blurred) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  padding: 0 clamp(14px, 2.6vw, 32px);
  display: flex; align-items: center; gap: 8px;
  background: rgba(8, 17, 20, 0.96);
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
}

.site-brand {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto; margin-right: clamp(10px, 2vw, 26px);
  color: var(--text); text-decoration: none; user-select: none;
}
.site-brand svg {
  width: 36px; height: 36px; display: block;
  filter: drop-shadow(0 6px 14px rgba(42, 168, 154, 0.3));
}
.site-brand-name { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; }
.site-brand-name span {
  background: linear-gradient(90deg, #7fe0d2, #7fb6f0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-brand:focus-visible, .site-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.site-nav {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: flex-start; gap: 2px;
  overflow-x: auto; scrollbar-width: none; padding: 4px 2px;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: 0 0 auto;
  padding: 8px 14px; border-radius: 11px;
  font-size: 14.5px; font-weight: 550; color: var(--muted);
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }

.launch-nav {
  position: relative; overflow: hidden; flex: 0 0 auto;
  display: inline-block; margin-left: 12px;
  padding: 12px 24px; border-radius: 14px;
  font-size: 15px; font-weight: 650; letter-spacing: 0.01em;
  color: #fff; text-decoration: none; white-space: nowrap;
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 22px rgba(30, 148, 136, 0.26);
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.launch-nav:hover {
  transform: translateY(-2px); filter: brightness(1.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset, 0 12px 30px rgba(42, 120, 190, 0.4);
}
.launch-nav:active { transform: translateY(0) scale(0.96); filter: brightness(0.95); }
.launch-nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 640px) {
  .site-header {
    display: grid; grid-template-columns: 1fr auto;
    grid-template-areas: "brand launch" "nav nav";
    align-content: center; align-items: center; gap: 0;
    padding: 0 12px;
  }
  .site-brand { grid-area: brand; margin: 0; }
  .site-brand svg { width: 32px; height: 32px; }
  .site-brand-name { font-size: 19px; }
  .launch-nav { grid-area: launch; margin: 0; padding: 10px 16px; font-size: 14px; }
  .site-nav {
    grid-area: nav; margin: 0 -12px; padding: 2px 12px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%);
  }
  .site-nav a { padding: 7px 11px; font-size: 14px; }
}
@media (max-width: 380px) {
  .site-brand-name { font-size: 17px; }
}

/* ---------- Content pages (normal, readable, not blurred) ---------- */
.page-body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: var(--nav-h);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 560px at 8% 0%, rgba(42, 168, 154, 0.14), transparent 65%),
    radial-gradient(900px 600px at 96% 100%, rgba(47, 127, 196, 0.12), transparent 65%),
    var(--bg);
  background-attachment: fixed;
}

.page {
  flex: 1 0 auto;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.page-hero { margin-bottom: 32px; }
.page-hero h1 {
  font-size: clamp(28px, 5vw, 42px); font-weight: 750;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 14px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #86e3d5, #82b4f2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; color: var(--muted); line-height: 1.6; }

.panel {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 90px rgba(42, 168, 154, 0.06);
}
.panel h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 28px 0 10px; }
.panel h2:first-child { margin-top: 0; }
.panel p { color: #b4cbce; margin-bottom: 16px; font-size: 16.5px; }
.panel p:last-child { margin-bottom: 0; }
.panel a, .lead a { color: var(--accent); text-decoration: none; }
.panel a:hover, .lead a:hover { text-decoration: underline; }

/* Blog listing */
.post-list { display: grid; gap: 22px; }
.post-card {
  display: block; overflow: hidden;
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: inherit; text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.post-card:hover { transform: translateY(-2px); border-color: rgba(92, 201, 189, 0.45); }
.post-card img {
  display: block; width: 100%; height: 160px; object-fit: cover;
  background: var(--box);
}
.post-card-body { padding: 18px 22px 22px; }
.post-card h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 4px 0 6px; }
.post-card p { color: var(--muted); font-size: 15.5px; }
.post-meta { display: block; font-size: 13px; font-weight: 600; color: var(--accent); }

/* Blog post */
.post-img {
  display: block; width: 100%; height: 320px; object-fit: cover;
  border-radius: var(--radius-md); background: var(--box);
  margin: 0 0 28px;
}
.back-link { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; font-size: 14.5px; }
.back-link:hover { color: var(--text); }

/* FAQ */
.faq-item { padding: 22px 0; border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: none; padding-top: 0; }
.faq-item:last-child { padding-bottom: 0; }
.panel .faq-item h2 { font-size: 19px; margin: 0 0 8px; }
.panel .faq-item p { margin: 0; }

/* Buttons */
.btn-link {
  display: inline-block; padding: 14px 30px; border-radius: 14px;
  font-size: 16px; font-weight: 700; color: #fff !important;
  background: var(--grad); text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(30, 148, 136, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(42, 120, 190, 0.4); }

/* Footer */
.site-footer {
  flex: 0 0 auto;
  padding: 28px 20px 34px; text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(8, 17, 20, 0.85);
  font-size: 14px; color: var(--muted);
}
.site-footer a { color: var(--accent); text-decoration: none; margin: 0 10px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .footer-contact { margin-top: 8px; font-size: 13px; }
.site-footer .footer-contact a { margin: 0; }