.ks-page {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 55% 50% at 8% 0%, rgba(143, 232, 60, 0.12), transparent 58%),
        radial-gradient(ellipse 45% 40% at 92% 18%, rgba(22, 133, 45, 0.07), transparent 52%),
        #f7fbf3;
    padding: 0 0 72px !important;
    font-family: "Noto Sans Malayalam", "Segoe UI", sans-serif;
}

.ks-page__inner {
    width: min(1180px, calc(100% - 8vw));
    margin: 0 auto;
    padding: 36px 0 0;
}

.ks-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    background: rgba(22, 133, 45, 0.08);
    color: #16852d;
    font-size: 0.78rem;
    font-weight: 700;
}

.ks-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #45c72f;
    box-shadow: 0 0 10px rgba(143, 232, 60, 0.8);
}

.ks-heading {
    margin: 0 0 16px !important;
    padding: 0 !important;
    background: none !important;
    color: #121b16 !important;
    font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.ks-heading span {
    background: linear-gradient(100deg, #16852d 10%, #45c72f 55%, #8fe83c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.ks-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.ks-count {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #121b16;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.ks-dlbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    margin: 0;
    padding: 16px 24px;
    background: #121b16;
    border-bottom: 1px solid rgba(143, 232, 60, 0.18);
}

.ks-dlbar__label {
    color: #d7ecd0;
    font-size: 0.92rem;
    font-weight: 700;
}

.ks-dlbar__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ks-dlbtn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 14px 6px 12px;
    border: 0;
    border-radius: 14px;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ks-dlbtn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.ks-dlbtn span {
    display: grid;
    line-height: 1.15;
}

.ks-dlbtn small {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    opacity: 0.72;
}

.ks-dlbtn strong {
    font-size: 0.88rem;
    font-weight: 800;
}

.ks-dlbtn--play,
.ks-dlbtn--ios {
    background: #fff;
    color: #121b16 !important;
}

.ks-dlbtn--web {
    background: #16852d;
    color: #fff !important;
}

.ks-dlbtn:hover,
.ks-dlbtn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    outline: none;
}

.ks-intro {
    display: grid;
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
    gap: 36px 48px;
    align-items: center;
    margin-bottom: 36px;
}

.ks-intro__media {
    display: grid;
    justify-items: center;
    gap: 16px;
}

.ks-phone {
    position: relative;
    width: min(280px, 100%);
    padding: 12px 10px 16px;
    border-radius: 36px;
    background: #121b16;
    box-shadow: 0 28px 60px rgba(18, 27, 22, 0.22);
}

.ks-phone__notch {
    display: block;
    width: 88px;
    height: 10px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #2a362e;
}

.ks-phone__screen {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 177.78%;
    border-radius: 24px;
    background: #000;
}

.ks-phone__screen iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ks-intro__logo {
    width: min(180px, 70%);
    height: auto;
}

.ks-intro__copy p {
    margin: 0 0 16px;
    color: #3d4840;
    font-size: 1.02rem;
    line-height: 1.85;
}

.ks-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 36px;
}

.ks-card,
.ks-commit,
.ks-service {
    background: #fff;
    border: 1px solid rgba(22, 133, 45, 0.12);
    box-shadow: 0 16px 36px rgba(18, 27, 22, 0.06);
}

.ks-card {
    padding: 26px 26px 24px;
    border-radius: 24px;
}

.ks-card__num {
    display: inline-flex;
    margin-bottom: 10px;
    color: #16852d;
    font-family: -apple-system, "Segoe UI", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ks-card h3 {
    margin: 0 0 10px !important;
    color: #121b16 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
}

.ks-card p,
.ks-commit p {
    margin: 0 0 16px;
    color: #5f6a61;
    font-size: 0.98rem;
    line-height: 1.8;
}

.ks-card p:last-child,
.ks-commit p:last-child {
    margin-bottom: 0;
}

.ks-services {
    margin-bottom: 28px;
}

.ks-services__head {
    margin-bottom: 18px;
}

.ks-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ks-service {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 18px 16px;
    border-radius: 18px;
}

.ks-service span {
    color: #16852d;
    font-family: -apple-system, "Segoe UI", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    padding-top: 3px;
}

.ks-service p {
    margin: 0;
    color: #3d4840;
    font-size: 0.95rem;
    line-height: 1.65;
}

.ks-commit {
    padding: 28px 30px;
    border-radius: 26px;
    background:
        linear-gradient(120deg, rgba(22, 133, 45, 0.06), rgba(143, 232, 60, 0.12)),
        #fff;
}

.ks-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 12000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(18, 27, 22, 0.55);
}

.ks-modal.is-open {
    display: flex;
}

.ks-modal__card {
    width: min(380px, 100%);
    padding: 32px 28px 26px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 24px 60px rgba(18, 27, 22, 0.22);
}

.ks-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: rgba(22, 133, 45, 0.08);
    color: #16852d;
}

.ks-modal__icon svg {
    width: 28px;
    height: 28px;
}

.ks-modal h3 {
    margin: 0 0 8px !important;
    color: #121b16 !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
}

.ks-modal p {
    margin: 0 0 20px;
    color: #5f6a61;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ks-modal__close {
    appearance: none;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: #16852d;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ks-intro,
    .ks-pair,
    .ks-services__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .ks-intro,
    .ks-pair,
    .ks-services__grid {
        grid-template-columns: 1fr;
    }

    .ks-dlbar {
        padding: 14px 16px 16px;
    }

    .ks-dlbar__label {
        width: 100%;
        text-align: center;
    }

    .ks-commit {
        padding: 22px 18px;
    }
}
