body:has(.fs-home) {
    --bg: #0b141b;
    --s1: #101c25;
    --s2: #15242f;
    --line: #213240;
    --text: #e7eef4;
    --muted: #8a9bab;
    --green: #23bf65;
    --green-d: #0f3a25;
    --pink: #e41a4b; /* 4.6:1 with white text (WCAG AA); was #e81c4d at 4.46:1 */
    --coral: #e8845c;
    --blue: #5aa2ff;
    --r: 18px;
    --mono: "JetBrains Mono",ui-monospace,Consolas,monospace;
    --text2: #c4d0db;
    --on-green: #06140c;
    --glass: rgba(11,20,27,.86);
    --glass2: rgba(16,28,37,.96);
}

[data-theme=light] body:has(.fs-home) {
    --bg: #f3f6f8;
    --s1: #fff;
    --s2: #e9eff3;
    --line: #d9e2e9;
    --text: #0f1c26;
    --muted: #5a6a78;
    --text2: #33434f;
    --green: #0e8a43;
    --green-d: #e1f5e9;
    --coral: #cf5d36;
    --blue: #2673d9;
    --on-green: #fff;
    --glass: rgba(243,246,248,.88);
    --glass2: rgba(255,255,255,.96);
}

[data-theme=light] .fs-home .card {
    box-shadow: 0 1px 2px rgba(15,28,38,.04),0 10px 26px -14px rgba(15,28,38,.16);
}

.fs-home svg.i {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.fs-home .mono {
    font-family: var(--mono);
    direction: ltr;
    unicode-bidi: isolate;
}

.fs-home .muted {
    color: var(--muted);
}

.fs-home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border-radius: 14px;
    padding: 13px 22px;
    transition: .2s;
}

.fs-home .btn-p {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(232,28,77,.7);
}

.fs-home .btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -8px rgba(232,28,77,.8);
}

.fs-home .btn-g {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.fs-home .btn-g:hover {
    border-color: var(--green);
    color: var(--green);
}

/* focus ring: the outline follows each element's own radius (no global radius override) */

.fs-home :focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.fs-home .card {
    background: var(--s1);
    border: 1px solid var(--line);
    border-radius: var(--r);
}

:root:not([data-theme=light]) .fs-home :is(.feat, .rows) {
    color: var(--text);
}

/* ---- hero ---- */

.fs-home .hero {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 34px;
    padding-top: 26px;
}

.fs-home .hero h1 {
    font-size: clamp(36px,4.8vw,64px);
    line-height: 1.3;
    font-weight: 900;
}

.fs-home .hero h1 span {
    display: block;
}

.fs-home .hero h1 .gr {
    color: var(--green);
}

.fs-home .lead {
    color: var(--text2);
    font-size: 17.5px;
    max-width: 44ch;
    margin-top: 18px;
}

.fs-home .cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* icon tile, shared by the numbers strip and the "how you learn" columns */

.fs-home .f-ic {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--green-d);
    color: var(--green);
    transition: background .4s,color .4s,transform .5s cubic-bezier(.2,.8,.2,1);
}

.fs-home .f-ic svg {
    width: 22px;
    height: 22px;
}

.fs-home li:hover>.f-ic,.fs-home .how div:hover>.f-ic {
    background: var(--green);
    color: var(--on-green);
    transform: translateY(-3px);
}

@media(min-width:961px) {
    .fs-home .hero {
        grid-template-columns: minmax(0,1fr) minmax(0,min(460px,40%));
        gap: 0 clamp(40px,6vw,76px);
        align-items: center;
        padding-top: 40px;
    }
    .fs-home .hero h1 span {
        white-space: nowrap;
    }
}

/* ---- sections ---- */

.fs-home .sec-h {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.fs-home h2 {
    font-size: clamp(24px,2.7vw,32px);
    font-weight: 900;
    line-height: 1.5;
}

.fs-home .sh {
    color: var(--muted);
    font-size: 15.5px;
    max-width: 56ch;
    margin-top: 4px;
}

.fs-home .more {
    color: var(--green);
    font-weight: 500;
    font-size: 14.5px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    white-space: nowrap;
}

.fs-home .more svg,.fs-home .go svg {
    width: 17px;
    height: 17px;
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

.fs-home .more:hover svg,.fs-home a:hover .go svg {
    transform: translateX(-5px);
}

.fs-home .go {
    color: var(--green);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

/* featured course: cover video on one side, the offer on the other */

.fs-home .feat {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
    overflow: hidden;
}

.fs-home .feat-t {
    padding: 32px 40px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fs-home .feat-t h3 {
    font-size: clamp(21px,2.2vw,27px);
    font-weight: 900;
    line-height: 1.6;
}

.fs-home .cc {
    color: var(--coral);
    white-space: nowrap;
}

.fs-home .feat-t p {
    color: var(--text2);
    margin-top: 10px;
    max-width: 46ch;
}

.fs-home .feat-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.fs-home .feat-arrow {
    font-weight: 400;
    opacity: .85;
}

.fs-home .dots {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

.fs-home .dots li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.fs-home .dots svg {
    width: 17px;
    height: 17px;
    color: var(--green);
}

.fs-home .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin: 22px 0 24px;
}

.fs-home .price b {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.3;
}

.fs-home .price small {
    color: var(--muted);
    font-size: 13.5px;
}

.fs-home .old {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 15px;
}

.fs-home .off {
    background: var(--pink);
    color: #fff;
    border-radius: 8px;
    padding: 0 9px;
    font-size: 13px;
    font-weight: 700;
}

.fs-home .feat-m {
    position: relative;
    display: block;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #070d12;
    aspect-ratio: 16/9;
    border-inline-start: 1px solid var(--line);
}

.fs-home .feat-m :is(img,video) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* masterclass cards */

.fs-home .cgrid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    margin-top: 24px;
}

.fs-home .course {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1),border-color .4s,box-shadow .4s;
}

.fs-home .course:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb,var(--green) 55%,var(--line));
}

.fs-home .cover {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--s2);
}

.fs-home .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fs-home .cover img,.fs-home .feat-m :is(img,video) {
    transition: transform .7s cubic-bezier(.2,.8,.2,1);
}

.fs-home .course:hover .cover img,.fs-home .feat-m:hover :is(img,video) {
    transform: scale(1.05);
}

.fs-home .co-b {
    padding: 20px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fs-home .co-b h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.75;
}

.fs-home .co-b p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
    flex: 1;
}

.fs-home .co-f {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.fs-home .co-f b {
    font-size: 17px;
}

.fs-home .co-f b small {
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
}

/* ---- roadmap: three stations on one line ---- */

.fs-home .road-stages {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 30px;
}

.fs-home .st-top {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.fs-home .st-n {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 700 14px var(--mono);
    color: var(--green);
    background: var(--green-d);
    border: 1px solid color-mix(in srgb,var(--green) 40%,transparent);
    flex: none;
}

.fs-home .st-top::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
    margin-inline: 14px -30px;
    transform-origin: right;
}

.fs-home .stage:last-child .st-top::after {
    margin-inline-end: 0;
    background: linear-gradient(to left,var(--line),transparent);
}

.fs-home .stage h3 {
    font-size: 21px;
    font-weight: 900;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.fs-home .stage h3 small {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--muted);
}

.fs-home .st-d {
    color: var(--muted);
    font-size: 14.5px;
}

.fs-home .rows {
    list-style: none;
    padding: 0;
    margin: 18px 0 14px;
    overflow: hidden;
}

.fs-home .rows li+li {
    border-top: 1px solid var(--line);
}

/* each course: its cover, its name, then length and price on one quiet line */

.fs-home .road-course {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 0 14px;
    align-items: center;
    padding: 13px 18px;
    transition: background .25s;
}

.fs-home .rc {
    grid-column: 1;
    grid-row: 1/3;
    width: 52px;
    height: 52px;
    object-fit: contain;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.fs-home a.road-course:hover .rc {
    transform: scale(1.12) rotate(-5deg);
}

.fs-home .road-course b {
    grid-column: 2;
    font-weight: 700;
    font-size: 15px;
}

.fs-home .road-course .m {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.fs-home .road-course .pr {
    color: var(--text);
    font-weight: 700;
    font-size: 14.5px;
    white-space: nowrap;
}

.fs-home .road-course .pr small {
    font-weight: 400;
    font-size: 12px;
    color: var(--muted);
}

.fs-home a.road-course:hover {
    background: var(--s2);
}

.fs-home .road-course.soon b {
    color: var(--muted);
    font-weight: 500;
}

.fs-home .road-course.soon .rc {
    filter: grayscale(.55);
    opacity: .75;
}

.fs-home .tag-s {
    font-size: 12.5px;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 999px;
    padding: 0 12px;
}

/* ---- how you learn: open columns, no boxes ---- */

.fs-home .how {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.fs-home .how div {
    padding: 4px 36px;
}

.fs-home .how div:first-child {
    padding-inline-start: 0;
}

.fs-home .how div:last-child {
    padding-inline-end: 0;
}

.fs-home .how div+div {
    border-inline-start: 1px solid var(--line);
}

.fs-home .how .f-ic {
    width: 52px;
    height: 52px;
    border-radius: 16px;
}

.fs-home .how .f-ic svg {
    width: 26px;
    height: 26px;
}

.fs-home .how h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0 4px;
}

.fs-home .how p {
    color: var(--muted);
    font-size: 14.5px;
}

/* ---- instructor: text beside a dark terminal (as on the login page) ---- */

.fs-home .who {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,470px);
    overflow: hidden;
}

.fs-home .who-t {
    padding: 40px 42px;
}

.fs-home .who-h {
    display: flex;
    gap: 18px;
    align-items: center;
}

.fs-home .who-h img {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    object-fit: cover;
    object-position: top;
    background: var(--s2);
    flex: none;
}

.fs-home .who-h h3 {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.5;
}

.fs-home .who-h span {
    color: var(--muted);
    font-size: 14.5px;
}

.fs-home .bio {
    color: var(--text2);
    margin: 22px 0 26px;
    max-width: 58ch;
}

.fs-home .who-l {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fs-home .who-l .btn {
    padding: 9px 18px;
    font-size: 14px;
    border-radius: 12px;
    font-weight: 500;
}

.fs-home .tside {
    background: #070d12;
    border-inline-start: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.fs-home .term {
    --line: #213240;
    --muted: #8a9bab;
    --text: #e7eef4;
    --green: #23bf65;
    --coral: #e8845c;
    --blue: #5aa2ff;
    color: var(--text);
}

.fs-home .term-fa {
    font-family: peyda, Vazirmatn, sans-serif;
    direction: rtl;
    unicode-bidi: isolate;
}

.fs-home .c-c {
    color: var(--coral);
}

.fs-home .term-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    direction: ltr;
}

.fs-home .term-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2a3a48;
}

.fs-home .term-bar span:nth-child(1) {
    background: #ff5f57;
}

.fs-home .term-bar span:nth-child(2) {
    background: #febc2e;
}

.fs-home .term-bar span:nth-child(3) {
    background: #28c840;
}

.fs-home .term-bar em {
    margin-inline-start: 10px;
    font: 400 12.5px var(--mono);
    color: var(--muted);
}

.fs-home .term-body {
    padding: 24px 28px;
    font: 400 14.5px/2.2 var(--mono);
    direction: ltr;
    text-align: left;
    flex: 1;
}

.fs-home .term-body p {
    white-space: pre-wrap;
}

.fs-home .c-m {
    color: var(--muted);
}

.fs-home .c-g {
    color: var(--green);
}

.fs-home .c-b {
    color: var(--blue);
}

.fs-home .cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--green);
    vertical-align: -3px;
    animation: fs-home-cursor 1s steps(2) infinite;
}

@keyframes fs-home-cursor {
    50% {
        opacity: 0;
    }
}

.fs-home .posts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 30px;
}

.fs-home .post {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fs-home .post .cover {
    border-radius: var(--r);
    border: 1px solid var(--line);
    margin-bottom: 14px;
    transition: border-color .4s;
}

.fs-home .post:hover .cover {
    border-color: color-mix(in srgb,var(--green) 55%,var(--line));
}

.fs-home .post:hover .cover img {
    transform: scale(1.05);
}

.fs-home .post small {
    color: var(--muted);
    font-size: 13px;
}

.fs-home .roadmap-summary {
    font-size: 14.5px;
}

.fs-home .post h3 {
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 6px;
    transition: color .3s;
}

.fs-home .post:hover h3 {
    color: var(--green);
}

.fs-home .post .go {
    margin-top: auto;
}

/* ---- long text (kept for search engines, folded for people) ---- */

.fs-home .seo {
    color: var(--muted);
    font-size: 14.5px;
}

.fs-home .seo h2 {
    font-size: 19px;
    color: var(--text);
    margin-bottom: 10px;
}

.fs-home .seo p {
    max-width: 90ch;
}

.fs-home .seo h3 {
    font-size: 15px;
    color: var(--text2);
    margin: 16px 0 2px;
}

.fs-home .seo summary {
    cursor: pointer;
    color: var(--green);
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
    list-style: none;
    border-radius: 6px;
}

/* Layout overrides for the homepage inside the shared application shell. */

body:has(.fs-home) {
    background-color: var(--bg) !important;
    background-image: radial-gradient(900px 420px at 85% -80px, rgba(35,191,101,.13), transparent 70%),
                      radial-gradient(700px 380px at 5% 120px, rgba(232,132,92,.09), transparent 70%) !important;
    background-repeat: no-repeat !important;
}

body:has(.fs-home) > .fs-shell {
    background: transparent;
}

main:has(> .fs-home) {
    width: min(1140px, calc(100% - 40px));
    max-width: none;
    padding: 0;
}

.fs-home .campaign img {
    width: 100%;
    border-radius: var(--r);
}

.fs-home {
    color: var(--text);
    font-family: peyda, Vazirmatn, system-ui, sans-serif;
    font-size: 15.5px;
    line-height: 1.9;
}

.fs-home :is(h1,h2,h3,p,ul) {
    margin: 0;
}

.fs-home a {
    color: inherit;
    text-decoration: none;
}

.fs-home .btn-p, .fs-home .btn-p:hover {
    color: #fff;
    background: var(--pink);
}

.fs-home .btn-g {
    border: 1px solid var(--line);
}

.fs-home .btn-g:hover {
    color: var(--green);
    border-color: var(--green);
}

.fs-home :is(.more,.go) {
    color: var(--green);
}

.fs-home img, .fs-home video {
    display: block;
    max-width: 100%;
}

.fs-home .home-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.fs-home .home-fragment {
    display: block;
    height: 0;
}

.fs-home .home-section {
    margin-top: 124px;
    scroll-margin-top: 28px;
}

.fs-home #hero {
    height: auto;
}

.fs-home .h-vis {
    display: grid;
    place-items: center;
}

.fs-home .h-vis img {
    width: min(100%, 300px);
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    background: #0b141b;
    box-shadow: 0 50px 90px -50px color-mix(in srgb, var(--green) 45%, transparent);
    animation: fs-home-hero-bob 7s ease-in-out infinite;
}

@keyframes fs-home-hero-bob {
    50% {
        transform: translateY(-10px);
    }
}

.fs-home #roadmap {
    display: block;
}

.fs-home #blog {
    width: auto;
    overflow: visible;
}

.fs-home .road-course, .fs-home .co-b {
    overflow-wrap: anywhere;
}

.fs-home .road-course .m {
    flex-wrap: wrap;
}

.fs-home .feat:not(:has(.feat-m)) {
    grid-template-columns: minmax(0,1fr);
}

.fs-home .seo p + p {
    margin-top: 10px;
}

.fs-home .seo details {
    margin-top: 8px;
}

.fs-home .seo summary {
    display: list-item;
    list-style: revert;
}

@media (min-width: 961px) {
    .fs-home #hero h1 {
        font-size: clamp(36px, 4.8vw, 64px);
    }
    .fs-home .h-vis img {
        width: 100%;
    }
}

@media (max-width: 960px) {
    .fs-home #hero h1 {
        font-size: clamp(32px, 7vw, 48px);
    }
    .fs-home .home-section {
        margin-top: 84px;
    }
    .fs-home .sec-h {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
    }
    .fs-home .feat, .fs-home .cgrid, .fs-home .road-stages, .fs-home .posts, .fs-home .how, .fs-home .who {
        grid-template-columns: minmax(0,1fr);
    }
    .fs-home .feat-m {
        order: -1;
        border: 0;
        border-bottom: 1px solid var(--line);
    }
    .fs-home .feat-t {
        padding: 26px 22px;
    }
    .fs-home .road-stages {
        gap: 40px;
    }
    .fs-home .st-top::after {
        margin-inline-end: 0;
    }
    .fs-home .how div {
        padding: 0;
    }
    .fs-home .how div + div {
        border-inline-start: 0;
        border-top: 1px solid var(--line);
        margin-top: 24px;
        padding-top: 24px;
    }
    .fs-home .who-t {
        padding: 27px 22px;
    }
    .fs-home .tside {
        border-inline-start: 0;
        border-top: 1px solid var(--line);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fs-home *, .fs-home *::before, .fs-home *::after {
        animation: none !important;
        transition: none !important;
    }
}

.fs-home .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: var(--glass2);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r);
}

[data-theme=light] .fs-home .facts {
    box-shadow: 0 1px 2px rgba(15,28,38,.04), 0 10px 26px -14px rgba(15,28,38,.16);
}

.fs-home .facts li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    color: var(--muted);
    font-size: 13.5px;
    transition: background .4s;
}

.fs-home .facts li:hover { background: color-mix(in srgb, var(--green) 6%, transparent); }

.fs-home .facts b {
    display: block;
    color: var(--text);
    font-size: 17.5px;
    font-weight: 900;
    line-height: 1.5;
}

@media (min-width: 961px) {
    .fs-home .facts {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 58px;
    }

    .fs-home .facts li {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 20px 24px;
        font-size: 14px;
    }

    .fs-home .facts li + li { border-inline-start: 1px solid var(--line); }
}

@media (max-width: 960px) {
    .fs-home .facts li:nth-child(even) {
        border-inline-start: 1px solid var(--line);
    }

    .fs-home .facts li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

/* Reveal and count-up timings from the homepage template. */
.fs-home .facts::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--green),transparent);
    opacity: 0;
    pointer-events: none;
}

/* icon parts move a little on hover (one smooth move, back on leave; nothing loops) */

.fs-home .ic * {
    transform-box: view-box;
    transform-origin: 12px 12px;
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.fs-home :hover>.f-ic .ic-layers .a {
    transform: translateY(-1.6px);
}

.fs-home :hover>.f-ic .ic-layers .b {
    transform: translateY(1.6px);
}

.fs-home .ic-clock .hand {
    transition-duration: .9s;
}

.fs-home :hover>.f-ic .ic-clock .hand {
    transform: rotate(360deg);
}

.fs-home :hover>.f-ic .ic-code .a {
    transform: translateX(-1.8px);
}

.fs-home :hover>.f-ic .ic-code .b {
    transform: translateX(1.8px);
}

.fs-home :hover>.f-ic .ic-users .a {
    transform: translateX(-1px);
}

.fs-home :hover>.f-ic .ic-users .b {
    transform: translateX(1.4px);
}

.fs-home .ic-path .ln {
    stroke-dasharray: 1;
}

.fs-home :hover>.f-ic .ic-path .ln {
    animation: fs-home-draw .9s cubic-bezier(.6,0,.2,1) both;
}

.fs-home :hover>.f-ic .ic-path .c2 {
    transform: translate(1px,-1px);
}

.fs-home :hover>.f-ic .ic-term .a {
    transform: translateX(1.8px);
}

.fs-home :hover>.f-ic .ic-term .b {
    animation: fs-home-cursor .45s steps(2) 2;
}

@keyframes fs-home-draw {
    from {
        stroke-dashoffset: 1;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fs-home-sweep {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    25% {
        opacity: .9;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.fs-home.home-motion .rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1);
}

.fs-home.home-motion .rv.in {
    opacity: 1;
    transform: none;
}

.fs-home.home-motion .rv.d1 {
    transition-delay: .1s;
}

.fs-home.home-motion .rv.d2 {
    transition-delay: .2s;
}

.fs-home.home-motion .road-stages .st-top::after {
    transform: scaleX(0);
    transition: transform 1s cubic-bezier(.2,.8,.2,1) .3s;
}

.fs-home.home-motion .road-stages .stage:nth-child(2) .st-top::after {
    transition-delay: .55s;
}

.fs-home.home-motion .road-stages .stage:nth-child(3) .st-top::after {
    transition-delay: .8s;
}

.fs-home.home-motion .road-stages.in .st-top::after {
    transform: scaleX(1);
}

/* numbers strip: cells rise one after another, a light runs along the top edge once, icons draw in */

.fs-home.home-motion .facts li {
    opacity: 0;
}

.fs-home.home-motion .facts.in li {
    animation: fs-home-in .7s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: calc(var(--k)*.12s);
}

.fs-home.home-motion .facts.in::after {
    animation: fs-home-sweep 1.9s cubic-bezier(.4,0,.2,1) .35s both;
}

.fs-home.home-motion .facts .dr,.fs-home.home-motion .how .dr {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.fs-home.home-motion .facts.in .dr,.fs-home.home-motion .how.in .dr {
    animation: fs-home-draw 1.1s cubic-bezier(.6,0,.2,1) both;
    animation-delay: calc(var(--k)*.12s + .3s);
}

/* the small icons inside cards and buttons */

.fs-home .dots svg,.fs-home .btn svg.i {
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.fs-home .feat:hover .d-a {
    transform: translateY(-2px);
}

.fs-home .feat:hover .d-b {
    transform: translate(2px,-2px);
    transition-delay: .06s;
}

.fs-home .feat:hover .d-c {
    transform: rotate(-180deg);
    transition-delay: .12s;
}

.fs-home .btn:hover svg.i {
    transform: translateY(-1px) rotate(-8deg) scale(1.1);
}

.fs-home.home-motion .who .term-body p {
    opacity: 0;
}

.fs-home.home-motion .who.in .term-body p {
    animation: fs-home-in .45s both;
}

.fs-home .who.in .term-body p:nth-child(1) {
    animation-delay: .3s;
}

.fs-home .who.in .term-body p:nth-child(2) {
    animation-delay: .7s;
}

.fs-home .who.in .term-body p:nth-child(3) {
    animation-delay: 1.1s;
}

.fs-home .who.in .term-body p:nth-child(4) {
    animation-delay: 1.6s;
}

.fs-home .who.in .term-body p:nth-child(5) {
    animation-delay: 2s;
}

.fs-home .who.in .term-body p:nth-child(6) {
    animation-delay: 2.3s;
}

.fs-home .who.in .term-body p:nth-child(7) {
    animation-delay: 2.6s;
}

.fs-home .who.in .term-body p:nth-child(8) {
    animation-delay: 2.9s;
}

.fs-home .who.in .term-body p:nth-child(9) {
    animation-delay: 3.3s;
}

.fs-home .num {
    display: inline-block;
    text-align: center;
}

@keyframes fs-home-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 961px) and (max-width: 1130px) {
    .fs-home .feat-t {
        padding: 22px 24px;
    }

    .fs-home .feat-t .dots {
        margin-top: 12px;
    }

    .fs-home .feat-t .price {
        margin: 14px 0 18px;
    }

    .fs-home .feat-t .btn {
        padding: 10px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fs-home.home-motion .rv,
    .fs-home.home-motion .who .term-body p,
    .fs-home.home-motion .facts li {
        opacity: 1;
        transform: none;
    }

    .fs-home.home-motion .road-stages .st-top::after {
        transform: none;
    }

    .fs-home.home-motion .facts .dr,
    .fs-home.home-motion .how .dr {
        stroke-dashoffset: 0;
    }
}
