.gear-page {
    background: #f7f8f6;
    color: #1f2933;
}

.gear-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.gear-hero {
    background: #fff;
    color: #1f2933;
    padding: 44px 0 34px;
    border-bottom: 1px solid #dde4df;
}

.gear-hero .gear-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
}

.gear-kicker {
    margin: 0 0 8px;
    color: #b91c1c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gear-hero .gear-kicker {
    color: #b91c1c;
}

.gear-hero h1,
.gear-section-heading h2,
.locker-answer h2,
.gear-method h2 {
    letter-spacing: 0;
}

.gear-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 2.55rem;
    line-height: 1.08;
    font-weight: 850;
}

.gear-lede {
    max-width: 820px;
    margin: 16px 0 0;
    color: #46524b;
    font-size: 1.08rem;
    line-height: 1.65;
}

.gear-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    gap: 10px;
    min-width: 320px;
}

.gear-hero-stats div {
    background: #f7f8f6;
    border: 1px solid #dde4df;
    border-radius: 8px;
    padding: 16px;
}

.gear-hero-stats span {
    display: block;
    font-size: 1.75rem;
    font-weight: 850;
    line-height: 1;
}

.gear-hero-stats small {
    display: block;
    margin-top: 8px;
    color: #526158;
    font-size: 0.78rem;
    line-height: 1.25;
}

.gear-trackers,
.gear-shell:not(.gear-trackers) {
    padding-top: 34px;
}

.gear-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 16px;
}

.gear-section-heading h2,
.locker-answer h2,
.gear-method h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 800;
}

.gear-tracker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gear-tracker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 120px;
    padding: 18px;
    color: #18251f;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dde4df;
    border-radius: 8px;
}

.gear-tracker:hover,
.locker-card:hover,
.source-item:hover {
    border-color: #a9b8af;
    text-decoration: none;
}

.gear-tracker-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #e7f0ea;
    color: #216044;
}

.gear-tracker strong,
.gear-tracker small {
    display: block;
}

.gear-tracker strong {
    font-size: 1rem;
    line-height: 1.25;
}

.gear-tracker small {
    margin-top: 6px;
    color: #526158;
    line-height: 1.45;
}

.locker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.locker-card {
    min-height: 210px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dde4df;
    border-radius: 8px;
}

.locker-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #69766f;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.locker-card h3 {
    margin: 12px 0 8px;
    font-size: 1.15rem;
    line-height: 1.2;
}

.locker-card h3 a {
    color: #17211c;
    text-decoration: none;
}

.locker-card h3 a:hover {
    color: #b91c1c;
}

.locker-card p {
    margin: 0;
    color: #46524b;
    font-size: 0.95rem;
    line-height: 1.52;
}

.locker-card-gear {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.locker-card-gear span,
.gear-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 750;
}

.is-known,
.gear-status-verified,
.gear-status-observed {
    color: #174b35;
    background: #e6f3ea;
}

.is-pending,
.gear-status-pending {
    color: #6d4b11;
    background: #fff2d8;
}

.gear-method {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 26px;
    align-items: start;
}

.gear-method p {
    margin: 12px 0 0;
    color: #46524b;
    line-height: 1.65;
}

.gear-method-list {
    display: grid;
    gap: 10px;
}

.gear-method-list span {
    display: block;
    padding: 13px 14px;
    background: #fff;
    border: 1px solid #dde4df;
    border-radius: 8px;
    color: #28352f;
    font-weight: 650;
}

.gear-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #dde4df;
    border-radius: 8px;
}

.gear-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.gear-table th,
.gear-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf1ee;
    text-align: left;
    vertical-align: top;
}

.gear-table th {
    color: #526158;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.gear-table td {
    color: #27342e;
}

.gear-table td a {
    color: #9b111e;
    font-weight: 750;
    text-decoration: none;
}

.gear-table tr:last-child td {
    border-bottom: 0;
}

.gear-item-table td strong,
.gear-item-table td span {
    display: block;
}

.gear-item-table td span {
    margin-top: 4px;
    color: #657169;
    font-size: 0.88rem;
}

.locker-breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    color: #69766f;
    font-size: 0.88rem;
}

.locker-breadcrumb a {
    color: #9b111e;
    text-decoration: none;
}

.locker-answer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: start;
}

.locker-answer p {
    margin: 12px 0 0;
    color: #46524b;
    line-height: 1.65;
}

.locker-return-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #b9c5bd;
    border-radius: 8px;
    color: #1f4c38;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.source-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.source-item {
    display: block;
    padding: 15px;
    color: #17211c;
    background: #fff;
    border: 1px solid #dde4df;
    border-radius: 8px;
    text-decoration: none;
}

.source-item span {
    display: block;
    color: #69766f;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.source-item strong {
    display: block;
    margin-top: 6px;
    line-height: 1.35;
}

.source-note {
    max-width: 850px;
    margin: 14px 0 0;
    color: #526158;
    line-height: 1.6;
}

.compact-locker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .gear-hero .gear-shell,
    .gear-method {
        grid-template-columns: 1fr;
    }

    .gear-hero-stats {
        min-width: 0;
    }

    .gear-tracker-grid,
    .locker-grid,
    .source-list,
    .compact-locker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gear-shell {
        width: min(100% - 20px, 1120px);
    }

    .gear-hero {
        padding: 40px 0 30px;
    }

    .gear-hero h1 {
        font-size: 2rem;
    }

    .gear-hero-stats,
    .gear-tracker-grid,
    .locker-grid,
    .source-list,
    .compact-locker-grid {
        grid-template-columns: 1fr;
    }

    .locker-answer,
    .gear-section-heading {
        display: block;
    }

    .locker-return-link {
        margin-top: 14px;
    }
}
