:root {
    --color-primary: #ffc107;
    --color-secondary: #ffb300;
    --color-accent: #ff6f00;
    --color-bg: #fffef5;
    --color-text: #1a1a1a;
    --color-muted: #5a5548;
    --color-border: #e8e0c8;
    --color-card: #ffffff;
    --color-on-primary: #1a1a1a;
    --color-on-accent: #ffffff;
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "DM Sans", sans-serif;
    --radius: 20px;
    --radius-btn: 8px;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --tb-header-h: 72px;
    --tb-page-w: 1120px;
    --tb-header-w: 1320px;
    --tb-bp: 1279px;
}

@media (max-width: 1279px) {
    :root { --tb-header-h: 64px; }
}
@media (max-width: 480px) {
    :root { --tb-header-h: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
}

html { scroll-padding-top: var(--tb-header-h); }

body {
    padding-top: var(--tb-header-h);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image: radial-gradient(rgba(26, 26, 26, 0.06) 1px, transparent 1px);
    background-size: 18px 18px;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a:not(.tb-btn) { color: var(--color-accent); }
a:not(.tb-btn):hover { color: #c45500; }

.tb-u-container {
    width: 100%;
    max-width: var(--tb-page-w);
    margin-inline: auto;
    padding-inline: 20px;
}
.tb-u-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}
.tb-u-h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.tb-u-lede { color: var(--color-muted); max-width: 62ch; }
.tb-u-fine { font-size: 0.9rem; color: var(--color-muted); }
.tb-u-note { font-size: 0.85em; color: var(--color-muted); }
.tb-u-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-u-mt { margin-top: 1.5rem; }
.tb-u-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tb-u-measure { max-width: 760px; }
.tb-u-grad-word {
    background: linear-gradient(120deg, var(--color-accent), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 520px) {
    .tb-u-actions { flex-direction: column; align-items: stretch; }
    .tb-u-actions .tb-btn { white-space: normal; }
}

.tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-btn);
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #ffe082 0%, var(--color-primary) 100%);
    color: var(--color-on-primary);
    box-shadow: none;
}
a.tb-btn, a.tb-btn:visited, button.tb-btn {
    color: var(--color-on-primary);
    background: linear-gradient(180deg, #ffe082 0%, var(--color-primary) 100%);
}
a.tb-btn:hover, a.tb-btn:focus-visible, a.tb-btn:active,
button.tb-btn:hover, button.tb-btn:focus-visible, button.tb-btn:active {
    color: var(--color-on-accent);
    background: linear-gradient(180deg, #ff8a1a 0%, var(--color-accent) 100%);
}
a.tb-btn--primary, a.tb-btn--primary:visited, button.tb-btn--primary {
    color: var(--color-on-primary);
    background: linear-gradient(180deg, #ffe082 0%, var(--color-primary) 100%);
}
a.tb-btn--primary:hover, a.tb-btn--primary:focus-visible, a.tb-btn--primary:active,
button.tb-btn--primary:hover, button.tb-btn--primary:focus-visible, button.tb-btn--primary:active {
    color: var(--color-on-accent);
    background: linear-gradient(180deg, #ff8a1a 0%, var(--color-accent) 100%);
}
a.tb-btn--ghost, a.tb-btn--ghost:visited, button.tb-btn--ghost {
    color: var(--color-text);
    background: transparent;
    border-color: var(--color-text);
}
a.tb-btn--ghost:hover, a.tb-btn--ghost:focus-visible, a.tb-btn--ghost:active,
button.tb-btn--ghost:hover, button.tb-btn--ghost:focus-visible {
    color: var(--color-on-accent);
    background: var(--color-text);
    border-color: var(--color-text);
}
.tb-btn--sm { min-height: 36px; padding: 0 12px; font-size: 0.85rem; }

.tb-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    min-width: 0;
    box-shadow: 0 10px 28px rgba(26, 26, 26, 0.05);
}

.tb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--tb-header-h);
    background: var(--color-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.tb-header__row {
    max-width: var(--tb-header-w);
    min-height: var(--tb-header-h);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    gap: 12px;
}
.tb-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    color: var(--color-text);
    text-decoration: none;
    z-index: 2;
}
.tb-header__logo svg { width: 140px; height: 40px; }
.tb-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    min-width: 0;
}
.tb-nav--left {
    justify-content: flex-start;
    padding-right: calc(70px + 1rem);
}
.tb-nav--right {
    justify-content: flex-end;
    padding-left: calc(70px + 1rem);
    justify-self: end;
}
.tb-header a:not(.tb-btn),
.tb-header a:not(.tb-btn):visited {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}
.tb-header a:not(.tb-btn):hover { color: var(--color-accent); }
.tb-header a.is-active { color: var(--color-accent); }
.tb-header a.tb-btn--primary,
.tb-header a.tb-btn--primary:visited {
    color: var(--color-on-primary);
}
.tb-header a.tb-btn--primary:hover,
.tb-header a.tb-btn--primary:focus-visible {
    color: var(--color-on-accent);
}

.tb-burger,
.tb-overlay,
.tb-drawer { display: none; }

.tb-burger {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-card);
    color: var(--color-text);
    cursor: pointer;
}
.tb-burger span {
    display: block;
    flex: 0 0 2px;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

@media (max-width: 1279px) {
    .tb-header__row {
        display: flex;
        justify-content: space-between;
    }
    .tb-nav { display: none; }
    .tb-header a.tb-header__cta { display: none; }
    .tb-header__logo {
        position: static;
        transform: none;
    }
    .tb-header__logo svg {
        width: 118px;
        height: 34px;
        max-width: calc(100vw - 150px);
    }
    .tb-burger {
        display: flex;
        order: 99;
        margin-left: auto;
    }

    .tb-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s;
    }
    .tb-overlay:not([hidden]) { display: block; }

    .tb-drawer {
        display: block;
        position: fixed;
        z-index: 210;
        background: var(--color-bg);
        overflow-y: auto;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }
    .tb-drawer:not([hidden]) { display: block; }
    .tb-drawer--narrow {
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(75vw, 320px);
        padding: 64px 0 20px;
        transform: translateX(100%);
    }
    .tb-drawer--narrow a {
        display: block;
        padding: 10px 20px;
        font-size: 0.95rem;
        color: var(--color-text);
        text-decoration: none;
    }
    .tb-drawer--narrow a:not(.tb-btn) { color: var(--color-text); }
    .tb-drawer--narrow a.tb-btn {
        margin: 16px 20px;
        width: calc(100% - 40px);
    }
    .tb-drawer__close {
        position: absolute;
        top: 12px;
        right: 16px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        font-size: 1.75rem;
        cursor: pointer;
        color: var(--color-text);
    }

    body.nav-open { overflow: hidden; }
    body.nav-open .tb-overlay {
        opacity: 1;
        visibility: visible;
    }
    body.nav-open .tb-drawer--narrow {
        transform: translateX(0);
        visibility: visible;
    }
}

@media (min-width: 1280px) {
    .tb-burger,
    .tb-overlay,
    .tb-drawer {
        display: none !important;
    }
}

.tb-hero {
    position: relative;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background:
        radial-gradient(ellipse 50% 60% at 85% 20%, rgba(255, 193, 7, 0.35), transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(255, 111, 0, 0.18), transparent 55%),
        linear-gradient(165deg, #fff8d6 0%, var(--color-bg) 55%, #fff5cc 100%);
    overflow: clip;
}
.tb-hero__title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    max-width: 18ch;
    margin-bottom: 0.75rem;
}
.tb-hero__text {
    max-width: 58ch;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.tb-facts-strip {
    padding-block: 1.25rem;
    border-block: 1px solid var(--color-border);
    background: #fff9e0;
}
.tb-facts-strip__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.tb-facts-strip__n {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
}
.tb-facts-strip__l {
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
}
@media (max-width: 768px) {
    .tb-facts-strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .tb-facts-strip__row { grid-template-columns: 1fr; }
}

.tb-block { padding-block: var(--space-xl); }
.tb-block + .tb-block { border-top: 1px solid var(--color-border); }

.tb-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
}
.tb-table th,
.tb-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: middle;
    font-size: 0.92rem;
}
.tb-table th {
    background: #fff3c4;
    font-family: var(--font-display);
    font-weight: 600;
}
.tb-table__app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.tb-table__app img {
    width: 32px;
    height: 32px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
}

.tb-rank__list {
    display: grid;
    gap: 1.5rem;
}
.tb-rank__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "pos pos pos"
        "icon body preview"
        "facts facts facts"
        "actions actions actions";
    gap: 12px 20px;
    align-items: start;
}
.tb-rank__pos {
    grid-area: pos;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-accent);
}
.tb-rank__item .tb-app__icon { grid-area: icon; }
.tb-rank__name,
.tb-rank__dev,
.tb-rank__desc,
.tb-rank__tags { grid-column: body; min-width: 0; }
.tb-rank__name { grid-area: body; margin: 0 0 0.25rem; }
.tb-rank__dev { margin: 0 0 0.35rem; color: var(--color-muted); font-size: 0.92rem; }
.tb-rank__desc { margin: 0 0 0.5rem; }
.tb-rank__tags { margin: 0; }
.tb-rank__facts {
    grid-area: facts;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
    overflow-wrap: anywhere;
}
.tb-rank__item .tb-app__preview { grid-area: preview; justify-self: end; }
.tb-rank__actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tb-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff3c4;
    border: 1px solid var(--color-border);
    font-size: 0.8rem;
    font-weight: 600;
}
.tb-app__icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
}
.tb-app__preview {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 240px;
    object-fit: contain;
}
.tb-review .tb-app__preview {
    max-width: 280px;
    max-height: 280px;
}
@media (max-width: 768px) {
    .tb-rank__item {
        grid-template-columns: 96px 1fr;
        grid-template-areas:
            "pos pos"
            "icon body"
            "facts facts"
            "preview preview"
            "actions actions";
    }
    .tb-rank__item .tb-app__preview {
        display: block;
        margin: 8px auto 0;
        justify-self: center;
    }
    .tb-app__icon {
        width: 72px;
        height: 72px;
    }
}
@media (max-width: 520px) {
    .tb-rank__item {
        grid-template-columns: 1fr;
        grid-template-areas:
            "pos"
            "icon"
            "body"
            "facts"
            "preview"
            "actions";
    }
}

.tb-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
    border-left: 2px solid var(--color-border);
    padding-left: 1.25rem;
}
.tb-timeline__step {
    position: relative;
    padding: 1rem 1.15rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    min-width: 0;
}
.tb-timeline__step::before {
    content: "";
    position: absolute;
    left: calc(-1.25rem - 6px);
    top: 1.35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid var(--color-bg);
}
.tb-timeline__step time {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
    margin-bottom: 0.35rem;
}
.tb-timeline__step h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.tb-timeline__step p { margin: 0; color: var(--color-muted); }

.tb-chart__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.tb-chart__row {
    display: grid;
    grid-template-columns: minmax(0, 180px) 1fr auto;
    gap: 12px;
    align-items: center;
}
.tb-chart__label { font-weight: 600; min-width: 0; }
.tb-chart__track {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: #f0e6c4;
    overflow: hidden;
}
.tb-chart__bar {
    display: block;
    height: 100%;
    width: var(--tb-w, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.tb-chart__track--empty { background: repeating-linear-gradient(135deg, #f0e6c4, #f0e6c4 6px, #fffef5 6px, #fffef5 12px); }
.tb-chart__val { font-size: 0.9rem; color: var(--color-muted); white-space: nowrap; }
@media (max-width: 700px) {
    .tb-chart__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .tb-chart__val { white-space: normal; }
}

.tb-blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.tb-blog-preview__card {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    padding: 0;
}
.tb-blog-preview__card h3,
.tb-blog-preview__card p { padding-inline: 1.1rem; }
.tb-blog-preview__card h3 { margin-top: 1rem; font-size: 1.05rem; }
.tb-blog-preview__card p { color: var(--color-muted); padding-bottom: 1.1rem; margin: 0; }
.tb-blog-preview__band {
    display: block;
    height: 8px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.tb-cta {
    padding-block: var(--space-xl);
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.4), transparent 45%),
        linear-gradient(135deg, #1a1a1a 0%, #3a2a10 100%);
    color: #fffef5;
}
.tb-cta .tb-u-h2 { color: #fffef5; }
.tb-cta p { color: rgba(255, 254, 245, 0.85); max-width: 50ch; }
.tb-cta a.tb-btn--primary,
.tb-cta a.tb-btn--primary:visited {
    color: var(--color-on-primary);
    background: linear-gradient(180deg, #ffe082 0%, var(--color-primary) 100%);
}
.tb-cta a.tb-btn--primary:hover,
.tb-cta a.tb-btn--primary:focus-visible {
    color: var(--color-on-accent);
    background: linear-gradient(180deg, #ff8a1a 0%, var(--color-accent) 100%);
}

.tb-footer {
    padding-block: 2.5rem;
    background: #1a1a1a;
    color: #f5f0e0;
}
.tb-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
}
.tb-footer__brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.tb-footer__addr,
.tb-footer__copy,
.tb-footer__legal {
    color: rgba(245, 240, 224, 0.78);
    font-size: 0.92rem;
}
.tb-footer__links {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}
.tb-footer a:not(.tb-btn),
.tb-footer a:not(.tb-btn):visited,
.tb-footer__link {
    color: #fff3c4;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}
@media (max-width: 700px) {
    .tb-footer__grid { grid-template-columns: 1fr; }
}

.tb-cookie { display: none; }
.tb-cookie:not([hidden]) {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    background: #1a1a1a;
    color: #fffef5;
    padding: 14px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}
.tb-cookie__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}
.tb-cookie p { margin: 0; font-size: 0.95rem; }
.tb-cookie a, .tb-cookie a:visited { color: #ffe082; }
.tb-cookie .tb-btn,
.tb-cookie button.tb-btn--primary {
    box-shadow: none;
    color: var(--color-on-primary);
    background: linear-gradient(180deg, #ffe082 0%, var(--color-primary) 100%);
}
.tb-cookie button.tb-btn--primary:hover {
    color: var(--color-on-accent);
    background: linear-gradient(180deg, #ff8a1a 0%, var(--color-accent) 100%);
}
body.tb-cookie-open { padding-bottom: 96px; }
@media (max-width: 640px) {
    .tb-cookie__inner { flex-direction: column; align-items: stretch; }
    .tb-cookie .tb-btn { min-height: 44px; width: 100%; }
}

html.js .tb-reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
html.js .tb-reveal.is-in {
    opacity: 1;
    transform: none;
}
html.js .tb-reveal.is-in .tb-u-h2::after,
html.js .tb-reveal.is-in h2::after {
    content: "";
    display: block;
    height: 2px;
    width: 3rem;
    margin-top: 0.45rem;
    background: currentColor;
    animation: tb-k-line 0.6s ease both;
}
@keyframes tb-k-line {
    from { width: 0; }
    to { width: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    html.js .tb-reveal:not(.is-in),
    html.js .tb-reveal.is-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html.js .tb-reveal.is-in .tb-u-h2::after,
    html.js .tb-reveal.is-in h2::after {
        animation: none;
        width: 3rem;
    }
}

.tb-page { padding-block: var(--space-xl); }
.tb-page__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.tb-back {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 600;
}
.tb-back:hover { color: var(--color-accent); }

.tb-mag {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.tb-mag a {
    text-decoration: none;
    color: var(--color-text);
    display: block;
}
.tb-mag__lead {
    grid-column: span 2;
    grid-row: span 2;
}
.tb-mag__lead .tb-blog-preview__band { height: 12px; }
.tb-mag__lead h3 { font-size: 1.45rem; }
@media (max-width: 900px) {
    .tb-mag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .tb-mag { grid-template-columns: minmax(0, 1fr); }
    .tb-mag__lead { grid-column: auto; grid-row: auto; }
}

.tb-contact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}
.tb-form {
    display: grid;
    gap: 0.9rem;
}
.tb-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.92rem;
}
.tb-form input,
.tb-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font: inherit;
    background: #fff;
    color: var(--color-text);
}
.tb-form textarea { min-height: 140px; resize: vertical; }
.tb-form__note {
    font-size: 0.9rem;
    color: var(--color-muted);
}
.tb-contact__card dt { font-weight: 700; margin-top: 0.75rem; }
.tb-contact__card dd { margin: 0.2rem 0 0; color: var(--color-muted); overflow-wrap: anywhere; }
@media (max-width: 800px) {
    .tb-contact { grid-template-columns: 1fr; }
}

.tb-glossary { columns: 2; gap: 2rem; }
.tb-glossary dt {
    font-weight: 700;
    margin-top: 0.85rem;
    break-inside: avoid;
}
.tb-glossary dd {
    margin: 0.2rem 0 0;
    color: var(--color-muted);
    break-inside: avoid;
}
@media (max-width: 700px) {
    .tb-glossary { columns: 1; }
}

.tb-readnext {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.tb-readnext__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.tb-readnext a { font-weight: 600; text-decoration: none; }
.tb-readnext a:hover { text-decoration: underline; }

.tb-404__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.tb-404__card {
    display: block;
    text-decoration: none;
    color: var(--color-text);
}
.tb-404__card h3 { font-size: 1rem; margin: 1rem 1rem 0.35rem; }
.tb-404__card p { margin: 0 1rem 1rem; color: var(--color-muted); font-size: 0.9rem; }

.tb-prose h2 { margin-top: 1.75rem; }
.tb-prose .tb-app__facts {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.4rem;
}
.tb-prose .tb-app__facts li {
    padding: 0.55rem 0.75rem;
    background: #fff9e0;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}
.tb-prose .tb-app__checked {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 600;
}

.tb-about-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.tb-about-timeline li {
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--color-accent);
    background: var(--color-card);
    border-radius: 0 var(--radius) var(--radius) 0;
    border: 1px solid var(--color-border);
    border-left-width: 3px;
    border-left-color: var(--color-accent);
}
.tb-about-timeline time {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
    margin-bottom: 0.3rem;
}
