@charset "UTF-8";

/*
 * King Cinema public storefront
 * Scoped to .kc-site so admin and application API surfaces remain untouched.
 */

.kc-site {
    --kc-bg: #08080a;
    --kc-bg-soft: #0d0d10;
    --kc-surface: #121217;
    --kc-surface-raised: #18181e;
    --kc-surface-hover: #1e1e25;
    --kc-border: rgba(255, 255, 255, 0.1);
    --kc-border-strong: rgba(255, 255, 255, 0.18);
    --kc-text: #f7f7f8;
    --kc-text-soft: #c8c8cf;
    --kc-muted: #9898a3;
    --kc-red: #e32134;
    --kc-red-strong: #ff3146;
    --kc-red-dark: #a80f20;
    --kc-success: #43c886;
    --kc-warning: #f2b84b;
    --kc-error: #ff6474;
    --kc-focus: #ff8290;
    --kc-shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.26);
    --kc-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.46);
    --kc-radius-sm: 10px;
    --kc-radius-md: 16px;
    --kc-radius-lg: 24px;
    --kc-radius-xl: 32px;
    --kc-container: 1180px;
    --kc-topbar-height: 72px;

    position: relative;
    min-height: 100vh;
    margin: 0;
    overflow-x: clip;
    color: var(--kc-text);
    background:
        radial-gradient(circle at 88% 2%, rgba(227, 33, 52, 0.16), transparent 28rem),
        radial-gradient(circle at 8% 35%, rgba(227, 33, 52, 0.07), transparent 24rem),
        var(--kc-bg);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    direction: rtl;
    text-align: right;
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.kc-site :where(h1, h2, h3, p, ul, ol, figure) {
    margin-block-start: 0;
}

.kc-site :where(h1, h2, h3) {
    color: var(--kc-text);
    line-height: 1.2;
    text-wrap: balance;
}

.kc-site :where(p, li) {
    text-wrap: pretty;
}

.kc-site :where(a) {
    color: inherit;
    text-decoration: none;
}

.kc-site :where(img, svg, video) {
    display: block;
    max-width: 100%;
}

.kc-site :where(button, input, textarea, select) {
    font: inherit;
}

.kc-site :where(button, a) {
    -webkit-tap-highlight-color: transparent;
}

.kc-site :where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid var(--kc-focus);
    outline-offset: 3px;
}

.kc-skip-link {
    position: fixed;
    z-index: 1000;
    inset-block-start: 10px;
    inset-inline-start: 12px;
    padding: 9px 14px;
    border-radius: 9px;
    color: #fff;
    background: #8f1020;
    font-weight: 750;
    transform: translateY(-160%);
    transition: transform 140ms ease;
}

.kc-skip-link:focus {
    transform: translateY(0);
}

.kc-site :where(button, input, textarea, select):disabled,
.kc-site [aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.55;
}

.kc-container {
    width: min(calc(100% - 40px), var(--kc-container));
    margin-inline: auto;
}

.kc-topbar {
    position: sticky;
    z-index: 40;
    inset-block-start: 0;
    min-height: var(--kc-topbar-height);
    border-block-end: 1px solid var(--kc-border);
    background: rgba(8, 8, 10, 0.86);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
}

.kc-topbar__inner {
    display: flex;
    min-height: var(--kc-topbar-height);
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.kc-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    border-radius: var(--kc-radius-sm);
}

.kc-brand__logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: linear-gradient(145deg, #2a0a0f, #0d0d10 68%);
    box-shadow: 0 8px 24px rgba(227, 33, 52, 0.18);
    object-fit: cover;
}

.kc-brand__text {
    display: grid;
    min-width: 0;
    gap: 1px;
    line-height: 1.15;
}

.kc-brand__text strong,
.kc-brand__text b {
    overflow: hidden;
    color: var(--kc-text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-brand__text small,
.kc-brand__text span {
    overflow: hidden;
    color: var(--kc-muted);
    font-size: 0.76rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.kc-nav__link,
.kc-nav__download {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--kc-text-soft);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.kc-nav__link[aria-current="page"] {
    color: var(--kc-text);
    background: rgba(255, 255, 255, 0.07);
}

.kc-nav__download {
    margin-inline-start: 5px;
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    background: linear-gradient(135deg, var(--kc-red-strong), var(--kc-red-dark));
    box-shadow: 0 9px 24px rgba(227, 33, 52, 0.24);
}

.kc-main {
    position: relative;
    z-index: 1;
    min-height: 60vh;
}

.kc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
    min-height: min(760px, calc(100vh - var(--kc-topbar-height)));
    padding-block: clamp(64px, 9vw, 118px);
}

.kc-hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.kc-kicker,
.kc-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-block-end: 16px;
    color: #ff9aa4;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.kc-kicker {
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 73, 91, 0.28);
    border-radius: 999px;
    background: rgba(227, 33, 52, 0.1);
}

.kc-kicker::before,
.kc-section__eyebrow::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--kc-red-strong);
    box-shadow: 0 0 0 4px rgba(227, 33, 52, 0.13);
    content: "";
}

.kc-hero__brand {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 28px);
    margin-block-end: 24px;
}

.kc-hero__brand h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5.3vw, 5.1rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.kc-hero__brand h1 span {
    display: block;
    margin-block-start: 7px;
    color: var(--kc-muted);
    font-size: clamp(0.9rem, 1.55vw, 1.15rem);
    font-weight: 650;
    letter-spacing: 0;
}

.kc-app-icon {
    width: clamp(92px, 11vw, 126px);
    height: clamp(92px, 11vw, 126px);
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: clamp(22px, 3vw, 31px);
    background: linear-gradient(145deg, #2a0a0f, #0d0d10 68%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 13px 34px rgba(227, 33, 52, 0.17);
    object-fit: cover;
}

.kc-hero__lead {
    max-width: 680px;
    margin-block-end: 28px;
    color: var(--kc-text-soft);
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    line-height: 1.85;
}

.kc-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-block: 0 30px;
}

.kc-meta-item {
    display: grid;
    min-height: 78px;
    align-content: center;
    gap: 3px;
    padding: 13px 15px;
    border: 1px solid var(--kc-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.kc-meta-value {
    overflow: hidden;
    color: var(--kc-text);
    font-size: 0.98rem;
    font-weight: 820;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-meta-label {
    overflow: hidden;
    color: var(--kc-muted);
    font-size: 0.72rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.kc-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 820;
    line-height: 1.2;
    text-align: center;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background-color 170ms ease;
}

.kc-btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.kc-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--kc-red-strong), var(--kc-red-dark));
    box-shadow: 0 14px 32px rgba(227, 33, 52, 0.27);
}

.kc-btn--secondary {
    border-color: var(--kc-border-strong);
    color: var(--kc-text);
    background: rgba(255, 255, 255, 0.055);
}

.kc-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-block-start: 22px;
    color: var(--kc-muted);
    font-size: 0.8rem;
    font-weight: 650;
}

.kc-trust-row > * {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.kc-trust-row svg {
    width: 17px;
    height: 17px;
    color: var(--kc-success);
}

.kc-hero__media {
    position: relative;
    min-width: 0;
    isolation: isolate;
}

.kc-hero__media::before {
    position: absolute;
    z-index: -1;
    inset: 12% 6% -3%;
    border-radius: 50%;
    background: rgba(227, 33, 52, 0.2);
    filter: blur(60px);
    content: "";
}

.kc-showcase-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: clamp(22px, 4vw, 36px);
    background: linear-gradient(145deg, #1d1d23, #0e0e11);
    box-shadow: var(--kc-shadow-lg);
}

.kc-showcase-frame::after {
    position: absolute;
    pointer-events: none;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), transparent 28%, transparent 76%, rgba(227, 33, 52, 0.08));
    content: "";
}

.kc-showcase-frame > :where(img, picture, video) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kc-showcase-frame picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kc-showcase-badge {
    position: absolute;
    z-index: 3;
    inset-block-end: clamp(14px, 3vw, 24px);
    inset-inline-start: clamp(14px, 3vw, 24px);
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
    background: rgba(8, 8, 10, 0.82);
    box-shadow: var(--kc-shadow-sm);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 750;
}

.kc-showcase-badge::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kc-success);
    box-shadow: 0 0 0 4px rgba(67, 200, 134, 0.13);
    content: "";
}

.kc-section {
    position: relative;
    padding-block: clamp(68px, 8vw, 104px);
    border-block-start: 1px solid var(--kc-border);
}

.kc-section--muted {
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        var(--kc-bg-soft);
    box-shadow: var(--kc-shadow-sm);
    padding-inline: clamp(20px, 4vw, 52px);
}

.kc-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-block-end: clamp(26px, 4vw, 42px);
}

.kc-section__head > * {
    min-width: 0;
}

.kc-section__title {
    max-width: 760px;
    margin-block-end: 0;
    font-size: clamp(1.7rem, 3.5vw, 2.75rem);
    font-weight: 880;
    letter-spacing: -0.035em;
}

.kc-section__desc {
    max-width: 600px;
    margin: 8px 0 0;
    color: var(--kc-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.kc-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
    align-items: stretch;
}

.kc-shot {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    margin: 0;
    border: 1px solid var(--kc-border);
    border-radius: clamp(16px, 2.4vw, 24px);
    background: var(--kc-surface);
    box-shadow: var(--kc-shadow-sm);
}

.kc-shot--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
    align-self: center;
}

.kc-gallery > .kc-shot:only-child {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.kc-shot > :where(img, picture) {
    width: 100%;
    height: 100%;
}

.kc-shot picture > img,
.kc-shot > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kc-shot figcaption {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    padding: 42px 14px 13px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.86));
    font-size: 0.78rem;
    font-weight: 700;
}

.kc-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.kc-feature-card,
.kc-info-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius-md);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.kc-feature-card {
    min-height: 220px;
    padding: clamp(22px, 3vw, 30px);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.kc-feature-card::after {
    position: absolute;
    inset-block-start: -40px;
    inset-inline-end: -40px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: rgba(227, 33, 52, 0.1);
    filter: blur(18px);
    content: "";
}

.kc-feature-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-block-end: 23px;
    border: 1px solid rgba(255, 73, 91, 0.22);
    border-radius: 14px;
    color: #ff6c7b;
    background: rgba(227, 33, 52, 0.11);
}

.kc-feature-card__icon svg {
    width: 23px;
    height: 23px;
}

.kc-feature-card h3,
.kc-info-card h3 {
    margin-block-end: 9px;
    font-size: 1.08rem;
    font-weight: 820;
}

.kc-feature-card p,
.kc-info-card p {
    margin-block-end: 0;
    color: var(--kc-muted);
    font-size: 0.9rem;
    line-height: 1.78;
}

.kc-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.kc-info-card {
    padding: clamp(22px, 3vw, 30px);
}

.kc-info-card > :last-child {
    margin-block-end: 0;
}

.kc-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.kc-list > li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-block: 14px;
    border-block-end: 1px solid var(--kc-border);
    color: var(--kc-text-soft);
}

.kc-list > li:last-child {
    border-block-end: 0;
}

.kc-list > li::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-block-start: 9px;
    border-radius: 50%;
    background: var(--kc-red);
    content: "";
}

.kc-list > li > :last-child {
    margin-inline-start: auto;
    color: var(--kc-text);
    font-weight: 750;
    text-align: end;
}

.kc-page-hero {
    display: grid;
    align-content: end;
    min-height: 350px;
    padding-block: clamp(72px, 10vw, 116px) clamp(46px, 7vw, 78px);
    border-block-end: 1px solid var(--kc-border);
}

.kc-page-hero h1 {
    max-width: 860px;
    margin-block-end: 15px;
    font-size: clamp(2.1rem, 5vw, 4.25rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.kc-page-hero p {
    max-width: 700px;
    margin-block-end: 0;
    color: var(--kc-text-soft);
    font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.kc-download-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: start;
    gap: 18px;
}

.kc-download-card {
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius-lg);
    background: var(--kc-surface);
    box-shadow: var(--kc-shadow-sm);
}

.kc-download-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-block-end: 26px;
    padding-block-end: 22px;
    border-block-end: 1px solid var(--kc-border);
}

.kc-download-card__head h2,
.kc-download-card__head h3 {
    margin-block-end: 5px;
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.kc-download-card__head p {
    margin: 0;
    color: var(--kc-muted);
    font-size: 0.88rem;
}

.kc-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid var(--kc-border);
    border-radius: 999px;
    color: var(--kc-muted);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.74rem;
    font-weight: 780;
}

.kc-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.kc-status--on {
    border-color: rgba(67, 200, 134, 0.25);
    color: #75dda8;
    background: rgba(67, 200, 134, 0.09);
}

.kc-fallback {
    display: grid;
    min-height: calc(100vh - var(--kc-topbar-height));
    place-items: center;
    padding-block: 56px 90px;
}

.kc-fallback > * {
    width: min(100%, 660px);
}

.kc-fallback__link {
    display: block;
    max-width: 100%;
    margin-block: 20px;
    padding: 12px 14px;
    overflow: hidden;
    border: 1px solid var(--kc-border);
    border-radius: 12px;
    color: var(--kc-muted);
    background: rgba(255, 255, 255, 0.035);
    font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
    font-size: 0.76rem;
    direction: ltr;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-prose {
    max-width: 820px;
    color: var(--kc-text-soft);
    font-size: 1rem;
    line-height: 1.95;
}

.kc-prose :where(h2, h3) {
    margin-block: 2em 0.7em;
    scroll-margin-top: calc(var(--kc-topbar-height) + 24px);
}

.kc-prose h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.kc-prose h3 {
    font-size: 1.14rem;
}

.kc-prose :where(ul, ol) {
    padding-inline-start: 1.35em;
}

.kc-prose li {
    margin-block: 0.45em;
}

.kc-prose a {
    color: #ff8591;
    text-decoration: underline;
    text-decoration-color: rgba(255, 133, 145, 0.42);
    text-underline-offset: 4px;
}

.kc-prose hr {
    height: 1px;
    margin-block: 38px;
    border: 0;
    background: var(--kc-border);
}

.kc-form-card {
    width: min(100%, 900px);
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius-lg);
    background: var(--kc-surface);
    box-shadow: var(--kc-shadow-sm);
}

.kc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.kc-field {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.kc-field--wide {
    grid-column: 1 / -1;
}

.kc-field > label,
.kc-field > legend {
    color: var(--kc-text-soft);
    font-size: 0.86rem;
    font-weight: 760;
}

.kc-field :where(input, textarea, select) {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid var(--kc-border-strong);
    border-radius: 12px;
    color: var(--kc-text);
    background: var(--kc-bg-soft);
    caret-color: var(--kc-red-strong);
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.kc-field textarea {
    min-height: 150px;
    resize: vertical;
}

.kc-field :where(input, textarea)::placeholder {
    color: #74747e;
    opacity: 1;
}

.kc-field :where(input, textarea, select):focus {
    border-color: rgba(255, 76, 94, 0.72);
    background: #101014;
    box-shadow: 0 0 0 4px rgba(227, 33, 52, 0.11);
}

.kc-field :where(input, textarea, select)[aria-invalid="true"] {
    border-color: var(--kc-error);
}

.kc-field small {
    color: var(--kc-muted);
    font-size: 0.75rem;
}

.kc-field--check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--kc-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.kc-field--check input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin: 3px 0 0;
    accent-color: var(--kc-red);
}

.kc-field--check span {
    color: var(--kc-text-soft);
    font-size: 0.84rem;
    font-weight: 500;
}

.kc-field--check a {
    color: #ff8390;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kc-alert {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr);
    align-items: flex-start;
    gap: 10px;
    margin-block-end: 20px;
    padding: 13px 15px;
    border: 1px solid var(--kc-border);
    border-radius: 12px;
    color: var(--kc-text-soft);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
}

.kc-alert::before {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    margin-block-start: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.kc-alert > * {
    grid-column: 2;
}

.kc-alert > strong {
    color: currentColor;
}

.kc-alert ul {
    margin: 4px 0 0;
    padding-inline-start: 20px;
}

.kc-alert--success {
    border-color: rgba(67, 200, 134, 0.27);
    color: #8ee6ba;
    background: rgba(67, 200, 134, 0.09);
}

.kc-alert--error {
    border-color: rgba(255, 100, 116, 0.3);
    color: #ffadb6;
    background: rgba(255, 100, 116, 0.09);
}

.kc-honeypot {
    position: absolute !important;
    inset-inline-start: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.kc-download-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    padding: 20px;
    border: 0;
    color: var(--kc-text);
    background: transparent;
    overflow: auto;
    overscroll-behavior: contain;
}

.kc-download-dialog[open] {
    display: grid;
    place-items: center;
}

.kc-download-dialog::backdrop {
    background: rgba(0, 0, 0, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.kc-dialog__panel {
    width: min(100%, 720px);
    max-height: min(780px, calc(100vh - 40px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--kc-border-strong);
    border-radius: var(--kc-radius-lg);
    color: var(--kc-text);
    background: #111115;
    box-shadow: var(--kc-shadow-lg);
    scrollbar-color: #414149 transparent;
}

.kc-dialog__head {
    position: sticky;
    z-index: 2;
    inset-block-start: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 74px;
    padding: 16px clamp(18px, 4vw, 28px);
    border-block-end: 1px solid var(--kc-border);
    background: rgba(17, 17, 21, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.kc-dialog__head h2,
.kc-dialog__head h3 {
    margin: 0;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.kc-dialog__head p {
    margin: 5px 0 0;
    color: var(--kc-muted);
    font-size: 0.8rem;
}

.kc-dialog__close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--kc-border);
    border-radius: 50%;
    color: var(--kc-text);
    background: rgba(255, 255, 255, 0.055);
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.kc-dialog__close svg {
    width: 19px;
    height: 19px;
}

.kc-device-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    padding: clamp(18px, 4vw, 28px);
}

.kc-device-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 280px;
    align-items: stretch;
    justify-content: flex-start;
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--kc-border);
    border-radius: 16px;
    color: var(--kc-text);
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 170ms ease, background-color 170ms ease, transform 170ms ease;
}

.kc-device-card > div:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.kc-device-card h3 {
    margin: 9px 0 0;
    font-size: 1.05rem;
}

.kc-device-card > p {
    flex: 1 1 auto;
    margin: 0;
    color: var(--kc-text-soft);
    font-size: 0.84rem;
}

.kc-device-card > .kc-btn {
    width: 100%;
    margin-block-start: auto;
}

.kc-device-card > svg,
.kc-device-card > img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    color: #ff6d7c;
    object-fit: contain;
}

.kc-device-card__meta {
    display: flex;
    min-width: 0;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 7px;
}

.kc-device-card__meta strong {
    overflow: hidden;
    font-size: 0.96rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-device-card__meta span,
.kc-device-card__meta small {
    overflow: hidden;
    color: var(--kc-muted);
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-device-card__meta span {
    padding: 4px 8px;
    border: 1px solid var(--kc-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.kc-dialog__foot {
    margin: 0;
    padding: 0 clamp(18px, 4vw, 28px) clamp(20px, 4vw, 28px);
    color: var(--kc-muted);
    font-size: 0.78rem;
}

.kc-dialog__foot a {
    color: var(--kc-text-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kc-extra-links {
    display: grid;
    gap: 8px;
    width: 100%;
    margin-block-start: 4px;
}

.kc-extra-links .kc-btn {
    width: 100%;
    min-height: 42px;
    padding-block: 9px;
    font-size: 0.78rem;
}

.kc-extra-links small {
    margin-block: -2px 5px;
    color: var(--kc-muted);
    font-size: 0.72rem;
}

.kc-legacy-downloads {
    margin-block-start: 18px;
    padding: 18px;
    border: 1px solid var(--kc-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.kc-legacy-downloads h2,
.kc-legacy-downloads > strong {
    display: block;
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.kc-fallback__note {
    max-width: 720px;
    margin: 20px auto 0;
    padding: 11px 14px;
    border: 1px solid var(--kc-border);
    border-radius: 12px;
    color: var(--kc-muted);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.78rem;
}

.kc-footer {
    position: relative;
    z-index: 1;
    padding-block: 32px;
    border-block-start: 1px solid var(--kc-border);
    color: var(--kc-muted);
    background: rgba(5, 5, 7, 0.7);
}

.kc-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.kc-footer__inner p {
    margin: 0;
    font-size: 0.8rem;
}

.kc-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 18px;
}

.kc-footer__links a {
    border-radius: 6px;
    color: var(--kc-text-soft);
    font-size: 0.8rem;
    font-weight: 650;
    transition: color 150ms ease;
}

.kc-mobile-cta {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .kc-nav__link:hover {
        color: var(--kc-text);
        background: rgba(255, 255, 255, 0.055);
    }

    .kc-nav__download:hover,
    .kc-btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 17px 38px rgba(227, 33, 52, 0.34);
    }

    .kc-btn--secondary:hover,
    .kc-dialog__close:hover {
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.09);
    }

    .kc-feature-card:hover,
    .kc-device-card:hover {
        border-color: rgba(255, 76, 94, 0.25);
        background: rgba(255, 255, 255, 0.055);
        transform: translateY(-3px);
    }

    .kc-footer__links a:hover,
    .kc-prose a:hover {
        color: #fff;
    }
}

@media (max-width: 1020px) {
    .kc-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
        gap: 40px;
    }

    .kc-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kc-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kc-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .kc-site {
        --kc-topbar-height: 64px;
    }

    .kc-container {
        width: min(calc(100% - 30px), var(--kc-container));
    }

    .kc-topbar__inner {
        gap: 14px;
    }

    .kc-brand__logo {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 11px;
    }

    .kc-nav__link {
        display: none;
    }

    .kc-nav__download {
        min-height: 40px;
        padding-inline: 13px;
        font-size: 0.82rem;
    }

    .kc-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        padding-block: 58px 72px;
    }

    .kc-hero__copy {
        order: 1;
    }

    .kc-hero__media {
        order: 2;
        width: min(100%, 680px);
        margin-inline: auto;
    }

    .kc-section__head {
        display: block;
    }

    .kc-section__desc {
        max-width: 700px;
    }

    .kc-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kc-shot--wide {
        grid-column: 1 / -1;
    }

    .kc-download-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .kc-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .kc-footer__links {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .kc-site {
        padding-block-end: calc(76px + env(safe-area-inset-bottom));
        font-size: 15px;
    }

    .kc-container {
        width: min(calc(100% - 24px), var(--kc-container));
    }

    .kc-brand__text small,
    .kc-brand__text span {
        display: none;
    }

    .kc-brand__text strong,
    .kc-brand__text b {
        max-width: 132px;
        font-size: 0.92rem;
    }

    .kc-nav__download {
        margin-inline-start: 0;
        padding-inline: 11px;
    }

    .kc-hero {
        gap: 35px;
        padding-block: 43px 58px;
    }

    .kc-hero__brand {
        align-items: flex-start;
        gap: 15px;
        margin-block-end: 20px;
    }

    .kc-app-icon {
        width: 78px;
        height: 78px;
        border-radius: 20px;
    }

    .kc-hero__brand h1 {
        padding-block-start: 4px;
        font-size: clamp(2rem, 11vw, 3.15rem);
        letter-spacing: -0.045em;
    }

    .kc-hero__brand h1 span {
        margin-block-start: 4px;
        font-size: 0.78rem;
    }

    .kc-hero__lead {
        margin-block-end: 24px;
        font-size: 1rem;
        line-height: 1.75;
    }

    .kc-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .kc-meta-item {
        min-height: 69px;
        padding: 11px 12px;
    }

    .kc-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .kc-actions .kc-btn {
        width: 100%;
    }

    .kc-showcase-frame {
        border-radius: 20px;
    }

    .kc-section {
        padding-block: 58px;
    }

    .kc-section--muted {
        padding-inline: 16px;
        border-radius: 22px;
    }

    .kc-gallery {
        grid-auto-columns: minmax(74vw, 280px);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 12px;
        margin-inline: -12px;
        padding: 4px 12px 18px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: thin;
        scrollbar-color: #3a3a42 transparent;
    }

    .kc-shot,
    .kc-shot--wide,
    .kc-gallery > .kc-shot:only-child {
        grid-column: auto;
        width: auto;
        scroll-snap-align: start;
    }

    .kc-shot--wide,
    .kc-gallery > .kc-shot:only-child {
        aspect-ratio: 16 / 9;
    }

    .kc-gallery > .kc-shot:only-child {
        width: calc(100vw - 24px);
    }

    .kc-feature-grid,
    .kc-info-grid,
    .kc-form-grid,
    .kc-device-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .kc-feature-card {
        min-height: 0;
    }

    .kc-page-hero {
        min-height: 280px;
        padding-block: 54px 42px;
    }

    .kc-download-card__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .kc-fallback {
        min-height: calc(100vh - var(--kc-topbar-height) - 76px);
        padding-block: 38px 55px;
    }

    .kc-download-dialog {
        align-items: end;
        padding: 0;
    }

    .kc-download-dialog[open] {
        place-items: end stretch;
    }

    .kc-dialog__panel {
        width: 100%;
        max-height: min(86vh, 780px);
        border-width: 1px 0 0;
        border-radius: 24px 24px 0 0;
        padding-block-end: env(safe-area-inset-bottom);
    }

    .kc-device-grid {
        gap: 10px;
    }

    .kc-device-card {
        min-height: 100px;
    }

    .kc-footer {
        padding-block: 28px;
    }

    .kc-footer__links {
        gap: 9px 15px;
    }

    .kc-mobile-cta {
        position: fixed;
        z-index: 35;
        inset-inline: 0;
        inset-block-end: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 66px;
        padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
        border: 0;
        border-block-start: 1px solid rgba(255, 255, 255, 0.18);
        color: #fff;
        background: linear-gradient(135deg, #b51528, var(--kc-red));
        box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.35);
        font-weight: 800;
        text-align: start;
        cursor: pointer;
        -webkit-backdrop-filter: blur(16px) saturate(130%);
        backdrop-filter: blur(16px) saturate(130%);
    }

    .kc-mobile-cta span {
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.76rem;
        font-weight: 650;
    }
}

@media (max-width: 390px) {
    .kc-brand__text strong,
    .kc-brand__text b {
        max-width: 104px;
    }

    .kc-nav__download {
        font-size: 0.76rem;
    }

    .kc-meta-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .kc-meta-item {
        min-height: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kc-site *,
    .kc-site *::before,
    .kc-site *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: more) {
    .kc-site {
        --kc-border: rgba(255, 255, 255, 0.28);
        --kc-border-strong: rgba(255, 255, 255, 0.48);
        --kc-muted: #c1c1c8;
    }

    .kc-btn--primary,
    .kc-nav__download {
        border-color: #fff;
    }
}

@media (forced-colors: active) {
    .kc-site :where(a, button, input, textarea, select):focus-visible {
        outline: 3px solid Highlight;
    }

    .kc-kicker::before,
    .kc-section__eyebrow::before,
    .kc-showcase-badge::before,
    .kc-status::before,
    .kc-alert::before {
        background: currentColor;
    }
}

@media print {
    .kc-site {
        min-height: auto;
        padding: 0;
        color: #000;
        background: #fff;
        color-scheme: light;
    }

    .kc-topbar,
    .kc-actions,
    .kc-mobile-cta,
    .kc-download-dialog,
    .kc-footer {
        display: none !important;
    }

    .kc-site :where(h1, h2, h3, p, li, a) {
        color: #000;
    }

    .kc-section,
    .kc-section--muted,
    .kc-prose {
        border-color: #bbb;
        background: #fff;
        box-shadow: none;
    }
}
