/*
 * GTM Talent — People Assessment for PE Deal Teams
 * Warm, approachable, human-centered "People" theme
 * Coral + warm rose + cream
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --coral: #F97316;
    --coral-dark: #EA580C;
    --rose: #FB7185;
    --rose-light: #FECDD3;
    --amber: #F59E0B;
    --cream: #FFF7ED;
    --cream-dark: #FED7AA;
    --warm-100: #FFEDD5;
    --warm-200: #FED7AA;
    --warm-50: #FFFBF5;
    --text-primary: #292524;
    --text-secondary: #44403C;
    --text-muted: #78716C;
    --border: #E7E5E4;
    --border-warm: #D6D3D1;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-primary);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === NAVIGATION === */

.topnav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(41,37,36,0.04);
}

.nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.75rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-icon {
    color: var(--coral);
    font-size: 1.4rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links li a {
    display: block;
    padding: 0.45rem 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-xs);
    transition: all 0.2s ease;
}

.nav-links li a:hover {
    color: var(--coral);
    background: var(--warm-100);
}

.nav-links li.active a {
    color: var(--coral-dark);
    background: var(--warm-100);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 1.5rem;
    height: 1.25rem;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    position: absolute;
    left: 0;
    transition: 0.2s;
    border-radius: 1px;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* === HERO === */

.hero {
    background: linear-gradient(135deg, var(--coral) 0%, var(--rose) 50%, var(--amber) 100%);
    padding: 4.5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 2rem 2rem;
}

.hero-inner {
    max-width: 40rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
}

.hero-shape {
    position: absolute;
    bottom: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

/* === SECTION HERO (shared base) === */

.section-hero {
    background: linear-gradient(135deg, var(--coral) 0%, var(--rose) 60%, var(--amber) 100%);
    padding: 2.5rem 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 1.5rem 1.5rem;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--amber), var(--coral));
    border-radius: 0 0 1.5rem 1.5rem;
}

.section-hero-inner {
    max-width: 52rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.hero-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.hero-breadcrumb a:hover {
    color: rgba(255,255,255,0.9);
}

.bc-sep {
    color: rgba(255,255,255,0.3);
    margin: 0 0.4rem;
}

.bc-current {
    color: rgba(255,255,255,0.8);
}

.hero-badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.hero-title {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.hero-lead {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 38rem;
    font-weight: 500;
}

/* --- Index heroes: centered, larger title --- */

.glossary-index-hero,
.compare-hero,
.landscape-hero,
.about-hero {
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
}

.glossary-index-hero .section-hero-inner,
.compare-hero .section-hero-inner,
.landscape-hero .section-hero-inner,
.about-hero .section-hero-inner {
    max-width: 36rem;
}

.glossary-index-hero .hero-title,
.compare-hero .hero-title,
.landscape-hero .hero-title,
.about-hero .hero-title {
    font-size: 2.5rem;
    letter-spacing: -0.03em;
}

.glossary-index-hero .hero-lead,
.compare-hero .hero-lead,
.landscape-hero .hero-lead,
.about-hero .hero-lead {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: none;
}

/* --- Per-section gradient accents --- */

.landscape-hero { background: linear-gradient(135deg, var(--coral) 0%, #E11D48 50%, var(--rose) 100%); }
.landscape-hero::after { background: linear-gradient(90deg, var(--coral), var(--rose), var(--coral)); }

.compare-hero { background: linear-gradient(135deg, #9333EA 0%, var(--rose) 50%, var(--coral) 100%); }
.compare-hero::after { background: linear-gradient(90deg, #9333EA, var(--coral), #9333EA); }
.comparison-page-hero { background: linear-gradient(135deg, #7C3AED 0%, var(--rose) 40%, var(--coral) 100%); }
.comparison-page-hero::after { background: linear-gradient(90deg, #7C3AED, var(--coral), #7C3AED); }

.about-hero { background: linear-gradient(135deg, var(--text-primary) 0%, #57534E 50%, var(--coral) 100%); }
.about-hero::after { background: linear-gradient(90deg, var(--text-muted), var(--coral), var(--text-muted)); }

/* === CONTENT === */

.content-wrap {
    max-width: 52rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    flex: 1;
}

.content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 12px rgba(41,37,36,0.06), 0 1px 3px rgba(41,37,36,0.04);
    border: 1px solid var(--border);
}

/* === TYPOGRAPHY === */

.content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--warm-100);
}

.content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.content a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.content a:hover {
    color: var(--coral-dark);
    text-decoration: underline;
}

.content hr {
    border: none;
    height: 2px;
    background: var(--warm-100);
    margin: 2.5rem 0;
    border-radius: 1px;
}

.content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
}

/* === LISTS === */

.content ul, .content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.content li {
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.content li strong {
    color: var(--text-primary);
}

/* === TABLES === */

.content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: block;
    overflow-x: auto;
}

.content thead th {
    background: linear-gradient(135deg, var(--coral) 0%, var(--rose) 100%);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border: none;
}

.content tbody td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    border-right: none;
    border-left: none;
    border-top: none;
}

.content tbody tr:hover {
    background: var(--warm-50);
}

.content tbody tr:last-child td {
    border-bottom: none;
}

.content tbody td:first-child {
    font-weight: 700;
    color: var(--text-primary);
}

/* Harvey ball alignment */
.content td:not(:first-child),
.content th:not(:first-child) {
    text-align: center;
}

/* === HARVEY BALL SPRITE === */
/* Coral stroke (#EA580C), coral fill (#F97316) */

.hb {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAxMjAgMjQiPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIiBmaWxsPSIjRkZGRkZGIi8+PGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0VBNTgwQyIgc3Ryb2tlLXdpZHRoPSIyIi8+PGNpcmNsZSBjeD0iMzYiIGN5PSIxMiIgcj0iMTAiIGZpbGw9IiNGRkZGRkYiLz48cGF0aCBkPSJNMzYsMTIgTDM2LDIgQTEwLDEwIDAgMCwxIDQ2LDEyIFoiIGZpbGw9IiNGOTczMTYiLz48Y2lyY2xlIGN4PSIzNiIgY3k9IjEyIiByPSIxMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRUE1ODBDIiBzdHJva2Utd2lkdGg9IjIiLz48Y2lyY2xlIGN4PSI2MCIgY3k9IjEyIiByPSIxMCIgZmlsbD0iI0ZGRkZGRiIvPjxwYXRoIGQ9Ik02MCwxMiBMNjAsMiBBMTAsMTAgMCAwLDEgNjAsMjIgWiIgZmlsbD0iI0Y5NzMxNiIvPjxjaXJjbGUgY3g9IjYwIiBjeT0iMTIiIHI9IjEwIiBmaWxsPSJub25lIiBzdHJva2U9IiNFQTU4MEMiIHN0cm9rZS13aWR0aD0iMiIvPjxjaXJjbGUgY3g9Ijg0IiBjeT0iMTIiIHI9IjEwIiBmaWxsPSIjRkZGRkZGIi8+PHBhdGggZD0iTTg0LDEyIEw4NCwyIEExMCwxMCAwIDEsMSA3NCwxMiBaIiBmaWxsPSIjRjk3MzE2Ii8+PGNpcmNsZSBjeD0iODQiIGN5PSIxMiIgcj0iMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0VBNTgwQyIgc3Ryb2tlLXdpZHRoPSIyIi8+PGNpcmNsZSBjeD0iMTA4IiBjeT0iMTIiIHI9IjEwIiBmaWxsPSIjRjk3MzE2Ii8+PGNpcmNsZSBjeD0iMTA4IiBjeT0iMTIiIHI9IjEwIiBmaWxsPSJub25lIiBzdHJva2U9IiNFQTU4MEMiIHN0cm9rZS13aWR0aD0iMiIvPjwvc3ZnPgo=");
    background-repeat: no-repeat;
    background-size: 110px 22px;
    vertical-align: middle;
    position: relative;
}

.hb-1 { background-position: 0 0; }
.hb-2 { background-position: -22px 0; }
.hb-3 { background-position: -44px 0; }
.hb-4 { background-position: -66px 0; }
.hb-5 { background-position: -88px 0; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* === BLOCKQUOTES === */

.content blockquote {
    border-left: 4px solid var(--coral);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--warm-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: normal;
}

.content blockquote p:last-child {
    margin-bottom: 0;
}

/* === CODE === */

.content code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85em;
    background: var(--warm-100);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-xs);
    color: var(--text-primary);
}

.content pre {
    background: var(--text-primary);
    color: var(--cream-dark);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* === GLOSSARY ENTRY STYLES === */

.glossary-entry h1 {
    display: none;
}

.glossary-entry h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glossary-entry h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, var(--coral), var(--rose));
    border-radius: 2px;
    flex-shrink: 0;
}

/* First paragraph — the definition, highlighted */
.glossary-entry h1 + p,
.glossary-entry > p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    border-left: 3px solid var(--coral);
    padding-left: 1.25rem;
    margin-bottom: 1.75rem;
}

/* Related Terms section — last h2 + ul */
.glossary-entry h2:last-of-type {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.glossary-entry h2:last-of-type::before {
    background: linear-gradient(180deg, var(--amber), var(--coral));
}

.glossary-entry h2:last-of-type + ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.75rem;
}

.glossary-entry h2:last-of-type + ul li {
    background: var(--warm-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.15rem;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.glossary-entry h2:last-of-type + ul li:hover {
    border-color: var(--coral);
    background: var(--warm-100);
    box-shadow: 0 4px 12px rgba(249,115,22,0.1);
    transform: translateY(-2px);
}

.glossary-entry h2:last-of-type + ul li a {
    font-weight: 700;
    font-size: 0.95rem;
}

.glossary-entry ul li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}

.glossary-entry {
    border-top: 3px solid var(--coral);
}

/* === GLOSSARY INDEX STYLES === */

.glossary-index h1 {
    display: none;
}

.glossary-index > p:first-of-type,
.glossary-index > p:nth-of-type(2) {
    display: none;
}

.glossary-index hr {
    display: none;
}

.glossary-index h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--coral);
    border-bottom: none;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glossary-index h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.glossary-index ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.glossary-index ul li {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.glossary-index ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--coral), var(--rose));
    opacity: 0;
    transition: opacity 0.2s;
}

.glossary-index ul li:hover {
    border-color: var(--coral);
    box-shadow: 0 6px 16px rgba(249,115,22,0.1);
    transform: translateY(-2px);
}

.glossary-index ul li:hover::before {
    opacity: 1;
}

.glossary-index ul li a {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.glossary-index ul li a:hover {
    text-decoration: none;
    color: var(--coral);
}

.glossary-index {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 1rem 0;
}

/* === COMPARISONS STYLES === */

.compare-index h1 { display: none; }
.compare-index > p:first-of-type { display: none; }

.compare-index {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 1rem 0;
}

.compare-index h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #9333EA;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compare-index h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.compare-index h2:first-of-type { margin-top: 0; }

.compare-index ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.compare-index ul li {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.compare-index ul li:hover {
    border-left-color: #9333EA;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.compare-index ul li p { margin: 0; }

.comparison-detail h1 { display: none; }
.comparison-detail { border-top: 3px solid #9333EA; }

.comparison-detail h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.comparison-detail h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, #9333EA, var(--coral));
    border-radius: 2px;
    flex-shrink: 0;
}

/* === LANDSCAPE STYLES === */

.landscape-content h1 { display: none; }
.landscape-content { border-top: 3px solid var(--coral); }

.landscape-content h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.landscape-content h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, var(--coral), var(--rose));
    border-radius: 2px;
    flex-shrink: 0;
}

/* === ABOUT STYLES === */

.about-content h1 { display: none; }
.about-content { border-top: 3px solid var(--text-muted); }

.about-content h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.about-content h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, var(--text-muted), var(--coral));
    border-radius: 2px;
    flex-shrink: 0;
}

/* === FOOTER === */

.site-footer {
    background: var(--text-primary);
    color: var(--text-muted);
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
}

.footer-inner {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #A8A29E;
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 3.75rem;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 0.5rem 1rem;
        box-shadow: 0 8px 16px rgba(41,37,36,0.08);
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .nav-links.open { display: flex; }
    .nav-links li a { padding: 0.6rem 0.75rem; }

    .hero { padding: 3rem 1rem; border-radius: 0 0 1rem 1rem; }
    .hero h1 { font-size: 1.875rem; }
    .section-hero { padding: 2rem 1rem 1.5rem; border-radius: 0 0 1rem 1rem; }
    .hero-title { font-size: 1.75rem; }
    .glossary-index-hero .hero-title,
    .compare-hero .hero-title,
    .landscape-hero .hero-title,
    .about-hero .hero-title { font-size: 2rem; }

    .content { padding: 1.75rem 1.25rem; border-radius: var(--radius-sm); }
    .content-wrap { padding: 1.5rem 0.75rem; }
    .site-footer { border-radius: 1rem 1rem 0 0; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-sub { font-size: 0.95rem; }
    .content h1 { font-size: 1.5rem; }
    .content h2 { font-size: 1.2rem; }
}
