/* ==========================================================================
   yourKEYtoIT - site overrides and additions on top of the Appway template.
   Keep custom rules here so the vendor stylesheets stay untouched and
   upgradeable.
   ========================================================================== */

:root {
    --ykti-primary: #4527a4;
    --ykti-primary-dark: #351d80;
    --ykti-accent: #7c5cd6;
    --ykti-ink: #17133a;
    --ykti-body: #5b5a72;
    --ykti-line: #e6e2f3;
    --ykti-surface: #f7f6fc;
}

/* --------------------------------------------------------------- logo --- */

.ykti-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1;
}

.ykti-logo__mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
}

.ykti-logo__word {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--ykti-ink);
    white-space: nowrap;
}

.ykti-logo__word {
    font-weight: 400;
}

.ykti-logo__key,
.ykti-logo__it {
    color: var(--ykti-primary);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.ykti-logo--sm .ykti-logo__mark { width: 32px; height: 32px; }
.ykti-logo--sm .ykti-logo__word { font-size: 21px; }

.ykti-logo--stack { flex-direction: column; gap: 10px; }

.ykti-logo--footer { margin-bottom: 22px; }

/* Every place the logo appears sits on the brand purple — the header bar, the
   sticky bar, the mobile drawer and the footer. The default ink colors above
   are purple-on-purple there, which renders the wordmark with holes in it.
   Light treatment is the rule for all of them; the dark ink only applies if the
   mark is ever placed on a light surface. */
.main-header .ykti-logo__word,
.sticky-header .ykti-logo__word,
.mobile-menu .ykti-logo__word,
.ykti-logo--footer .ykti-logo__word { color: #ffffff; }

.main-header .ykti-logo__key,
.main-header .ykti-logo__it,
.sticky-header .ykti-logo__key,
.sticky-header .ykti-logo__it,
.mobile-menu .ykti-logo__key,
.mobile-menu .ykti-logo__it,
.ykti-logo--footer .ykti-logo__key,
.ykti-logo--footer .ykti-logo__it { color: #c9b6fb; }

.main-header .logo-box { padding: 22px 0; }
.sticky-header .logo-box { padding: 12px 0; }

/* ------------------------------------------------------------- layout --- */

/* The template ships a 749px inner-page banner. Nothing overlaps it here, so
   bring it down to something proportionate. */
.page-title { padding: 235px 0 125px; }
.page-title .content-box .title-box h1 { font-size: 42px; line-height: 54px; padding-bottom: 34px; margin-bottom: 22px; }

.ykti-prose-section { padding: 90px 0; }

.ykti-prose { color: var(--ykti-body); font-size: 17px; line-height: 30px; }
.ykti-prose h2 {
    color: var(--ykti-ink);
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    margin: 44px 0 18px;
}
.ykti-prose h2:first-child { margin-top: 0; }
.ykti-prose h3 {
    color: var(--ykti-ink);
    font-size: 21px;
    font-weight: 600;
    margin: 30px 0 12px;
}
.ykti-prose p { margin-bottom: 18px; }
.ykti-prose a { color: var(--ykti-primary); text-decoration: underline; }
.ykti-prose a:hover { color: var(--ykti-accent); }

.ykti-prose--lead { font-size: 20px; line-height: 34px; }
.ykti-prose--lead p { margin-bottom: 0; }

.ykti-prose--legal { font-size: 16px; line-height: 28px; }
.ykti-prose--legal h2 { font-size: 24px; line-height: 32px; margin-top: 40px; }

.ykti-meta {
    color: #8a87a3;
    font-size: 14.5px;
    line-height: 24px;
    padding: 16px 20px;
    background: var(--ykti-surface);
    border-left: 3px solid var(--ykti-primary);
    border-radius: 0 6px 6px 0;
}

/* --------------------------------------------------------------- lists --- */

.ykti-list { margin: 0 0 20px; padding: 0; list-style: none; }
.ykti-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 11px;
    color: var(--ykti-body);
    line-height: 27px;
}
.ykti-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 13px;
    color: var(--ykti-primary);
}
.ykti-list a { color: var(--ykti-primary); text-decoration: underline; }

.ykti-list--two-col { column-count: 2; column-gap: 44px; }
.ykti-list--two-col li { break-inside: avoid; }

.ykti-list--inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 26px;
    margin-top: 34px;
}
.ykti-list--inline li { padding-left: 0; margin-bottom: 0; }
.ykti-list--inline li:before { display: none; }

/* -------------------------------------------------------------- steps --- */

.ykti-steps { padding: 100px 0 70px; background: var(--ykti-surface); }
.ykti-step-col { margin-bottom: 30px; }

.ykti-step {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--ykti-line);
    border-radius: 10px;
    padding: 34px 30px 30px;
    transition: all 300ms ease;
}
.ykti-step:hover {
    border-color: var(--ykti-primary);
    box-shadow: 0 18px 40px rgba(69, 39, 164, 0.12);
    transform: translateY(-4px);
}
.ykti-step__num {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--ykti-accent);
    margin-bottom: 14px;
}
.ykti-step h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--ykti-ink);
    margin-bottom: 12px;
}
.ykti-step p { color: var(--ykti-body); font-size: 16px; line-height: 27px; margin: 0; }

/* ------------------------------------------------------- capabilities --- */

.ykti-capabilities { padding: 100px 0 70px; }
.ykti-cap-col { margin-bottom: 30px; }

.ykti-cap {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--ykti-line);
    border-radius: 10px;
    padding: 36px 32px 32px;
    transition: all 300ms ease;
}
.ykti-cap:hover {
    border-color: var(--ykti-primary);
    box-shadow: 0 18px 40px rgba(69, 39, 164, 0.12);
    transform: translateY(-4px);
}
.ykti-cap__icon {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    background: rgba(69, 39, 164, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.ykti-cap__icon i { font-size: 28px; color: var(--ykti-primary); line-height: 1; }
.ykti-cap h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--ykti-ink);
    margin-bottom: 13px;
}
.ykti-cap p { color: var(--ykti-body); font-size: 16px; line-height: 27px; margin: 0; }
.ykti-cap--tall .ykti-list { margin-top: 20px; margin-bottom: 0; }

.ykti-usecases { padding: 20px 0 80px; }
.ykti-usecase {
    height: 100%;
    background: var(--ykti-surface);
    border-radius: 10px;
    padding: 30px 28px;
    border-top: 3px solid var(--ykti-primary);
}
.ykti-usecase h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ykti-ink);
    margin-bottom: 11px;
}
.ykti-usecase p { color: var(--ykti-body); font-size: 15.5px; line-height: 26px; margin: 0; }

/* ------------------------------------------------------------ pricing --- */

.ykti-price--quote { font-size: 40px !important; }
.ykti-price--quote span { display: block; }

.ykti-pricing-note {
    max-width: 760px;
    margin: 44px auto 0;
    text-align: center;
    color: var(--ykti-body);
    font-size: 15.5px;
    line-height: 27px;
}

.ykti-includes { margin-top: 34px; }

/* --------------------------------------------------------------- faq --- */

.ykti-faq .faq-content + .faq-content { margin-top: 55px; }
.ykti-faq .acc-content .text a { color: var(--ykti-primary); text-decoration: underline; }

/* -------------------------------------------------------------- forms --- */

.ykti-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ykti-select {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    background: #ffffff;
    border: 1px solid var(--ykti-line);
    border-radius: 6px;
    padding: 0 20px;
    font-size: 16px;
    color: var(--ykti-body);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%235b5a72' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}
.ykti-select:focus { border-color: var(--ykti-primary); outline: none; }

.ykti-consent {
    font-size: 14px;
    line-height: 24px;
    color: #7d7b93;
    margin-bottom: 22px;
}
.ykti-consent a { color: var(--ykti-primary); text-decoration: underline; }

.ykti-form__status {
    display: none;
    margin-top: 14px;
    font-size: 15px;
    line-height: 25px;
    border-radius: 6px;
    padding: 12px 18px;
}
.ykti-form__status.is-visible { display: block; }
.ykti-form__status--ok { background: #e8f6ee; color: #1c6b3f; }
.ykti-form__status--error { background: #fdeceb; color: #9a2820; }
.ykti-form__status--block { text-align: center; }
.ykti-form__status a { color: inherit; text-decoration: underline; }

.ykti-form button[disabled] { opacity: 0.65; cursor: not-allowed; }

.ykti-info-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(69, 39, 164, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ykti-info-icon i { font-size: 32px; color: var(--ykti-primary); line-height: 1; }

/* --------------------------------------------------------------- 404 --- */

.ykti-error { padding: 140px 0 130px; }
.ykti-error__code {
    font-size: 120px;
    line-height: 1;
    font-weight: 700;
    color: var(--ykti-primary);
    opacity: 0.18;
    margin-bottom: 10px;
}
.ykti-error h2 { font-size: 36px; font-weight: 700; color: var(--ykti-ink); margin-bottom: 16px; }
.ykti-error p { color: var(--ykti-body); font-size: 17px; margin-bottom: 34px; }
.ykti-error__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 30px;
}
.ykti-error__alt { color: var(--ykti-primary); text-decoration: underline; }

/* -------------------------------------------------------- responsive --- */

@media only screen and (max-width: 991px) {
    .page-title { padding: 175px 0 90px; }
    .page-title .content-box .title-box h1 { font-size: 34px; line-height: 44px; }
    .ykti-prose-section,
    .ykti-capabilities,
    .ykti-steps { padding: 70px 0 45px; }
    .ykti-list--two-col { column-count: 1; }
    .ykti-logo__word { font-size: 22px; }
    .ykti-logo__mark { width: 34px; height: 34px; }
}

@media only screen and (max-width: 599px) {
    .ykti-error__code { font-size: 84px; }
    .ykti-error h2 { font-size: 27px; }
    .ykti-prose h2 { font-size: 25px; line-height: 34px; }
}
