:root{
  --max: 980px;
  --bg: #f2f4f5;
  --surface: #ffffff;
  --surface2: #fbfbfc;
  --border: #e6e8eb;
  --text: #101518;
  --muted: #5a6670;
  --accent: #6001D2; /* Yahoo-ish purple */
  --accent2: #4b00a8;
  --shadow: 0 6px 18px rgba(0,0,0,.06);
  --radius: 16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.65;
  color:var(--text);
  background:var(--bg);
}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.header{
  position:sticky;
  top:0;
  z-index:50;
  background: var(--accent);
  color:#fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header .wrap{
  max-width:var(--max);
  margin:0 auto;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-width: 0;
}
.brand .logo{
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
}
.brand .tag{
  font-size:.9rem;
  opacity:.9;
  white-space:nowrap;
}
.nav a{
  color:#fff;
  font-weight:600;
  margin-left:14px;
  white-space:nowrap;
}
.main{
  max-width:var(--max);
  margin: 0 auto;
  padding: 18px 16px 28px;
}
.hero{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align:center;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height:1.15;
}
.hero h2{
  margin:0 0 14px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight:700;
  color: var(--accent2);
}
.hero .sub{
  margin:0 auto;
  color:var(--muted);
  max-width: 70ch;
  font-size: 1rem;
}
.sectionTitle{
  margin: 18px 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
.card{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  padding: 14px 16px;
}
.card h3{
  margin:0 0 8px;
  font-size: 1.15rem;
  line-height:1.2;
}
.meta{
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 10px;
}
.footer{
  max-width:var(--max);
  margin: 0 auto;
  padding: 26px 16px 34px;
  color: var(--muted);
  text-align:center;
}
.pill{
  display:inline-block;
  background: rgba(96,1,210,.10);
  color: var(--accent2);
  border:1px solid rgba(96,1,210,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight:700;
  font-size:.9rem;
}
.article{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}
.article h1{margin:0 0 10px; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height:1.15}
.article h2{margin:18px 0 8px; font-size:1.25rem}
.article p{margin:0 0 12px}
.article ul{margin: 0 0 12px 18px}
.back{display:inline-block; margin-top: 12px}
/* wider screens */
@media (min-width: 860px){
  .grid{grid-template-columns: 1fr 1fr;}
}
