:root {
    --case-ink: #0b1730;
    --case-muted: #63708a;
    --case-line: #dfe6f0;
    --case-paper: #ffffff;
    --case-canvas: #f4f7fb;
    --case-night: #081629;
    --case-night-soft: #102743;
    --case-blue: #2f6df6;
    --case-blue-dark: #1853dc;
    --case-sky: #dce9ff;
    --case-mint: #45d5b5;
    --case-radius-xl: 30px;
    --case-radius-lg: 22px;
    --case-radius-md: 16px;
    --case-shadow: 0 24px 80px rgba(11, 23, 48, .12);
    --case-font: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.task-case-body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--case-ink);
    background: var(--case-canvas);
    font-family: var(--case-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.task-case-body.task-case-modal-open {
    overflow: hidden;
}

.task-case-body *,
.task-case-body *::before,
.task-case-body *::after {
    box-sizing: border-box;
}

.task-case-body button,
.task-case-body input,
.task-case-body select {
    font: inherit;
}

.task-case-body button,
.task-case-body a {
    -webkit-tap-highlight-color: transparent;
}

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

.task-case-skip {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    color: #fff;
    background: var(--case-blue);
    transform: translateY(-180%);
    transition: transform .2s ease;
}

.task-case-skip:focus {
    transform: translateY(0);
}

.task-case-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(15, 34, 63, .08);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 40px rgba(15, 34, 63, .04);
    backdrop-filter: blur(20px) saturate(150%);
}

.task-case-header__inner {
    display: flex;
    align-items: center;
    min-height: 76px;
    gap: 30px;
}

.task-case-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.task-case-logo img {
    display: block;
    width: 126px;
    height: auto;
}

.task-case-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 28px;
}

.task-case-nav a,
.task-case-login {
    position: relative;
    color: #33415c;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease;
}

.task-case-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--case-blue);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.task-case-nav a:hover,
.task-case-login:hover {
    color: var(--case-blue);
}

.task-case-nav a:hover::after {
    transform: scaleX(1);
}

.task-case-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.task-case-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #3778ff, #225ce8);
    box-shadow: 0 14px 30px rgba(47, 109, 246, .25);
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.task-case-button:hover {
    background: linear-gradient(135deg, #4282ff, #174fd9);
    box-shadow: 0 18px 38px rgba(47, 109, 246, .34);
    transform: translateY(-2px);
}

.task-case-button:active {
    transform: translateY(0);
}

.task-case-button:focus-visible,
.task-case-menu:focus-visible,
.task-case-toc button:focus-visible,
.task-case-mobile-cta button:focus-visible {
    outline: 3px solid rgba(69, 213, 181, .7);
    outline-offset: 3px;
}

.task-case-button--small {
    min-height: 42px;
    padding-inline: 18px;
    border-radius: 12px;
    font-size: 13px;
}

.task-case-button--wide {
    width: 100%;
    gap: 10px;
}

.task-case-button svg,
.task-case-related svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.task-case-menu {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 0;
    border-radius: 12px;
    background: #edf3ff;
    cursor: pointer;
}

.task-case-menu span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--case-ink);
    transition: transform .2s ease, opacity .2s ease;
}

.task-case-page {
    position: relative;
    min-height: 100vh;
}

.task-case-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 72% 12%, rgba(47, 109, 246, .2), transparent 36%),
        linear-gradient(145deg, #071426 0%, #0b1d34 55%, #0c233d 100%);
}

.task-case-hero::after {
    position: absolute;
    right: -8%;
    bottom: -180px;
    width: 600px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
    transform: rotate(-18deg);
}

.task-case-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.task-case-hero__glow--one {
    top: 16%;
    left: -110px;
    width: 260px;
    height: 260px;
    background: rgba(69, 213, 181, .12);
}

.task-case-hero__glow--two {
    top: -160px;
    right: 12%;
    width: 420px;
    height: 420px;
    background: rgba(47, 109, 246, .15);
}

.task-case-hero__inner {
    position: relative;
    z-index: 2;
    padding-block: 28px 76px;
}

.task-case-breadcrumbs {
    display: flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 58px;
    gap: 10px;
    overflow: hidden;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    white-space: nowrap;
}

.task-case-breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.task-case-breadcrumbs a:hover {
    color: #fff;
}

.task-case-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
    gap: clamp(50px, 7vw, 96px);
}

.task-case-hero__copy {
    min-width: 0;
}

.task-case-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .05);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.task-case-eyebrow__dot {
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--case-mint);
    box-shadow: 0 0 0 6px rgba(69, 213, 181, .11);
}

.task-case-hero h1 {
    max-width: 820px;
    margin: 26px 0 22px;
    color: #fff;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 780;
    letter-spacing: -.045em;
    line-height: 1.055;
    overflow-wrap: anywhere;
}

.task-case-hero__lead {
    max-width: 720px;
    margin: 0;
    color: rgba(230, 239, 255, .72);
    font-size: 18px;
    line-height: 1.65;
}

.task-case-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 9px;
}

.task-case-tag {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(128, 174, 255, .26);
    border-radius: 999px;
    color: #d9e7ff;
    background: rgba(47, 109, 246, .13);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.task-case-tag--soft {
    border-color: rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .05);
}

.task-case-hero__proof {
    display: flex;
    margin-top: 46px;
    gap: 0;
}

.task-case-hero__proof > div {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding-right: 28px;
    margin-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.task-case-hero__proof > div:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
}

.task-case-hero__proof strong {
    color: #fff;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.2;
}

.task-case-hero__proof span {
    margin-top: 7px;
    color: rgba(222, 234, 252, .54);
    font-size: 12px;
}

.task-case-order-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--case-radius-xl);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
    backdrop-filter: blur(24px);
}

.task-case-order-card::before {
    position: absolute;
    top: 0;
    right: 36px;
    left: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 150, 255, .95), transparent);
    content: "";
}

.task-case-order-card__status {
    display: flex;
    align-items: center;
    color: rgba(234, 242, 255, .72);
    font-size: 12px;
    line-height: 1.4;
}

.task-case-order-card__status span {
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--case-mint);
    box-shadow: 0 0 0 5px rgba(69, 213, 181, .1);
}

.task-case-order-card h2 {
    margin: 22px 0 12px;
    color: #fff;
    font-size: 28px;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.task-case-order-card > p {
    margin: 0;
    color: rgba(229, 239, 255, .65);
    font-size: 14px;
    line-height: 1.6;
}

.task-case-order-card ul {
    display: grid;
    margin: 22px 0 26px;
    padding: 0;
    gap: 12px;
    list-style: none;
}

.task-case-order-card li {
    position: relative;
    padding-left: 26px;
    color: rgba(242, 247, 255, .82);
    font-size: 13px;
    line-height: 1.45;
}

.task-case-order-card li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    color: #071426;
    background: var(--case-mint);
    content: "✓";
    font-size: 10px;
    font-weight: 900;
    place-items: center;
}

.task-case-order-card .task-case-order-card__note {
    margin-top: 13px;
    color: rgba(224, 235, 252, .46);
    font-size: 11px;
    text-align: center;
}

.task-case-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: start;
    padding-block: 76px 96px;
    gap: 62px;
}

.task-case-main {
    min-width: 0;
}

.task-case-section {
    margin-bottom: 68px;
    scroll-margin-top: 108px;
}

.task-case-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 32px;
}

.task-case-section__head > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.task-case-section__index {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #cfe0ff;
    border-radius: 13px;
    color: var(--case-blue-dark);
    background: #edf4ff;
    font-size: 12px;
    font-weight: 800;
    place-items: center;
}

.task-case-section h2 {
    margin: 0;
    color: var(--case-ink);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 770;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.task-case-section__head > p {
    max-width: 300px;
    margin: 0;
    color: var(--case-muted);
    font-size: 13px;
    line-height: 1.55;
    text-align: right;
}

.task-case-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--case-line);
    border-radius: var(--case-radius-lg);
    background: var(--case-paper);
    box-shadow: 0 14px 44px rgba(21, 42, 78, .05);
}

.task-case-facts article {
    display: flex;
    flex-direction: column;
    min-height: 132px;
    padding: 27px 30px;
    border-right: 1px solid var(--case-line);
    border-bottom: 1px solid var(--case-line);
    gap: 12px;
}

.task-case-facts article:nth-child(2n) {
    border-right: 0;
}

.task-case-facts article:nth-last-child(-n+2) {
    border-bottom: 0;
}

.task-case-facts span {
    color: var(--case-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.task-case-facts strong {
    color: var(--case-ink);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.35;
}

.task-case-request {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 34px 38px 34px 30px;
    border: 1px solid #dce5f2;
    border-radius: var(--case-radius-lg);
    background: #fff;
    box-shadow: 0 18px 55px rgba(21, 42, 78, .06);
    gap: 20px;
}

.task-case-request::before {
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--case-blue);
    content: "";
}

.task-case-request__mark {
    color: #9ab9fa;
    font-family: Georgia, serif;
    font-size: 76px;
    line-height: .82;
}

.task-case-richtext {
    color: #2b3a55;
    font-size: 17px;
    line-height: 1.75;
}

.task-case-richtext > :first-child {
    margin-top: 0;
}

.task-case-richtext > :last-child {
    margin-bottom: 0;
}

.task-case-richtext p {
    margin: 0 0 1.2em;
}

.task-case-richtext h3 {
    margin: 2em 0 .7em;
    color: var(--case-ink);
    font-size: 22px;
    font-weight: 760;
    letter-spacing: -.015em;
    line-height: 1.3;
}

.task-case-richtext ul,
.task-case-richtext ol {
    display: grid;
    margin: 1.2em 0 1.5em;
    padding: 0;
    gap: 12px;
    list-style: none;
    counter-reset: case-list;
}

.task-case-richtext li {
    position: relative;
    padding-left: 34px;
}

.task-case-richtext ul li::before {
    position: absolute;
    top: .65em;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--case-blue);
    box-shadow: 0 0 0 5px #e9f1ff;
    content: "";
}

.task-case-richtext ol li {
    counter-increment: case-list;
}

.task-case-richtext ol li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: var(--case-blue);
    background: #eaf2ff;
    content: counter(case-list);
    font-size: 11px;
    font-weight: 800;
    place-items: center;
}

.task-case-explanation {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    margin-top: 20px;
    padding: 27px 30px;
    border: 1px solid #dbe9e7;
    border-radius: var(--case-radius-lg);
    background: #f1fbf8;
    gap: 17px;
}

.task-case-explanation__icon {
    display: grid;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #0b6e5b;
    background: #c9f3e8;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 800;
    place-items: center;
}

.task-case-explanation h3 {
    margin: 2px 0 5px;
    color: #124b43;
    font-size: 18px;
}

.task-case-explanation__label {
    margin: 0 0 16px;
    color: #52766f;
    font-size: 12px;
}

.task-case-explanation .task-case-richtext {
    color: #31564f;
    font-size: 15px;
}

.task-case-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.task-case-related a {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 154px;
    padding: 24px 54px 24px 24px;
    overflow: hidden;
    border: 1px solid var(--case-line);
    border-radius: 18px;
    color: var(--case-ink);
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.task-case-related a:hover {
    border-color: #b7cdfb;
    box-shadow: 0 20px 46px rgba(23, 55, 112, .09);
    transform: translateY(-3px);
}

.task-case-related span {
    margin-bottom: 11px;
    color: var(--case-blue);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.task-case-related strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 680;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.task-case-related svg {
    position: absolute;
    top: 24px;
    right: 22px;
    color: #9bb2db;
    transition: color .2s ease, transform .2s ease;
}

.task-case-related a:hover svg {
    color: var(--case-blue);
    transform: translateX(3px);
}

.task-case-guide {
    padding: 34px 38px 42px;
    border: 1px solid var(--case-line);
    border-radius: var(--case-radius-xl);
    background: #fff;
    box-shadow: 0 24px 70px rgba(18, 42, 80, .07);
}

.task-case-guide .task-case-section__head {
    margin-bottom: 24px;
}

.task-case-guide__meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--case-line);
    gap: 8px;
}

.task-case-guide__meta span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
    color: #4c6080;
    background: #f1f5fb;
    font-size: 11px;
    font-weight: 650;
}

.task-case-richtext--guide {
    max-width: 790px;
    font-size: 17px;
    line-height: 1.8;
}

.task-case-guide__note {
    margin: 34px 0 0;
    padding: 18px 20px;
    border-radius: 14px;
    color: #5d6c83;
    background: #f5f7fb;
    font-size: 12px;
    line-height: 1.6;
}

.task-case-conversion {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
    margin: 10px 0 38px;
    padding: 42px;
    overflow: hidden;
    border-radius: var(--case-radius-xl);
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(95, 160, 255, .42), transparent 32%),
        linear-gradient(135deg, #0b1d36, #123963);
    box-shadow: 0 26px 70px rgba(8, 22, 41, .2);
    gap: 34px;
}

.task-case-conversion::after {
    position: absolute;
    right: -110px;
    bottom: -170px;
    width: 370px;
    height: 370px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.task-case-conversion > div,
.task-case-conversion > button {
    position: relative;
    z-index: 2;
}

.task-case-conversion span {
    color: #8eb6ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.task-case-conversion h2 {
    max-width: 560px;
    margin: 12px 0 10px;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
}

.task-case-conversion p {
    max-width: 590px;
    margin: 0;
    color: rgba(231, 240, 255, .66);
    font-size: 15px;
    line-height: 1.6;
}

.task-case-button--light {
    flex: 0 0 auto;
    color: var(--case-ink);
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
}

.task-case-button--light:hover {
    color: var(--case-blue-dark);
    background: #f8fbff;
}

.task-case-backlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.task-case-backlinks a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--case-line);
    border-radius: 999px;
    color: #455672;
    background: #fff;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}

.task-case-backlinks a:hover {
    border-color: #9bbaf8;
    color: var(--case-blue);
}

.task-case-toc {
    position: sticky;
    top: 108px;
    display: flex;
    flex-direction: column;
    padding-left: 24px;
    border-left: 1px solid #d7e0ed;
    gap: 5px;
}

.task-case-toc > span {
    margin-bottom: 10px;
    color: #526078;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.task-case-toc a {
    padding: 8px 0;
    color: #61708a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.task-case-toc a:hover,
.task-case-toc a.is-active {
    color: var(--case-blue);
    transform: translateX(3px);
}

.task-case-toc button {
    margin-top: 16px;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--case-blue);
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

body.task-case-body #modal.task-case-modal {
    position: fixed;
    z-index: 1500;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow-y: auto;
    background: rgba(3, 12, 25, .72);
    backdrop-filter: blur(14px);
}

body.task-case-body #modal.task-case-modal > form {
    position: relative;
    width: min(100%, 520px);
    margin: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
}

body.task-case-body #modal.task-case-modal .top {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    padding-left: 0;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 26px;
    font-size: inherit;
    font-weight: inherit;
    gap: 20px;
}

body.task-case-body #modal.task-case-modal .top > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

body.task-case-body #modal.task-case-modal .top span {
    color: var(--case-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.task-case-body #modal.task-case-modal .top strong {
    max-width: 350px;
    color: var(--case-ink);
    font-size: 25px;
    line-height: 1.2;
}

body.task-case-body #modal.task-case-modal .modal_close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #eff3f8;
    cursor: pointer;
    place-items: center;
}

body.task-case-body #modal.task-case-modal .modal_close img {
    width: 16px;
    height: 16px;
}

body.task-case-body #modal.task-case-modal label.text {
    display: block;
    margin: 16px 0 8px;
    color: #34425c;
    font-size: 12px;
    font-weight: 700;
}

body.task-case-body #modal.task-case-modal input,
body.task-case-body #modal.task-case-modal select {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #d5dfeb;
    border-radius: 13px;
    outline: none;
    color: var(--case-ink);
    background: #fbfcfe;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.task-case-body #modal.task-case-modal input:focus,
body.task-case-body #modal.task-case-modal select:focus {
    border-color: #78a2fb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 109, 246, .11);
}

.task-case-modal__quick {
    margin: 23px 0 10px;
    color: #53627a;
    font-size: 12px;
    font-weight: 700;
}

.task-case-modal__providers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.task-case-modal__providers a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 1px solid #dce4ef;
    border-radius: 13px;
    color: #273650;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.task-case-modal__providers a:hover {
    border-color: #a9c2f6;
    box-shadow: 0 10px 25px rgba(18, 42, 80, .08);
}

.task-case-modal__providers img {
    width: 25px;
    height: 25px;
    margin-right: 9px;
}

.task-case-modal__divider {
    position: relative;
    height: 18px;
    margin: 14px 0;
    text-align: center;
}

.task-case-modal__divider::before {
    position: absolute;
    top: 9px;
    right: 0;
    left: 0;
    height: 1px;
    background: #e3e9f1;
    content: "";
}

.task-case-modal__divider span {
    position: relative;
    z-index: 1;
    padding: 0 10px;
    color: #8a97aa;
    background: #fff;
    font-size: 11px;
}

.task-case-modal__manual {
    text-align: center;
}

.task-case-modal__manual button {
    padding: 6px;
    border: 0;
    color: var(--case-blue);
    background: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

body.task-case-body #modal.task-case-modal #fast_form_hidden {
    display: none;
    width: 100%;
}

body.task-case-body #modal.task-case-modal #fast_form_hidden > button {
    width: 100%;
    min-height: 52px;
    margin-top: 12px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: var(--case-blue);
    font-weight: 750;
    cursor: pointer;
}

body.task-case-body #modal.task-case-modal .err {
    min-height: 18px;
    margin-top: 8px;
    color: #bd2f47;
    font-size: 11px;
}

.task-case-modal__privacy {
    margin: 20px 0 0;
    color: #8a96a8;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

body.task-case-body #modal.task-case-modal .wite {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: rgba(255, 255, 255, .82);
}

.task-case-mobile-cta {
    display: none;
}

@media (max-width: 1080px) {
    .task-case-nav {
        gap: 18px;
    }

    .task-case-nav a:nth-child(3) {
        display: none;
    }

    .task-case-hero__grid {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 44px;
    }

    .task-case-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .task-case-toc {
        display: none;
    }
}

@media (max-width: 900px) {
    .task-case-header__actions {
        margin-left: auto;
    }

    .task-case-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 15px 24px 22px;
        border-bottom: 1px solid var(--case-line);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 22px 40px rgba(15, 34, 63, .12);
        gap: 0;
    }

    .task-case-nav.is-open {
        display: flex;
    }

    .task-case-nav a,
    .task-case-nav a:nth-child(3) {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid #edf1f6;
        font-size: 15px;
    }

    .task-case-menu {
        display: block;
    }

    .task-case-menu[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .task-case-menu[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .task-case-menu[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .task-case-hero__inner {
        padding-bottom: 58px;
    }

    .task-case-breadcrumbs {
        margin-bottom: 38px;
    }

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

    .task-case-order-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: center;
        gap: 22px 36px;
    }

    .task-case-order-card__status,
    .task-case-order-card h2,
    .task-case-order-card > p {
        grid-column: 1;
    }

    .task-case-order-card ul {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin: 0;
    }

    .task-case-order-card .task-case-button,
    .task-case-order-card .task-case-order-card__note {
        grid-column: 1 / -1;
    }

}

@media (max-width: 700px) {
    .task-case-shell {
        width: min(100% - 32px, 1240px);
    }

    .task-case-header__inner {
        min-height: 66px;
    }

    .task-case-logo img {
        width: 112px;
    }

    .task-case-header__actions {
        display: none;
    }

    .task-case-menu {
        margin-left: auto;
    }

    .task-case-hero__inner {
        padding-top: 20px;
        padding-bottom: 42px;
    }

    .task-case-breadcrumbs {
        margin-bottom: 30px;
        mask-image: linear-gradient(90deg, #000 85%, transparent);
    }

    .task-case-eyebrow {
        min-height: 32px;
        font-size: 10px;
    }

    .task-case-hero h1 {
        margin: 20px 0 18px;
        font-size: clamp(34px, 10vw, 48px);
        letter-spacing: -.038em;
        line-height: 1.08;
    }

    .task-case-hero__lead {
        font-size: 16px;
        line-height: 1.6;
    }

    .task-case-tags {
        margin-top: 23px;
    }

    .task-case-hero__proof {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 34px;
        gap: 20px;
    }

    .task-case-hero__proof > div,
    .task-case-hero__proof > div:last-child {
        min-width: 0;
        padding: 0;
        margin: 0;
        border: 0;
    }

    .task-case-hero__proof > div:last-child {
        grid-column: 1 / -1;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .task-case-order-card {
        display: block;
        padding: 24px;
        border-radius: 22px;
    }

    .task-case-order-card h2 {
        font-size: 25px;
    }

    .task-case-order-card ul {
        margin: 20px 0 24px;
    }

    .task-case-layout {
        padding-block: 52px 106px;
    }

    .task-case-section {
        margin-bottom: 52px;
    }

    .task-case-section__head {
        display: block;
        margin-bottom: 22px;
    }

    .task-case-section__head > div {
        align-items: flex-start;
    }

    .task-case-section h2 {
        padding-top: 3px;
        font-size: 27px;
    }

    .task-case-section__head > p {
        max-width: none;
        margin: 14px 0 0 58px;
        text-align: left;
    }

    .task-case-facts {
        grid-template-columns: 1fr;
    }

    .task-case-facts article,
    .task-case-facts article:nth-child(2n),
    .task-case-facts article:nth-last-child(-n+2) {
        min-height: 104px;
        padding: 22px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--case-line);
    }

    .task-case-facts article:last-child {
        border-bottom: 0;
    }

    .task-case-request {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 26px 22px 26px 18px;
        gap: 12px;
    }

    .task-case-request__mark {
        font-size: 58px;
    }

    .task-case-richtext {
        font-size: 16px;
        line-height: 1.72;
    }

    .task-case-richtext h3 {
        font-size: 20px;
    }

    .task-case-explanation {
        grid-template-columns: 1fr;
        padding: 23px;
    }

    .task-case-related {
        grid-template-columns: 1fr;
    }

    .task-case-guide {
        margin-inline: -4px;
        padding: 27px 22px 30px;
        border-radius: 22px;
    }

    .task-case-guide__meta {
        margin-bottom: 24px;
    }

    .task-case-conversion {
        display: block;
        min-height: 0;
        padding: 31px 27px;
        border-radius: 22px;
    }

    .task-case-conversion h2 {
        font-size: 30px;
    }

    .task-case-conversion .task-case-button {
        width: 100%;
        margin-top: 25px;
    }

    .task-case-mobile-cta {
        position: fixed;
        z-index: 900;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        padding: 10px 10px 10px 18px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 20px;
        color: #fff;
        background: rgba(8, 22, 41, .94);
        box-shadow: 0 22px 55px rgba(0, 0, 0, .3);
        backdrop-filter: blur(18px);
        gap: 12px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 22px));
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
        visibility: hidden;
    }

    .task-case-mobile-cta.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .task-case-mobile-cta div {
        display: flex;
        flex-direction: column;
        min-width: 0;
        gap: 3px;
    }

    .task-case-mobile-cta span {
        color: #8ca3c7;
        font-size: 10px;
    }

    .task-case-mobile-cta strong {
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .task-case-mobile-cta button {
        min-height: 46px;
        padding: 0 18px;
        border: 0;
        border-radius: 13px;
        color: #fff;
        background: var(--case-blue-dark);
        font-size: 13px;
        font-weight: 750;
    }

    body.task-case-body #modal.task-case-modal {
        align-items: flex-end;
        padding: 10px;
    }

    body.task-case-body #modal.task-case-modal > form {
        width: 100%;
        max-height: calc(100vh - 20px);
        padding: 24px 20px max(24px, env(safe-area-inset-bottom));
        overflow-y: auto;
        border-radius: 24px;
    }
}

@media (max-width: 420px) {
    .task-case-shell {
        width: calc(100% - 24px);
    }

    .task-case-hero h1 {
        font-size: 34px;
    }

    .task-case-tag {
        min-height: 34px;
        padding-inline: 11px;
        font-size: 11px;
    }

    .task-case-section__index {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .task-case-section__head > p {
        margin-left: 54px;
    }

    .task-case-related a {
        min-height: 145px;
        padding: 21px 48px 21px 20px;
    }

    .task-case-modal__providers {
        grid-template-columns: 1fr;
    }
}

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

    .task-case-body *,
    .task-case-body *::before,
    .task-case-body *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .task-case-header,
    .task-case-order-card,
    .task-case-toc,
    .task-case-conversion,
    .rustud-site-footer,
    .task-case-mobile-cta,
    #modal {
        display: none !important;
    }

    .task-case-hero {
        color: #000;
        background: #fff;
    }

    .task-case-hero h1,
    .task-case-hero__lead,
    .task-case-eyebrow,
    .task-case-breadcrumbs a {
        color: #000;
    }

    .task-case-layout {
        display: block;
        padding: 24px 0;
    }
}
