
:root {
  --brand-600: #1E3A8A;
  --brand-500: #2563EB;
  --brand-400: #60A5FA;
  --brand-300: #93C5FD;
  --gray-900: #0F172A;
  --gray-700: #334155;
  --gray-500: #64748B;
  --gray-300: #CBD5E1;
  --gray-100: #F1F5F9;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; color: var(--gray-900); background: var(--white); line-height:1.6; }
a { color: var(--brand-600); text-decoration:none; } a:hover { text-decoration:underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

header.site-header { position: sticky; top:0; z-index:50; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom:1px solid var(--gray-100); }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand { display:flex; align-items:center; gap:12px; }
.brand img { height:40px; width:auto; }
.brand .title { font-weight:700; font-size:1.125rem; color: var(--gray-900); }
.brand .tagline { display:block; font-size:0.8rem; color: var(--gray-500); margin-top:-4px; }

.nav { display:flex; gap:20px; align-items:center; }
.nav a { color: var(--gray-700); font-weight:600; }
.nav a.active { color: var(--brand-600); }
.mobile-toggle { display:none; background:none; border:none; font-size:1.5rem; }

@media (max-width: 820px) {
  .nav { display:none; position:absolute; top:60px; left:0; right:0; background:var(--white); border-bottom:1px solid var(--gray-100); padding:16px 20px; flex-direction:column; }
  .nav.open { display:flex; }
  .mobile-toggle { display:block; }
}

.hero { background: linear-gradient(180deg, var(--brand-300), var(--white)); padding: 64px 0 48px; }
.hero .card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.hero h1 { margin: 0 0 12px; font-size: 2rem; line-height:1.2; }
.hero p.lead { color: var(--gray-700); font-size: 1.1rem; margin:0 0 20px; }
.cta-row { display:flex; gap:12px; flex-wrap: wrap; }
.btn { display:inline-block; padding: 12px 18px; border-radius: 12px; font-weight:700; border:1px solid transparent; }
.btn-primary { background: var(--brand-600); color: var(--white); }
.btn-primary:hover { background: var(--brand-500); text-decoration:none; }
.btn-ghost { background: var(--white); border-color: var(--gray-300); color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); text-decoration:none; }

.section { padding: 48px 0; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--white); border:1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card h3 { margin-top:0; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--brand-600); font-weight: 800; }
.h2 { font-size: 1.6rem; margin: 8px 0 12px; }
.muted { color: var(--gray-500); }

.footer { background: var(--gray-100); border-top:1px solid var(--gray-300); }
.footer-inner { display:grid; grid-template-columns: 2fr 1fr 1fr; gap:20px; padding:24px 0; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }
.footer a { color: var(--gray-700); }

.badge-row { display:flex; gap:10px; flex-wrap: wrap; }
.badge { background: var(--gray-100); border:1px solid var(--gray-300); color: var(--gray-700); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; }
/* ----- Badge tooltips ----- */
.badge-row { position: relative; overflow: visible; }
.badge { position: relative; cursor: help; }

.badge[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: #0f1b3a;
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 27, 58, .25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 50;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.badge[data-tip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f1b3a;
  opacity: 0;
  visibility: hidden;
  z-index: 51;
  transition: opacity .15s ease, visibility .15s;
}

.badge:hover[data-tip]::after,
.badge:hover[data-tip]::before,
.badge:focus-visible[data-tip]::after,
.badge:focus-visible[data-tip]::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.badge[tabindex="0"] { outline: none; }
.badge[tabindex="0"]:focus-visible { box-shadow: 0 0 0 2px rgba(15,27,58,.15) inset; }

