:root {
    color-scheme: light;
    --short-background: #f8f6f0;
    --short-paper: #fff;
    --short-text: #211e36;
    --short-muted: #514a63;
    --short-accent: #493778;
    --short-border: #e4dfea;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--short-background);
    color: var(--short-text);
    font: 400 1rem/1.65 system-ui, "Segoe UI", Tahoma, sans-serif;
}

[dir="rtl"] body {
    font-family: "Segoe UI", Tahoma, system-ui, sans-serif;
}

.short-shell {
    width: min(100% - 40px, 960px);
    margin-inline: auto;
    padding-block: 20px 44px;
}

.short-header {
    display: flex;
    justify-content: flex-end;
    margin-block-end: 16px;
}

.short-language {
    display: inline-grid;
    min-block-size: 44px;
    place-items: center;
    padding-inline: 18px;
    border: 1px solid #78679c;
    border-radius: 24px;
    background: var(--short-paper);
    color: var(--short-accent);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
}

.short-language:hover {
    background: #efeaf9;
}

.short-language:focus-visible {
    outline: 3px solid var(--short-accent);
    outline-offset: 3px;
}

.short-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(26px, 5.5vw, 62px);
    border-radius: 26px;
    background: #232044;
    color: #fff;
}

.short-intro::after {
    position: absolute;
    inset-block-start: -145px;
    inset-inline-end: -115px;
    z-index: -1;
    inline-size: 350px;
    block-size: 350px;
    border: 1px solid #a495d64d;
    border-radius: 50%;
    box-shadow: 0 0 0 36px #a495d61a, 0 0 0 83px #a495d612, 0 0 0 132px #a495d60d;
    pointer-events: none;
    content: "";
}

.short-intro h1 {
    margin: 0;
    font-size: clamp(2.15rem, 6vw, 4rem);
    letter-spacing: -.035em;
    line-height: 1.23;
}

[dir="rtl"] .short-intro h1 {
    letter-spacing: normal;
}

.short-intro p {
    max-inline-size: 51ch;
    margin: 14px 0 0;
    color: #ece6fa;
    font-size: clamp(1.02rem, 2.5vw, 1.24rem);
    line-height: 1.65;
}

.short-process {
    margin-block-start: clamp(26px, 4.6vw, 42px);
}

.short-process h2 {
    margin: 0 0 16px;
    font-size: clamp(1.43rem, 3vw, 1.75rem);
    line-height: 1.4;
}

.short-stages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: short-stage;
}

.short-stages li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    border: 1px solid var(--short-border);
    border-radius: 16px;
    background: var(--short-paper);
}

.short-stages li::before {
    display: grid;
    flex: 0 0 34px;
    block-size: 34px;
    place-items: center;
    border-radius: 10px;
    background: #ede7fa;
    color: var(--short-accent);
    font-weight: 700;
    counter-increment: short-stage;
    content: counter(short-stage);
}

[dir="rtl"] .short-stages li::before {
    content: counter(short-stage, arabic-indic);
}

.short-stages li > div {
    min-inline-size: 0;
}

.short-stages h3 {
    margin: 2px 0 4px;
    font-size: 1.13rem;
    line-height: 1.4;
}

.short-stages p {
    margin: 0;
    color: var(--short-muted);
}

.short-note {
    margin: 17px 0 0;
    padding: 12px 16px;
    border-inline-start: 3px solid #8062bc;
    border-radius: 6px;
    background: #f0ebf8;
    color: #362c4e;
}

@media (max-width: 640px) {
    .short-shell {
        width: min(100% - 24px, 960px);
        padding-block: 12px 24px;
    }

    .short-intro {
        border-radius: 18px;
    }

    .short-stages {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .short-stages li {
        padding: 15px 13px;
    }
}
