
:root {
    /* Paper & ink */
    --paper: #faf8f4;
    --paper-2: #ffffff;
    --ink: #1a1b1e;
    --ink-dim: #55565c;
    --ink-faint: #8b8c92;
    --line: #e7e3da;
    --line-strong: #d6d1c4;

    /* UI accent */
    --accent: #2447e0;

    /* Data colors — matplotlib tab10, on purpose */
    --data-blue: #1f77b4;
    --data-orange: #ff7f0e;
    --data-green: #2ca02c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--paper);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.65;
}

/* Graph-paper background: fine grid + a stronger line every 5 cells */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(26, 27, 30, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 27, 30, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(26, 27, 30, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 27, 30, 0.045) 1px, transparent 1px);
    background-size: 36px 36px, 36px 36px, 180px 180px, 180px 180px;
}

section {
    scroll-margin-top: 88px;
}

h1, h2, h3, h4 {
    font-family: 'Schibsted Grotesk', 'Inter', sans-serif;
    font-weight: 640;
    line-height: 1.08;
    letter-spacing: -0.022em;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--paper);
}

::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 5px;
    border: 2px solid var(--paper);
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

/* Emphasis: highlighter swipe instead of italics */
h1 em, h2 em {
    font-style: normal;
    background: linear-gradient(transparent 58%, rgba(36, 71, 224, 0.16) 58%, rgba(36, 71, 224, 0.16) 92%, transparent 92%);
    padding: 0 0.06em;
}

/* --- Kicker: numbered mono section label with a rule --- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 1.25rem;
}

.kicker::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--ink);
}

.kicker .kicker-no {
    color: var(--accent);
}

/* --- Buttons --- */
.btn-ink {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.85rem 1.6rem;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid var(--ink);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-ink:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px rgba(26, 27, 30, 0.45);
}

.btn-ink .btn-arrow {
    transition: transform 0.2s ease;
}

.btn-ink:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--ink);
    padding: 0.85rem 1.4rem;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--line-strong);
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--paper-2);
}

/* --- Nav --- */
.site-nav {
    background: rgba(250, 248, 244, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease;
}

.site-nav.nav-scrolled {
    box-shadow: 0 4px 20px -12px rgba(26, 27, 30, 0.2);
}

.nav-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-dim);
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--ink);
}

.logo-mark {
    color: var(--ink);
    flex-shrink: 0;
}

.logo-mark .dot-a { fill: var(--data-blue); }
.logo-mark .dot-b { fill: var(--data-orange); }

/* --- Hero stats: hairline-separated columns --- */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.hero-stats .stat {
    padding: 1.25rem 1.25rem 0 0;
}

.hero-stats .stat + .stat {
    border-left: 1px solid var(--line);
    padding-left: 1.25rem;
}

.hero-stats .stat-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}

.hero-stats .stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 0.45rem;
}

/* --- Figure card (ML visualizer as a paper figure) --- */
.figure-card {
    background: var(--paper-2);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 48px -24px rgba(26, 27, 30, 0.25);
}

.figure-head {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--line);
}

.figure-head .fig-no {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: lowercase;
}

.figure-head .fig-title {
    font-family: 'Schibsted Grotesk', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 640;
    color: var(--ink);
}

.figure-body {
    position: relative;
    height: 360px;
}

#ml-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.fig-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--accent);
    opacity: 0.7;
}

.figure-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.1rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.figure-foot .fig-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--ink-faint);
}

.fig-tabs {
    display: flex;
    gap: 0.25rem;
}

.fig-tab {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    color: var(--ink-faint);
    border: 1px solid transparent;
    cursor: pointer;
    background: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.fig-tab:hover {
    color: var(--ink);
}

.fig-tab.active {
    color: var(--ink);
    border-color: var(--line-strong);
    background: var(--paper);
}

/* --- Sample exam question card --- */
.exam-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 48px -24px rgba(26, 27, 30, 0.25);
}

/* classic exam-sheet margin rule */
.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 1px;
    background: rgba(214, 69, 69, 0.3);
}

.exam-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.1rem 0.7rem 2.6rem;
    border-bottom: 1px solid var(--line);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--ink-faint);
}

.exam-head .exam-mode {
    color: var(--accent);
    text-transform: uppercase;
}

.exam-body {
    padding: 1.5rem 1.6rem 1.4rem 2.6rem;
}

.exam-q {
    font-size: 0.95rem;
    line-height: 1.6;
}

.exam-q .q-no {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    color: var(--accent);
    margin-right: 0.5rem;
}

.exam-parts {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--ink-dim);
    font-size: 0.88rem;
}

.exam-parts .part-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink);
    margin-right: 0.45rem;
}

.exam-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.1rem 0.8rem 2.6rem;
    border-top: 1px dashed var(--line-strong);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    color: var(--ink-faint);
}

.answer-toggle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.exam-answer {
    padding: 1.1rem 1.6rem 1.3rem 2.6rem;
    border-top: 1px dashed var(--line-strong);
    background: rgba(36, 71, 224, 0.03);
    font-size: 0.84rem;
    color: var(--ink-dim);
}

.exam-answer .part-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink);
    margin-right: 0.45rem;
}

/* --- Exam figure: colour-coded loss landscape --- */
.exam-fig {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.9rem 0.9rem 0.6rem;
    margin-bottom: 1.25rem;
}

.exam-fig svg {
    width: 100%;
    height: auto;
    display: block;
}

.exam-fig .fig-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    fill: var(--ink-dim);
}

.exam-fig .fig-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    fill: var(--ink-faint);
}

.exam-fig .fig-point-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    fill: var(--ink);
}

.exam-fig .fig-caption {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.66rem;
    color: var(--ink-faint);
    text-align: right;
    margin-top: 0.35rem;
}

/* --- Numbered point list --- */
.point-list {
    border-top: 1px solid var(--line);
}

.point-list li {
    display: flex;
    gap: 1.25rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.point-list .point-no {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.point-list h4 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

/* --- Track cards --- */
.track-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.track-card:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -20px rgba(26, 27, 30, 0.3);
}

.track-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.track-no {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-faint);
    letter-spacing: 0.08em;
}

.motif {
    color: var(--ink-dim);
    transition: color 0.25s ease;
}

.track-card:hover .motif {
    color: var(--accent);
}

.track-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.track-card p {
    color: var(--ink-dim);
    font-size: 0.9rem;
    flex-grow: 1;
}

.track-tags {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--ink-faint);
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

/* --- Timeline (rounds) --- */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--line-strong);
}

.timeline-progress {
    position: absolute;
    left: 19px;
    top: 8px;
    width: 1px;
    height: 0;
    background: var(--accent);
}

.timeline-item {
    position: relative;
    padding-left: 72px;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--paper-2);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-dim);
    z-index: 2;
}

.timeline-item.active .timeline-dot {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 4px rgba(36, 71, 224, 0.12);
}

.timeline-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover .timeline-card {
    border-color: var(--ink);
    box-shadow: 0 16px 32px -20px rgba(26, 27, 30, 0.25);
}

.timeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.round-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.round-status.live {
    color: var(--accent);
}

.round-status.live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(36, 71, 224, 0.35); }
    50% { box-shadow: 0 0 0 5px rgba(36, 71, 224, 0); }
}

.round-date {
    color: var(--ink-dim);
}

.timeline-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
}

.timeline-card p {
    color: var(--ink-dim);
    font-size: 0.92rem;
}

.round-tags {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--ink-faint);
    margin-top: 1.1rem;
}

/* --- Countdown --- */
.countdown-item {
    background: var(--paper-2);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 1.2rem 0;
    text-align: center;
    width: 104px;
}

.countdown-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 0.5rem;
}

.countdown-sep {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.6rem;
    color: var(--line-strong);
    align-self: center;
    padding-bottom: 1.2rem;
}

/* --- Footer --- */
.footer-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--ink-faint);
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: var(--ink);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .figure-body {
        height: 280px;
    }

    .timeline-item {
        padding-left: 56px;
    }

    .timeline-dot {
        width: 32px;
        height: 32px;
        font-size: 0.65rem;
    }

    .timeline-line,
    .timeline-progress {
        left: 15px;
    }

    .timeline-card {
        padding: 1.4rem 1.5rem;
    }

    .countdown-item {
        width: 76px;
        padding: 0.9rem 0;
    }

    .countdown-value {
        font-size: 1.7rem;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .term-cursor,
    .round-status.live::before {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Platform additions (nav dropdowns, mobile menu,
   footer, materials, subscribe) — added during the
   design transfer, same visual language as above
   ============================================ */

/* --- Nav dropdowns --- */
.nav-drop {
    position: relative;
}

.nav-drop-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.drop-caret {
    font-size: 0.6rem;
    opacity: 0.55;
}

.nav-drop-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--paper-2);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px -18px rgba(26, 27, 30, 0.25);
    padding: 1.1rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 175px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop.open .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-drop-panel a {
    font-size: 0.82rem;
    color: var(--ink-dim);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.nav-drop-panel a:hover {
    color: var(--accent);
}

.nav-drop-mega {
    flex-direction: row;
    gap: 2.2rem;
    left: auto;
    right: -60px;
    transform: translateY(6px);
}

.nav-drop:hover .nav-drop-mega,
.nav-drop.open .nav-drop-mega {
    transform: translateY(0);
}

.drop-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.drop-col-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
    margin-bottom: 0.25rem;
    display: block;
}

/* --- Mobile menu --- */
#mobile-menu.open {
    display: flex;
}

#mobile-menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 24px 40px -20px rgba(26, 27, 30, 0.25);
}

.mm-section {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.mm-section a {
    font-size: 0.85rem;
    color: var(--ink-dim);
    text-decoration: none;
}

/* --- Footer --- */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.6rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--ink-dim);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* --- Materials --- */
.material-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--line);
    background: var(--paper);
    text-decoration: none;
    color: var(--ink);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.material-link:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

/* --- Subscribe form --- */
.subscribe-input {
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s ease;
}

.subscribe-input:focus {
    border-color: var(--accent);
}

/* --- Sample-question post-it + teaser (About section) --- */
.exam-card { overflow: visible; }

.postit {
    position: absolute;
    top: -18px;
    right: -14px;
    max-width: 250px;
    z-index: 3;
    background: #fef3c7;               /* warm sticky-note yellow */
    color: #5b4b20;
    font-size: 0.82rem;
    line-height: 1.45;
    padding: 0.8rem 0.95rem;
    border-radius: 3px;
    box-shadow: 0 10px 22px -10px rgba(26, 27, 30, 0.35);
    transform: rotate(2.2deg);
    border: 1px solid rgba(180, 150, 60, 0.25);
}

.postit::before {
    /* pin dot */
    content: '';
    position: absolute;
    top: 9px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

@media (max-width: 1023px) {
    .postit {
        position: static;
        max-width: none;
        transform: none;
        margin-bottom: 1rem;
    }
    .postit::before { display: none; }
}

.exam-teaser {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 1.1rem 1.3rem;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.exam-teaser:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.exam-teaser-lead {
    color: var(--ink-dim);
    font-size: 0.95rem;
    line-height: 1.5;
}

.exam-teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.exam-teaser .teaser-arrow {
    transition: transform 0.2s ease;
}

.exam-teaser:hover .teaser-arrow {
    transform: translateY(3px);
}

/* --- Inline links inside timeline round descriptions --- */
.tl-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
    white-space: nowrap;
}
.tl-link:hover {
    border-bottom-color: var(--accent);
}
