/**
 * UppLead SEO Tools
 *
 * Theme-scoped presentation for the tools hub and shared workspace.
 */

.ust-page {
    --ust-ink: #11183e;
    --ust-copy: #535b76;
    --ust-muted: #737b96;
    --ust-violet: #6d50f6;
    --ust-violet-deep: #5639e8;
    --ust-blue: #4260ff;
    --ust-cyan: #3a9de8;
    --ust-mint: #31ad85;
    --ust-line: #dfe4f2;
    --ust-line-strong: #cfd6eb;
    --ust-soft: #f7f8ff;
    --ust-lavender: #f1eeff;
    --ust-blue-soft: #edf3ff;
    --ust-mint-soft: #eaf8f3;
    --ust-peach: #fff3eb;
    --ust-shadow: 0 24px 70px rgba(37, 42, 92, 0.1);
    min-height: 70vh;
    overflow: hidden;
    color: var(--ust-ink);
    background: #fff;
    font-family: var(--tp-ff-body);
}

.ust-page *,
.ust-page *::before,
.ust-page *::after {
    box-sizing: border-box;
}

.ust-page h1,
.ust-page h2,
.ust-page h3,
.ust-page p,
.ust-page ul,
.ust-page ol,
.ust-page pre,
.ust-page figure {
    margin-top: 0;
}

.ust-page h1,
.ust-page h2,
.ust-page h3,
.ust-page h4,
.ust-page h5,
.ust-page h6 {
    color: var(--ust-ink);
    font-family: var(--tp-ff-heading);
    font-weight: 700;
}

.ust-page strong {
    color: var(--ust-ink);
}

.ust-page p,
.ust-page li,
.ust-page small {
    color: var(--ust-copy);
    font-family: var(--tp-ff-p);
}

.ust-page a {
    text-decoration: none;
}

.ust-page button,
.ust-page input,
.ust-page select,
.ust-page textarea {
    font: inherit;
}

.ust-page input::placeholder,
.ust-page textarea::placeholder {
    color: #808080;
    opacity: 1;
}

.ust-page svg {
    display: block;
}

.ust-shell {
    width: min(1220px, calc(100% - 48px));
    margin-inline: auto;
}

.ust-hero,
.ust-tool-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 12%, rgba(113, 82, 245, 0.13), transparent 31%),
        linear-gradient(145deg, #f8f8ff 0%, #f1f5ff 52%, #fbfdff 100%);
}

.ust-hero::before,
.ust-tool-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(101, 72, 238, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(101, 72, 238, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.ust-hero--hub {
    padding: 220px 0 106px;
}

.ust-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.76fr);
    gap: 86px;
    align-items: center;
}

.ust-orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(1px);
    pointer-events: none;
}

.ust-orb--one {
    top: -100px;
    right: -80px;
    width: 330px;
    height: 330px;
    background: rgba(132, 104, 255, 0.11);
}

.ust-orb--two {
    bottom: -150px;
    left: -120px;
    width: 370px;
    height: 370px;
    background: rgba(66, 96, 255, 0.09);
}

.ust-eyebrow,
.ust-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ust-violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ust-eyebrow {
    min-height: 34px;
    margin-bottom: 22px;
    padding: 5px 13px 5px 6px;
    border: 1px solid rgba(101, 72, 238, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 22px rgba(74, 59, 145, 0.07);
}

.ust-eyebrow > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 9px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--ust-violet), var(--ust-blue));
    letter-spacing: 0.08em;
}

.ust-eyebrow > span svg {
    width: 16px;
    height: 16px;
}

.ust-hero h1,
.ust-tool-hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--ust-ink);
    font-size: clamp(46px, 5.4vw, 74px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.03;
    text-wrap: balance;
}

.ust-hero__copy > p,
.ust-tool-hero__grid > div > p {
    max-width: 675px;
    margin-bottom: 34px;
    color: var(--ust-copy);
    font-size: 18px;
    line-height: 1.76;
}

.ust-hero__search {
    position: relative;
    width: min(620px, 100%);
    margin-bottom: 22px;
}

.ust-hero__search input {
    width: 100%;
    min-height: 66px;
    padding: 15px 58px 15px 54px;
    border: 1px solid #d9def0;
    border-radius: 16px;
    outline: 0;
    color: var(--ust-ink);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(46, 50, 99, 0.11);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ust-hero__search input:focus {
    border-color: var(--ust-violet);
    box-shadow: 0 0 0 4px rgba(109, 80, 246, 0.12), 0 18px 48px rgba(46, 50, 99, 0.11);
}

.ust-hero__search-icon {
    position: absolute;
    top: 50%;
    left: 19px;
    z-index: 1;
    color: var(--ust-violet);
    transform: translateY(-50%);
}

.ust-hero__search-icon svg {
    width: 23px;
    height: 23px;
}

.ust-hero__search kbd {
    position: absolute;
    top: 50%;
    right: 18px;
    min-width: 28px;
    padding: 4px 8px;
    border: 1px solid #d7dced;
    border-radius: 7px;
    color: #7b839d;
    background: #f7f8fc;
    font: 700 12px/1.3 "Inter", sans-serif;
    text-align: center;
    transform: translateY(-50%);
}

.ust-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 24px;
}

.ust-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #606982;
    font-size: 13px;
    font-weight: 700;
}

.ust-hero__trust span::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
    background: var(--ust-mint);
    box-shadow: 0 0 0 4px rgba(49, 173, 133, 0.11);
}

.ust-hero__visual {
    position: relative;
    min-height: 445px;
}

.ust-visual-card--main {
    position: absolute;
    top: 27px;
    right: 0;
    width: min(440px, 100%);
    min-height: 365px;
    overflow: hidden;
    border: 1px solid rgba(209, 215, 237, 0.92);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 35px 90px rgba(37, 43, 99, 0.16);
    transform: rotate(1.5deg);
}

.ust-visual-card__top {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 23px;
    border-bottom: 1px solid #e7eaf4;
    color: #737b95;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ust-window-dots {
    display: flex;
    gap: 6px;
}

.ust-window-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d7dbea;
}

.ust-window-dots i:first-child {
    background: #8468ff;
}

.ust-window-dots i:nth-child(2) {
    background: #4e7eff;
}

.ust-window-dots i:last-child {
    background: #49bf98;
}

.ust-visual-card__score {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 36px 34px 30px;
}

.ust-score-ring {
    position: relative;
    width: 92px;
    height: 92px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--ust-violet) 0 82%, #e9ebf5 82% 100%);
}

.ust-score-ring::before {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    content: "";
    background: #fff;
}

.ust-score-ring b {
    position: relative;
    z-index: 1;
    font-size: 27px;
    letter-spacing: -0.05em;
}

.ust-visual-card__score strong,
.ust-visual-card__score small {
    display: block;
}

.ust-visual-card__score strong {
    margin-bottom: 6px;
    font-size: 18px;
}

.ust-visual-card__score small {
    color: var(--ust-muted);
    font-size: 13px;
}

.ust-visual-bars {
    display: grid;
    gap: 15px;
    padding: 0 34px 35px;
}

.ust-visual-bars i {
    position: relative;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #eceef7;
}

.ust-visual-bars i::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--bar);
    border-radius: inherit;
    content: "";
    background: linear-gradient(90deg, var(--ust-violet), var(--ust-blue));
}

.ust-float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 17px;
    border: 1px solid rgba(213, 218, 237, 0.92);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(37, 43, 99, 0.14);
    animation: ust-float 5s ease-in-out infinite;
}

.ust-float-card span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--ust-violet);
    background: var(--ust-lavender);
}

.ust-float-card svg {
    width: 19px;
    height: 19px;
}

.ust-float-card b {
    font-size: 12px;
}

.ust-float-card--top {
    top: 5px;
    left: -6px;
}

.ust-float-card--bottom {
    right: -20px;
    bottom: 2px;
    animation-delay: -2.4s;
}

@keyframes ust-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.ust-featured {
    padding: 112px 0 104px;
    background: #fff;
}

.ust-section-heading {
    margin-bottom: 48px;
}

.ust-section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
    gap: 60px;
    align-items: end;
}

.ust-section-heading--center {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.ust-section-heading--center .ust-kicker {
    justify-content: center;
}

.ust-kicker {
    margin-bottom: 16px;
}

.ust-kicker::before {
    width: 28px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--ust-violet), var(--ust-blue));
}

.ust-section-heading h2,
.ust-principles__copy h2 {
    margin-bottom: 0;
    font-size: clamp(36px, 4.2vw, 55px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.08;
    text-wrap: balance;
}

.ust-section-heading > p,
.ust-section-heading--split > p {
    margin-bottom: 3px;
    color: var(--ust-copy);
    font-size: 16px;
    line-height: 1.72;
}

.ust-section-heading--center > p {
    max-width: 620px;
    margin: 20px auto 0;
}

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

.ust-feature-card,
.ust-tool-card {
    position: relative;
    display: flex;
    border: 1px solid var(--ust-line);
    color: inherit;
    background: #fff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ust-feature-card {
    min-height: 158px;
    align-items: flex-start;
    gap: 17px;
    padding: 25px 24px;
    border-radius: 20px;
}

.ust-feature-card:hover,
.ust-tool-card:hover {
    border-color: #cfc7ff;
    background: #fcfbff;
    box-shadow: 0 20px 45px rgba(49, 43, 103, 0.1);
    transform: translateY(-4px);
}

.ust-tool-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(109, 80, 246, 0.11);
    border-radius: 14px;
    color: var(--ust-violet);
    background: linear-gradient(145deg, #f5f2ff, #edf2ff);
}

.ust-tool-icon svg {
    width: 25px;
    height: 25px;
}

.ust-feature-card:nth-child(3n + 2) .ust-tool-icon,
.ust-tool-card:nth-child(3n + 2) .ust-tool-icon {
    color: #3976d4;
    background: var(--ust-blue-soft);
}

.ust-feature-card:nth-child(3n) .ust-tool-icon,
.ust-tool-card:nth-child(3n) .ust-tool-icon {
    color: #238866;
    background: var(--ust-mint-soft);
}

.ust-feature-card__body {
    min-width: 0;
}

.ust-feature-card__body strong,
.ust-feature-card__body small,
.ust-tool-card__content strong,
.ust-tool-card__content small {
    display: block;
}

.ust-feature-card__body strong {
    margin: 1px 27px 9px 0;
    font-size: 16px;
    line-height: 1.35;
}

.ust-feature-card__body small {
    font-size: 13px;
    line-height: 1.62;
}

.ust-card-arrow {
    position: absolute;
    top: 24px;
    right: 23px;
    color: #9aa1b7;
    font-size: 18px;
    transition: color 180ms ease, transform 180ms ease;
}

.ust-feature-card:hover .ust-card-arrow,
.ust-tool-card:hover .ust-card-arrow {
    color: var(--ust-violet);
    transform: translate(2px, -2px);
}

.ust-library {
    padding: 112px 0 124px;
    border-top: 1px solid #e8ebf5;
    background: var(--ust-soft);
}

.ust-filter {
    width: fit-content;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 72px;
    padding: 7px;
    border: 1px solid var(--ust-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(47, 51, 101, 0.07);
}

.ust-filter button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    color: #626b85;
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.ust-filter button span {
    min-width: 22px;
    padding: 3px 6px;
    border-radius: 999px;
    color: #737b95;
    background: #eff1f7;
    font-size: 10px;
}

.ust-filter button:hover,
.ust-filter button:focus-visible {
    color: var(--ust-violet);
    background: var(--ust-lavender);
    outline: 0;
}

.ust-filter button.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--ust-violet), var(--ust-blue));
    box-shadow: 0 9px 22px rgba(93, 71, 229, 0.21);
}

.ust-filter button.is-active span {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.ust-category + .ust-category {
    margin-top: 92px;
}

.ust-category[hidden],
.ust-tool-card[hidden],
.ust-feature-card[hidden] {
    display: none !important;
}

.ust-category__heading {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    max-width: 790px;
    margin-bottom: 32px;
}

.ust-category__number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid #d8d2fa;
    border-radius: 15px;
    color: var(--ust-violet);
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.ust-category__heading h3 {
    margin-bottom: 7px;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.ust-category__heading p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
}

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

.ust-tool-card {
    min-height: 186px;
    gap: 18px;
    padding: 24px;
    border-radius: 18px;
}

.ust-tool-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ust-tool-card__content strong {
    margin: 3px 26px 8px 0;
    font-size: 15px;
    line-height: 1.4;
}

.ust-tool-card__content small {
    margin-bottom: 17px;
    font-size: 12px;
    line-height: 1.65;
}

.ust-runtime {
    display: block;
    margin-top: auto;
    color: #797f96;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ust-empty {
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 30px;
    border: 1px dashed #cfc7ff;
    border-radius: 18px;
    color: var(--ust-copy);
    background: #fff;
    text-align: center;
}

.ust-principles {
    padding: 112px 0;
    color: #fff;
    background:
        radial-gradient(circle at 84% 14%, rgba(126, 93, 255, 0.22), transparent 32%),
        #11183e;
}

.ust-principles__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1fr);
    gap: 90px;
    align-items: center;
}

.ust-principles .ust-kicker {
    color: #ad9fff;
}

.ust-principles__copy h2 {
    margin-bottom: 23px;
    color: #fff;
}

.ust-principles__copy > p {
    margin-bottom: 0;
    color: #b9bfd1;
    font-size: 16px;
    line-height: 1.78;
}

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

.ust-principle-cards article {
    min-height: 250px;
    padding: 25px 21px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.ust-principle-cards article > span {
    width: 42px;
    height: 42px;
    display: grid;
    margin-bottom: 38px;
    place-items: center;
    border-radius: 12px;
    color: #c5bcff;
    background: rgba(132, 104, 255, 0.15);
}

.ust-principle-cards svg {
    width: 22px;
    height: 22px;
}

.ust-principle-cards h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
}

.ust-principle-cards p {
    margin-bottom: 0;
    color: #aeb5ca;
    font-size: 12px;
    line-height: 1.68;
}

/* Individual tool */
.ust-tool-hero {
    padding: 220px 0 92px;
}

.ust-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 64px;
    color: #747d98;
    font-size: 12px;
    font-weight: 700;
}

.ust-breadcrumbs a,
.ust-breadcrumbs__root {
    color: var(--ust-violet);
}

.ust-breadcrumbs a:hover {
    text-decoration: underline;
}

.ust-tool-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 90px;
    align-items: center;
}

.ust-tool-hero h1 {
    max-width: 850px;
    font-size: clamp(44px, 5.2vw, 68px);
}

.ust-tool-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.ust-tool-hero__meta span,
.ust-workspace__privacy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #dbe0ef;
    border-radius: 999px;
    color: #626b85;
    background: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 800;
}

.ust-tool-hero__meta svg,
.ust-workspace__privacy svg {
    width: 15px;
    height: 15px;
    color: var(--ust-violet);
}

.ust-tool-hero__mini {
    position: relative;
    min-height: 235px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(204, 210, 233, 0.9);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--ust-shadow);
    transform: rotate(2deg);
}

.ust-tool-icon--large {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    box-shadow: 0 17px 35px rgba(91, 72, 195, 0.13);
}

.ust-tool-icon--large svg {
    width: 48px;
    height: 48px;
}

.ust-tool-hero__mini > i {
    position: absolute;
    left: 25px;
    height: 8px;
    border-radius: 999px;
    background: #e5e8f3;
}

.ust-tool-hero__mini > i:nth-of-type(1) {
    right: 25px;
    bottom: 49px;
}

.ust-tool-hero__mini > i:nth-of-type(2) {
    right: 70px;
    bottom: 31px;
}

.ust-tool-hero__mini > i:nth-of-type(3) {
    right: 110px;
    bottom: 13px;
}

.ust-workspace-section {
    padding: 96px 0 112px;
    background: #fff;
}

.ust-workspace {
    overflow: hidden;
    border: 1px solid #dce1f0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 32px 80px rgba(40, 44, 94, 0.11);
}

.ust-workspace__top {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 32px;
    border-bottom: 1px solid #e3e6f1;
    background: linear-gradient(135deg, #fcfcff, #f5f6ff);
}

.ust-workspace__step {
    display: block;
    margin-bottom: 4px;
    color: var(--ust-violet);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ust-workspace__top h2 {
    margin-bottom: 0;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.ust-workspace__body {
    min-height: 330px;
    padding: 34px;
}

.ust-tool-form {
    display: grid;
    gap: 24px;
}

.ust-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ust-form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ust-field {
    min-width: 0;
    display: grid;
    gap: 9px;
}

.ust-field--full {
    grid-column: 1 / -1;
}

.ust-field label,
.ust-field > span:first-child {
    color: var(--ust-ink);
    font-size: 12px;
    font-weight: 800;
}

.ust-field small {
    margin-top: -2px;
    color: #7c849d;
    font-size: 11px;
    line-height: 1.55;
}

.ust-field input[type="text"],
.ust-field input[type="url"],
.ust-field input[type="number"],
.ust-field input[type="email"],
.ust-field input[type="search"],
.ust-field select,
.ust-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #d7ddea;
    border-radius: 11px;
    outline: 0;
    color: var(--ust-ink);
    background: #fbfcff;
    font-size: 13px;
    line-height: 1.55;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ust-field textarea {
    min-height: 168px;
    resize: vertical;
}

.ust-field textarea.ust-code-input {
    min-height: 240px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    tab-size: 2;
}

.ust-field input:focus,
.ust-field select:focus,
.ust-field textarea:focus {
    border-color: var(--ust-violet);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(109, 80, 246, 0.11);
}

.ust-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ust-check {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid #dce1ee;
    border-radius: 10px;
    color: #5d6681;
    background: #fafbff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ust-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--ust-violet);
}

.ust-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    padding-top: 2px;
}

.ust-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ust-button svg {
    width: 17px;
    height: 17px;
}

.ust-button:hover {
    transform: translateY(-2px);
}

.ust-button:focus-visible {
    outline: 3px solid rgba(109, 80, 246, 0.24);
    outline-offset: 2px;
}

.ust-button--primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--ust-violet), var(--ust-blue));
    box-shadow: 0 14px 30px rgba(91, 72, 220, 0.2);
}

.ust-button--primary:hover {
    box-shadow: 0 18px 36px rgba(91, 72, 220, 0.28);
}

.ust-button--secondary {
    border-color: #d7ddeb;
    color: var(--ust-ink);
    background: #fff;
}

.ust-button--ghost {
    color: var(--ust-violet);
    background: var(--ust-lavender);
}

.ust-button[disabled] {
    opacity: 0.62;
    cursor: wait;
    transform: none;
}

.ust-result {
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid #dce1ef;
    border-radius: 18px;
    background: #fbfcff;
}

.ust-result[hidden] {
    display: none;
}

.ust-result__header {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e6f0;
    background: #fff;
}

.ust-result__header > div {
    min-width: 0;
}

.ust-result__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--ust-violet);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ust-result__header h3 {
    margin-bottom: 0;
    font-size: 16px;
}

.ust-result__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ust-result__tools button {
    min-height: 35px;
    padding: 7px 10px;
    border: 1px solid #dce1ed;
    border-radius: 8px;
    color: #59627d;
    background: #fff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.ust-result__tools button:hover {
    border-color: #c9c1fa;
    color: var(--ust-violet);
}

.ust-result__body {
    padding: 22px;
}

.ust-result__body > :last-child {
    margin-bottom: 0;
}

.ust-result__body pre {
    max-height: 520px;
    margin-bottom: 0;
    overflow: auto;
    padding: 20px;
    border: 1px solid #dce1ed;
    border-radius: 12px;
    color: #28304f;
    background: #f5f6fb;
    font: 12px/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.ust-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 20px;
}

.ust-metric {
    min-height: 98px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    border: 1px solid #e0e4f0;
    border-radius: 12px;
    background: #fff;
}

.ust-metric strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ust-violet);
    font-size: 24px;
    letter-spacing: -0.04em;
}

.ust-metric span {
    color: #6b738d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ust-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e0e4ef;
    border-radius: 12px;
    background: #fff;
}

.ust-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 12px;
}

.ust-table th,
.ust-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e7eaf2;
    color: #59627c;
    text-align: left;
    vertical-align: top;
}

.ust-table th {
    color: var(--ust-ink);
    background: #f7f8fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

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

.ust-table a {
    color: var(--ust-violet);
    word-break: break-all;
}

.ust-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #186a51;
    background: #e8f8f2;
    font-size: 10px;
    font-weight: 800;
}

.ust-status--warn {
    color: #94601c;
    background: #fff4de;
}

.ust-status--bad {
    color: #a43d52;
    background: #ffedf1;
}

.ust-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #d8ddec;
    border-radius: 11px;
    color: #566079;
    background: #fff;
    font-size: 12px;
    line-height: 1.65;
}

.ust-alert--success {
    border-color: #bfe8d8;
    color: #236d56;
    background: #effaf6;
}

.ust-alert--warning {
    border-color: #f2d5a5;
    color: #84571d;
    background: #fff8eb;
}

.ust-alert--error {
    border-color: #efc3cd;
    color: #993c50;
    background: #fff1f4;
}

.ust-snippet {
    max-width: 680px;
    padding: 24px;
    border: 1px solid #e1e4eb;
    border-radius: 14px;
    background: #fff;
    font-family: Arial, sans-serif;
}

.ust-snippet__url {
    margin-bottom: 6px;
    color: #202124;
    font-size: 12px;
    line-height: 1.4;
}

.ust-snippet__title {
    margin-bottom: 5px;
    color: #1a0dab !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}

.ust-snippet__description {
    margin-bottom: 0;
    color: #4d5156 !important;
    font-size: 13px;
    line-height: 1.55;
}

.ust-progress {
    height: 8px;
    margin: 12px 0 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eaf2;
}

.ust-progress > span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ust-violet), var(--ust-blue));
}

.ust-preview-frame-wrap {
    max-width: 100%;
    overflow: auto;
    padding: 18px;
    border-radius: 14px;
    background: #e9ecf4;
}

.ust-preview-frame {
    display: block;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(35, 40, 83, 0.18);
}

.ust-tool-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
    border: 1px solid var(--ust-line);
    border-radius: 18px;
    background: #fff;
}

.ust-tool-notes article {
    min-height: 0;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 24px;
}

.ust-tool-notes article + article {
    border-left: 1px solid var(--ust-line);
}

.ust-tool-notes__number {
    padding-top: 5px;
    color: var(--ust-violet);
    font-family: var(--tp-ff-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.ust-tool-notes h3 {
    margin-bottom: 8px;
    font-family: var(--tp-ff-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.ust-tool-notes p {
    margin-bottom: 0;
    color: var(--tp-text-body);
    font-family: var(--tp-ff-p);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.ust-related {
    padding: 105px 0 118px;
    border-top: 1px solid #e6e9f3;
    background: var(--ust-soft);
}

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

.ust-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--ust-violet);
    font-size: 13px;
    font-weight: 800;
}


.ust-related-heading h2 {
    max-width: 900px;
    font-size: clamp(40px, 4.8vw, 60px);
    letter-spacing: -0.025em;
}

.ust-related .ust-tool-card {
    min-height: 0;
    align-items: flex-start;
}

.ust-related .ust-tool-card__content strong {
    font-size: 18px;
    line-height: 1.35;
}

.ust-related .ust-tool-card__content small {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}

.ust-related__action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.ust-text-link:hover {
    text-decoration: underline;
}

.ust-missing-tool {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    text-align: center;
}

.ust-missing-tool .ust-tool-icon {
    margin-bottom: 24px;
}

.ust-missing-tool h1 {
    margin-bottom: 15px;
    font-size: 42px;
    letter-spacing: -0.04em;
}

.ust-missing-tool p {
    max-width: 590px;
    margin-bottom: 28px;
}

@media (max-width: 1100px) {
    .ust-hero__grid {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 50px;
    }

    .ust-featured__grid,
    .ust-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ust-principles__grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .ust-principle-cards {
        max-width: 760px;
    }

    .ust-form-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ust-hero--hub {
        padding: 200px 0 92px;
    }

    .ust-hero__grid {
        grid-template-columns: 1fr;
    }

    .ust-hero__visual {
        width: min(540px, 100%);
        min-height: 410px;
        margin: -10px auto 0;
    }

    .ust-section-heading--split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ust-tool-hero__grid {
        grid-template-columns: minmax(0, 1fr) 190px;
        gap: 42px;
    }

    .ust-tool-hero__mini {
        min-height: 190px;
    }

    .ust-tool-notes {
        grid-template-columns: 1fr;
    }

    .ust-tool-notes article + article {
        border-top: 1px solid var(--ust-line);
        border-left: 0;
    }

    .ust-related__grid {
        grid-template-columns: 1fr;
    }

    .ust-related__grid .ust-tool-card {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .ust-shell {
        width: min(100% - 30px, 1220px);
    }

    .ust-hero--hub {
        padding: 180px 0 78px;
    }

    .ust-hero h1,
    .ust-tool-hero h1 {
        font-size: clamp(40px, 12vw, 56px);
    }

    .ust-hero__copy > p,
    .ust-tool-hero__grid > div > p {
        font-size: 16px;
    }

    .ust-hero__visual {
        min-height: 350px;
    }

    .ust-visual-card--main {
        min-height: 315px;
        border-radius: 22px;
    }

    .ust-float-card--top {
        left: -4px;
    }

    .ust-float-card--bottom {
        right: -5px;
    }

    .ust-featured,
    .ust-library,
    .ust-principles,
    .ust-related {
        padding: 78px 0;
    }

    .ust-section-heading h2,
    .ust-principles__copy h2 {
        font-size: 38px;
    }

    .ust-featured__grid,
    .ust-tool-grid,
    .ust-principle-cards {
        grid-template-columns: 1fr;
    }

    .ust-feature-card,
    .ust-tool-card {
        min-height: 150px;
    }

    .ust-filter {
        width: 100%;
        margin-bottom: 55px;
    }

    .ust-filter button {
        flex: 1 1 140px;
        justify-content: center;
    }

    .ust-category + .ust-category {
        margin-top: 68px;
    }

    .ust-category__heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ust-principles__grid {
        min-width: 0;
    }

    .ust-principle-cards article {
        min-height: 180px;
    }

    .ust-principle-cards article > span {
        margin-bottom: 24px;
    }

    .ust-tool-hero {
        padding: 180px 0 70px;
    }

    .ust-breadcrumbs {
        margin-bottom: 42px;
    }

    .ust-tool-hero__grid {
        grid-template-columns: 1fr;
    }

    .ust-tool-hero__mini {
        display: none;
    }

    .ust-workspace-section {
        padding: 68px 0 78px;
    }

    .ust-workspace {
        border-radius: 20px;
    }

    .ust-workspace__top {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .ust-workspace__body {
        padding: 22px;
    }

    .ust-form-grid,
    .ust-form-grid--3 {
        grid-template-columns: 1fr;
    }

    .ust-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ust-result__header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .ust-shell {
        width: min(100% - 22px, 1220px);
    }

    .ust-eyebrow {
        align-items: flex-start;
        flex-direction: column;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .ust-hero__search input {
        min-height: 60px;
        padding-right: 18px;
    }

    .ust-hero__search kbd {
        display: none;
    }

    .ust-hero__visual {
        min-height: 300px;
    }

    .ust-visual-card__score {
        padding: 26px 22px 22px;
    }

    .ust-score-ring {
        width: 75px;
        height: 75px;
    }

    .ust-score-ring::before {
        width: 59px;
        height: 59px;
    }

    .ust-visual-bars {
        padding: 0 22px 26px;
    }

    .ust-float-card {
        display: none;
    }

    .ust-feature-card,
    .ust-tool-card {
        padding: 20px;
    }

    .ust-tool-icon {
        width: 43px;
        height: 43px;
    }

    .ust-metrics {
        grid-template-columns: 1fr;
    }

    .ust-actions .ust-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ust-page *,
    .ust-page *::before,
    .ust-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



.ust-related__action .ust-button {
    cursor: default;
}
