.wt-page {
    --wt-ink: #12191c;
    --wt-muted: #48565b;
    --wt-line: #d4ddda;
    --wt-accent: #07604d;
    background: #f4f7f6;
    color: var(--wt-ink);
    letter-spacing: 0;
}

.wt-page .container {
    width: min(100% - 56px, 1168px);
    max-width: none;
    padding: 0;
}

.wt-page h1,
.wt-page h2,
.wt-page h3,
.wt-page p {
    margin: 0;
    letter-spacing: 0;
}

.wt-page :focus-visible {
    outline: 2px solid #13856e;
    outline-offset: 4px;
}

.wt-hero {
    padding: 96px 0 38px;
    background: #101317 url("/images/web-toolkit/signal-board.webp") center / cover no-repeat;
    color: #f5faf8;
}

.wt-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
}

.wt-intro {
    max-width: 520px;
}

.wt-icon {
    display: block;
    margin-bottom: 18px;
    border-radius: 12px;
}

.wt-hero h1 {
    font-size: 4.25rem;
    line-height: 1.04;
    font-weight: 750;
}

.wt-hero .wt-lead {
    margin-top: 16px;
    font-size: 1.375rem;
    line-height: 1.4;
    font-weight: 600;
    max-width: 32ch;
    text-wrap: balance;
}

.wt-hero .wt-summary {
    max-width: 41ch;
    margin-top: 12px;
    color: #bdcac8;
    line-height: 1.6;
}

.wt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-top: 23px;
}

.wt-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    font-size: 0.875rem;
    font-weight: 700;
}

.wt-download {
    padding: 8px 15px;
    border-radius: 8px;
    background: #bcf7e5;
    color: #102820;
    text-decoration: none;
}

.wt-download:hover {
    background: #dbfff2;
}

.wt-jump {
    color: #f1f9f6;
    text-underline-offset: 4px;
}

.wt-hero :focus-visible {
    outline-color: #bcf7e5;
}

.wt-hero .wt-availability {
    margin-top: 14px;
    color: #acbab7;
    font-size: 0.78rem;
}

.wt-hero-screens {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 184px));
    justify-content: center;
    gap: 22px;
}

.wt-hero-screens img,
.wt-screens img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 804 / 1748;
    background: #edf2f5;
    border: 1px solid #b5c4c1;
    border-radius: 21px;
}

.wt-hero-screens img {
    border-color: #667a78;
    box-shadow: 0 12px 28px #0007;
}

.wt-gallery,
.wt-tools,
.wt-notes {
    padding: 36px 0 45px;
}

.wt-gallery {
    scroll-margin-top: 142px;
}

.wt-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 20px;
    margin-bottom: 19px;
}

.wt-page h2 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.wt-section-heading p,
.wt-tool-grid p,
.wt-notes dd {
    color: var(--wt-muted);
}

.wt-section-heading p {
    font-size: 0.85rem;
}

.wt-screens {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.wt-screens a {
    display: block;
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid var(--wt-line);
    color: var(--wt-ink);
    text-decoration: none;
}

.wt-screens a:hover {
    border-color: var(--wt-accent);
    color: var(--wt-accent);
}

.wt-screens span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin-bottom: 9px;
    font-size: 0.88rem;
}

.wt-screens span i {
    color: var(--wt-accent);
    font-size: 0.8rem;
}

.wt-tools {
    border-block: 1px solid var(--wt-line);
    background: #fff;
}

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

.wt-tool-grid article {
    border-top: 1px solid var(--wt-line);
    padding-top: 17px;
}

.wt-tool-grid article > i {
    margin-bottom: 10px;
    color: var(--wt-accent);
}

.wt-tool-grid h3 {
    margin-bottom: 5px;
    font-size: 1.08rem;
}

.wt-tool-grid p,
.wt-notes dd {
    font-size: 0.94rem;
}

.wt-notes-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 15px 36px;
    align-items: start;
}

.wt-notes dl {
    margin: 0;
}

.wt-notes dl > div {
    padding: 11px 0;
    border-top: 1px solid var(--wt-line);
}

.wt-notes dt {
    font-weight: 700;
}

.wt-notes dd {
    margin: 3px 0 0;
}

.wt-resource-links {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.wt-resource-links a {
    color: var(--wt-accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-underline-offset: 4px;
}

.wt-viewer {
    position: fixed;
    inset: 0;
    width: min(440px, 100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 8px 10px 10px;
    border: 1px solid #b5c4c1;
    border-radius: 8px;
    background: #fff;
    color: var(--wt-ink);
}

.wt-viewer::backdrop {
    background: #071312d9;
}

.wt-viewer-bar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.wt-viewer .wt-viewer-bar h2 {
    font-size: 0.95rem;
    text-align: center;
}

.wt-viewer-bar button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #eef3f0;
    color: var(--wt-ink);
    cursor: pointer;
}

.wt-viewer-bar button:hover {
    background: #dcece5;
}

.wt-viewer img {
    display: block;
    width: 100%;
    height: min(740px, calc(100dvh - 110px));
    object-fit: contain;
}

@media (max-width: 950px) {
    .wt-hero h1 {
        font-size: 3.25rem;
    }

    .wt-hero-content {
        gap: 26px;
    }

    .wt-hero-screens {
        gap: 12px;
    }
}

@media (max-width: 660px) {
    .wt-page .container {
        width: calc(100% - 38px);
    }

    .wt-hero {
        padding: 89px 0 24px;
    }

    .wt-hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .wt-brand {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
    }

    .wt-icon {
        width: 43px;
        height: 43px;
        margin-bottom: 0;
        border-radius: 9px;
    }

    .wt-hero h1 {
        font-size: 2.3rem;
    }

    .wt-hero .wt-lead {
        max-width: none;
        margin-top: 8px;
        font-size: 1.06rem;
        text-wrap: wrap;
    }

    .wt-hero .wt-summary {
        margin-top: 6px;
        font-size: 0.9rem;
    }

    .wt-actions {
        margin-top: 10px;
        gap: 0 14px;
    }

    .wt-actions a {
        font-size: 0.8125rem;
    }

    .wt-hero .wt-availability {
        margin-top: 5px;
    }

    .wt-hero-screens {
        grid-template-columns: repeat(2, minmax(0, 116px));
    }

    .wt-hero-screens img,
    .wt-screens img {
        border-radius: 14px;
    }

    .wt-gallery,
    .wt-tools,
    .wt-notes {
        padding: 24px 0 32px;
    }

    .wt-page h2 {
        font-size: 1.45rem;
    }

    .wt-screens {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 13px;
    }

    .wt-tool-grid,
    .wt-notes-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .wt-resource-links {
        grid-column: auto;
    }
}

@media (max-width: 660px) and (max-height: 720px) {
    .wt-hero {
        padding-bottom: 18px;
    }

    .wt-gallery {
        padding-top: 20px;
    }

    .wt-hero-screens {
        grid-template-columns: repeat(2, minmax(0, 94px));
    }
}
