/* ============================================================
   Qabilet School — Landing page
   Source: Figma "Qabilet School" / Landing Page (node 201:4583)
   ============================================================ */

:root {
    --qs-ink: #17171c;
    --qs-gray: #92929c;
    --qs-line: #e8e8ec;
    --qs-gold: #d3b589;
    --qs-teal: #6cbbac;
    --qs-blue: #5379b5;
    --qs-green: #48a473;
    --qs-terra: #ce8a67;
    --qs-sand: #e0ba76;
    --qs-lilac: #cea8d0;
    --qs-olive: #96c472;
    --qs-slate: #696d71;
    --qs-dark: #0c0a09;
}

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

html {
    scroll-behavior: smooth;
}

body.qs_landing {
    margin: 0;
    font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
    color: var(--qs-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.qs_landing img {
    display: block;
    max-width: 100%;
}

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

.qs_container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Figma exports these icon assets vertically mirrored; the design flips
   them back with scale-y:-1 — reproduce that flip here. */
.qs_trusted__item img,
.qs_audience__chip img,
.qs_feature__icon,
.qs_stage__bubble img,
.qs_stage__arrow img,
.qs_extra__icon img,
.qs_solution__quote > img,
.qs_pop__head img,
.qs_step__icon img {
    transform: scaleY(-1);
}

/* ---------- Eyebrow (label with gold dash) ---------- */

.qs_eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--qs-gray);
}

.qs_eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--qs-gold);
}

.qs_eyebrow--center::before {
    order: 0;
}

/* ---------- Section headings ---------- */

.qs_h2 {
    margin: 0;
    font-size: clamp(34px, 3.75vw, 54px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--qs-ink);
}

.qs_h2 .dim {
    color: rgba(23, 23, 28, 0.5);
}

/* ---------- Buttons ---------- */

.qs_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 56px;
    padding: 14px 28px 14px 32px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.17px;
    line-height: 1.5;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.qs_btn img {
    width: 18px;
    height: 18px;
}

.qs_btn:hover {
    transform: translateY(-1px);
}

.qs_btn--dark {
    background: #000;
    color: #fff;
    box-shadow:
        inset 0 9px 14px -5px rgba(255, 255, 255, 0.3),
        0 4px 6px rgba(0, 0, 0, 0.14),
        0 0 0 1px #000;
}

.qs_btn--teal {
    background: var(--qs-teal);
    color: #fff;
    box-shadow:
        inset 0 9px 14px -5px rgba(255, 255, 255, 0.3),
        0 4px 6px rgba(0, 0, 0, 0.14),
        0 0 0 1px var(--qs-teal);
}

.qs_btn--blue {
    background: var(--qs-blue);
    color: #fff;
    box-shadow:
        inset 0 9px 14px -5px rgba(255, 255, 255, 0.3),
        0 4px 6px rgba(0, 0, 0, 0.14),
        0 0 0 1px var(--qs-blue);
}

.qs_btn--outline {
    height: auto;
    padding: 14px 32px;
    gap: 0;
    background: #fff;
    border: 1px solid var(--qs-line);
    color: var(--qs-ink);
    font-size: 15px;
    letter-spacing: 0.15px;
}

.qs_btn--outline:hover {
    border-color: #cfcfd6;
}

/* anchors used as buttons: outrank `.qs_landing a { color: inherit }` */
.qs_landing a.qs_btn--dark,
.qs_landing a.qs_btn--teal,
.qs_landing a.qs_btn--blue {
    color: #fff;
}

.qs_landing a.qs_btn--outline {
    color: var(--qs-ink);
}

/* ---------- Marquee (infinite carousel) ---------- */

.qs_marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.qs_marquee__track {
    display: flex;
    width: max-content;
    animation: qs-marquee 30s linear infinite;
}

.qs_marquee:hover .qs_marquee__track {
    animation-play-state: paused;
}

@keyframes qs-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .qs_marquee__track {
        animation: none;
    }
}

/* ============================================================
   Header
   ============================================================ */

.qs_header {
    padding: 24px 0;
}

.qs_header .qs_container {
    max-width: 1440px;
    padding: 0 63px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.qs_header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.qs_header__brand img:first-child {
    width: 45px;
    height: 45px;
}

.qs_header__brand img:last-child {
    width: 196px;
    height: 17px;
}

.qs_nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.qs_nav a {
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.15px;
    line-height: 1.5;
    color: var(--qs-ink);
    opacity: 0.5;
    border-bottom: 2px solid transparent;
    transition: opacity 0.15s ease;
}

.qs_nav a:hover,
.qs_nav a.is-active {
    opacity: 1;
}

.qs_nav a.is-active {
    border-bottom-color: var(--qs-ink);
}

.qs_nav__cta {
    display: none;
}

.qs_header__cta {
    display: flex;
    justify-content: flex-end;
    min-width: 255px;
}

.qs_header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: 0;
    cursor: pointer;
}

.qs_header__burger span {
    width: 22px;
    height: 2px;
    background: var(--qs-ink);
    border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */

.qs_hero {
    padding: 80px 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.qs_hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 11px 4px 4px;
    border-radius: 8px;
    background: rgba(192, 192, 192, 0.17);
    font-size: 14px;
    font-weight: 500;
    color: var(--qs-ink);
}

.qs_hero__badge b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 22px;
    border-radius: 5px;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.qs_hero__title {
    margin: 0;
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--qs-ink);
}

.qs_hero__title .row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.qs_hero__title .dim {
    opacity: 0.4;
}

.qs_hero__pill {
    position: relative;
    width: clamp(64px, 7.5vw, 108px);
    height: clamp(64px, 7.5vw, 108px);
    border-radius: 54px;
    background: linear-gradient(180deg, #ffaf00 0%, #ff8f00 25%, #c9cd4a 55%, #76c780 80%, #28c1b3 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qs_hero__pill::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50px;
    background: var(--qs-ink);
}

.qs_hero__pill img {
    position: relative;
    width: 42%;
    height: 42%;
    /* the Figma asset is stored mirrored; the design flips it back */
    transform: scaleY(-1);
}

.qs_hero__sub {
    margin: 0;
    max-width: 898px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.18px;
    color: var(--qs-gray);
}

.qs_hero__actions {
    display: flex;
    gap: 24px;
    padding-top: 8px;
}

/* ============================================================
   Showcase (mesh section)
   ============================================================ */

.qs_showcase {
    margin: 0 20px;
    padding: 28px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background: #dfe3ea url('../img/landing/showcase-bg.png') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.qs_showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    background: linear-gradient(
        -28deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 10.3%,
        rgba(255, 255, 255, 0.1) 14.5%,
        rgba(255, 255, 255, 0.22) 16.2%,
        rgba(255, 255, 255, 0.1) 18%,
        rgba(255, 255, 255, 0) 22.2%,
        rgba(255, 255, 255, 0) 35%
    );
}

.qs_showcase__row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* Left dark product card */

.qs_showcase__card {
    flex: 1 1 46%;
    min-width: 0;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #1e1d19;
    padding: 26px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.qs_showcase__card h3 {
    margin: 0;
    padding-top: 20px;
    max-width: 290px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.56px;
    color: #fff;
}

.qs_showcase__card p {
    margin: auto 0 0;
    max-width: 233px;
    padding-bottom: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: rgba(255, 255, 255, 0.36);
}

.qs_showcase__vec1 {
    position: absolute;
    left: 138px;
    top: 148px;
    width: 239px;
}

.qs_showcase__vec2 {
    position: absolute;
    left: 109px;
    top: 189px;
    width: 229px;
}

/* Dashboard mockup (bottom-right of the dark card) */

.qs_mock {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 330px;
    background: #26251f;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    border-top-left-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.qs_mock__bar {
    display: flex;
    gap: 5px;
    padding: 9px 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.qs_mock__bar i {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.14);
}

.qs_mock__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qs_mock__chips {
    display: flex;
    gap: 6px;
}

.qs_mock__chips span {
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.qs_mock__chips span.on {
    background: var(--qs-blue);
    color: #fff;
}

.qs_mock__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qs_mock__ava {
    width: 26px;
    height: 26px;
    border-radius: 13px;
    flex-shrink: 0;
}

.qs_mock__ava--green {
    background: rgba(72, 164, 115, 0.35);
}

.qs_mock__ava--blue {
    background: rgba(83, 121, 181, 0.3);
}

.qs_mock__lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.qs_mock__lines i,
.qs_mock__line {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

.qs_mock__progress {
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 2px;
}

.qs_mock__progress i {
    display: block;
    height: 100%;
    width: 68%;
    border-radius: 4px;
    background: var(--qs-blue);
}

/* Key features popover */

.qs_pop {
    position: absolute;
    right: 41px;
    bottom: 145px;
    width: 210px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(164deg, rgba(255, 255, 255, 0.04) 14.6%, rgba(255, 255, 255, 0.4) 85.2%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2;
}

.qs_pop__head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.qs_pop__head img {
    width: 14px;
    height: 14px;
}

.qs_pop__divider {
    position: relative;
    height: 1px;
    margin: 0 -12px 8px;
    background: rgba(255, 255, 255, 0.19);
}

.qs_pop__divider::before {
    content: '';
    position: absolute;
    left: 8px;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.qs_pop__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qs_pop__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.qs_pop__item i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.qs_pop__item.on {
    background: #f4f4f4;
    color: #111114;
    box-shadow:
        inset 0 9px 14px rgba(255, 255, 255, 0.3),
        0 4px 6px rgba(0, 0, 0, 0.14);
}

.qs_pop__item.on i {
    background: var(--qs-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.qs_pop__item.on i img {
    width: 8px;
    height: 8px;
}

/* Right photo */

.qs_showcase__photo {
    flex: 1 1 54%;
    min-width: 0;
    align-self: stretch;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.qs_showcase__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trusted-by strip */

.qs_trusted {
    position: relative;
    z-index: 1;
    padding: 0 4px;
}

.qs_trusted .qs_marquee__track {
    animation-duration: 25s;
}

.qs_trusted__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-right: 80px;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.17px;
    color: rgba(17, 17, 17, 0.85);
}

.qs_trusted__item img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

/* ============================================================
   Policy + market expectations
   ============================================================ */

.qs_policy {
    padding: 80px 0;
}

.qs_policy__head {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.qs_policy__head p {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.28px;
    color: var(--qs-gray);
}

.qs_policy__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
    filter: drop-shadow(0 9px 10px rgba(0, 0, 0, 0.05)) drop-shadow(0 35px 18px rgba(0, 0, 0, 0.04));
}

.qs_policy__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.qs_policy__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qs_policy__icon img {
    width: 24px;
    height: 24px;
}

.qs_policy__icon--teal {
    border: 1px solid var(--qs-teal);
    background: rgba(108, 187, 172, 0.05);
}

.qs_policy__icon--sand {
    border: 1px solid var(--qs-sand);
    background: rgba(224, 186, 118, 0.05);
}

.qs_policy__icon--terra {
    border: 1px solid var(--qs-terra);
    background: rgba(206, 138, 103, 0.05);
}

.qs_policy__divider {
    height: 2px;
    background: rgba(26, 26, 26, 0.08);
    margin-bottom: 48px;
}

.qs_market__head {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.qs_stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 64px;
    padding-top: 16px;
    margin-bottom: 48px;
}

.qs_stat__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

.qs_stat__label {
    font-size: 14px;
    font-weight: 500;
}

.qs_stat__value {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.qs_stat__track {
    height: 8px;
    border-radius: 999px;
    background: #e4e4e9;
}

.qs_stat__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--c, var(--qs-teal));
    box-shadow:
        inset 0 9px 14px -5px rgba(255, 255, 255, 0.3),
        0 4px 6px rgba(0, 0, 0, 0.14),
        0 0 0 1px var(--c, var(--qs-teal));
}

.qs_policy__note {
    margin: 0;
    max-width: 760px;
    font-size: 14px;
    letter-spacing: 0.28px;
    line-height: 1.45;
    color: var(--qs-gray);
}

/* ============================================================
   Solution (dark section)
   ============================================================ */

.qs_solution {
    background: var(--qs-dark);
    padding: 80px 0;
    color: #fff;
}

.qs_solution .qs_eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.qs_solution__head {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qs_solution__head .qs_h2 {
    color: #fff;
}

.qs_solution__head .qs_h2 .dim {
    color: rgba(255, 255, 255, 0.5);
}

.qs_solution__head p {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

.qs_solution__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 44px;
}

.qs_stage {
    padding: 29px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qs_stage--sense {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--qs-teal);
}

.qs_stage--start {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--qs-blue);
}

.qs_stage__tag {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.32px;
    text-transform: uppercase;
}

.qs_stage h3 {
    margin: 0;
    padding-top: 12px;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.52px;
}

.qs_stage > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.qs_stage--start > p {
    color: rgba(255, 255, 255, 0.5);
}

.qs_stage__steps {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    padding-top: 20px;
}

.qs_stage__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 0;
}

.qs_stage__bubble {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.qs_stage--start .qs_stage__bubble {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.qs_stage__bubble img {
    width: 22px;
    height: 22px;
}

.qs_stage__step small {
    font-size: 10.5px;
    line-height: 1.25;
    color: #fff;
}

.qs_stage--start .qs_stage__step small {
    color: rgba(255, 255, 255, 0.55);
}

.qs_stage__arrow {
    padding-top: 18px;
    flex-shrink: 0;
}

.qs_stage__arrow img {
    width: 13px;
    height: 13px;
}

.qs_solution__extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0 36px;
}

.qs_extra {
    display: flex;
    gap: 16px;
    padding: 23px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.qs_extra__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qs_extra__icon img {
    width: 22px;
    height: 22px;
}

.qs_extra__icon--yellow {
    background: rgba(255, 210, 9, 0.14);
}

.qs_extra__icon--teal {
    background: rgba(91, 191, 181, 0.16);
}

.qs_extra b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.qs_extra p {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
}

.qs_solution__quote {
    position: relative;
    max-width: 640px;
    border-left: 2px solid var(--qs-gold);
    padding-left: 20px;
}

.qs_solution__quote img {
    float: left;
    width: 15px;
    height: 15px;
    margin: 4px 8px 0 0;
}

.qs_solution__quote p {
    margin: 0;
    font-size: 14.5px;
    line-height: 23.2px;
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   Features (hover colors)
   ============================================================ */

.qs_features {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.qs_features__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.qs_features__head p {
    margin: 0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--qs-gray);
}

.qs_features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--qs-line);
    border: 1px solid var(--qs-line);
    border-radius: 22px;
    overflow: hidden;
}

.qs_feature {
    position: relative;
    background: #fff;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: background-color 0.25s ease;
}

.qs_feature__icon {
    width: 26px;
    height: 26px;
    transition: filter 0.25s ease;
}

.qs_feature__num {
    position: absolute;
    top: 26px;
    right: 24px;
    font-size: 12px;
    font-weight: 600;
    color: #d6d6dc;
    transition: color 0.25s ease;
}

.qs_feature h4 {
    margin: 0 0 8px;
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: -0.165px;
    color: var(--qs-ink);
    transition: color 0.25s ease;
}

.qs_feature p {
    margin: 6px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--qs-gray);
    transition: color 0.25s ease;
}

/* hover palette (Figma node 211:8146) */
.qs_feature:nth-child(1) { --hbg: var(--qs-teal); --hink: #fff; }
.qs_feature:nth-child(2) { --hbg: var(--qs-blue); --hink: #fff; }
.qs_feature:nth-child(3) { --hbg: var(--qs-green); --hink: #fff; }
.qs_feature:nth-child(4) { --hbg: var(--qs-lilac); --hink: var(--qs-ink); }
.qs_feature:nth-child(5) { --hbg: var(--qs-sand); --hink: var(--qs-ink); }
.qs_feature:nth-child(6) { --hbg: var(--qs-slate); --hink: #fff; }
.qs_feature:nth-child(7) { --hbg: var(--qs-olive); --hink: var(--qs-ink); }
.qs_feature:nth-child(8) { --hbg: var(--qs-terra); --hink: #fff; }

.qs_feature:hover {
    background: var(--hbg);
}

.qs_feature:hover h4,
.qs_feature:hover .qs_feature__num {
    color: var(--hink);
}

.qs_feature:hover p {
    color: var(--hink);
    opacity: 0.8;
}

.qs_feature--light:hover .qs_feature__icon {
    filter: brightness(0) invert(1);
}

/* ============================================================
   Audience (infinite carousel)
   ============================================================ */

.qs_audience {
    padding: 81px 0;
    border-top: 1px solid var(--qs-line);
    border-bottom: 1px solid var(--qs-line);
}

.qs_audience .qs_marquee__track {
    gap: 20px;
    animation-duration: 35s;
    padding-right: 20px;
}

.qs_audience__chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 29px;
    border-radius: 99px;
    border: 1px solid var(--qs-line);
    white-space: nowrap;
    font-size: 17px;
    font-weight: 500;
    color: var(--qs-ink);
}

.qs_audience__chip img {
    width: 21px;
    height: 21px;
}

/* ============================================================
   Case
   ============================================================ */

.qs_case {
    padding: 80px 0 0;
}

.qs_case__grid {
    display: flex;
    gap: 40px;
    padding-bottom: 100px;
}

.qs_case__left {
    flex: 1;
    position: relative;
    min-width: 0;
}

.qs_case__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qs_case__intro h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.32px;
}

.qs_case__intro h2 .dim {
    color: var(--qs-gray);
}

.qs_case__intro > p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: var(--qs-gray);
}

.qs_case__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.qs_case__chip {
    padding: 7px 15px;
    border-radius: 99px;
    border: 1px solid var(--qs-line);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--qs-ink);
}

.qs_case__chip--teal {
    border: 0;
    padding: 8px 14px;
    background: var(--qs-teal);
    color: #fff;
    box-shadow:
        inset 0 9px 14px rgba(255, 255, 255, 0.3),
        0 4px 6px rgba(0, 0, 0, 0.14);
}

.qs_case__roles {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--qs-gray);
}

.qs_case__visual {
    position: relative;
    margin-top: 48px;
    aspect-ratio: 700 / 620;
    max-width: 720px;
}

.qs_case__visual .form {
    position: absolute;
    left: 0;
    top: 0;
    width: 82%;
    max-width: 594px;
}

.qs_case__visual .folder {
    position: absolute;
    left: 30%;
    top: 18%;
    width: 70%;
    max-width: 503px;
}

.qs_case__right {
    width: 577px;
    flex-shrink: 0;
}

/* Timeline steps (icons light up on scroll) */

.qs_step {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 36px;
}

.qs_step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 58px;
    bottom: 2px;
    width: 1.5px;
    background: var(--qs-line);
}

.qs_step__icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--qs-line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s ease;
}

.qs_step__icon img {
    width: 24px;
    height: 25px;
    filter: grayscale(1) opacity(0.45);
    transition: filter 0.4s ease;
}

.qs_step.is-lit .qs_step__icon {
    box-shadow:
        0 9px 10px rgba(0, 0, 0, 0.05),
        0 35px 18px rgba(0, 0, 0, 0.04),
        0 79px 24px rgba(0, 0, 0, 0.03);
}

.qs_step.is-lit .qs_step__icon img {
    filter: none;
}

.qs_step__body {
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.qs_step__kicker {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.05px;
    text-transform: uppercase;
    color: var(--qs-gray);
}

.qs_step__body h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.17px;
}

.qs_step__body p {
    margin: 6px 0 0;
    max-width: 421px;
    font-size: 14px;
    line-height: 21.7px;
    color: var(--qs-gray);
}

.qs_case__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 25px 0 0;
}

/* ============================================================
   Founder
   ============================================================ */

.qs_founder {
    margin-top: 80px;
    padding: 81px 0;
    background: #f6f6f8;
    border-top: 1px solid var(--qs-line);
    border-bottom: 1px solid var(--qs-line);
}

.qs_founder__grid {
    display: flex;
    gap: 64px;
    align-items: stretch;
}

.qs_founder__text {
    flex: 1;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.qs_founder__quote {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.85px;
}

.qs_founder__quote .dim {
    color: rgba(23, 23, 28, 0.5);
}

.qs_founder__photo {
    aspect-ratio: 1 / 1;
    align-self: stretch;
    border-radius: 22px;
    background: #ccc;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.qs_founder__dots {
    display: flex;
    gap: 8px;
}

.qs_founder__dots i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #fff;
    opacity: 0.5;
}

.qs_founder__dots i:first-child {
    opacity: 1;
}

.qs_founder__photo b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--qs-ink);
}

.qs_founder__photo p {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--qs-gray);
}

/* ============================================================
   CTA
   ============================================================ */

.qs_cta {
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    text-align: center;
}

.qs_cta h2 {
    margin: 0;
    font-size: clamp(30px, 4.4vw, 64px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.qs_cta h2 .dim {
    color: rgba(23, 23, 28, 0.5);
}

.qs_cta p {
    margin: 0;
    max-width: 511px;
    font-size: 17px;
    line-height: 1.4;
    color: var(--qs-gray);
}

.qs_cta .qs_btn {
    margin-top: 25px;
}

/* ============================================================
   Footer
   ============================================================ */

.qs_footer {
    border-top: 1px solid var(--qs-line);
    padding: 80px 0 40px;
}

.qs_footer__top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}

.qs_footer__brand {
    width: 346px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.qs_footer__brand > a {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qs_footer__brand > a img:first-child {
    width: 45px;
    height: 45px;
}

.qs_footer__brand > a img:last-child {
    width: 196px;
    height: 17px;
}

.qs_footer__brand p {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.15px;
    line-height: 1.4;
    color: var(--qs-gray);
}

.qs_footer__soc {
    display: flex;
    gap: 16px;
}

.qs_footer__soc img {
    width: 24px;
    height: 24px;
}

.qs_footer__cols {
    display: flex;
    gap: 100px;
}

.qs_footer__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.qs_footer__col b {
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    line-height: 1.5;
}

.qs_footer__col a {
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.15px;
    line-height: 1.5;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.qs_footer__col a:hover {
    opacity: 1;
}

.qs_footer__col .qs_btn {
    margin-top: 16px;
    opacity: 1;
    padding: 14px 32px;
}

.qs_footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 40px;
    border-top: 1px solid var(--qs-line);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.15px;
}

.qs_footer__bottom span,
.qs_footer__bottom a {
    opacity: 0.5;
}

.qs_footer__bottom a:hover {
    opacity: 1;
}

.qs_footer__links {
    display: flex;
    gap: 64px;
}

/* ============================================================
   Feedback modal (Figma 241:12655)
   ============================================================ */

.qs_modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qs_modal[hidden] {
    display: none;
}

.qs_modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 28, 0.5);
}

.qs_modal__card {
    position: relative;
    width: 608px;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    margin: 0;
    padding: 48px;
    background: #fff;
    border: 1px solid rgba(34, 34, 34, 0.1);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.05),
        0 59px 59px rgba(0, 0, 0, 0.04),
        0 132px 79px rgba(0, 0, 0, 0.03);
    font-family: 'Inter', 'Inter Tight', system-ui, sans-serif;
    animation: qs-modal-in 0.25s ease;
}

@keyframes qs-modal-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.qs_modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qs_modal__field label {
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
}

.qs_modal__field textarea {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    resize: vertical;
}

.qs_modal__field textarea::placeholder {
    color: #6b6b6b;
}

.qs_modal__field textarea:focus,
.qs_modal__select select:focus {
    outline: none;
    border-color: var(--qs-teal);
}

.qs_modal__selectrow {
    display: flex;
    gap: 6px;
}

.qs_modal__select {
    position: relative;
    flex: 1;
    min-width: 0;
}

.qs_modal__select select {
    width: 100%;
    height: 60px;
    padding: 0 52px 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 16px;
    color: #1a1a1a;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.qs_modal__select img {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.qs_modal__square {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.qs_modal__square img {
    width: 20px;
    height: 20px;
}

.qs_modal__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.qs_modal__back,
.qs_modal__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 64px;
    border-radius: 999px;
    font: inherit;
    font-size: 16px;
    letter-spacing: 0.48px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease;
}

.qs_modal__back:hover,
.qs_modal__next:hover {
    transform: translateY(-1px);
}

.qs_modal__back {
    padding: 14px 32px;
    background: #fff;
    border: 1px solid rgba(34, 34, 34, 0.2);
    color: #222;
}

.qs_modal__next {
    padding: 14px 32px 14px 40px;
    border: 0;
    background: var(--qs-teal);
    color: #fff;
    box-shadow:
        inset 0 9px 14px -5px rgba(255, 255, 255, 0.3),
        0 4px 6px rgba(0, 0, 0, 0.14),
        0 0 0 1px var(--qs-teal);
}

.qs_modal__next img {
    width: 18px;
    height: 18px;
}

.qs_modal__success {
    display: none;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--qs-green);
}

.qs_modal__card.is-sent .qs_modal__success {
    display: block;
}

.qs_modal__card.is-sent .qs_modal__next {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 640px) {
    .qs_modal {
        padding: 12px;
    }

    .qs_modal__card {
        padding: 24px;
        gap: 24px;
        border-radius: 24px;
        max-height: calc(100vh - 24px);
    }

    .qs_modal__field textarea {
        min-height: 110px;
        padding: 14px;
    }

    .qs_modal__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .qs_modal__back,
    .qs_modal__next {
        width: 100%;
        height: 56px;
    }
}

/* ============================================================
   Cycle modal — Паспорт проекта (Figma 241:10060)
   ============================================================ */

.qs_cycle__card {
    position: relative;
    width: 1082px;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(34, 34, 34, 0.1);
    border-radius: 40px;
    overflow: hidden;
    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.05),
        0 59px 59px rgba(0, 0, 0, 0.04),
        0 132px 79px rgba(0, 0, 0, 0.03);
    font-family: 'Inter', 'Inter Tight', system-ui, sans-serif;
    animation: qs-modal-in 0.25s ease;
}

.qs_cycle__head {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: var(--qs-teal);
    color: #fff;
    flex-shrink: 0;
}

.qs_cycle__logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.qs_cycle__title {
    flex: 1;
    min-width: 0;
}

.qs_cycle__title b {
    display: block;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.72px;
}

.qs_cycle__title p {
    margin: 4px 0 0;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.5;
    opacity: 0.75;
}

.qs_cycle__x {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.qs_cycle__x:hover {
    background: rgba(255, 255, 255, 0.35);
}

.qs_cycle__body {
    overflow-y: auto;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--qs-teal) rgba(34, 34, 34, 0.06);
}

.qs_cycle__body::-webkit-scrollbar {
    width: 6px;
}

.qs_cycle__body::-webkit-scrollbar-track {
    background: rgba(34, 34, 34, 0.06);
    border-radius: 999px;
}

.qs_cycle__body::-webkit-scrollbar-thumb {
    background: var(--qs-teal);
    border-radius: 999px;
}

.qs_cycle__body > * {
    flex-shrink: 0;
}

/* Accordion */

.qs_acc {
    border: 1px solid rgba(108, 187, 172, 0.24);
    border-radius: 32px;
    overflow: hidden;
}

.qs_acc__head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.qs_acc__head > img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.qs_acc__name {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qs_acc__name b {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.04;
    color: #222;
}

.qs_acc__name small {
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    opacity: 0.5;
}

.qs_acc__chev {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--qs-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qs_acc__chev img {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.qs_acc.is-open .qs_acc__chev img {
    transform: rotate(180deg);
}

.qs_acc__content {
    display: none;
    border-top: 1px solid rgba(108, 187, 172, 0.24);
}

.qs_acc.is-open .qs_acc__content {
    display: block;
}

.qs_acc__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 36px 32px;
}

.qs_acc__item {
    border-left: 1px solid var(--qs-teal);
    padding: 4px 0 4px 32px;
}

.qs_acc__item b {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.02;
    color: #222;
}

.qs_acc__item p {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    opacity: 0.75;
}

.qs_cycle__divider {
    margin: 0;
    border: 0;
    height: 1px;
    background: rgba(34, 34, 34, 0.12);
}

.qs_cycle__note {
    background: rgba(108, 187, 172, 0.05);
    border-left: 1px solid var(--qs-teal);
    border-radius: 16px;
    padding: 32px;
}

.qs_cycle__note b {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.02;
    color: #222;
}

.qs_cycle__note p {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .qs_cycle__card {
        border-radius: 24px;
        max-height: calc(100vh - 24px);
    }

    .qs_cycle__head {
        padding: 20px;
        gap: 14px;
    }

    .qs_cycle__logo {
        width: 44px;
        height: 44px;
    }

    .qs_cycle__body {
        padding: 20px;
        gap: 20px;
    }

    .qs_acc {
        border-radius: 20px;
    }

    .qs_acc__head > img {
        width: 48px;
        height: 48px;
    }

    .qs_acc__name b {
        font-size: 18px;
    }

    .qs_acc__name small {
        font-size: 14px;
    }

    .qs_acc__inner {
        padding: 16px 16px 20px;
        gap: 16px;
    }

    .qs_acc__item {
        padding-left: 16px;
    }

    .qs_acc__item b {
        font-size: 16px;
    }

    .qs_acc__item p {
        font-size: 14px;
    }

    .qs_cycle__note {
        padding: 20px;
    }
}

/* ============================================================
   Responsive
   ============================================================ */

/* --- Laptop --- */
@media (max-width: 1280px) {
    .qs_header .qs_container {
        padding: 0 40px;
    }

    .qs_header__cta {
        min-width: 0;
    }

    .qs_nav {
        gap: 20px;
    }

    .qs_case__right {
        width: 48%;
    }

    .qs_footer__cols {
        gap: 48px;
    }

    .qs_stage__steps {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* --- Tablet --- */
@media (max-width: 1024px) {
    .qs_header {
        position: relative;
    }

    .qs_nav {
        display: none;
        position: absolute;
        top: 92px;
        left: 24px;
        right: 24px;
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--qs-line);
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .qs_nav.is-open {
        display: flex;
    }

    .qs_nav a {
        opacity: 1;
        border-bottom: 0;
        padding: 10px 4px;
    }

    .qs_nav a.is-active {
        color: var(--qs-teal);
    }

    .qs_header__burger {
        display: flex;
    }

    .qs_hero {
        padding: 56px 0;
    }

    .qs_showcase__row {
        flex-direction: column;
    }

    .qs_showcase__photo {
        aspect-ratio: 16 / 9;
        width: 100%;
        flex: none;
    }

    .qs_policy,
    .qs_features,
    .qs_solution,
    .qs_case {
        padding-top: 64px;
    }

    .qs_policy,
    .qs_solution {
        padding-bottom: 64px;
    }

    .qs_policy__cards {
        gap: 20px;
    }

    .qs_stats {
        grid-template-columns: 1fr 1fr;
        gap: 18px 40px;
    }

    .qs_solution__cards,
    .qs_solution__extras {
        grid-template-columns: 1fr;
    }

    .qs_features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qs_audience {
        padding: 56px 0;
    }

    .qs_case__grid {
        flex-direction: column;
        gap: 24px;
        padding-bottom: 64px;
    }

    .qs_case__right {
        width: 100%;
    }

    .qs_case__intro {
        position: static;
    }

    .qs_case__visual {
        margin: 32px auto 0;
        width: 100%;
    }

    .qs_founder {
        margin-top: 64px;
        padding: 64px 0;
    }

    .qs_founder__grid {
        flex-direction: column;
    }

    .qs_founder__text {
        padding: 0;
    }

    .qs_founder__photo {
        width: 100%;
        max-width: 420px;
        align-self: flex-start;
    }

    .qs_cta {
        padding: 72px 24px;
    }

    .qs_footer {
        padding: 56px 0 32px;
    }

    .qs_footer__top {
        flex-direction: column;
        gap: 48px;
    }
}

/* --- Small tablet / large phone --- */
@media (max-width: 768px) {
    .qs_container,
    .qs_header .qs_container {
        padding: 0 20px;
    }

    .qs_nav {
        top: 80px;
        left: 20px;
        right: 20px;
    }

    .qs_header {
        padding: 16px 0;
    }

    .qs_header__cta {
        display: none;
    }

    .qs_nav__cta {
        display: block;
        margin-top: 8px;
        padding: 12px;
        text-align: center;
        border-radius: 999px;
        background: #000;
        color: #fff !important;
        opacity: 1 !important;
    }

    .qs_hero {
        padding: 40px 0 48px;
    }

    .qs_hero__badge {
        margin: 0 20px;
        white-space: normal;
        text-align: left;
        font-size: 12px;
    }

    .qs_hero__sub {
        padding: 0 20px;
        font-size: 16px;
    }

    .qs_hero__sub br {
        display: none;
    }

    .qs_hero__actions {
        flex-direction: column;
        gap: 12px;
        width: calc(100% - 40px);
    }

    .qs_hero__actions .qs_btn {
        width: 100%;
    }

    .qs_showcase {
        margin: 0 12px;
        padding: 16px;
        gap: 20px;
    }

    .qs_showcase__card {
        min-height: 0;
        padding: 20px;
        padding-bottom: 240px;
    }

    .qs_showcase__card h3 {
        padding-top: 4px;
        font-size: 24px;
    }

    .qs_showcase__card p {
        margin-top: 16px;
    }

    .qs_showcase__vec1,
    .qs_showcase__vec2 {
        display: none;
    }

    .qs_pop {
        right: 12px;
        bottom: auto;
        top: 16px;
        transform: scale(0.9);
        transform-origin: top right;
    }

    .qs_mock {
        width: min(330px, 90%);
    }

    .qs_trusted__item {
        padding-right: 48px;
        font-size: 15px;
    }

    .qs_stats {
        grid-template-columns: 1fr;
    }

    .qs_stage {
        padding: 20px;
    }

    .qs_stage__steps {
        gap: 12px;
    }

    .qs_stage__step {
        flex: 0 0 calc(33.333% - 8px);
    }

    .qs_stage__arrow {
        display: none;
    }

    .qs_extra {
        flex-direction: row;
        padding: 18px;
    }

    .qs_extra p br {
        display: none;
    }

    .qs_solution__quote img {
        float: none;
        margin-bottom: 8px;
    }

    .qs_features {
        gap: 40px;
    }

    .qs_features__head p {
        padding: 0 8px;
    }

    .qs_audience__chip {
        padding: 12px 22px;
        font-size: 15px;
    }

    .qs_step {
        gap: 14px;
        padding-bottom: 28px;
    }

    .qs_step:not(:last-child)::before {
        left: 23px;
        top: 52px;
    }

    .qs_step__icon {
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .qs_step__icon img {
        width: 21px;
        height: 22px;
    }

    .qs_step__body p {
        max-width: none;
    }

    .qs_case__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .qs_case__actions .qs_btn {
        width: 100%;
    }

    .qs_founder__photo {
        max-width: 480px;
        width: 100%;
    }

    .qs_cta {
        padding: 64px 20px;
    }

    .qs_cta .qs_btn {
        width: 100%;
        max-width: 360px;
    }

    .qs_footer {
        padding: 48px 0 24px;
    }

    .qs_footer__brand {
        width: 100%;
        gap: 24px;
    }

    .qs_footer__cols {
        flex-direction: column;
        gap: 24px;
    }

    .qs_footer__col .qs_btn {
        width: 100%;
    }

    .qs_footer__bottom {
        flex-direction: column;
        gap: 8px;
        padding-top: 24px;
    }

    .qs_footer__links {
        flex-direction: column;
        gap: 8px;
    }
}

/* --- Phone --- */
@media (max-width: 560px) {
    .qs_container,
    .qs_header .qs_container {
        padding: 0 16px;
    }

    .qs_nav {
        left: 16px;
        right: 16px;
    }

    .qs_header__brand {
        gap: 10px;
    }

    .qs_header__brand img:last-child {
        width: 160px;
        height: 14px;
    }

    .qs_btn {
        font-size: 15px;
        height: 52px;
        gap: 12px;
        padding: 12px 24px 12px 26px;
    }

    .qs_hero__title {
        letter-spacing: -0.5px;
    }

    .qs_hero__pill {
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .qs_hero__pill::before {
        inset: 3px;
        border-radius: 21px;
    }

    .qs_showcase__card {
        padding-bottom: 210px;
    }

    .qs_pop {
        display: none;
    }

    .qs_policy__cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qs_policy__card {
        padding: 18px;
    }

    .qs_stage__step {
        flex: 0 0 calc(33.333% - 8px);
    }

    .qs_stage__step small {
        font-size: 10px;
    }

    .qs_features__grid {
        grid-template-columns: 1fr;
    }

    .qs_feature {
        padding: 24px 20px;
    }

    .qs_founder__photo {
        padding: 20px;
    }

    .qs_founder__quote {
        letter-spacing: -0.4px;
    }
}
