:root{
  --bg0:#05070c;
  --bg1:#0b1220;
  --card:rgba(255,255,255,0.04);
  --card2:rgba(255,255,255,0.06);
  --line:rgba(255,255,255,0.10);
  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.68);
  --muted2:rgba(255,255,255,0.55);
  --accent:#5aa0ff;
  --accent2:#7fb4ff;
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(90,160,255,0.20), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(90,160,255,0.14), transparent 60%),
    radial-gradient(900px 650px at 40% 110%, rgba(90,160,255,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--accent2)}

.container{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}

header.site-header{
  padding:18px 0 14px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.header-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  width:auto;          
  max-width:520px;     
}

.brand img{
  height:44px;
  width:auto;
  display:block;
}

.brand .tagline{
  font-size:11px;
  line-height:1.2;
  color:var(--muted2);
  width:auto;          /* no longer forced to full width */
  max-width:240px;     
}

/* On small screens, stack again so it doesn't crush the nav */
@media (max-width: 640px){
  .brand{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    max-width:none;
  }
  .brand .tagline{
    max-width:150px;
  }
}


.nav{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.nav a{
  padding:6px 14px;
  border-radius:12px;
  border:1px solid rgba(90,160,255,0.35);
  background:rgba(255,255,255,0.02);
  color:var(--accent2);
  font-size:14px;
}
.nav a:hover{
  border-color: rgba(90,160,255,0.6);
  background: rgba(90,160,255,0.08);
}
.nav a.active{
  border-color: rgba(90,160,255,0.70);
  background: rgba(90,160,255,0.12);
}

main{flex:1; padding:26px 0 22px}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding:24px;
  box-shadow: 0 18px 70px rgba(0,0,0,0.45);
}
.card + .card{margin-top:18px}

.hero{
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 860px){
  .hero{grid-template-columns: 1fr}
}

h1{
  margin:0 0 10px;
  font-size:32px;
  letter-spacing:-0.3px;
}
h2{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:-0.2px;
}
p{margin:0 0 10px; color:var(--muted); line-height:1.55}
.small{font-size:12px; color:var(--muted2)}

.hr{
  height:1px;
  background: rgba(255,255,255,0.08);
  margin:16px 0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--muted2);
}
.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background: rgba(90,160,255,0.8);
  box-shadow: 0 0 0 4px rgba(90,160,255,0.18);
}

.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(90,160,255,0.45);
  background: rgba(90,160,255,0.10);
  color: var(--accent2);
  font-weight:600;
}
.btn:hover{
  border-color: rgba(90,160,255,0.75);
  background: rgba(90,160,255,0.15);
}
.btn.secondary{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr;} }

.tile{
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.tile h3{
  margin:0 0 6px;
  font-size:15px;
}
.tile p{margin:0; font-size:13px}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.86);
  font-size:12px;
}

footer.site-footer{
  margin-top:auto;
  padding:18px 0 22px;
  border-top:1px solid rgba(255,255,255,0.06);
}
.footer-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}
.footer-links{display:flex; gap:12px; flex-wrap:wrap}
.footer-links a{color:var(--muted2)}
.footer-links a:hover{color:var(--accent2)}
