/* AKKM Software — shared styles. No external fonts or trackers. */
:root {
  --bg: #0b1220;
  --bg-2: #111c31;
  --surface: #16223b;
  --surface-2: #1c2b48;
  --border: rgba(255, 255, 255, 0.10);
  --text: #e8edf7;
  --muted: #9fb0cc;
  --brand: #3b82f6;
  --brand-2: #1e40af;
  --accent: #ef4444;
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header / nav ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text);
  font-size: 18px;
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #2f6fed; text-decoration: none; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 64px;
  background: radial-gradient(1200px 500px at 50% -10%, rgba(59, 130, 246, 0.18), transparent 60%);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero p.lead {
  font-size: clamp(17px, 2.6vw, 21px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 16px;
}

/* ── Sections ─────────────────────────────────────────────── */
section { padding: 56px 0; }
.section-title { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; letter-spacing: -0.3px; }
.section-sub { color: var(--muted); max-width: 620px; margin: 0 0 36px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}

.app-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.app-icon {
  width: 84px; height: 84px; border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 30px;
}
.app-row h3 { margin: 0 0 4px; font-size: 22px; }
.app-row p { margin: 0; color: var(--muted); }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--muted); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 999px; margin-top: 8px;
}

/* ── Legal / document pages ───────────────────────────────── */
.doc { padding: 56px 0 72px; }
.doc-inner { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 {
  font-size: 22px; margin: 34px 0 10px; padding-top: 8px;
}
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { color: #d7e0f2; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 22px 0;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.toc strong { display: block; margin-bottom: 8px; }
.toc a { color: var(--muted); font-weight: 600; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
}
.cta h2 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 32px); }
.cta p { margin: 0 auto 24px; color: rgba(255, 255, 255, 0.9); max-width: 520px; }
.cta .btn-primary { background: #fff; color: var(--brand-2); }
.cta .btn-primary:hover { background: #eef2ff; }

/* ── Stats ────────────────────────────────────────────────── */
.stats { display: flex; flex-wrap: wrap; gap: 18px; }
.stat {
  flex: 1 1 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat .num { font-size: 30px; font-weight: 800; color: var(--text); }
.stat .label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
  color: var(--muted);
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 14px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a.hide-sm { display: none; }
  .app-row { grid-template-columns: 64px 1fr; }
  .app-row .app-cta { grid-column: 1 / -1; }
  .app-icon { width: 64px; height: 64px; font-size: 24px; border-radius: 16px; }
}
