:root{
  --bg:#0b1220;
  --card:#0f1a30;
  --text:#e7eefc;
  --muted:#b8c7e6;
  --line:rgba(255,255,255,.12);
  --accent:#77a7ff;
  --accent2:#7bffa7;
  --accent3:#c39cff;

  /* per-division accents */
  --d-hosting:#7bffa7;
  --d-apps:#c39cff;
  --d-windows:#77a7ff;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(119,167,255,.18), transparent 60%),
    radial-gradient(1200px 600px at 80% 10%, rgba(123,255,167,.10), transparent 55%),
    radial-gradient(900px 500px at 50% 40%, rgba(195,156,255,.08), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

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

header{
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.72);
  border-bottom:1px solid var(--line);
  z-index:10;
}

.wrap{max-width:1140px; margin:0 auto; padding:0 18px}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
  color:var(--text);
}
.brand:hover{text-decoration:none}
.brand .sub{display:block; font-size:11px; font-weight:500; color:var(--muted); letter-spacing:.3px}

.logo{
  width:34px;
  height:34px;
  border-radius:10px;
  flex:none;
  background: linear-gradient(135deg, rgba(119,167,255,.9), rgba(123,255,167,.8));
  box-shadow:0 10px 30px rgba(119,167,255,.18);
}

.nav a{font-size:14px; color:var(--muted)}
.navlinks{display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:flex-end}
.navlinks a.active{color:var(--text)}

.cta{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  background: linear-gradient(135deg, rgba(119,167,255,.9), rgba(119,167,255,.55));
  color:#071022;
}
.cta:hover{filter:brightness(1.04); text-decoration:none}

main{padding:28px 0 12px}

.grid{display:grid; gap:18px}
.heroGrid{grid-template-columns: 1.2fr .8fr}
.cols{grid-template-columns: repeat(3, 1fr)}
.cols2{grid-template-columns: repeat(2, 1fr)}
.cols4{grid-template-columns: repeat(4, 1fr)}

@media(max-width:1000px){
  .cols4{grid-template-columns: repeat(2, 1fr)}
}
@media(max-width:920px){
  .heroGrid{grid-template-columns: 1fr}
  .cols, .cols2{grid-template-columns: 1fr}
  .navlinks{justify-content:flex-start}
}
@media(max-width:560px){
  .cols4{grid-template-columns: 1fr}
}

.card{
  background: rgba(15,26,48,.7);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

h1{font-size:36px; line-height:1.15; margin:0 0 12px}
h2{font-size:20px; margin:0 0 12px}
h3{font-size:16px; margin:0 0 8px; color:var(--muted)}

p{margin:0 0 12px; color:var(--muted)}
.section{padding:10px 0}

.kicker{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 10px;
}

.pillRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.pill{
  font-size:12px;
  color:var(--text);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding:7px 10px;
  border-radius:999px;
}

.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}
.list.clean{list-style:none; padding-left:0}
.list.clean li{padding-left:20px; position:relative}
.list.clean li::before{
  content:"";
  position:absolute;
  left:4px; top:9px;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--accent);
}

.hr{height:1px; background:var(--line); margin:14px 0}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.dot{width:8px; height:8px; border-radius:50%; background: var(--accent2)}
.small{font-size:12px; color:rgba(231,238,252,.72)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}

.note{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:14px;
  padding:12px;
  color:var(--muted);
}

.row{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:10px;
  padding:10px 0;
  border-top:1px solid var(--line);
}
.row:first-of-type{border-top:none}
.k{color:rgba(231,238,252,.8)}
@media(max-width:920px){.row{grid-template-columns:1fr}}

/* ---------- buttons ---------- */

.btnRow{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px}

.btn{
  display:inline-block;
  padding:11px 16px;
  border-radius:12px;
  font-weight:600;
  font-size:14px;
  border:1px solid transparent;
  background: linear-gradient(135deg, rgba(119,167,255,.9), rgba(119,167,255,.55));
  color:#071022;
}
.btn:hover{filter:brightness(1.06); text-decoration:none}

.btn.ghost{
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--text);
}
.btn.ghost:hover{background: rgba(255,255,255,.08)}

/* ---------- division cards (home) ---------- */

.division{
  display:flex;
  flex-direction:column;
  border-top:2px solid var(--accent);
}
.division .tag{
  display:inline-block;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:10px;
}
.division h2{margin-bottom:8px}
.division .list{flex:1}
.division .more{margin-top:14px; font-weight:600; font-size:14px}

.d-hosting{border-top-color:var(--d-hosting)}
.d-hosting .tag, .d-hosting .more a{color:var(--d-hosting)}
.d-hosting .list.clean li::before{background:var(--d-hosting)}

.d-apps{border-top-color:var(--d-apps)}
.d-apps .tag, .d-apps .more a{color:var(--d-apps)}
.d-apps .list.clean li::before{background:var(--d-apps)}

.d-windows{border-top-color:var(--d-windows)}
.d-windows .tag, .d-windows .more a{color:var(--d-windows)}
.d-windows .list.clean li::before{background:var(--d-windows)}

/* ---------- stats ---------- */

.stats{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
.stat b{display:block; font-size:24px; line-height:1.2}
.stat .small{display:block; margin-top:2px}
@media(max-width:720px){.stats{grid-template-columns:repeat(2, 1fr)}}

/* ---------- app catalog ---------- */

.app{display:flex; flex-direction:column}
.app .appIcon{
  width:44px;
  height:44px;
  border-radius:12px;
  margin-bottom:12px;
  display:block;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
}

.app .appDomain{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:12px;
  color:var(--muted);
  margin-bottom:10px;
}
.iconRow{display:flex; gap:8px; margin-top:14px}
.iconRow img{
  width:30px;
  height:30px;
  border-radius:9px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
}

.app h2{font-size:18px; margin-bottom:6px}
.app .platforms{display:flex; flex-wrap:wrap; gap:6px; margin-top:12px}
.app .platforms span{
  font-size:11px;
  padding:4px 9px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--muted);
}
.app .appLink{margin-top:14px; font-size:14px; font-weight:600}

.status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted);
}
.status::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background:var(--accent2);
}
.status.beta::before{background:#ffd479}
.status.soon::before{background:rgba(255,255,255,.35)}

/* ---------- steps ---------- */

.steps{counter-reset:step; display:grid; gap:12px}
.stepItem{
  position:relative;
  padding-left:44px;
  color:var(--muted);
}
.stepItem::before{
  counter-increment:step;
  content:counter(step);
  position:absolute;
  left:0; top:0;
  width:30px; height:30px;
  display:flex; align-items:center; justify-content:center;
  border-radius:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-size:14px;
  font-weight:700;
}
.stepItem b{display:block; color:var(--text); margin-bottom:2px}

/* ---------- footer ---------- */

footer{
  padding:28px 0 40px;
  border-top:1px solid var(--line);
  margin-top:28px;
}

.footGrid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:22px;
  margin-bottom:22px;
}
.footGrid h3{font-size:13px; color:var(--text); margin-bottom:10px}
.footGrid ul{list-style:none; margin:0; padding:0}
.footGrid li{margin:6px 0; font-size:14px}
.footGrid a{color:var(--muted)}
.footGrid a:hover{color:var(--text)}
@media(max-width:920px){.footGrid{grid-template-columns: repeat(2, 1fr)}}
@media(max-width:520px){.footGrid{grid-template-columns: 1fr}}

.footBottom{border-top:1px solid var(--line); padding-top:16px}
