:root {
    --ks-navy: #071a33;
    --ks-navy-soft: #0d294a;
    --ks-blue: #087cf0;
    --ks-cyan: #20b8f4;
    --ks-ink: #10243e;
    --ks-muted: #61738a;
    --ks-line: #dfe8f1;
    --ks-surface: #ffffff;
    --ks-surface-soft: #f5f9fc;
    --ks-shadow: 0 24px 70px rgba(18, 54, 85, .13);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    color-scheme: only light;
    background: #fff;
}

body.keen-auth-layout {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ks-ink);
    background: #f8fbfd;
    color-scheme: light;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.keen-auth-layout a { text-decoration: none; }
.keen-auth-layout button,
.keen-auth-layout input { font: inherit; }

.ks-page-glow,
.ks-page-grid { position: fixed; pointer-events: none; }

.ks-page-glow {
    z-index: 0;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    filter: blur(3px);
    opacity: .44;
}

.ks-page-glow-one {
    top: -270px;
    right: -160px;
    background: radial-gradient(circle, rgba(40, 167, 255, .24), rgba(40, 167, 255, 0) 69%);
}

.ks-page-glow-two {
    bottom: -310px;
    left: -230px;
    background: radial-gradient(circle, rgba(84, 214, 194, .17), rgba(84, 214, 194, 0) 70%);
}

.ks-page-grid {
    z-index: 0;
    inset: 0;
    opacity: .23;
    background-image: linear-gradient(rgba(37, 103, 156, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 103, 156, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}

.ks-site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    height: 78px;
    border-bottom: 1px solid rgba(218, 229, 238, .88);
    background: rgba(250, 253, 255, .88);
    box-shadow: 0 4px 28px rgba(15, 47, 75, .04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ks-header-inner,
.ks-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.ks-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ks-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ks-ink);
    flex: 0 0 auto;
}

.ks-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(20, 118, 217, .13);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(11, 68, 112, .11);
}

.ks-brand-mark img { width: 39px; height: 39px; object-fit: contain; }

.ks-brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.ks-brand-copy strong { font-size: 16px; letter-spacing: -.025em; }
.ks-brand-copy small { margin-top: 4px; color: #718298; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.ks-header-nav { display: flex; align-items: center; gap: 9px; }
.ks-language-control { position: relative; }
.ks-language-control details { margin: 0 !important; }
.ks-language-control .tw-dw-dropdown-content { right: 0 !important; left: auto !important; }
.ks-language-control summary,
.ks-nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-radius: 11px;
    color: #42566f !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.ks-language-control summary:hover,
.ks-nav-link:hover { color: #0870d5 !important; background: #edf6fd; }
.ks-language-control ul { border: 1px solid var(--ks-line); color: var(--ks-ink); }

.ks-signin-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    color: #fff !important;
    font-weight: 750;
    background: linear-gradient(115deg, #086fd8 0%, #0d8af5 48%, #23b4f3 100%);
    box-shadow: 0 12px 30px rgba(8, 124, 240, .28);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ks-signin-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -2px;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%);
    transform: translateX(-120%);
    animation: ks-button-shimmer 3.8s ease-in-out infinite;
}

.ks-signin-button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(8, 124, 240, .38); }
.ks-signin-button-header { min-height: 44px; padding: 0 19px; border-radius: 12px; font-size: 13px; }
.ks-signin-button-hero { min-height: 57px; padding: 0 26px; border-radius: 15px; font-size: 15px; }

@keyframes ks-button-shimmer {
    0%, 56% { transform: translateX(-120%); }
    78%, 100% { transform: translateX(120%); }
}

.ks-page-content { position: relative; z-index: 2; min-height: 100vh; padding-top: 78px; }

/* Public landing page */
.keen-home-page { background: linear-gradient(180deg, #fbfdff 0, #f5f9fc 64%, #fff 100%); }

.ks-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: 72px 0 86px;
}

.ks-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(235, 244, 250, .7));
}

.ks-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); align-items: center; gap: 64px; }
.ks-hero-copy { min-width: 0; }

.ks-eyebrow,
.ks-section-kicker,
.ks-login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0876df;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.ks-status-dot {
    width: 9px;
    height: 9px;
    border: 2px solid rgba(7, 137, 240, .26);
    border-radius: 50%;
    background: #0b97ef;
    box-shadow: 0 0 0 5px rgba(11, 151, 239, .1);
}

.ks-hero h1 {
    max-width: 630px;
    margin: 22px 0 22px;
    color: #0a1f38;
    font-size: clamp(45px, 5vw, 72px);
    line-height: 1.01;
    letter-spacing: -.055em;
    font-weight: 780;
}

.ks-hero h1 span {
    color: transparent;
    background: linear-gradient(105deg, #096bd1, #0a9fea 70%, #2dbea5);
    background-clip: text;
    -webkit-background-clip: text;
}

.ks-hero-intro { max-width: 620px; margin: 0; color: var(--ks-muted); font-size: 17px; line-height: 1.75; }
.ks-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 33px; }

.ks-secondary-button {
    min-height: 57px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid #cfdae5;
    border-radius: 15px;
    color: #263e58;
    font-size: 14px;
    font-weight: 750;
    background: rgba(255,255,255,.76);
    box-shadow: 0 8px 24px rgba(34, 66, 95, .06);
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.ks-secondary-button:hover { border-color: #86bae7; color: #086fcf; background: #fff; transform: translateY(-2px); }

.ks-trust-list { display: flex; flex-wrap: wrap; gap: 18px; margin: 27px 0 0; padding: 0; list-style: none; }
.ks-trust-list li { display: inline-flex; align-items: center; gap: 7px; color: #53677d; font-size: 12px; font-weight: 650; }
.ks-trust-list svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: #e5f7f0; stroke: #13936d; stroke-width: 2.6; fill: none; }

.ks-reveal { opacity: 0; animation: ks-reveal .7s cubic-bezier(.2,.75,.25,1) forwards; }
.ks-reveal-one { animation-delay: .06s; }
.ks-reveal-two { animation-delay: .13s; }
.ks-reveal-three { animation-delay: .2s; }
.ks-reveal-four { animation-delay: .27s; }
.ks-reveal-five { animation-delay: .34s; }
.ks-reveal-visual { animation-delay: .23s; }

@keyframes ks-reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.ks-hero-visual { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.ks-hero-visual::before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 164, 239, .18), rgba(34, 164, 239, 0) 68%);
}

.ks-dashboard-window {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 610px;
    overflow: hidden;
    border: 1px solid rgba(174, 199, 220, .62);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(25, 69, 107, .19), 0 8px 30px rgba(25, 69, 107, .08);
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
    animation: ks-dashboard-float 7s ease-in-out infinite;
}

@keyframes ks-dashboard-float { 0%,100% { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(0); } 50% { transform: perspective(1200px) rotateY(-1deg) rotateX(0) translateY(-8px); } }

.ks-window-bar { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #eaf0f5; background: #fbfdff; }
.ks-window-dots { display: flex; gap: 5px; }
.ks-window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #c8d4df; }
.ks-window-dots span:first-child { background: #ff7d7d; }
.ks-window-dots span:nth-child(2) { background: #ffc95c; }
.ks-window-dots span:nth-child(3) { background: #59d59b; }
.ks-window-label { display: flex; align-items: center; gap: 7px; color: #728397; font-size: 10px; font-weight: 700; }
.ks-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #26bb7c; box-shadow: 0 0 0 4px rgba(38, 187, 124, .13); }

.ks-dashboard-body { min-height: 358px; display: grid; grid-template-columns: 64px 1fr; }
.ks-preview-sidebar { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 18px 11px; background: #08213c; }
.ks-preview-sidebar img { width: 37px; height: 37px; margin-bottom: 6px; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(0,0,0,.2)); }
.ks-preview-sidebar span { width: 27px; height: 7px; border-radius: 10px; background: rgba(255,255,255,.17); }
.ks-preview-sidebar span.is-active { background: #1aa4f5; box-shadow: 0 0 0 6px rgba(26,164,245,.12); }
.ks-preview-main { min-width: 0; padding: 24px 22px 20px; background: #f6f9fc; }
.ks-preview-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ks-preview-heading div { display: flex; flex-direction: column; }
.ks-preview-heading small { margin-bottom: 3px; color: #8492a2; font-size: 9px; }
.ks-preview-heading strong { color: #16304c; font-size: 14px; }
.ks-preview-heading > span { padding: 6px 10px; border: 1px solid #dce6ee; border-radius: 8px; color: #6f8194; font-size: 9px; background: #fff; }
.ks-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ks-stat-row article { min-width: 0; display: flex; flex-direction: column; padding: 13px; border: 1px solid #e4ebf1; border-radius: 12px; background: #fff; box-shadow: 0 5px 15px rgba(34, 72, 105, .035); }
.ks-stat-row small { color: #7d8c9b; font-size: 8px; }
.ks-stat-row strong { margin: 5px 0 4px; color: #17334f; font-size: 17px; }
.ks-stat-row em { color: #16a16f; font-size: 8px; font-style: normal; font-weight: 800; }
.ks-stat-row em.is-warn { color: #f09537; }
.ks-chart-card { margin-top: 12px; padding: 15px 16px 7px; border: 1px solid #e4ebf1; border-radius: 14px; background: #fff; }
.ks-chart-title { display: flex; align-items: center; justify-content: space-between; }
.ks-chart-title strong { color: #24415d; font-size: 10px; }
.ks-chart-title span { color: #8998a7; font-size: 8px; }
.ks-chart-card svg { width: 100%; height: 136px; overflow: visible; }
.ks-chart-area { fill: url(#chartFill); }
.ks-chart-line { fill: none; stroke: #1599ed; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 5px 4px rgba(21,153,237,.2)); }

.ks-floating-card { position: absolute; z-index: 4; display: flex; align-items: center; border: 1px solid rgba(184, 205, 222, .67); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 19px 50px rgba(31, 74, 109, .17); backdrop-filter: blur(12px); }
.ks-floating-stock { left: -21px; bottom: 40px; gap: 11px; padding: 12px 15px; animation: ks-small-float 5s ease-in-out infinite; }
.ks-floating-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #0e9c78; background: #e5f8f2; }
.ks-floating-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ks-floating-stock > span:last-child { display: flex; flex-direction: column; }
.ks-floating-stock small { color: #8392a0; font-size: 8px; }
.ks-floating-stock strong { margin-top: 3px; color: #27445e; font-size: 10px; }
.ks-floating-counter { top: 32px; right: -11px; align-items: flex-end; gap: 9px; padding: 12px 15px; animation: ks-small-float 5.7s ease-in-out -1s infinite; }
.ks-floating-counter strong { color: #0b88e5; font-size: 22px; line-height: 1; }
.ks-floating-counter span { color: #596d80; font-size: 8px; line-height: 1.4; }
@keyframes ks-small-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.ks-metric-band { position: relative; z-index: 3; border-top: 1px solid #e0e9f0; border-bottom: 1px solid #e0e9f0; background: rgba(255,255,255,.86); }
.ks-metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.ks-metrics div { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 114px; text-align: center; }
.ks-metrics div:not(:last-child)::after { content: ""; position: absolute; top: 32%; right: 0; width: 1px; height: 36%; background: #e0e8ef; }
.ks-metrics strong { color: #102b47; font-size: 27px; letter-spacing: -.04em; }
.ks-metrics span { margin-top: 5px; color: #708195; font-size: 11px; font-weight: 650; }

.ks-section { position: relative; padding: 108px 0; }
.ks-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 80px; align-items: end; margin-bottom: 50px; }
.ks-section-heading h2,
.ks-continuity h2,
.ks-company h2 { margin: 12px 0 0; color: #0c2743; font-size: clamp(32px, 4vw, 48px); line-height: 1.09; letter-spacing: -.045em; }
.ks-section-heading p,
.ks-continuity-copy > p,
.ks-company-copy > p { margin: 0; color: #66788c; font-size: 15px; line-height: 1.75; }
.ks-capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ks-about { background: #fff; color: var(--ks-ink); }
.ks-capability-card { position: relative; min-height: 285px; overflow: hidden; padding: 28px 25px; border: 1px solid #e0e9f0; border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(27, 67, 100, .055); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ks-capability-card:hover { transform: translateY(-6px); border-color: #c6dceb; box-shadow: 0 25px 55px rgba(27, 67, 100, .11); }
.ks-card-number { position: absolute; top: 23px; right: 23px; color: #b9c8d5; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.ks-card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 50px; border-radius: 14px; }
.ks-card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ks-card-blue .ks-card-icon { color: #087ee7; background: #e8f4ff; }
.ks-card-green .ks-card-icon { color: #14936f; background: #e7f8f2; }
.ks-card-orange .ks-card-icon { color: #e28420; background: #fff2df; }
.ks-card-violet .ks-card-icon { color: #7558d9; background: #f0edff; }
.ks-capability-card h3 { margin: 0 0 12px; color: #17324d; font-size: 17px; }
.ks-capability-card p { margin: 0; color: #6b7c8e; font-size: 13px; line-height: 1.7; }

.ks-continuity { overflow: hidden; background: #071c34; }
.ks-continuity::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(rgba(97,181,243,.4) 1px, transparent 1px); background-size: 27px 27px; mask-image: linear-gradient(90deg,#000,transparent 60%); }
.ks-continuity-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.ks-continuity-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.ks-ring { position: absolute; border: 1px solid rgba(91, 180, 238, .22); border-radius: 50%; }
.ks-ring-outer { width: 370px; height: 370px; animation: ks-spin 24s linear infinite; }
.ks-ring-outer::before,.ks-ring-inner::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #1eb5f2; box-shadow: 0 0 20px #1eb5f2; }
.ks-ring-inner { width: 255px; height: 255px; border-style: dashed; animation: ks-spin 18s linear reverse infinite; }
.ks-ring-inner::before { top: 50%; left: -5px; background: #40d1a3; box-shadow: 0 0 20px #40d1a3; }
@keyframes ks-spin { to { transform: rotate(360deg); } }
.ks-continuity-logo { position: relative; z-index: 2; width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 40px; background: rgba(255,255,255,.07); box-shadow: 0 25px 70px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.ks-continuity-logo img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 13px 20px rgba(0,0,0,.28)); }
.ks-orbit-label { position: absolute; z-index: 3; padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #d7ebfa; font-size: 10px; font-weight: 700; background: rgba(12, 43, 72, .88); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.ks-orbit-cloud { top: 41px; right: 48px; }
.ks-orbit-pos { bottom: 43px; left: 35px; }
.ks-orbit-mobile { bottom: 87px; right: 9px; }
.ks-continuity .ks-section-kicker { color: #54c4f7; }
.ks-continuity h2 { max-width: 600px; color: #f4f9fd; }
.ks-continuity-copy > p { max-width: 610px; margin-top: 22px; color: #a7bbce; }
.ks-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-top: 31px; }
.ks-check-grid span { display: flex; align-items: center; gap: 9px; color: #dbe8f2; font-size: 12px; font-weight: 650; }
.ks-check-grid i { width: 17px; height: 17px; position: relative; border-radius: 50%; background: rgba(49,201,159,.14); }
.ks-check-grid i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 8px; border-right: 2px solid #3fd2a5; border-bottom: 2px solid #3fd2a5; transform: rotate(45deg); }

.ks-company { padding-bottom: 90px; background: #fff; }
.ks-company-card { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 40px 44px; border: 1px solid #dae7f0; border-radius: 26px; background: linear-gradient(120deg, #f7fbfe, #fff); box-shadow: var(--ks-shadow); }
.ks-company-logo { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 25px; background: #fff; box-shadow: 0 14px 40px rgba(24,72,110,.1); }
.ks-company-logo img { width: 88px; height: 88px; object-fit: contain; }
.ks-company h2 { max-width: 690px; margin-top: 8px; font-size: clamp(27px, 3vw, 38px); }
.ks-company-copy > p { max-width: 730px; margin-top: 13px; font-size: 13px; }
.ks-company-link { display: inline-flex; align-items: center; gap: 8px; padding: 13px 16px; border: 1px solid #cbdce9; border-radius: 12px; color: #0b73d3; font-size: 12px; font-weight: 750; white-space: nowrap; transition: background .2s, transform .2s; }
.ks-company-link:hover { color: #0864ba; background: #edf7ff; transform: translateY(-2px); }

.ks-final-cta { padding: 58px 0; background: linear-gradient(115deg, #08223e, #0a345a 60%, #0b4f75); }
.ks-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ks-final-cta span { color: #60caf5; font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.ks-final-cta h2 { margin: 7px 0 0; color: #fff; font-size: clamp(25px, 3vw, 35px); letter-spacing: -.035em; }
.ks-final-cta .ks-signin-button span { color: #fff; font-size: 15px; letter-spacing: 0; text-transform: none; }
.ks-public-footer { padding: 25px 0; border-top: 1px solid #dce6ee; color: #748498; font-size: 11px; background: #f7fafc; }
.ks-public-footer .ks-shell { display: flex; justify-content: space-between; gap: 20px; }
.ks-public-footer a { color: #0873d6; font-weight: 700; }

/* Login */
.keen-login-page {
    position: relative;
    background:
        linear-gradient(115deg, rgba(5, 32, 59, .035) 0 42%, transparent 42% 100%),
        radial-gradient(circle at 9% 78%, rgba(105, 64, 190, .08), transparent 28%),
        radial-gradient(circle at 90% 18%, rgba(0, 151, 244, .11), transparent 31%),
        linear-gradient(145deg, #f7fbff 0%, #fff 47%, #f4faff 100%);
}
.keen-login-page::after {
    content: "";
    position: fixed;
    z-index: 0;
    left: clamp(-95px, -5vw, -45px);
    bottom: -105px;
    width: clamp(260px, 25vw, 410px);
    aspect-ratio: 1;
    pointer-events: none;
    opacity: .075;
    background: url("../img/keen-logo.png") center / contain no-repeat;
    filter: saturate(1.2) drop-shadow(0 22px 45px rgba(4, 108, 189, .18));
    animation: ks-ambient-logo 12s ease-in-out infinite;
}
.keen-login-page .ks-page-glow { filter: blur(38px); }
.keen-login-page .ks-page-glow-one {
    width: 650px;
    height: 650px;
    opacity: .22;
    background: conic-gradient(from 205deg, rgba(0, 137, 239, .75), rgba(27, 203, 235, .6), rgba(121, 211, 59, .52), rgba(255, 197, 36, .56), rgba(255, 103, 42, .45), rgba(147, 73, 213, .48), rgba(0, 137, 239, .75));
    animation: ks-spectrum-drift 15s ease-in-out infinite alternate;
}
.keen-login-page .ks-page-glow-two {
    width: 520px;
    height: 520px;
    opacity: .18;
    background: conic-gradient(from 25deg, rgba(255, 67, 84, .46), rgba(255, 165, 27, .48), rgba(94, 211, 76, .38), rgba(0, 159, 239, .52), rgba(119, 70, 199, .45), rgba(255, 67, 84, .46));
    animation: ks-spectrum-drift 18s ease-in-out -7s infinite alternate-reverse;
}
@keyframes ks-spectrum-drift {
    from { transform: translate3d(-2%, -1%, 0) rotate(-8deg) scale(.93); }
    to { transform: translate3d(8%, 6%, 0) rotate(18deg) scale(1.08); }
}
@keyframes ks-ambient-logo {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg) scale(.96); }
    50% { transform: translate3d(20px, -24px, 0) rotate(3deg) scale(1.04); }
}
.ks-login-shell { min-height: calc(100vh - 78px); padding: 42px 24px; display: flex; align-items: center; }
.ks-login-layout { width: min(1120px, 100%); min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); overflow: hidden; margin: 0 auto; border: 1px solid transparent; border-radius: 28px; background: linear-gradient(rgba(255,255,255,.74), rgba(255,255,255,.74)) padding-box, linear-gradient(135deg, rgba(0, 151, 238, .62), rgba(101, 208, 66, .32) 28%, rgba(255, 185, 28, .35) 52%, rgba(239, 55, 77, .28) 74%, rgba(120, 68, 194, .48)) border-box; box-shadow: 0 34px 90px rgba(21, 61, 93, .18), 0 8px 24px rgba(0, 135, 222, .08), inset 0 1px 0 rgba(255,255,255,.84); backdrop-filter: blur(20px) saturate(1.16); -webkit-backdrop-filter: blur(20px) saturate(1.16); animation: ks-login-enter .7s cubic-bezier(.2,.75,.25,1) both; }
@keyframes ks-login-enter { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

.ks-login-story { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 58px 58px 40px; color: #fff; background: radial-gradient(circle at 83% 20%, rgba(0, 155, 232, .36), transparent 31%), radial-gradient(circle at 20% 88%, rgba(102, 66, 184, .22), transparent 38%), linear-gradient(145deg, #071d3c 0%, #092f55 54%, #074f75 100%); }
.ks-login-story::before { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .45; background-image: radial-gradient(rgba(102,205,255,.48) 1px, transparent 1px); background-size: 29px 29px; mask-image: linear-gradient(135deg, #000, transparent 78%); }
.ks-login-story::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4, 24, 51, .6) 0%, rgba(5, 33, 62, .31) 64%, rgba(5, 36, 62, .12) 100%); }
.ks-login-story-content,.ks-login-story-footer { position: relative; z-index: 2; }
.ks-login-glass-atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.ks-login-glass-orb,.ks-login-glass-flow { position: absolute; display: block; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(49,190,224,.12) 50%, rgba(116,67,194,.16)); box-shadow: inset 13px 16px 28px rgba(255,255,255,.13), 0 24px 54px rgba(0,10,28,.18); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }
.ks-login-glass-orb { border-radius: 45% 55% 61% 39% / 53% 42% 58% 47%; animation: ks-login-glass-drift 9s ease-in-out infinite alternate; }
.ks-login-glass-orb-one { width: 270px; height: 270px; top: -120px; left: -105px; }
.ks-login-glass-orb-two { width: 210px; height: 190px; right: -85px; bottom: 12px; animation-delay: -4s; }
.ks-login-glass-flow { width: 520px; height: 125px; right: -280px; top: 130px; border-radius: 52% 48% 43% 57% / 61% 44% 56% 39%; transform: rotate(-16deg); animation: ks-login-glass-flow 10s ease-in-out infinite alternate; }
@keyframes ks-login-glass-drift { to { transform: translate(18px,-14px) rotate(8deg) scale(1.04); } }
@keyframes ks-login-glass-flow { to { transform: translate(-24px,16px) rotate(-11deg) scale(1.05); } }
.ks-brand-ribbons { position: absolute; z-index: -1; right: -245px; bottom: -115px; width: 610px; height: 480px; pointer-events: none; transform: rotate(-19deg); filter: drop-shadow(0 25px 28px rgba(0, 5, 20, .22)); animation: ks-ribbon-float 9s ease-in-out infinite; }
.ks-brand-ribbons span { position: absolute; right: 0; width: 590px; height: 72px; border: 1px solid rgba(255,255,255,.31); border-radius: 100% 18% 68% 42% / 58% 34% 64% 42%; clip-path: polygon(0 19%, 100% 0, 96% 82%, 7% 100%); box-shadow: inset 0 12px 14px rgba(255,255,255,.46), inset 0 -14px 20px rgba(0,25,72,.22), 0 13px 18px rgba(0,8,28,.18); transform-origin: 88% 50%; filter: saturate(1.04); }
.ks-ribbon-green { top: 0; background: linear-gradient(105deg, #36b95e 4%, #8ddb3f 42%, #28af72 96%); transform: rotate(-6deg) translateX(10px); }
.ks-ribbon-blue { top: 58px; background: linear-gradient(105deg, #064fc4 2%, #058de9 49%, #073d9b 100%); transform: rotate(-3deg) translateX(-14px); }
.ks-ribbon-cyan { top: 116px; background: linear-gradient(105deg, #00a6d9 2%, #27d1f1 48%, #007bc0 100%); transform: rotate(1deg) translateX(5px); }
.ks-ribbon-yellow { top: 174px; background: linear-gradient(105deg, #ffad16 2%, #ffd643 48%, #f28a18 100%); transform: rotate(5deg) translateX(-9px); }
.ks-ribbon-orange { top: 232px; background: linear-gradient(105deg, #ff6b24 2%, #ff9f1c 50%, #e64b23 100%); transform: rotate(8deg) translateX(12px); }
.ks-ribbon-red { top: 290px; background: linear-gradient(105deg, #e82445 2%, #ff5361 49%, #bd1e50 100%); transform: rotate(11deg) translateX(-12px); }
.ks-ribbon-violet { top: 348px; background: linear-gradient(105deg, #5e36a8 2%, #9a61df 48%, #4e288a 100%); transform: rotate(14deg) translateX(6px); }
@keyframes ks-ribbon-float {
    0%, 100% { transform: rotate(-19deg) translate3d(0, 0, 0) scale(1); }
    50% { transform: rotate(-16deg) translate3d(-15px, -18px, 0) scale(1.025); }
}
.ks-login-kicker { color: #72d9ff; }
.ks-login-story h1 { max-width: 480px; margin: 24px 0 18px; color: #fff; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.048em; }
.ks-login-story-content > p { max-width: 475px; margin: 0; color: #c2d5e4; font-size: 15px; line-height: 1.75; text-shadow: 0 1px 7px rgba(2, 17, 37, .44); }
.ks-login-services { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; width: min(470px,100%); margin-top: 22px; }
.ks-login-services span { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 31px; padding: 7px 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #dcecf7; font-size: 9px; font-weight: 750; white-space: nowrap; background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.045)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.ks-login-services i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--service-dot); box-shadow: 0 0 0 3px color-mix(in srgb,var(--service-dot) 16%,transparent), 0 0 10px color-mix(in srgb,var(--service-dot) 55%,transparent); }
.ks-service-dot-green { --service-dot: #58d66e; }
.ks-service-dot-blue { --service-dot: #36a7ff; }
.ks-service-dot-orange { --service-dot: #ffab32; }
.ks-service-dot-purple { --service-dot: #ad7bef; }
.ks-login-benefits { display: grid; gap: 14px; margin-top: 30px; }
.ks-login-benefits > div { display: flex; align-items: center; gap: 14px; }
.ks-benefit-icon { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: #5ac7f7; background: rgba(255,255,255,.07); }
.ks-benefit-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ks-login-benefits > div > span:last-child { display: flex; flex-direction: column; }
.ks-login-benefits strong { color: #f0f7fc; font-size: 13px; }
.ks-login-benefits small { margin-top: 4px; color: #b2c7d8; font-size: 10px; text-shadow: 0 1px 5px rgba(2, 17, 37, .5); }
.ks-login-story-footer { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; color: #8ba7bd; font-size: 10px; }
.ks-login-story-footer strong { color: #d7e7f2; font-size: 10px; }
.ks-story-orbit { position: absolute; z-index: 1; border: 1px solid rgba(91, 194, 242, .16); border-radius: 50%; }
.ks-story-orbit-one { width: 390px; height: 390px; top: -230px; left: -180px; }
.ks-story-orbit-two { width: 520px; height: 520px; right: -380px; bottom: -280px; }

.ks-login-form-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 34px 38px; background: radial-gradient(circle at 84% 10%, rgba(31,185,222,.13),transparent 27%), radial-gradient(circle at 8% 92%,rgba(111,67,184,.1),transparent 30%), linear-gradient(145deg,rgba(255,255,255,.91),rgba(246,251,255,.8)); font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.ks-login-form-panel::before,.ks-login-form-panel::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.7); border-radius: 48% 52% 57% 43% / 61% 42% 58% 39%; background: linear-gradient(145deg,rgba(44,194,228,.13),rgba(255,255,255,.18),rgba(112,64,184,.1)); box-shadow: inset 14px 18px 30px rgba(255,255,255,.34),0 20px 55px rgba(7,38,74,.08); filter: blur(.1px); }
.ks-login-form-panel::before { width: 280px; height: 240px; top: -125px; right: -95px; }
.ks-login-form-panel::after { width: 230px; height: 210px; left: -125px; bottom: -105px; }
.login-card { width: 100%; max-width: 420px; padding: 30px; border: 1px solid rgba(255,255,255,.82); border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.84),rgba(241,249,254,.67)); box-shadow: 0 24px 58px rgba(12,48,78,.13),inset 0 1px 0 rgba(255,255,255,.96); backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15); }
.login-logo { display: flex; justify-content: flex-start; margin-bottom: 18px; }
.login-logo .logo-ring { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d5e1ea; border-radius: 13px; background: #fff; box-shadow: 0 7px 18px rgba(24,72,110,.08); }
.login-logo img { width: 42px; height: 42px; object-fit: contain; }
.login-heading { margin-bottom: 31px; }
.login-heading > span { display: block; margin-bottom: 8px; color: #0874cf; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.login-heading h2 { margin: 0 0 8px; color: #102942; font-size: 32px; font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.login-heading p { margin: 0; color: #63768a; font-size: 13px; font-weight: 550; line-height: 1.5; }
.login-form-group { margin-bottom: 22px; }
.login-input-group label { display: block; margin: 0 0 9px; color: #203b55; font-size: 12px; font-weight: 800; letter-spacing: .005em; }
.login-input-group .label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.login-input-group .label-row a { margin-bottom: 9px; color: #066fc9; font-size: 11px; font-weight: 700; }
.login-input-group .label-row a:hover { color: #075fab; text-decoration: underline; }
.login-input-wrap { position: relative; }
.login-input-wrap .input-icon { position: absolute; z-index: 2; top: 50%; left: 16px; color: #60788f; transform: translateY(-50%); pointer-events: none; transition: color .2s; }
.login-input-wrap input { width: 100%; height: 55px; padding: 0 48px 0 47px; border: 1.5px solid #b7c6d4; border-radius: 11px; outline: none; color: #102942 !important; -webkit-text-fill-color: #102942; caret-color: #0878d3; font-size: 14px; font-weight: 650; line-height: normal; background: #fff !important; box-shadow: 0 1px 2px rgba(18, 50, 78, .04); color-scheme: light; transition: border-color .2s, box-shadow .2s; }
.login-input-wrap input::placeholder { color: #718599; -webkit-text-fill-color: #718599; opacity: 1; font-weight: 500; }
.login-input-wrap input:hover { border-color: #8ea6ba; }
.login-input-wrap input:focus { border-color: #087bd7; background: #fff !important; box-shadow: 0 0 0 3px rgba(8, 123, 215, .13); }
.login-input-wrap:focus-within .input-icon { color: #0876d3; }
.login-input-wrap input:-webkit-autofill,
.login-input-wrap input:-webkit-autofill:hover,
.login-input-wrap input:-webkit-autofill:focus,
.login-input-wrap input:-webkit-autofill:active {
    border-color: #91a8bb !important;
    -webkit-text-fill-color: #102942 !important;
    caret-color: #0878d3 !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    transition: background-color 99999s ease-out 0s;
}
.login-input-wrap input:autofill {
    border-color: #91a8bb !important;
    color: #102942 !important;
    background: #fff !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
}
.login-input-group.has-error input { border-color: #e96868; box-shadow: 0 0 0 4px rgba(233,104,104,.08); }
.login-pass-toggle { position: absolute; z-index: 2; top: 50%; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; color: #8598aa; background: transparent; cursor: pointer; transform: translateY(-50%); transition: color .2s, background .2s; }
.login-pass-toggle:hover,.login-pass-toggle.is-showing { color: #087bdc; background: #eaf5fd; }
.login-pass-toggle svg { width: 20px; height: 20px; }
.login-remember { display: inline-flex; align-items: center; gap: 10px; margin: -2px 0 1px; color: #52677c; font-size: 12px; font-weight: 600; cursor: pointer; }
.login-remember input { position: relative; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; appearance: none; -webkit-appearance: none; border: 1.5px solid #9aabba; border-radius: 4px; outline: none; background: #fff; cursor: pointer; }
.login-remember input:checked { border-color: #0878d3; background: #0878d3; }
.login-remember input:checked::after { content: ""; position: absolute; top: 2px; left: 5px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.login-remember input:focus-visible { box-shadow: 0 0 0 3px rgba(8, 123, 215, .15); }
.login-recaptcha { display: flex; justify-content: center; overflow: hidden; }
.login-btn { position: relative; width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; border: 1px solid #c84708; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 850; letter-spacing: .01em; text-shadow: 0 1px 1px rgba(119, 38, 0, .45); background: linear-gradient(180deg, #ffb52c 0%, #ff8b18 44%, #ea5a0b 100%); box-shadow: inset 0 2px 0 rgba(255,255,255,.48), inset 0 -4px 0 rgba(154,43,0,.2), 0 5px 0 #bd4209, 0 13px 25px rgba(210, 75, 8, .3); cursor: pointer; transform: translateY(-2px); transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.keen-auth-layout .login-btn { font-weight: 850; }
.login-btn::before { content: ""; position: absolute; inset: 1px 10px auto; height: 45%; border-radius: 10px 10px 50% 50%; opacity: .58; background: linear-gradient(180deg, rgba(255,255,255,.3), transparent); pointer-events: none; }
.login-btn:hover { filter: saturate(1.08) brightness(1.03); transform: translateY(-3px); box-shadow: inset 0 2px 0 rgba(255,255,255,.52), inset 0 -4px 0 rgba(154,43,0,.22), 0 6px 0 #b93d07, 0 16px 29px rgba(210,75,8,.35); }
.login-btn:active { transform: translateY(3px); box-shadow: inset 0 2px 7px rgba(121,32,0,.2), inset 0 -1px 0 rgba(255,255,255,.22), 0 1px 0 #ad3907, 0 6px 14px rgba(210,75,8,.24); }
.login-btn:focus-visible { outline: 3px solid rgba(239, 94, 17, .24); outline-offset: 4px; }
.login-btn span,.login-btn svg { position: relative; }
.login-card .help-block,.login-card .text-danger { display: block; margin: 6px 0 0; color: #d94d4d; font-size: 10px; }
.login-register-link { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 22px; color: #7c8c9e; font-size: 11px; }
.login-register-link a { color: #0a78d8; font-weight: 750; }
.ks-login-help { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #e7edf2; color: #8998a7; font-size: 9px; }

.ks-demo-section { padding: 20px 24px 80px; }
.ks-demo-inner { width: min(1080px, 100%); margin: 0 auto; padding: 28px; border: 1px solid #dce7ef; border-radius: 20px; background: #fff; box-shadow: 0 15px 40px rgba(22,61,92,.08); }
.ks-demo-inner h2 { margin: 0; color: #17314c; font-size: 20px; }
.ks-demo-inner > p { margin: 7px 0 18px; color: #718297; font-size: 12px; }
.ks-demo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.ks-demo-grid a { display: flex; align-items: center; gap: 8px; padding: 11px; border: 1px solid #dce7ef; border-radius: 10px; color: #36516b; font-size: 10px; font-weight: 700; background: #f8fbfd; }
.ks-demo-grid a:hover { color: #0875d5; border-color: #9dcced; background: #edf7fe; }

.keen-guest-page .ks-page-content { padding: 120px 24px 50px; }
.keen-guest-page .container,
.keen-guest-page .container-fluid { position: relative; z-index: 2; }

@media (max-width: 1050px) {
    .ks-hero-grid { grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr); gap: 35px; }
    .ks-floating-stock { left: 3px; }
    .ks-floating-counter { right: 3px; }
    .ks-capability-grid { grid-template-columns: repeat(2, 1fr); }
    .ks-company-card { grid-template-columns: auto 1fr; }
    .ks-company-link { grid-column: 2; justify-self: start; }
    .ks-login-story { padding-left: 44px; padding-right: 44px; }
    .ks-login-form-panel { padding-left: 36px; padding-right: 36px; }
}

@media (max-width: 860px) {
    .ks-header-inner,.ks-shell { width: min(100% - 32px, 700px); }
    .ks-repair-link span { display: none; }
    .ks-hero { padding-top: 54px; }
    .ks-hero-grid { grid-template-columns: 1fr; gap: 42px; }
    .ks-hero-copy { text-align: center; }
    .ks-eyebrow,.ks-hero-actions,.ks-trust-list { justify-content: center; }
    .ks-hero h1,.ks-hero-intro { margin-left: auto; margin-right: auto; }
    .ks-hero-visual { min-height: 480px; }
    .ks-section-heading { grid-template-columns: 1fr; gap: 20px; }
    .ks-continuity-grid { grid-template-columns: 1fr; gap: 45px; }
    .ks-continuity-copy { text-align: center; }
    .ks-continuity h2,.ks-continuity-copy > p { margin-left: auto; margin-right: auto; }
    .ks-check-grid { width: min(520px,100%); margin-left: auto; margin-right: auto; text-align: left; }
    .ks-login-layout { grid-template-columns: 1fr; max-width: 570px; }
    .ks-login-story { min-height: auto; padding: 42px; }
    .ks-login-story h1 { font-size: 34px; }
    .ks-login-benefits { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
    .ks-login-benefits > div { align-items: flex-start; }
    .ks-login-benefits small { display: none; }
    .ks-login-story-footer { display: none; }
    .ks-login-form-panel { padding: 38px; }
    .ks-demo-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
    .ks-page-glow { width: auto; height: 380px; right: 0 !important; left: 0 !important; }
    .ks-site-header { height: 68px; }
    .ks-page-content { padding-top: 68px; }
    .ks-header-inner,.ks-shell { width: calc(100% - 28px); }
    .ks-brand-mark { width: 42px; height: 42px; border-radius: 12px; }
    .ks-brand-mark img { width: 34px; height: 34px; }
    .ks-brand-copy strong { font-size: 14px; }
    .ks-brand-copy small { font-size: 8px; }
    .ks-header-nav { gap: 2px; }
    .ks-language-control summary,.ks-nav-link { min-height: 38px; padding: 0 8px; font-size: 11px !important; }
    .ks-back-home span { display: none; }
    .ks-signin-button-header { min-height: 40px; padding: 0 12px; border-radius: 10px; }
    .ks-signin-button-header svg { display: none; }
    .ks-hero { min-height: auto; padding: 52px 0 64px; }
    .ks-hero h1 { margin-top: 18px; font-size: clamp(39px, 12vw, 56px); }
    .ks-hero-intro { font-size: 15px; line-height: 1.65; }
    .ks-hero-actions { align-items: stretch; flex-direction: column; }
    .ks-signin-button-hero,.ks-secondary-button { width: 100%; }
    .ks-trust-list { gap: 10px 14px; }
    .ks-trust-list li { font-size: 10px; }
    .ks-hero-visual { min-height: 370px; margin: 4px -4px 0; }
    .ks-hero-visual::before { width: 100%; height: 100%; }
    .ks-dashboard-window { border-radius: 17px; transform: none; animation: none; }
    .ks-window-bar { height: 35px; }
    .ks-dashboard-body { min-height: 270px; grid-template-columns: 43px 1fr; }
    .ks-preview-sidebar { gap: 12px; padding: 12px 7px; }
    .ks-preview-sidebar img { width: 28px; height: 28px; }
    .ks-preview-sidebar span { width: 18px; height: 5px; }
    .ks-preview-main { padding: 16px 12px; }
    .ks-preview-heading { margin-bottom: 12px; }
    .ks-stat-row { gap: 6px; }
    .ks-stat-row article { padding: 9px 7px; border-radius: 9px; }
    .ks-stat-row strong { font-size: 12px; }
    .ks-chart-card { padding: 10px 10px 3px; }
    .ks-chart-card svg { height: 90px; }
    .ks-floating-counter { top: 4px; right: -4px; }
    .ks-floating-stock { left: -4px; bottom: 3px; }
    .ks-floating-card { border-radius: 11px; }
    .ks-floating-stock { padding: 8px 10px; }
    .ks-floating-icon { width: 30px; height: 30px; }
    .ks-floating-counter { padding: 8px 10px; }
    .ks-floating-counter strong { font-size: 16px; }
    .ks-metrics { grid-template-columns: repeat(2, 1fr); }
    .ks-metrics div:nth-child(2)::after { display: none; }
    .ks-metrics div { min-height: 95px; }
    .ks-section { padding: 75px 0; }
    .ks-section-heading { margin-bottom: 32px; }
    .ks-section-heading h2,.ks-continuity h2 { font-size: 34px; }
    .ks-section-heading p { font-size: 14px; }
    .ks-capability-grid { grid-template-columns: 1fr; }
    .ks-capability-card { min-height: auto; padding: 23px; }
    .ks-card-icon { margin-bottom: 27px; }
    .ks-continuity-grid { gap: 26px; }
    .ks-continuity-visual { min-height: 300px; transform: scale(.82); margin: -25px -40px; }
    .ks-check-grid { grid-template-columns: 1fr; gap: 12px; }
    .ks-company-card { grid-template-columns: 1fr; justify-items: center; padding: 30px 23px; text-align: center; }
    .ks-company-link { grid-column: 1; justify-self: center; white-space: normal; }
    .ks-final-cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .ks-public-footer .ks-shell { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    .ks-login-shell { min-height: calc(100vh - 68px); padding: 20px 12px 32px; align-items: flex-start; }
    .ks-login-layout { border-radius: 20px; }
    .ks-login-story { padding: 30px 24px; }
    .ks-login-story::after { background: linear-gradient(90deg, rgba(4, 22, 48, .74), rgba(5, 31, 59, .56) 68%, rgba(5, 36, 62, .38)); }
    .ks-brand-ribbons { right: -135px; bottom: -130px; opacity: .62; mask-image: linear-gradient(90deg, transparent 8%, #000 62%); -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 62%); }
    .ks-login-story h1 { margin: 18px 0 11px; font-size: 29px; }
    .ks-login-story-content > p { font-size: 12px; }
    .ks-login-services { gap: 5px; margin-top: 17px; }
    .ks-login-services span { min-height: 29px; padding: 6px 4px; font-size: 8px; }
    .ks-login-benefits { display: flex; flex-wrap: wrap; margin-top: 23px; }
    .ks-login-benefits > div { gap: 7px; }
    .ks-benefit-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
    .ks-benefit-icon svg { width: 16px; height: 16px; }
    .ks-login-benefits strong { font-size: 10px; }
    .ks-login-form-panel { padding: 24px 16px 26px; }
    .login-card { max-width: none; padding: 25px 20px; border-radius: 20px; }
    .login-heading { margin-bottom: 25px; }
    .login-heading h2 { font-size: 26px; }
    .login-input-group .label-row { align-items: flex-start; }
    .login-input-group .label-row a { max-width: 150px; text-align: right; }
    .ks-demo-section { padding-left: 12px; padding-right: 12px; }
    .ks-demo-inner { padding: 20px; }
    .ks-demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 410px) {
    .ks-brand-copy small { display: none; }
    .ks-brand { gap: 7px; }
    .ks-brand-mark { width: 38px; height: 38px; }
    .ks-brand-mark img { width: 31px; height: 31px; }
    .ks-brand-copy strong { font-size: 12px; }
    .ks-language-control summary { max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ks-repair-link { display: none; }
    .ks-hero h1 { font-size: 38px; }
    .ks-login-story { padding: 26px 20px; }
    .ks-login-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ks-login-form-panel { padding-left: 20px; padding-right: 20px; }
    .login-card { padding: 23px 17px; }
    .ks-login-benefits > div:nth-child(3) { display: none; }
}

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