:root {
    --kx-ink: #26312d;
    --kx-muted: #6f746f;
    --kx-line: #eee2da;
    --kx-warm: #fffdf7;
    --kx-soft: #fff9f5;
    --kx-accent: #2f8f9d;
    --kx-primary: #f26b4f;
    --kx-primary-dark: #d9573e;
    --kx-dark: #263b39
}

.kx-seo-page {
    overflow: hidden;
    background: var(--kx-warm);
    color: var(--kx-ink)
}

.kx-seo-page .shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto
}

.kx-seo-hero {
    padding: 54px 0 66px;
    border-bottom: 1px solid var(--kx-line);
    background: linear-gradient(135deg, #fffdf7 0%, #fff8f2 100%)
}

.kx-seo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
    gap: 56px;
    align-items: center;
}

.kx-seo-hero-copy {
    min-width: 0
}

.kx-seo-hero .breadcrumb {
    margin-bottom: 28px
}

.kx-seo-hero .breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--kx-muted);
    font-size: 14px
}

.kx-seo-hero .breadcrumb a {
    color: inherit;
    text-decoration: none
}

.kx-seo-eyebrow {
    margin: 0 0 12px;
    color: var(--kx-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em
}

.kx-seo-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--kx-ink);
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.08;
    letter-spacing: 0
}

.kx-seo-lead {
    max-width: 700px;
    margin: 24px 0 0;
    color: #59625e;
    font-size: 18px;
    line-height: 1.85
}

.kx-seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px
}

.kx-seo-actions .btn,
.kx-seo-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.kx-seo-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: #59625e;
    font-size: 14px
}

.kx-seo-proof-list li {
    position: relative;
    padding-left: 17px
}

.kx-seo-proof-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--kx-primary)
}

.kx-seo-hero-media {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--kx-line);
    border-radius: 8px;
    background: #202426;
    box-shadow: 0 18px 48px rgba(38, 49, 45, .08)
}

.kx-seo-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none
}

.kx-seo-hero-note {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 2px;
    width: min(280px, calc(100% - 36px));
    max-width: calc(100% - 36px);
    padding: 13px 16px;
    border: 0;
    border-left: 4px solid var(--kx-primary);
    border-radius: 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 28px rgba(38, 49, 45, .14)
}

.kx-seo-hero-note strong {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis
}

.kx-seo-hero-note span {
    color: var(--kx-muted);
    font-size: 12px;
    line-height: 1.55
}

.kx-seo-proof-band {
    background: #fff;
    border-top: 1px solid var(--kx-line);
    border-bottom: 1px solid var(--kx-line)
}

.kx-seo-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.kx-seo-proof-grid article {
    display: flex;
    gap: 13px;
    align-items: center;
    min-height: 108px;
    padding: 18px 22px;
    border-right: 1px solid var(--kx-line)
}

.kx-seo-proof-grid article:first-child {
    border-left: 1px solid var(--kx-line)
}

.kx-seo-proof-grid .icon {
    flex: 0 0 auto;
    color: var(--kx-accent)
}

.kx-seo-proof-grid strong {
    display: block;
    font-size: 16px
}

.kx-seo-proof-grid p {
    margin: 5px 0 0;
    color: var(--kx-muted);
    font-size: 13px;
    line-height: 1.5
}

.kx-seo-section {
    padding: 88px 0
}

.kx-seo-section-soft {
    background: var(--kx-soft)
}

.kx-seo-section-dark {
    color: #f6fbf8;
    background: var(--kx-dark)
}

.kx-seo-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center
}

.kx-seo-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.25;
    letter-spacing: 0
}

.kx-seo-heading>p:last-child {
    margin: 15px auto 0;
    max-width: 680px;
    color: var(--kx-muted);
    font-size: 16px;
    line-height: 1.8
}

.kx-seo-heading-light h2 {
    color: #fff
}

.kx-seo-heading-light>p:last-child {
    color: #c9d8d3
}

.kx-seo-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    max-width: none;
    text-align: left
}

.kx-seo-heading-row>div {
    max-width: 760px
}

.kx-seo-heading-row>div>p:last-child {
    margin-left: 0
}

.kx-seo-heading-row .btn {
    flex: none
}

.kx-seo-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.kx-seo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--kx-line);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.kx-seo-card:hover {
    transform: translateY(-4px);
    border-color: #f1b6a8;
    box-shadow: 0 14px 30px rgba(50, 43, 39, .08)
}

.kx-seo-card-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 24px;
    border-radius: 50%;
    color: #fff;
    background: var(--kx-primary);
    font-size: 13px;
    font-weight: 700
}

.kx-seo-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35
}

.kx-seo-card p {
    margin: 12px 0 22px;
    color: var(--kx-muted);
    font-size: 14px;
    line-height: 1.75
}

.kx-seo-card-link {
    margin-top: auto;
    color: var(--kx-accent);
    font-size: 13px;
    font-weight: 700
}

.kx-seo-scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.kx-seo-scene-grid article {
    padding: 26px 22px;
    border: 1px solid var(--kx-line);
    border-radius: 10px;
    background: #fff
}

.kx-seo-scene-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #fff;
    background: var(--kx-accent);
    font-weight: 700
}

.kx-seo-scene-grid h3 {
    margin: 0;
    font-size: 19px
}

.kx-seo-scene-grid p {
    min-height: 86px;
    margin: 12px 0;
    color: var(--kx-muted);
    font-size: 14px;
    line-height: 1.75
}

.kx-seo-scene-grid a {
    color: var(--kx-primary-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none
}

.kx-seo-reason-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18)
}

.kx-seo-reason-grid article {
    padding: 30px 24px;
    border-right: 1px solid rgba(255, 255, 255, .18)
}

.kx-seo-reason-grid article:first-child {
    border-left: 1px solid rgba(255, 255, 255, .18)
}

.kx-seo-reason-grid strong {
    display: block;
    color: #f5a18e;
    font-size: 28px
}

.kx-seo-reason-grid h3 {
    margin: 15px 0 10px;
    font-size: 19px
}

.kx-seo-reason-grid p {
    margin: 0;
    color: #c9d8d3;
    font-size: 14px;
    line-height: 1.8
}

.kx-seo-process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none
}

.kx-seo-process li {
    position: relative;
    padding: 25px 18px;
    border-top: 3px solid var(--kx-primary);
    border-radius: 8px;
    background: #fff9f5
}

.kx-seo-process li:after {
    content: "";
    position: absolute;
    top: -3px;
    right: -13px;
    width: 13px;
    height: 3px;
    background: var(--kx-line)
}

.kx-seo-process li:last-child:after {
    display: none
}

.kx-seo-process span {
    display: block;
    color: var(--kx-primary);
    font-size: 27px;
    font-weight: 800
}

.kx-seo-process h3 {
    margin: 14px 0 8px;
    font-size: 18px
}

.kx-seo-process p {
    margin: 0;
    color: var(--kx-muted);
    font-size: 13px;
    line-height: 1.7
}

.kx-seo-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.kx-seo-case {
    overflow: hidden;
    border: 1px solid var(--kx-line);
    border-radius: 10px;
    background: #fff
}

.kx-seo-case a {
    display: block;
    color: inherit;
    text-decoration: none
}

.kx-seo-case img {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover
}

.kx-seo-case div {
    padding: 22px
}

.kx-seo-case span {
    color: var(--kx-accent);
    font-size: 12px;
    font-weight: 700
}

.kx-seo-case h3 {
    margin: 9px 0 10px;
    font-size: 20px;
    line-height: 1.4
}

.kx-seo-case p {
    margin: 0;
    color: var(--kx-muted);
    font-size: 14px;
    line-height: 1.75
}

.kx-seo-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: start
}

.kx-seo-faq-layout .kx-seo-heading {
    text-align: left;
    margin: 0
}

.kx-seo-faq-layout .kx-seo-heading>p:last-child {
    margin-left: 0
}

.kx-seo-faq-layout .btn {
    margin-top: 24px
}

.kx-seo-faq-list {
    display: grid;
    gap: 10px
}

.kx-seo-faq-list details {
    border-bottom: 1px solid var(--kx-line)
}

.kx-seo-faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 700
}

.kx-seo-faq-list summary::-webkit-details-marker {
    display: none
}

.kx-seo-faq-list summary span {
    color: var(--kx-primary);
    font-size: 22px;
    font-weight: 400
}

.kx-seo-faq-list p {
    margin: 0 0 18px;
    color: var(--kx-muted);
    font-size: 14px;
    line-height: 1.8
}

.kx-seo-cta {
    padding: 42px 0;
    background: #f5e4db
}

.kx-seo-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px
}

.kx-seo-cta-inner h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.35
}

.kx-seo-cta-inner>div>p:last-child {
    margin: 10px 0 0;
    color: var(--kx-muted);
    line-height: 1.7
}

.kx-seo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: none
}

.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 23px;
    border-radius: 999px;
    color: var(--kx-ink);
    background: #fff;
    text-decoration: none;
    font-weight: 700
}

@media (max-width:980px) {
    .kx-seo-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .kx-seo-hero-copy {
        max-width: 760px
    }

    .kx-seo-hero-media {
        width: 100%;
        max-width: 760px
    }

    .kx-seo-proof-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kx-seo-proof-grid article:nth-child(3) {
        border-left: 1px solid var(--kx-line)
    }

    .kx-seo-card-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kx-seo-scene-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kx-seo-reason-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kx-seo-reason-grid article:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, .18);
        border-top: 1px solid rgba(255, 255, 255, .18)
    }

    .kx-seo-reason-grid article:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .18)
    }

    .kx-seo-process {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px
    }

    .kx-seo-process li:after {
        display: none
    }

    .kx-seo-case-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kx-seo-faq-layout {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .kx-seo-cta-inner {
        align-items: flex-start;
        flex-direction: column
    }
}

@media (max-width:640px) {
    .kx-seo-page .shell {
        width: min(100% - 32px, 1200px)
    }

    .kx-seo-hero {
        padding: 28px 0 48px
    }

    .kx-seo-hero .breadcrumb {
        margin-bottom: 22px
    }

    .kx-seo-hero h1 {
        font-size: 40px
    }

    .kx-seo-lead {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.75
    }

    .kx-seo-actions {
        margin-top: 22px
    }

    .kx-seo-actions .btn {
        width: 100%;
        justify-content: center
    }

    .kx-seo-proof-list {
        gap: 8px 16px;
        font-size: 13px
    }

    .kx-seo-proof-grid {
        grid-template-columns: 1fr
    }

    .kx-seo-proof-grid article,
    .kx-seo-proof-grid article:first-child,
    .kx-seo-proof-grid article:nth-child(3) {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--kx-line)
    }

    .kx-seo-proof-grid article:last-child {
        border-bottom: 0
    }

    .kx-seo-section {
        padding: 58px 0
    }

    .kx-seo-heading {
        margin-bottom: 28px;
        text-align: left
    }

    .kx-seo-heading h2 {
        font-size: 29px
    }

    .kx-seo-heading>p:last-child {
        font-size: 15px
    }

    .kx-seo-card-grid,
    .kx-seo-scene-grid,
    .kx-seo-case-grid {
        grid-template-columns: 1fr
    }

    .kx-seo-card {
        min-height: 0;
        padding: 24px
    }

    .kx-seo-scene-grid p {
        min-height: 0
    }

    .kx-seo-reason-grid {
        grid-template-columns: 1fr
    }

    .kx-seo-reason-grid article,
    .kx-seo-reason-grid article:first-child,
    .kx-seo-reason-grid article:nth-child(3) {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18)
    }

    .kx-seo-reason-grid article:last-child {
        border-bottom: 0
    }

    .kx-seo-process {
        grid-template-columns: 1fr
    }

    .kx-seo-process li {
        padding: 22px
    }

    .kx-seo-heading-row {
        display: block;
        text-align: left
    }

    .kx-seo-heading-row .btn {
        margin-top: 20px
    }

    .kx-seo-faq-layout {
        gap: 28px
    }

    .kx-seo-faq-list summary {
        font-size: 16px
    }

    .kx-seo-cta {
        padding: 34px 0 92px
    }

    .kx-seo-cta-actions,
    .kx-seo-cta-actions .btn {
        width: 100%
    }

    .kx-seo-cta-actions .btn {
        justify-content: center
    }

    .kx-seo-cta-inner h2 {
        font-size: 27px
    }
}

@media (max-width:560px) {
    .kx-seo-hero-media {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none
    }

    .kx-seo-hero-media img {
        border: 1px solid var(--kx-line);
        border-radius: 8px;
        background: #202426;
        box-shadow: 0 14px 34px rgba(38, 49, 45, .1)
    }

    .kx-seo-hero-note {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 10px;
        border: 1px solid var(--kx-line);
        border-left: 4px solid var(--kx-primary);
        background: #fff;
        box-shadow: none
    }

    .kx-seo-hero-note strong {
        white-space: normal
    }
}
