*, *::before, *::after { box-sizing: border-box; }
html { background: #072033; color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
html, body { margin: 0; min-height: 100%; min-height: 100dvh; background: #072033; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: #f3f8fc; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; background: none; border: 0; }
select { cursor: pointer; }
h1, h2, h3, p, dl { margin: 0; }
:focus-visible { outline: 2px solid #38bdf8; outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 60; padding: 12px 16px; border-radius: 12px; background: rgba(224, 242, 254, 0.16); }
.skip-link:focus { top: 16px; }

/* Google Translate host: keeps the widget out of the layout */
.gt-host { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skiptranslate,
.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; visibility: hidden !important; height: 0 !important; }
body { top: 0 !important; position: static !important; }
font { font: inherit !important; color: inherit !important; vertical-align: baseline !important; line-height: inherit !important; }

.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(720px 480px at 92% 8%, rgba(14, 165, 233, 0.20), transparent 58%),
    linear-gradient(180deg, #072033 0%, #0b3a58 48%, #072033 100%);
}
[data-theme="light"] .bg {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, 0.20), transparent 60%),
    radial-gradient(720px 480px at 92% 8%, rgba(125, 211, 252, 0.30), transparent 58%),
    linear-gradient(180deg, #072033 0%, #0b3a58 48%, #072033 100%);
}

.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.site-header, main, footer { position: relative; z-index: 1; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000;
  padding: 0.5rem 0;
}

main { padding-top: 100px; }

.glass {
  background: linear-gradient(165deg, rgba(224, 242, 254, 0.16), rgba(186, 230, 253, 0.10));
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(186, 230, 253, 0.28);
  box-shadow: 0 20px 40px -20px rgba(2, 40, 72, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 64px; padding: 0.5rem 0.85rem; border-radius: 14px;
  background: rgba(15, 34, 50, 0.85); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.88); border-color: rgba(0, 0, 0, 0.12); }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-family: "Outfit", sans-serif; font-size: 1rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.mark { width: 32px; height: 32px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #38bdf8, #0369a1); }
.mark svg { display: block; width: 32px; height: 32px; padding: 7px; }
.links { display: flex; align-items: center; gap: 1.5rem; }
.links a, .drawer-card a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: #9ec4dc; white-space: nowrap; transition: color 0.2s ease; }
.links a:hover, .drawer-card a:not(.btn):hover { color: #f3f8fc; background: rgba(56, 189, 248, 0.14); }
.links a.active, .links a[aria-current="page"] { color: #f3f8fc; font-weight: 600; background: transparent; }
.tools { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.lang { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; flex-shrink: 0; }
.lang:hover { background: rgba(56, 189, 248, 0.14); }
.lang select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  width: 5rem; min-width: 52px; min-height: 44px;
  background-color: rgba(255, 255, 255, 0.08); color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px;
  padding: 0.4rem 1.6rem 0.4rem 0.6rem;
  font-family: "JetBrains Mono", monospace; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; outline: none; box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.5rem center;
}
.lang select:hover { background-color: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); }
.lang select:focus-visible { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25); }
.lang select option { background-color: #0f2232; color: #f1f5f9; padding: 8px 12px; font-family: "JetBrains Mono", monospace; font-size: 0.85rem; }
[data-theme="light"] .lang select {
  background-color: rgba(0, 0, 0, 0.05); color: #0f172a; border-color: rgba(0, 0, 0, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
[data-theme="light"] .lang select:hover { background-color: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.32); }
[data-theme="light"] .lang select:focus-visible { border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2); }
[data-theme="light"] .lang select option { background-color: #ffffff; color: #0f172a; }

.drawer {
  position: fixed; inset: 0; z-index: 40; padding: 88px 16px 16px;
  background: rgba(4, 20, 40, 0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.drawer-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 24px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; background: rgba(186, 230, 253, 0.10); color: #f3f8fc;
  border: 1px solid rgba(186, 230, 253, 0.28); cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.icon-btn:hover { background: rgba(56, 189, 248, 0.14); border-color: #38bdf8; transform: translateY(-1px); }
.icon-btn:active, .btn:active, .filter-btn:active { transform: scale(0.97); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-moon, .icon-close, .menu-btn { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
.menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 700; text-decoration: none;
  cursor: pointer; border: 0; transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  background: #38bdf8; color: #072033; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25); }
.btn.ghost { background: transparent; color: #f3f8fc; border: 1px solid rgba(186, 230, 253, 0.28); filter: none; }
.btn.ghost:hover { background: rgba(56, 189, 248, 0.14); border-color: #38bdf8; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15); }
.btn:focus-visible, .icon-btn:focus-visible, .filter-btn:focus-visible, .search-bar input:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35); border-color: #38bdf8;
}
.btn.small, .card-actions .btn { font-size: 0.85rem; min-height: 38px; padding: 0 16px; }

/* Search */
.search-bar, .search-field {
  position: relative; display: flex; align-items: center; width: 100%; max-width: 580px; margin: 0 auto;
}
.search-bar .search-ico, .search-field .search-ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: #9ec4dc; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke 0.2s ease;
}
.search-bar input[type="search"], .search-bar input[type="text"],
.search-field input[type="search"], .search-field input[type="text"] {
  width: 100%; min-height: 46px; padding: 10px 44px 10px 46px;
  border-radius: 999px; font-family: inherit; font-size: 0.95rem; color: #f3f8fc;
  background: rgba(186, 230, 253, 0.10); border: 1px solid rgba(186, 230, 253, 0.28);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.search-bar input:hover, .search-field input:hover { border-color: rgba(56, 189, 248, 0.4); }
.search-bar input:focus, .search-field input:focus {
  border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25); background: rgba(224, 242, 254, 0.16);
}
.search-bar input::placeholder, .search-field input::placeholder { color: #9ec4dc; opacity: 0.8; }
.search-bar .clear-btn, .search-bar .search-clear, .search-field .clear-btn, .search-field .search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: transparent; border: none;
  color: #9ec4dc; cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.search-bar .clear-btn:hover, .search-bar .search-clear:hover, .search-field .clear-btn:hover, .search-field .search-clear:hover { color: #f3f8fc; background: rgba(56, 189, 248, 0.14); }
.search-bar.has-val .clear-btn, .search-bar.has-val .search-clear,
.search-field.has-val .clear-btn, .search-field.has-val .search-clear { display: flex; }

/* Filters */
.filter-bar, .filter-pills {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  margin: 1.5rem auto 2.5rem;
}
.filter-btn, .filter-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; font-family: inherit; font-size: 0.88rem; font-weight: 600;
  color: #9ec4dc; background: rgba(186, 230, 253, 0.10); border: 1px solid rgba(186, 230, 253, 0.28);
  cursor: pointer; transition: transform 0.15s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-decoration: none; user-select: none;
}
.filter-btn:hover, .filter-pill:hover { color: #f3f8fc; border-color: #38bdf8; background: rgba(56, 189, 248, 0.14); transform: translateY(-1px); }
.filter-btn:active, .filter-pill:active { transform: scale(0.97); }
.filter-btn.active, .filter-pill.active {
  color: #072033; background: #38bdf8; border-color: #38bdf8;
  box-shadow: 0 2px 14px rgba(56, 189, 248, 0.35); font-weight: 700;
}
.filter-btn .count, .filter-pill .count {
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem; font-weight: 700;
  padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: inherit;
}
[data-theme="light"] .filter-btn .count, [data-theme="light"] .filter-pill .count { background: rgba(0, 0, 0, 0.08); }
.filter-btn.active .count, .filter-pill.active .count { background: rgba(0, 0, 0, 0.16); color: inherit; }

/* Page head */
.page-head { margin-bottom: 1.25rem; }
.page-head h2 { font-family: "Outfit", sans-serif; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; font-size: 2rem; line-height: 1.18; }
.page-head em { font-style: normal; color: #38bdf8; }
.page-head .lede { max-width: 72ch; color: #9ec4dc; font-size: 1.02rem; line-height: 1.7; text-wrap: pretty; }
.kicker {
  margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #7dd3fc;
}
[data-theme="light"] .kicker { color: #0369a1; }

/* Page tools: search + filters + refresh */
.page-tools { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 1.5rem 0 0.5rem; }
.page-tools .filter-pills { margin: 0; }

/* Main grid */
.grid { display: grid; gap: 16px; margin-top: 32px; }
.grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.two { grid-template-columns: 1fr 1fr; }
.card { display: flex; flex-direction: column; min-height: 100%; padding: 24px; border-radius: 24px; transition: transform 0.18s ease; }
.card:hover { transform: translateY(-2px); }
.card p { margin-top: 8px; color: #9ec4dc; font-size: 0.92rem; }
.card h3 { font-family: "Outfit", sans-serif; font-size: 1.15rem; font-weight: 700; }
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem;
  margin-top: 1.5rem;
}
.stat-grid > div {
  padding: 16px 18px; border-radius: 18px;
  background: rgba(186, 230, 253, 0.10); border: 1px solid rgba(186, 230, 253, 0.28);
}
.stat dt { font-family: "JetBrains Mono", monospace; font-size: 1.35rem; font-weight: 700; color: #f3f8fc; }
.stat dd { margin: 4px 0 0; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: #9ec4dc; }

/* Cards + charts */
.chart { min-height: 260px; display: flex; flex-direction: column; gap: 8px; }
.chart .empty { color: #9ec4dc; font-family: "JetBrains Mono", monospace; font-size: 0.8rem; padding: 14px 0; text-align: center; }
.chart canvas, .chart svg {
  width: 100%; height: auto; min-height: 200px; flex: 1;
}

/* Table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.25rem; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.table-wrap th, .table-wrap td { padding: 9px 10px; text-align: left; border-bottom: 1px solid rgba(186, 230, 253, 0.28); vertical-align: top; }
.table-wrap th { font-family: "JetBrains Mono", monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: #9ec4dc; white-space: nowrap; }
.table-wrap tbody tr:hover { background: rgba(56, 189, 248, 0.14); }
.table-wrap .mono { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: #38bdf8; white-space: nowrap; }
.table-wrap .slug { font-family: "JetBrains Mono", monospace; font-size: 0.7rem; color: #9ec4dc; opacity: 0.85; }
.table-wrap .unit { font-size: 0.72rem; color: #9ec4dc; white-space: nowrap; }
.table-wrap .tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.tag-forecasting { background: rgba(56, 189, 248, 0.12); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.3); }
.tag-modeling { background: rgba(129, 140, 248, 0.12); color: #a5b4fc; border: 1px solid rgba(129, 140, 248, 0.3); }
.tag-model { background: rgba(129, 140, 248, 0.12); color: #a5b4fc; border: 1px solid rgba(129, 140, 248, 0.3); }
.tag-data { background: rgba(190, 242, 100, 0.12); color: #a3e635; border: 1px solid rgba(190, 242, 100, 0.3); }
.tag-compute { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.tag-storage { background: rgba(148, 163, 184, 0.12); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.3); }
.tag-service { background: rgba(96, 165, 250, 0.12); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }

.text-sm { display: block; margin-top: 1.25rem; font-size: 0.8rem; line-height: 1.7; color: #9ec4dc; }

footer { padding: 32px 0 48px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 32px; border-radius: 24px; }
.foot-brand p { max-width: 360px; margin-top: 16px; color: #9ec4dc; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(186, 230, 253, 0.28); font-size: 14px; font-weight: 700; color: #9ec4dc; }
.social a:hover { color: #f3f8fc; background: rgba(56, 189, 248, 0.14); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-cols h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #38bdf8; }
.foot-cols a { display: flex; align-items: center; min-height: 36px; color: #9ec4dc; }
.foot-cols a:hover { color: #f3f8fc; }
.foot-cols a.active { color: #f3f8fc; }
.foot-end {
  display: flex; justify-content: space-between; gap: 16px; grid-column: 1 / -1;
  padding-top: 16px; border-top: 1px solid rgba(186, 230, 253, 0.28); color: #9ec4dc; font-size: 14px;
}

/* Light theme */
html[data-theme="light"], html[data-theme="light"] body { background: #eaf5fd; }
[data-theme="light"] body { color: #0b3a58; }
[data-theme="light"] .bg {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, 0.30), transparent 60%),
    radial-gradient(720px 480px at 92% 8%, rgba(125, 211, 252, 0.38), transparent 58%),
    linear-gradient(180deg, #eaf5fd 0%, #d7ecfb 48%, #eaf5fd 100%);
}
[data-theme="light"] .glass {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.88), rgba(224, 242, 254, 0.72));
  border-color: rgba(3, 105, 161, 0.22);
  box-shadow: 0 20px 40px -24px rgba(2, 40, 72, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
[data-theme="light"] .links a, [data-theme="light"] .drawer-card a:not(.btn) { color: #215a7d; }
[data-theme="light"] .links a:hover, [data-theme="light"] .drawer-card a:not(.btn):hover { color: #072033; background: rgba(56, 189, 248, 0.18); }
[data-theme="light"] .links a.active, [data-theme="light"] .links a[aria-current="page"] { color: #072033; background: transparent; }
[data-theme="light"] .lang:hover { background: rgba(56, 189, 248, 0.18); }
[data-theme="light"] .icon-btn { background: rgba(255, 255, 255, 0.8); color: #072033; border-color: rgba(3, 105, 161, 0.25); }
[data-theme="light"] .icon-btn:hover { background: rgba(56, 189, 248, 0.18); border-color: #0284c7; }
[data-theme="light"] .btn.ghost { color: #0b3a58; border-color: rgba(3, 105, 161, 0.3); }
[data-theme="light"] .btn.ghost:hover { background: rgba(56, 189, 248, 0.18); border-color: #0284c7; }
[data-theme="light"] .skip-link { background: rgba(255, 255, 255, 0.9); }
[data-theme="light"] .drawer { background: rgba(234, 245, 253, 0.78); }
[data-theme="light"] .search-bar input, [data-theme="light"] .search-field input { background: rgba(255, 255, 255, 0.8); color: #072033; border-color: rgba(3, 105, 161, 0.25); }
[data-theme="light"] .search-bar input::placeholder, [data-theme="light"] .search-field input::placeholder { color: #215a7d; }
[data-theme="light"] .search-bar .search-ico { stroke: #215a7d; }
[data-theme="light"] .search-bar .clear-btn { color: #215a7d; }
[data-theme="light"] .filter-btn, [data-theme="light"] .filter-pill { color: #215a7d; background: rgba(255, 255, 255, 0.7); border-color: rgba(3, 105, 161, 0.22); }
[data-theme="light"] .filter-btn:hover, [data-theme="light"] .filter-pill:hover { color: #072033; background: rgba(56, 189, 248, 0.2); border-color: #0284c7; }
[data-theme="light"] .filter-btn.active, [data-theme="light"] .filter-pill.active { color: #072033; background: #38bdf8; border-color: #38bdf8; }
[data-theme="light"] .page-head .lede, [data-theme="light"] .card p, [data-theme="light"] .text-sm,
[data-theme="light"] .foot-brand p, [data-theme="light"] .social a, [data-theme="light"] .foot-cols a,
[data-theme="light"] .foot-end, [data-theme="light"] .table-wrap .slug, [data-theme="light"] .table-wrap .unit,
[data-theme="light"] .stat dd, [data-theme="light"] .chart .empty { color: #215a7d; }
[data-theme="light"] .card h3, [data-theme="light"] .stat dt { color: #072033; }
[data-theme="light"] .stat-grid > div { background: rgba(255, 255, 255, 0.72); border-color: rgba(3, 105, 161, 0.2); }
[data-theme="light"] .table-wrap th { color: #215a7d; }
[data-theme="light"] .table-wrap th, [data-theme="light"] .table-wrap td { border-bottom-color: rgba(3, 105, 161, 0.18); }
[data-theme="light"] .table-wrap tbody tr:hover { background: rgba(56, 189, 248, 0.14); }
[data-theme="light"] .table-wrap .mono { color: #0369a1; }
[data-theme="light"] .social a:hover, [data-theme="light"] .foot-cols a:hover { color: #072033; }
[data-theme="light"] .foot-end { border-top-color: rgba(3, 105, 161, 0.18); }
[data-theme="light"] .foot-cols h4 { color: #0369a1; }
[data-theme="light"] .social a { border-color: rgba(3, 105, 161, 0.25); }

/* Desktop layout: logo left, menu truly centered, tools right */
@media (min-width: 769px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .nav .logo { justify-self: start; }
  .nav .links { justify-self: center; }
  .nav .tools { justify-self: end; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .stats, .two, .three, .contact, .foot, .foot-cols, .foot-end { grid-template-columns: 1fr; display: grid; }
  .stats div:nth-child(odd), .stats div:nth-child(n+3) { border: 0; }
  .stats div + div { border-top: 1px solid rgba(186, 230, 253, 0.28); }
  .page-head h2 { font-size: 1.4rem; }
  .grid.two { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
}

@media (max-width: 768px) {
  .shell { padding: 0 0.75rem; }
  .site-header { padding: 0.35rem 0; }
  .nav { padding: 0.4rem 0.6rem; gap: 0.5rem; }
  .logo { font-size: 0.85rem; gap: 0.35rem; }
  .tools { gap: 0.35rem; }
  .lang select { font-size: 0.75rem; padding: 0.3rem 1.3rem 0.3rem 0.45rem; background-position: right 0.35rem center; }
  .links { display: none; }
  main { padding-top: 75px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
