:root {
    --bg: #0a0a0a;
    --bg-elevated: #111111;
    --bg-stress: #110a0a;
    --text: #e8e4df;
    --text-dim: #8a8580;
    --text-muted: #5a5550;
    --accent: #c9a84c;
    --accent-dim: rgba(201, 168, 76, 0.15);
    --earn: #4a9e6e;
    --earn-dim: rgba(74, 158, 110, 0.1);
    --lose: #c45c4a;
    --lose-dim: rgba(196, 92, 74, 0.1);
    --stress-accent: #8b3a3a;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(201, 168, 76, 0.3);
}

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

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

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    gap: 0.25rem;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.2rem;
}

.lang-link {
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.lang-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.lang-active {
    color: var(--accent);
    background: var(--accent-dim);
}

.lang-meme {
    font-size: 0.5rem;
    letter-spacing: 1px;
}

/* ===== HERO ===== */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-label {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.65rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.hero-name {
    color: var(--accent);
}

.hero-sub {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 300;
}

.hero-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-accent), transparent);
    margin-top: 4rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}

.section:last-of-type {
    border-bottom: none;
}

.section-heading {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.heading-number {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    flex-shrink: 0;
    position: relative;
    top: -2px;
}

.section-body p {
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.section-body p:last-child {
    margin-bottom: 0;
}

/* ===== LEAD / TL;DR ===== */
.section-lead {
    padding: 5rem 0;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text);
    font-weight: 400;
    max-width: 700px;
}

/* ===== BRAIN BARS ===== */
.brain-bar-chart {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brain-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brain-bar-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    width: 110px;
    flex-shrink: 0;
    text-align: right;
}

.brain-bar-track {
    flex: 1;
    height: 32px;
    background: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.brain-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #d4b85a);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    min-width: 50px;
    transition: width 1s ease-out;
}

.brain-bar-fill span {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: 0.5px;
}

.brain-bar-fill--low {
    background: var(--text-muted);
    min-width: 50px;
    justify-content: center;
    padding-right: 0;
}

.brain-bar-fill--low span {
    color: var(--bg);
}

.subsection-heading {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* ===== CALLOUT ===== */
.callout {
    background: var(--bg-elevated);
    border-left: 3px solid var(--accent);
    padding: 2.5rem;
    border-radius: 0 8px 8px 0;
}

.callout-heading {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.callout p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

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

.callout-quote {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--accent);
    padding: 1rem 0 1rem 1.5rem;
    border-left: 2px solid var(--border-accent);
    margin: 1.5rem 0;
}

/* ===== RAW LIST ===== */
.raw-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.raw-list li {
    color: var(--text-dim);
    padding-left: 1.5rem;
    position: relative;
}

.raw-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 1px;
    transform: rotate(45deg);
}

.raw-list li strong {
    color: var(--text);
    display: block;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    letter-spacing: -0.2px;
}

/* ===== TRUST ===== */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.trust-col {
    padding: 2rem;
    border-radius: 8px;
}

.trust-earn {
    background: var(--earn-dim);
    border: 1px solid rgba(74, 158, 110, 0.15);
}

.trust-lose {
    background: var(--lose-dim);
    border: 1px solid rgba(196, 92, 74, 0.15);
}

.trust-col h3 {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.trust-earn h3 {
    color: var(--earn);
}

.trust-lose h3 {
    color: var(--lose);
}

.trust-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-col ul li {
    color: var(--text-dim);
    font-size: 0.95rem;
    padding-left: 1rem;
    position: relative;
}

.trust-col ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.trust-earn ul li::before {
    background: var(--earn);
}

.trust-lose ul li::before {
    background: var(--lose);
}

.trust-footnote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ===== DRIVERS ===== */
.drivers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.driver {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.driver-score {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.driver-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.driver-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.anti-drivers {
    padding: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.anti-drivers h3 {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.anti-drivers p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.score-inline {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ===== STRESS ===== */
.section-stress {
    background: var(--bg-stress);
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-bottom-color: rgba(139, 58, 58, 0.2);
}

.section-stress .section-heading {
    color: var(--lose);
}

.section-stress .heading-number {
    color: var(--lose);
}

.stress-intro {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.stress-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 2.5rem;
}

.stress-item {
    display: grid;
    grid-template-columns: 60px 130px 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stress-item:last-child {
    border-bottom: none;
}

.stress-score {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lose);
    text-align: right;
}

.stress-name {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
}

.stress-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.stress-pattern {
    padding: 2rem;
    background: rgba(139, 58, 58, 0.08);
    border: 1px solid rgba(139, 58, 58, 0.15);
    border-radius: 8px;
}

.stress-pattern p {
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.stress-pattern p:last-child {
    margin-bottom: 0;
}

.pattern-cycle {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ===== GROWTH ===== */
.section-growth {
    border-bottom: none;
}

.growth-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.growth-list li {
    color: var(--text-dim);
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.growth-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 2px;
    background: var(--accent);
}

/* ===== APPENDIX ===== */
.appendix {
    border-bottom: none;
}

.appendix .section-heading {
    margin-bottom: 1rem;
}

.appendix-intro {
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

/* Profile summary cards */
.appendix-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.appendix-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.appendix-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.appendix-card--wide {
    grid-column: 1 / -1;
}

.appendix-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.appendix-card-name {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
}

.appendix-badge {
    font-family: 'Syne', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.appendix-badge--danger {
    color: var(--lose);
    background: var(--lose-dim);
}

.appendix-card-about {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.appendix-card-result p {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.7;
}

.appendix-card-result p strong {
    color: var(--text);
}

.emergenetics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.emergenetics-grid h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.emergenetics-grid p {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.7;
}

/* Hogan section */
.appendix-subheading {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.appendix-hogan-intro {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.appendix-hogan-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.appendix-hogan-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.appendix-hogan-card--danger {
    border-color: rgba(196, 92, 74, 0.2);
    background: rgba(17, 10, 10, 0.6);
}

.appendix-hogan-card--danger:hover {
    border-color: rgba(196, 92, 74, 0.35);
}

.appendix-hogan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.appendix-hogan-card-header h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
}

.appendix-hogan-about {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

/* Score rows — number on left, label + note on right */
.appendix-scores {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.appendix-score-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0.65rem 0.5rem;
    border-radius: 4px;
}

.appendix-score-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.015);
}

.appendix-score-value {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dim);
    text-align: right;
    min-width: 36px;
    flex-shrink: 0;
    line-height: 1.2;
}

.appendix-score-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.appendix-score-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.appendix-score-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.appendix-score--extreme { color: var(--lose); }
.appendix-score--danger { color: var(--lose); }
.appendix-score--high { color: var(--accent); }
.appendix-score--low { color: var(--text-muted); }

/* ===== SELECTION TOOLBAR ===== */
.selection-toolbar {
    position: absolute;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.selection-toolbar.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toolbar-btn {
    font-family: 'Syne', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    background: none;
    border: none;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.toolbar-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.toolbar-btn[data-action="suggest"]:hover {
    color: var(--accent);
}

.toolbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* ===== SUGGEST MODAL ===== */
.suggest-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.suggest-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.suggest-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.suggest-modal-content {
    position: relative;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 540px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    transform: translateY(8px);
    transition: transform 0.2s ease;
}

.suggest-modal.visible .suggest-modal-content {
    transform: translateY(0);
}

.suggest-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.suggest-modal-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.suggest-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.suggest-modal-close:hover {
    color: var(--text);
}

.suggest-modal-body {
    padding: 1.5rem;
}

.suggest-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.suggest-optional {
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.6;
}

.suggest-original {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-height: 120px;
    overflow-y: auto;
    border-left: 3px solid var(--accent);
}

.suggest-input,
.suggest-context {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    resize: vertical;
    margin-bottom: 1.25rem;
    transition: border-color 0.2s ease;
}

.suggest-input:focus,
.suggest-context:focus {
    outline: none;
    border-color: var(--accent);
}

.suggest-context {
    margin-bottom: 0;
}

.suggest-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

.suggest-cancel {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.suggest-cancel:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

.suggest-submit {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0a0a0a;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.suggest-submit:hover {
    background: #d4b85a;
}

/* ===== COPY TOAST ===== */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3000;
}

.copy-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== BROWSER TEXT FRAGMENT HIGHLIGHT ===== */
::target-text {
    background: rgba(201, 168, 76, 0.25);
    color: var(--text);
}

/* ===== FOOTER ===== */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    h1 {
        font-size: 2.4rem;
    }

    .hero {
        padding: 5rem 0 3rem;
    }

    .section {
        padding: 3rem 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .drivers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stress-item {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
    }

    .stress-name {
        grid-column: 2;
    }

    .stress-desc {
        grid-column: 1 / -1;
        padding-left: 0;
        font-size: 0.85rem;
    }

    .brain-bar-label {
        width: 80px;
        font-size: 0.65rem;
    }

    .appendix-cards {
        grid-template-columns: 1fr;
    }

    .emergenetics-grid {
        grid-template-columns: 1fr;
    }

    .section-stress {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .drivers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .driver {
        padding: 1.5rem 0.75rem;
    }

    h1 {
        font-size: 2rem;
    }
}
