.terms-page{line-height:1.75}

.terms-hero-panel{
max-width:800px;
margin-inline:auto;
text-align:center;
}

.terms-grid{
display:grid;
grid-template-columns:260px 1fr;
gap:var(--space-5);
align-items:start;
}

.terms-nav{
position:sticky;
top:120px;
display:flex;
flex-direction:column;
gap:var(--space-3);
}

.terms-nav a{
padding:0.4rem 0.6rem;
border-radius:var(--radius-sm);
color:var(--color-text-secondary);
}

.terms-nav a.active,
.terms-nav a:hover{
color:var(--color-accent-cyan);
background:rgba(0,240,255,0.08);
box-shadow:var(--glow-soft);
}

.terms-content{
display:flex;
flex-direction:column;
gap:var(--space-5);
}

.terms-section{
max-width:900px;
}

.terms-section.narrow{
max-width:700px;
}

.definitions-list{
display:flex;
flex-direction:column;
gap:var(--space-3);
}

.definitions-list div{
padding-bottom:var(--space-2);
border-bottom:1px solid var(--color-divider);
}

.definitions-list span{
color:var(--color-accent-cyan);
font-family:var(--font-heading);
margin-right:0.5rem;
}

.terms-section.highlight{
border-color:rgba(255,0,85,0.4);
box-shadow:0 0 12px rgba(255,0,85,0.25);
}

@media (max-width:900px){
.terms-grid{
grid-template-columns:1fr;
}

.terms-nav{
position:relative;
top:auto;
flex-direction:row;
overflow-x:auto;
}

.terms-nav a{
white-space:nowrap;
}
}
