:root{
  --bg: #0b1020;
  --bg-soft: #101735;
  --text: #eaf2ff;
  --muted: #b8c4e0;
  --brand: #7aa8ff;
  --brand-2: #84ffd1;
  --ring: rgba(122,168,255,.45);
  --card-glow: 0 10px 40px rgba(122,168,255,.15);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --maxw: 1100px;
}

@media (prefers-color-scheme: light){
  :root{
    --bg:#f7f9ff; --bg-soft:#ffffff; --text:#0c1a33; --muted:#50618a; --brand:#2559e3; --brand-2:#0ab28a; --ring: rgba(37,89,227,.25); --card-glow: 0 10px 40px rgba(37,89,227,.10);
  }
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(122,168,255,.20), transparent 60%),
    radial-gradient(1200px 600px at 110% 10%, rgba(132,255,209,.18), transparent 60%),
    var(--bg);
  line-height:1.45;
}

.wrap{ max-width:var(--maxw); margin-inline:auto; padding: 24px; }
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 10px 12px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo{ width:38px; height:38px; border-radius:12px; display:grid; place-items:center; overflow:hidden; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.brand h1{ font-size: clamp(18px, 2.4vw, 22px); margin:0; letter-spacing:.2px; }
.brand small{ display:block; color:var(--muted); font-size:12px; }

.hero{ margin: 40px 0 22px; text-align:center; }
.hero h2{ font-size: clamp(28px, 4vw, 42px); margin:0 0 8px; letter-spacing:.3px; }
.hero p{ margin:0; color: var(--muted); font-size: clamp(14px, 1.6vw, 16px); }

.grid{ display:grid; gap:20px; grid-template-columns: repeat(12, 1fr); margin-top: 26px; }
.span-6{ grid-column: span 6; }
.span-12{ grid-column: span 12; }
@media (max-width: 880px){ .span-6{ grid-column: span 12; } }

.card{
  position:relative; overflow:hidden; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--card-glow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{ transform: translateY(-3px); border-color: rgba(255,255,255,.18); box-shadow: 0 16px 60px rgba(122,168,255,.20); }
.card-body{ position:relative; z-index:1; padding: 24px; display:flex; gap:18px; align-items:flex-start; min-height: 150px; }
.card .icon{ flex:0 0 56px; width:56px; height:56px; border-radius:16px; display:grid; place-items:center; background: linear-gradient(135deg, rgba(122,168,255,.25), rgba(132,255,209,.25)); border:1px solid rgba(255,255,255,.18); }
.card h3{ margin:0 0 6px; font-size: clamp(18px, 2.2vw, 22px); letter-spacing:.2px; }
.card p{ margin:0; color: var(--muted); font-size: 14px; }

.cta{ margin-top: 14px; display:inline-flex; align-items:center; gap:10px; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.cta span{ font-weight:600; letter-spacing:.2px; }

.tiles{ display:grid; gap:18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px){ .tiles{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .tiles{ grid-template-columns: 1fr; } }

.tile{
  display:flex; flex-direction:column; gap:10px; padding:18px; border-radius:18px;
  background: var(--bg-soft); border:1px solid rgba(255,255,255,.10);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tile:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.18); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.tile .t-h{ display:flex; align-items:center; gap:10px; }
.badge{ font-size:11px; padding:4px 10px; border-radius:999px; background: rgba(122,168,255,.20); border:1px solid rgba(122,168,255,.40); color: var(--text); }
.tile p{ margin:0; color: var(--muted); font-size: 13px; }

footer{ margin: 44px 0 20px; color: var(--muted); font-size: 13px; text-align:center; }
footer a{ text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; color: var(--brand-2); }

:is(a, button, .tile, .card):focus-visible{ outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 16px; }
