
.page-hero{
  padding:40px 0 12px;
}
.page-hero .eyebrow{
  margin-bottom:14px;
}
.page-hero h1{
  font-size:clamp(34px,4.6vw,58px);
  line-height:1.08;
  max-width:14ch;
}
.page-hero p{
  max-width:820px;
}
.page-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.page-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:24px;
  text-decoration:none;
  color:inherit;
}
.page-card h3{
  margin:0 0 10px;
  font-size:22px;
}
.page-card p{
  margin:0;
  font-size:16px;
  line-height:1.7;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  color:var(--brand);
  letter-spacing:.02em;
}
.kicker-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--brand);
}
.roadmap{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.step-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:24px;
}
.step-num{
  display:inline-flex;
  width:28px;
  height:28px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(37,99,235,0.10);
  color:var(--brand);
  font-size:13px;
  font-weight:800;
  margin-bottom:12px;
}
.step-card h3{
  margin:0 0 10px;
  font-size:22px;
}
.step-card p{
  margin:0;
  font-size:16px;
  line-height:1.7;
}
.inline-note{
  margin-top:18px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(37,99,235,0.06);
  border:1px solid rgba(37,99,235,0.10);
  color:#334155;
  font-weight:600;
}
body.theme-dark .page-card,
body.theme-dark .step-card{
  background:#1e293b;
  box-shadow:none;
}
body.theme-dark .inline-note{
  background:rgba(147,197,253,0.08);
  border-color:rgba(147,197,253,0.12);
  color:#dbeafe;
}
@media (max-width:1024px){
  .page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .roadmap{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
  .page-grid,.roadmap{grid-template-columns:1fr}
  .page-hero{padding:28px 0 8px}
}


/* v32 search + filters */
.controls-bar{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  margin:18px 0 6px;
}
.search-box{
  flex:1 1 320px;
  min-width:260px;
}
.search-box input{
  width:100%;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  border-radius:18px;
  padding:14px 16px;
  font-size:15px;
  outline:none;
}
.search-box input::placeholder{
  color:var(--muted);
}
.filter-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.filter-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  color:#334155;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}
.filter-chip.active{
  background:rgba(37,99,235,0.10);
  color:var(--brand);
  border-color:rgba(37,99,235,0.18);
}
body.theme-dark .search-box input{
  background:rgba(255,255,255,0.04);
  color:var(--text);
}
body.theme-dark .filter-chip{
  background:rgba(255,255,255,0.04);
  color:#e5eefc;
}
body.theme-dark .filter-chip.active{
  background:rgba(147,197,253,0.12);
  color:#dbeafe;
  border-color:rgba(147,197,253,0.18);
}


/* v55 UI polish: remove double-underlined card content */
.page-card,
.page-card:hover,
.page-card:visited,
.step-card,
.step-card:hover,
.step-card:visited,
.journey-card,
.journey-card:hover,
.journey-card:visited,
.learning-card,
.learning-card:hover,
.learning-card:visited{
  text-decoration:none !important;
  color:inherit !important;
}

.page-card h3,
.page-card p,
.step-card h3,
.step-card p,
.journey-card h3,
.journey-card p,
.learning-card h3,
.learning-card p,
.page-card .desc,
.step-card .desc,
.journey-card .desc,
.learning-card .desc{
  text-decoration:none !important;
}

.page-card h3,
.step-card h3{
  margin:0 0 10px;
  line-height:1.2;
}

.page-card p,
.step-card p{
  color:#64748b;
}

body.theme-dark .page-card p,
body.theme-dark .step-card p{
  color:rgba(238,244,255,0.78);
}

/* v65 premium hub pages */
.topic-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:30px;
}
.topic-card {
  padding:18px;
  border-radius:16px;
  background:rgba(37,99,235,0.06);
  border:1px solid rgba(37,99,235,0.1);
  text-decoration:none;
  color:inherit;
  transition:all .2s ease;
}
.topic-card:hover {
  transform:translateY(-3px);
  border-color:rgba(37,99,235,0.3);
}
.topic-card h3 {
  margin-bottom:8px;
}


/* v123 domination UI */
.breadcrumb{
  font-size:12px;
  margin-bottom:10px;
  opacity:0.7;
}
.pillar-section{
  margin-top:24px;
  padding:16px;
  border-radius:12px;
  background:rgba(255,255,255,0.03);
}
.related-advanced{
  margin-top:16px;
}
