:root{
  --bg:#0b1022;
  --fg:#e8ecff;
  --muted:#b8c0ff;
  --accent:#4f46e5;
}

html,body{
  margin:0;
  font-family:system-ui,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--fg);
}

a{color:inherit;text-decoration:none}

.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 28px;
  border-bottom:1px solid rgba(255,255,255,0.15);
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
}

.logo{
  width:72px;
  height:72px;
}

.name{font-weight:800;font-size:20px}
.tag{font-size:13px;color:var(--muted)}

nav{
  display:flex;
  gap:18px;
  align-items:center;
}

nav a, nav button{
  background:none;
  border:none;
  color:var(--fg);
  font-size:14px;
  cursor:pointer;
}

.hero{
  max-width:900px;
  margin:80px auto;
  padding:0 28px;
}

.hero h1{
  font-size:44px;
  margin-bottom:16px;
}

.hero p{
  font-size:18px;
  line-height:1.55;
  color:rgba(232,236,255,0.9);
}

.split{
  max-width:1100px;
  margin:80px auto;
  padding:0 28px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}

.split.alt{
  background:rgba(255,255,255,0.03);
  padding:60px 28px;
  border-radius:16px;
}

.split img{
  width:100%;
  border-radius:18px;
}

.text h2{
  font-size:32px;
  margin-bottom:14px;
}

.text p{
  font-size:16px;
  line-height:1.6;
  margin-bottom:14px;
  color:rgba(232,236,255,0.9);
}

.email{
  font-size:20px;
  color:var(--accent);
}

footer{
  text-align:center;
  padding:40px;
  font-size:13px;
  color:rgba(232,236,255,0.6);
}

@media(max-width:900px){
  .split{
    grid-template-columns:1fr;
  }
  .logo{
    width:56px;
    height:56px;
  }
}

/* Header polish */
.top{
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 28px;
  background: rgba(11,16,34,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color: inherit;
}

.logoWrap{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  display:block;
}

.brandText{
  display:flex;
  flex-direction:column;
  gap: 2px;
  line-height: 1.1;
}

.name{
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.tag{
  font-size: 12px;
  color: rgba(232,236,255,0.72);
}

.nav{
  display:flex;
  gap: 16px;
  align-items:center;
}

.nav a{
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(232,236,255,0.92);
}

.nav a:hover{
  background: rgba(255,255,255,0.06);
}

.mode{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(232,236,255,0.92);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

/* Light mode header */
html[data-theme="light"] .top{
  background: rgba(248,250,252,0.85);
  border-bottom: 1px solid rgba(15,23,42,0.10);
}
html[data-theme="light"] .logoWrap{
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.10);
}
html[data-theme="light"] .tag{
  color: rgba(15,23,42,0.65);
}
html[data-theme="light"] .nav a,
html[data-theme="light"] .mode{
  color: rgba(15,23,42,0.86);
}
html[data-theme="light"] .nav a:hover{
  background: rgba(15,23,42,0.04);
}

/* Mobile */
@media(max-width:900px){
  .top{ padding: 12px 18px; }
  .logoWrap{ width: 48px; height: 48px; border-radius: 12px; }
  .logo{ width: 38px; height: 38px; }
  .nav{ gap: 10px; }
}
