:root{
  --bg:#0b0f17;
  --panel:rgba(255,255,255,0.04);
  --panel2:rgba(233,238,246,0.04);
  --text:#e8eef7;
  --muted:#a9b7cc;
  --line:rgba(255,255,255,0.10);
  --accent:#7aa7ff;
  --accent2:#85f3d1;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1080px;
}

*{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";
  background: var(--bg);
  color:var(--text);
  line-height:1.45;
}

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

.slide{
  max-width: var(--max);
  margin: 26px auto;
  padding: 22px 18px;
}

header{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.brand{
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.15;
}
.brand small{
  display:block;
  margin-top:6px;
  font-weight:600;
  color:var(--muted);
  letter-spacing:0;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px 12px;
  font-size: 14px;
  max-width: 650px;
}
.nav a{
  padding:6px 10px;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:999px;
  background: rgba(255,255,255,0.02);
  text-decoration:none;
  color:var(--text);
  white-space:nowrap;
}
.nav a:hover{
  border-color: rgba(122,167,255,0.5);
  background: rgba(122,167,255,0.08);
}

main h1{
  margin: 10px 0 8px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height:1.08;
  letter-spacing: -0.02em;
}
h2{margin: 0 0 10px; font-size: 20px}
h3{margin: 0 0 8px; font-size: 16px}
p{margin: 10px 0}
ul{margin: 10px 0 0 22px}
li{margin: 6px 0}

.emph{
  color:#ffffff;
  font-size: 18px;
  line-height: 1.35;
}
.note{
  color:var(--muted);
  font-size: 14px;
}

.card{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: var(--shadow);
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 860px){
  .grid{grid-template-columns: 1fr 1fr;}
}

.hero-img{
  width:100%;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,0.02);
  box-shadow: var(--shadow);
  overflow:hidden;
  margin: 14px 0 8px;
}
.hero-img img{
  width:100%;
  height:auto;
  display:block;
}

footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.tag{
  padding: 6px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
}
