/* SubPals homepage, version 2: the free subscribe link kit plus a looks-only redesign.
   Loaded only when body.sp-kit is on (home.php $sp_kit). Every rule is scoped under
   .sp-kit, so removing the class restores the page exactly. Words, headings, order and
   links are untouched (SubPals Ranking Protection Rule): this file changes looks only.

   Type: Bricolage Grotesque 800 for headings (self-hosted, latin subset, preloaded,
   font-display optional so it can never shift the page), Inter for everything else. */

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 800;
    font-display: optional;
    src: url('/fonts/bricolage-grotesque-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ 0. Tokens ============ */
.sp-kit {
    --k-ink: #14112b;
    --k-text: #3f3b58;
    --k-muted: #5f5a7a;
    --k-line: #e7e4f0;
    --k-line-strong: #d9d5e6;
    --k-tint: #f6f5fb;
    --k-lilac: #f0ecff;
    --k-deep: #16102f;
    --k-deep-text: #cfc9ee;
    --k-purple: #724cf9;
    --k-purple-ink: #5a35e8;
    --k-purple-soft: #a78bfa;
    --k-display: 'Bricolage Grotesque', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --k-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

/* One display face for every big heading and number */
.sp-kit .hero h1,
.sp-kit .section-header h2,
.sp-kit .related-resources h2,
.sp-kit .cta-box h2,
.sp-kit .ai-cta-content h3,
.sp-kit .trust-stat-number,
.sp-kit .sp-quickbuy-price,
.sp-kit .sp-kit-title,
.sp-kit .sp-kit-done h3,
.sp-kit .sp-kit-next h3,
.sp-kit .guide-strategy h3 {
    font-family: var(--k-display);
    font-weight: 800;
}

/* Hidden means hidden, whatever display a class sets */
.sp-kit .sp-kit-tool [hidden] { display: none !important; }

/* ============ 1. Header: same height, glass instead of a flat white bar ============ */
.sp-kit .header {
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--k-line);
}

/* Buttons across the page: solid colour, no gradient */
.sp-kit .btn-primary { background: var(--k-purple); color: #ffffff; }
.sp-kit .btn-primary:hover { background: var(--k-purple-ink); color: #ffffff; }
.sp-kit .btn-large { border-radius: 14px; }

/* ============ 2. Hero ============ */
.sp-kit .hero {
    padding: 3.5rem 0 4.5rem;
    overflow: hidden;
    overflow: clip; /* lets the preview window stay in view while the result grows */
}
.sp-kit .hero::after { display: none; }
.sp-kit .hero h1 {
    font-size: clamp(2rem, 1rem + 3vw, 3.6rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    color: var(--k-ink);
    margin: 0 0 1.75rem;
    text-wrap: balance;
}
.sp-kit .hero-content,
.sp-kit .hero-content.centered {
    width: 100%;
    max-width: 700px;
    min-width: 0;
    margin: 0 auto;
    text-align: left;
}
.sp-kit .hero-content > p {
    max-width: 600px;
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--k-text);
}
.sp-kit .hero-buttons {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: .65rem;
    width: 100%;
    max-width: 460px;
}
.sp-kit .hero-buttons .btn { width: 100%; margin: 0; justify-content: center; text-align: center; }
/* The free button is the one most people should press, so it is the biggest thing here */
.sp-kit .hero-buttons .btn-primary {
    min-height: 66px;
    padding: 0 1.75rem;
    background: var(--k-purple);
    font-size: 1.1875rem;
    border-radius: 16px;
    box-shadow: 0 12px 28px -10px rgba(114, 76, 249, .6);
}
.sp-kit .hero-buttons .btn-primary:hover { background: var(--k-purple-ink); }
.sp-kit .hero-buttons .btn-secondary {
    min-height: 50px;
    padding: 0 1.25rem;
    border-radius: 14px;
    border-color: var(--k-line-strong);
    color: var(--k-ink);
    font-size: .9375rem;
    font-weight: 600;
}
.sp-kit .hero-buy-link { text-align: left; margin-top: .9rem; }
.sp-kit .hero-buy-link a { padding-left: 0; padding-right: 0; text-decoration-thickness: 1px; }

/* Desktop: the promise and the CollabPals button on the left, the free tool beside them */
.sp-kit .sp-kit-preview { display: none; }
@media (min-width: 1024px) {
    .sp-kit .hero-content,
    .sp-kit .hero-content.centered {
        max-width: none;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 420px;
        grid-template-rows: auto auto auto auto 1fr;
        column-gap: 3rem;
        align-items: start;
    }
    .sp-kit .hero-content > * { grid-column: 1; }
    .sp-kit .hero-content > .sp-kit-tool { grid-column: 2; grid-row: 1 / -1; margin: 0; }
    .sp-kit .hero h1 { font-size: clamp(2.5rem, .75rem + 2.9vw, 3.5rem); }
}
@media (min-width: 1280px) {
    .sp-kit .hero-content,
    .sp-kit .hero-content.centered { grid-template-columns: minmax(0, 1fr) 460px; column-gap: 4.5rem; }
}

/* ============ 3. The preview window (what YouTube shows when the link opens) ============ */
.sp-kit .spp-window {
    background: #ffffff;
    border: 1px solid var(--k-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(22, 16, 47, .05), 0 32px 64px -28px rgba(22, 16, 47, .38);
}
.sp-kit .spp-bar {
    display: flex; align-items: center; gap: .75rem;
    padding: .6rem .75rem;
    background: #f3f2f8;
    border-bottom: 1px solid var(--k-line);
}
.sp-kit .spp-dots { display: flex; gap: 5px; flex: 0 0 auto; }
.sp-kit .spp-dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #d6d3e3; }
.sp-kit .spp-dots i:nth-child(1) { background: #f87171; }
.sp-kit .spp-dots i:nth-child(2) { background: #fbbf24; }
.sp-kit .spp-dots i:nth-child(3) { background: #34d399; }
.sp-kit .spp-address {
    flex: 1 1 auto; min-width: 0;
    display: flex; align-items: center; gap: .4rem;
    padding: .3rem .7rem;
    background: #ffffff; border: 1px solid var(--k-line); border-radius: 999px;
    font-size: .75rem; line-height: 1.3; color: var(--k-muted);
}
.sp-kit .spp-address i { flex: 0 0 auto; font-size: .625rem; color: #16a34a; }
.sp-kit .spp-address span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-kit .spp-page { position: relative; padding-bottom: 1rem; }
.sp-kit .spp-banner { height: 78px; background: linear-gradient(115deg, #c4b5fd 0%, #a5b4fc 45%, #99f6e4 100%); }
.sp-kit .spp-chan { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem .7rem; }
.sp-kit .spp-avatar {
    flex: 0 0 auto;
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--k-purple); color: #ffffff;
    font-family: var(--k-display); font-weight: 800; font-size: 1.2rem;
}
.sp-kit .spp-chan-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.sp-kit .spp-chan-text b,
.sp-kit .spp-chan-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-kit .spp-chan-text b { font-size: .9375rem; font-weight: 700; color: var(--k-ink); }
.sp-kit .spp-chan-text small { font-size: .75rem; color: var(--k-muted); }
.sp-kit .spp-subpill {
    flex: 0 0 auto;
    padding: .45rem .85rem; border-radius: 999px;
    background: #0f0f0f; color: #ffffff;
    font-size: .75rem; font-weight: 600;
}
.sp-kit .spp-tabs {
    display: flex; gap: 1rem;
    padding: 0 1rem;
    border-bottom: 1px solid var(--k-line);
    font-size: .75rem; font-weight: 600; color: var(--k-muted);
}
.sp-kit .spp-tabs span { padding: .5rem 0; }
.sp-kit .spp-tabs .is-on { color: var(--k-ink); box-shadow: inset 0 -2px 0 var(--k-ink); }
.sp-kit .spp-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .85rem 1rem 0; }
.sp-kit .spp-thumbs span { display: block; aspect-ratio: 16 / 9; border-radius: 8px; background: #ece9f5; }
.sp-kit .spp-dim { position: absolute; inset: 0; background: rgba(15, 12, 30, .46); }

/* The YouTube box itself (used in the window and, on smaller screens, in the result) */
.sp-kit .spp-dialog {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.05rem 1.1rem .65rem;
    text-align: left;
    font-family: Roboto, 'Inter', Arial, sans-serif;
}
.sp-kit .spp-dialog p { margin: 0; }
.sp-kit .spp-d-title { font-size: 1rem; font-weight: 600; line-height: 1.3; color: #0f0f0f; margin-bottom: .45rem !important; }
.sp-kit .spp-d-q { font-size: .875rem; line-height: 1.45; color: #3f3f3f; }
.sp-kit .spp-d-q b { font-weight: 600; color: #0f0f0f; overflow-wrap: anywhere; }
.sp-kit .spp-d-btns { display: flex; justify-content: flex-end; gap: .25rem; margin-top: .7rem !important; }
.sp-kit .spp-d-btns span { padding: .45rem .75rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: #0f0f0f; }
.sp-kit .spp-d-btns .spp-d-sub { color: #065fd4; }
.sp-kit .sp-kit-preview .spp-dialog {
    position: absolute; left: 50%; top: 52%;
    width: calc(100% - 2.5rem);
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
    animation: sppIn 420ms 350ms ease-out both;
}
@keyframes sppIn {
    from { opacity: 0; transform: translate(-50%, -44%) scale(.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.sp-kit .spp-cap {
    display: flex; align-items: flex-start; gap: .5rem;
    margin: .9rem .25rem 0;
    font-size: .8125rem; line-height: 1.45; color: var(--k-muted);
}
.sp-kit .spp-cap i { flex: 0 0 auto; margin-top: .2rem; color: var(--k-purple); }

/* ============ 4. The kit card ============ */
.sp-kit .sp-kit-tool {
    position: relative;
    min-width: 0;
    max-width: 660px;
    margin: 2.25rem 0 0;
    padding: 1.75rem;
    text-align: left;
    container-type: inline-size;
    container-name: kit;
    background: #ffffff;
    border: 1px solid var(--k-line);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(22, 16, 47, .04), 0 28px 60px -30px rgba(22, 16, 47, .30);
    scroll-margin-top: 104px;
}
.sp-kit .sp-kit-form { margin: 0; }
.sp-kit .sp-kit-title {
    margin: 0 0 .35rem; padding: 0;
    font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.03em; color: var(--k-ink);
}
.sp-kit .sp-kit-title::after { display: none; }
.sp-kit .sp-kit-label {
    display: block; margin: 0 0 .85rem;
    font-size: .9375rem; font-weight: 500; line-height: 1.5; color: var(--k-text);
}
.sp-kit .sp-kit-row { display: flex; gap: .625rem; }
.sp-kit .sp-kit-field { position: relative; flex: 1 1 auto; min-width: 0; }
.sp-kit .sp-kit-field > .sp-kit-yt {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    display: block; width: 22px; height: 16px; pointer-events: none;
}
.sp-kit .sp-kit-field input {
    width: 100%; height: 58px; margin: 0;
    padding: 0 16px 0 52px;
    font-family: inherit; font-size: 1.0625rem; font-weight: 500; color: var(--k-ink);
    background: #ffffff;
    border: 1.5px solid var(--k-line-strong); border-radius: 14px;
    -webkit-appearance: none; appearance: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.sp-kit .sp-kit-field--plain input { height: 52px; padding-left: 16px; font-size: 1rem; }
.sp-kit .sp-kit-field.has-paste input { padding-right: 104px; }
.sp-kit .sp-kit-field input::placeholder { color: #8a85a3; opacity: 1; font-weight: 400; }
.sp-kit .sp-kit-field input:hover { border-color: #b9b3cf; }
.sp-kit .sp-kit-field input:focus {
    outline: none; border-color: var(--k-purple);
    box-shadow: 0 0 0 4px rgba(114, 76, 249, .18);
}
.sp-kit .sp-kit-field input[aria-invalid="true"] { border-color: #b91c1c; }
.sp-kit .sp-kit-field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(185, 28, 28, .14); }

.sp-kit .sp-kit-paste {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    display: inline-flex; align-items: center; gap: .4rem;
    height: 42px; padding: 0 .85rem; margin: 0;
    font-family: inherit; font-size: .875rem; font-weight: 600; color: var(--k-ink);
    background: var(--k-tint); border: 1px solid var(--k-line); border-radius: 10px;
    cursor: pointer;
}
.sp-kit .sp-kit-paste:hover { background: var(--k-lilac); border-color: #cfc6f5; }

.sp-kit .sp-kit-go {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    height: 58px; padding: 0 1.5rem; margin: 0;
    font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
    color: #ffffff; background: var(--k-ink);
    border: 0; border-radius: 14px; cursor: pointer; white-space: nowrap;
    box-shadow: 0 10px 22px -10px rgba(20, 17, 43, .6);
    transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.sp-kit .sp-kit-go:hover { background: #2b2552; transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(20, 17, 43, .65); }
.sp-kit .sp-kit-go:active { transform: translateY(0); }
.sp-kit .sp-kit-go[disabled] { cursor: progress; opacity: .85; transform: none; }

.sp-kit .sp-kit-error {
    display: flex; gap: .5rem; align-items: flex-start;
    margin: .75rem 0 0; padding: .75rem .9rem;
    font-size: .9375rem; line-height: 1.5; color: #991b1b;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px;
}
.sp-kit .sp-kit-error::before {
    content: '\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    flex: 0 0 auto; line-height: 1.5;
}

.sp-kit .sp-kit-recent { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .9rem; }
.sp-kit .sp-kit-recent-label {
    font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--k-muted);
}
.sp-kit .sp-kit-recent-list { display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; margin: 0; padding: 0; list-style: none; }
.sp-kit .sp-kit-recent-list li { margin: 0; padding: 0; min-width: 0; }
.sp-kit .sp-kit-chip {
    max-width: 220px; min-height: 40px; padding: 0 .9rem; margin: 0;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    font-family: inherit; font-size: .8125rem; font-weight: 600; color: var(--k-ink);
    background: var(--k-tint); border: 1px solid var(--k-line); border-radius: 999px;
    cursor: pointer;
}
.sp-kit .sp-kit-chip:hover { background: var(--k-lilac); border-color: #cfc6f5; }
.sp-kit .sp-kit-recent-clear {
    min-height: 40px; padding: 0 .5rem; margin: 0;
    font-family: inherit; font-size: .8125rem; font-weight: 600; color: var(--k-muted);
    background: none; border: 0; cursor: pointer;
    text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--k-line-strong);
}
.sp-kit .sp-kit-recent-clear:hover { color: var(--k-ink); text-decoration-color: currentColor; }

.sp-kit .sp-kit-perks {
    display: flex; flex-wrap: wrap; gap: .35rem 1.25rem;
    margin: 1rem 0 0; padding: 0; list-style: none;
    font-size: .875rem; font-weight: 500; color: var(--k-muted);
}
.sp-kit .sp-kit-perks li { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: 0; }
.sp-kit .sp-kit-perks i { color: #15803d; font-size: .8125rem; }

/* Checker: a quiet second door under the main form */
.sp-kit .sp-kit-check { margin-top: 1.1rem; padding-top: .6rem; border-top: 1px dashed var(--k-line-strong); }
.sp-kit .sp-kit-check-toggle {
    display: inline-flex; align-items: center; gap: .55rem;
    min-height: 44px; padding: 0; margin: 0;
    font-family: inherit; font-size: .9375rem; font-weight: 600; color: var(--k-purple-ink);
    text-align: left; background: none; border: 0; cursor: pointer;
}
.sp-kit .sp-kit-check-toggle:hover { color: var(--k-ink); }
.sp-kit .sp-kit-check-box { margin: .35rem 0 0; }
.sp-kit .sp-kit-check-box .sp-kit-label { margin-bottom: .6rem; }
.sp-kit .sp-kit-check-box .sp-kit-btn { min-height: 52px; padding: 0 1.25rem; }

.sp-kit .sp-kit-verdict { margin-top: .85rem; padding: 1rem 1.05rem; border: 1px solid; border-radius: 14px; }
.sp-kit .sp-kit-verdict.is-good { background: #f0fdf4; border-color: #bbf7d0; }
.sp-kit .sp-kit-verdict.is-fix { background: #fffbeb; border-color: #fde68a; }
.sp-kit .sp-kit-verdict.is-warn { background: var(--k-tint); border-color: var(--k-line); }
.sp-kit .sp-kit-verdict.is-bad { background: #fef2f2; border-color: #fecaca; }
.sp-kit .sp-kit-verdict-title { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--k-ink); }
.sp-kit .is-good .sp-kit-verdict-title { color: #166534; }
.sp-kit .is-fix .sp-kit-verdict-title { color: #92400e; }
.sp-kit .is-bad .sp-kit-verdict-title { color: #991b1b; }
.sp-kit .sp-kit-verdict-body { margin: .3rem 0 0; font-size: .9375rem; line-height: 1.55; color: var(--k-text); }
.sp-kit .sp-kit-verdict-fixed input {
    width: 100%; height: 48px; margin: .75rem 0 0; padding: 0 12px;
    font-family: inherit; font-size: 1rem; color: var(--k-ink);
    background: #ffffff; border: 1.5px solid #f3d98b; border-radius: 10px;
    text-overflow: ellipsis;
}
.sp-kit .sp-kit-verdict-fixed input:focus { outline: none; border-color: var(--k-purple); box-shadow: 0 0 0 4px rgba(114, 76, 249, .18); }
.sp-kit .sp-kit-verdict-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

/* ============ 5. Buttons inside the kit ============ */
.sp-kit .sp-kit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 46px; padding: 0 1.05rem; margin: 0;
    font-family: inherit; font-size: .9375rem; font-weight: 600; line-height: 1;
    color: var(--k-ink); background: #ffffff;
    border: 1.5px solid var(--k-line-strong); border-radius: 12px;
    cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.sp-kit .sp-kit-btn:hover { color: var(--k-purple-ink); background: #faf9ff; border-color: var(--k-purple); }
.sp-kit .sp-kit-btn--primary { color: #ffffff; background: var(--k-purple); border-color: var(--k-purple); }
.sp-kit .sp-kit-btn--primary:hover { color: #ffffff; background: var(--k-purple-ink); border-color: var(--k-purple-ink); }
.sp-kit .sp-kit-btn--dark { color: #ffffff; background: var(--k-ink); border-color: var(--k-ink); }
.sp-kit .sp-kit-btn--dark:hover { color: #ffffff; background: #2b2552; border-color: #2b2552; }
.sp-kit .sp-kit-btn--sm { min-height: 40px; padding: 0 .85rem; font-size: .875rem; border-radius: 10px; }
.sp-kit .sp-kit-btn--icon { width: 40px; padding: 0; }
.sp-kit .sp-kit-btn.is-copied,
.sp-kit .sp-kit-btn.is-copied:hover { color: #166534; background: #dcfce7; border-color: #86efac; }

/* ============ 6. The result ============ */
.sp-kit .sp-kit-result { min-width: 0; max-width: 100%; animation: spKitIn 240ms ease-out; }
@keyframes spKitIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sp-kit .sp-kit-done { display: flex; align-items: center; gap: .9rem; scroll-margin-top: 104px; }
.sp-kit .sp-kit-done:focus { outline: none; }
.sp-kit .sp-kit-done-icon {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #16a34a; color: #ffffff; font-size: 1.05rem;
    box-shadow: 0 0 0 6px #dcfce7;
}
.sp-kit .sp-kit-done h3 { margin: 0 0 .15rem; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.03em; color: var(--k-ink); }
.sp-kit .sp-kit-done p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--k-text); }
.sp-kit .sp-kit-done strong { font-weight: 700; color: var(--k-ink); overflow-wrap: anywhere; }

/* A small copy of the YouTube box sits in the result */
.sp-kit .sp-kit-mini { margin-top: 1.1rem; padding: .85rem; background: #f1eff7; border-radius: 16px; }
.sp-kit .sp-kit-mini-cap {
    display: block; margin: 0 0 .6rem;
    font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--k-muted);
}
.sp-kit .sp-kit-mini .spp-dialog { box-shadow: 0 8px 22px -8px rgba(22, 16, 47, .22); }

.sp-kit .sp-kit-link { min-width: 0; margin-top: 1.1rem; }
.sp-kit #sp-kit-url {
    display: block; width: 100%; min-width: 0; min-height: 54px; margin: 0;
    padding: 14px 16px;
    font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--k-ink);
    background: var(--k-tint); border: 1.5px solid var(--k-line); border-radius: 14px;
    resize: none; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere;
    box-sizing: border-box;
}
.sp-kit #sp-kit-url:focus { outline: none; border-color: var(--k-purple); box-shadow: 0 0 0 4px rgba(114, 76, 249, .18); }
.sp-kit .sp-kit-link-actions { display: flex; gap: .5rem; margin-top: .6rem; }
.sp-kit .sp-kit-link-actions .sp-kit-btn { min-height: 52px; border-radius: 13px; }
.sp-kit .sp-kit-link-actions .sp-kit-copy-main { flex: 1 1 auto; font-size: 1rem; font-weight: 700; }

.sp-kit .sp-kit-note {
    display: flex; gap: .5rem; align-items: flex-start;
    margin: .75rem 0 0;
    font-size: .8125rem; line-height: 1.5; color: var(--k-muted);
}
.sp-kit .sp-kit-note i { flex: 0 0 auto; margin-top: .2rem; color: #8a85a3; }

/* The hand-off: the one place the kit points at CollabPals */
.sp-kit .sp-kit-next {
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: 1.25rem; padding: 1.5rem;
    background: var(--k-deep); border-radius: 18px; color: var(--k-deep-text);
}
.sp-kit .sp-kit-next::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    right: -90px; top: -120px; width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(114, 76, 249, .55), rgba(114, 76, 249, 0));
}
.sp-kit .sp-kit-next h3 { margin: 0 0 .4rem; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.03em; color: #ffffff; }
.sp-kit .sp-kit-next > p { margin: 0 0 1.15rem; font-size: .9375rem; line-height: 1.6; color: var(--k-deep-text); }
.sp-kit .sp-kit-next-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 52px; padding: 0 1.5rem;
    font-size: 1rem; font-weight: 700; color: var(--k-deep);
    background: #ffffff; border-radius: 13px; text-decoration: none;
    transition: background-color 150ms ease, transform 150ms ease;
}
.sp-kit .sp-kit-next-btn:hover { color: var(--k-deep); background: #ede9fe; transform: translateY(-1px); }
.sp-kit .sp-kit-next .sp-kit-next-note {
    display: flex; align-items: flex-start; gap: .5rem;
    margin: .9rem 0 0; font-size: .8125rem; line-height: 1.45; color: #b3abe0;
}
.sp-kit .sp-kit-next-note i { flex: 0 0 auto; line-height: 1.45; }

/* Panels */
.sp-kit .sp-kit-panels { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.25rem; min-width: 0; }
.sp-kit .sp-kit-panel { min-width: 0; background: #ffffff; border: 1px solid var(--k-line); border-radius: 16px; }
.sp-kit .sp-kit-panel > summary {
    display: flex; align-items: center; gap: .85rem;
    min-height: 64px; padding: .85rem 1rem;
    list-style: none; cursor: pointer; border-radius: 15px;
    transition: background-color 150ms ease;
}
.sp-kit .sp-kit-panel > summary::-webkit-details-marker { display: none; }
.sp-kit .sp-kit-panel > summary::marker { content: ''; }
.sp-kit .sp-kit-panel > summary:hover { background: #faf9fd; }
.sp-kit .sp-kit-panel[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.sp-kit .sp-kit-p-icon {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--k-lilac); color: var(--k-purple-ink); font-size: 1rem;
}
.sp-kit .sp-kit-p-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.sp-kit .sp-kit-p-text b { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--k-ink); }
.sp-kit .sp-kit-p-text small { font-size: .8125rem; line-height: 1.4; color: var(--k-muted); }
.sp-kit .sp-kit-p-chev { flex: 0 0 auto; font-size: .8rem; color: var(--k-muted); transition: transform 200ms ease; }
.sp-kit .sp-kit-panel[open] .sp-kit-p-chev { transform: rotate(180deg); }
.sp-kit .sp-kit-p-body { min-width: 0; padding: .85rem 1rem 1rem; }

/* Ready lines */
.sp-kit .sp-kit-lang { display: flex; align-items: center; gap: .6rem; margin: .1rem 0 .75rem; }
.sp-kit .sp-kit-lang label { flex: 0 0 auto; font-size: .875rem; font-weight: 600; color: var(--k-text); }
.sp-kit .sp-kit-lang select {
    min-width: 0; max-width: 100%; height: 44px; margin: 0;
    padding: 0 2.25rem 0 .85rem;
    font-family: inherit; font-size: 1rem; color: var(--k-ink);
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f5a7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .8rem center / 12px 8px;
    border: 1.5px solid var(--k-line-strong); border-radius: 10px;
    -webkit-appearance: none; appearance: none; cursor: pointer;
}
.sp-kit .sp-kit-lang select:focus { outline: none; border-color: var(--k-purple); box-shadow: 0 0 0 4px rgba(114, 76, 249, .18); }
.sp-kit .sp-kit-lines,
.sp-kit .sp-kit-tabs {
    min-width: 0; margin: 0; padding: 0; list-style: none;
    border: 1px solid var(--k-line); border-radius: 12px;
}
.sp-kit .sp-kit-line-row,
.sp-kit .sp-kit-tab-row { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .75rem .85rem; }
.sp-kit .sp-kit-lines li + li,
.sp-kit .sp-kit-tabs li + li { border-top: 1px solid var(--k-line); }
.sp-kit .sp-kit-line-text { flex: 1 1 auto; min-width: 0; }
.sp-kit .sp-kit-where {
    display: block; margin-bottom: .15rem;
    font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--k-muted);
}
.sp-kit .sp-kit-line { display: block; min-width: 0; }
.sp-kit .sp-kit-line-msg { display: block; font-size: .9375rem; line-height: 1.45; color: var(--k-ink); }
.sp-kit .sp-kit-line-msg[dir="rtl"] { text-align: right; }
.sp-kit .sp-kit-line-url {
    display: block; margin-top: .1rem;
    font-size: .8125rem; line-height: 1.45; color: var(--k-purple-ink); text-align: left;
    white-space: normal; overflow-wrap: anywhere;
}
.sp-kit .sp-kit-tab-actions { flex: 0 0 auto; display: flex; gap: .4rem; }
.sp-kit .sp-kit-more {
    display: inline-flex; align-items: center; gap: .45rem;
    min-height: 44px; padding: 0 .25rem; margin: .4rem 0 0;
    font-family: inherit; font-size: .9375rem; font-weight: 600; color: var(--k-purple-ink);
    background: none; border: 0; cursor: pointer;
}
.sp-kit .sp-kit-more:hover { color: var(--k-ink); }

/* QR */
.sp-kit .sp-kit-qr-status {
    margin: 0; padding: .85rem 1rem;
    font-size: .9375rem; line-height: 1.5; color: var(--k-text);
    background: var(--k-tint); border-radius: 12px;
}
.sp-kit .sp-kit-qr { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.sp-kit .sp-kit-qr-view { display: flex; justify-content: center; padding: .75rem; background: var(--k-tint); border-radius: 14px; }
.sp-kit #sp-kit-qr {
    display: block; width: 100%; max-width: 172px; height: auto;
    background: #ffffff; border-radius: 8px;
    box-shadow: 0 1px 2px rgba(22, 16, 47, .06), 0 8px 20px -10px rgba(22, 16, 47, .25);
}
.sp-kit .sp-kit-qr-opts { min-width: 0; }
.sp-kit .sp-kit-swatches { min-width: 0; margin: 0; padding: 0; border: 0; }
.sp-kit .sp-kit-swatches legend { display: block; margin: 0 0 .5rem; padding: 0; font-size: .875rem; font-weight: 600; color: var(--k-text); }
.sp-kit .sp-kit-swatch { position: relative; display: inline-flex; margin: 0 .4rem .2rem 0; cursor: pointer; }
.sp-kit .sp-kit-swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sp-kit .sp-kit-swatch span {
    display: block; width: 40px; height: 40px; border-radius: 50%;
    overflow: hidden; font-size: 0; color: transparent;
    background: var(--sw); border: 2px solid transparent;
    box-shadow: inset 0 0 0 3px #ffffff;
}
.sp-kit .sp-kit-swatch input:checked + span { border-color: var(--k-ink); }
.sp-kit .sp-kit-swatch input:focus-visible + span { outline: 3px solid var(--k-purple); outline-offset: 2px; }
.sp-kit .sp-kit-check-line {
    display: flex; align-items: center; gap: .6rem;
    min-height: 44px; margin: .5rem 0 .6rem;
    font-size: .9375rem; line-height: 1.4; color: var(--k-text); cursor: pointer;
}
.sp-kit .sp-kit-check-line input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--k-purple); cursor: pointer; }
.sp-kit .sp-kit-qr-dls { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sp-kit .sp-kit-qr-dls .sp-kit-btn { width: 100%; min-height: 46px; padding: 0 .6rem; font-size: .875rem; }

/* Website button */
.sp-kit .sp-kit-web-preview {
    display: flex; justify-content: center; align-items: center;
    min-height: 84px; margin: 0 0 .75rem; padding: 1rem;
    background: var(--k-tint); border-radius: 12px;
}
.sp-kit .sp-kit-code { min-width: 0; margin-top: .6rem; overflow: hidden; background: #ffffff; border: 1px solid var(--k-line); border-radius: 12px; }
.sp-kit .sp-kit-code-head {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .35rem .4rem .35rem .85rem;
    font-size: .8125rem; font-weight: 700; color: var(--k-text);
    background: var(--k-tint); border-bottom: 1px solid var(--k-line);
}
.sp-kit .sp-kit-code pre {
    margin: 0; padding: .75rem .85rem; overflow: auto;
    white-space: pre-wrap; word-break: break-all;
    font-size: .8125rem; line-height: 1.55; color: var(--k-ink); background: #ffffff;
}
.sp-kit .sp-kit-code code { padding: 0; font-family: var(--k-mono); font-size: inherit; color: inherit; background: none; }

/* Set it once */
.sp-kit .sp-kit-once { margin: .25rem 0 1rem; padding: 0; list-style: none; counter-reset: spkonce; }
.sp-kit .sp-kit-once li { position: relative; margin: 0 0 .95rem; padding: 0 0 0 2.6rem; counter-increment: spkonce; }
.sp-kit .sp-kit-once li::before {
    content: counter(spkonce);
    position: absolute; left: 0; top: 0;
    width: 1.85rem; height: 1.85rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--k-display); font-weight: 800; font-size: .9rem;
    color: var(--k-purple-ink); background: var(--k-lilac);
}
.sp-kit .sp-kit-once b { display: block; margin-bottom: .15rem; font-size: .9375rem; color: var(--k-ink); }
.sp-kit .sp-kit-once span { display: block; font-size: .875rem; line-height: 1.55; color: var(--k-text); }

.sp-kit .sp-kit-again {
    display: block; min-height: 44px; margin: .9rem auto 0; padding: 0 .75rem;
    font-family: inherit; font-size: .9375rem; font-weight: 600; color: var(--k-purple-ink);
    background: none; border: 0; cursor: pointer;
    text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(114, 76, 249, .35);
}
.sp-kit .sp-kit-again:hover { text-decoration-color: currentColor; }

.sp-kit .sp-kit-live {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Keyboard focus rings on everything you can press in the kit */
.sp-kit .sp-kit-tool button:focus-visible,
.sp-kit .sp-kit-tool a:focus-visible,
.sp-kit .sp-kit-tool summary:focus-visible,
.sp-kit .sp-kit-what a:focus-visible { outline: 3px solid var(--k-purple); outline-offset: 2px; }
.sp-kit .sp-kit-next a:focus-visible { outline-color: #ffffff; }

/* ============ 7. The page sections ============ */
/* Rhythm: one generous vertical beat, alternating white and a faint lilac,
   one dark band in the middle. */
.sp-kit .sp-kit-what,
.sp-kit .sub4sub-problems,
.sp-kit .collabpals-intro,
.sp-kit .how-it-works,
.sp-kit .comparison-section,
.sp-kit .growth-guide,
.sp-kit .ai-tools,
.sp-kit .faq-section,
.sp-kit .related-resources { padding: 6rem 0; }
.sp-kit .sub4sub-problems::before,
.sp-kit .collabpals-intro::before,
.sp-kit .how-it-works::before,
.sp-kit .comparison-section::before,
.sp-kit .growth-guide::before,
.sp-kit .ai-tools::before,
.sp-kit .faq-section::before,
.sp-kit .related-resources::before { display: none; }

.sp-kit .sp-kit-what,
.sp-kit .quick-answer,
.sp-kit .collabpals-intro,
.sp-kit .comparison-section,
.sp-kit .ai-tools,
.sp-kit #creator-tools-section,
.sp-kit .author-section,
.sp-kit .bottom-cta { background: #ffffff; }
.sp-kit .sub4sub-problems,
.sp-kit .growth-guide,
.sp-kit .faq-section,
.sp-kit .related-resources:not(#creator-tools-section) { background: var(--k-tint); }

/* Section headings: left aligned, big, no accent bar */
.sp-kit section:not(.sp-quickbuy-strip) .section-header {
    max-width: 760px; margin: 0 0 3rem; text-align: left;
}
.sp-kit .section-header h2,
.sp-kit .related-resources h2 {
    margin: 0 0 1.1rem; padding: 0;
    font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.75rem);
    line-height: 1.08; letter-spacing: -0.035em; color: var(--k-ink);
    text-wrap: balance;
}
.sp-kit .section-header h2::after { display: none; }
.sp-kit .section-header p {
    max-width: 720px; margin-left: 0; margin-right: 0;
    font-size: 1.0625rem; line-height: 1.7; color: var(--k-text);
}
.sp-kit .sp-quickbuy-strip .section-header p { margin-left: auto; margin-right: auto; }

/* Answer capsules read as a lead paragraph with a rule, not a grey box */
.sp-kit .answer-capsule,
.sp-kit .section-header p.answer-capsule,
.sp-kit .related-resources > .container > p.answer-capsule {
    max-width: 720px;
    margin: 0;
    padding: .2rem 0 .2rem 1.15rem;
    font-size: 1.0625rem; line-height: 1.7; color: var(--k-text);
    text-align: left;
    background: none; border: 0; border-left: 3px solid var(--k-purple); border-radius: 0;
}

/* Quick answer: a lead paragraph under the definition above it */
.sp-kit .quick-answer { padding: 0 0 6rem; }
.sp-kit .quick-answer .container > p {
    max-width: 820px !important; margin: 0 !important;
    padding: .25rem 0 .25rem 1.25rem;
    font-size: 1.125rem; line-height: 1.75; color: var(--k-text);
    background: none; border: 0; border-left: 3px solid var(--k-line-strong); border-radius: 0;
}
.sp-kit .quick-answer strong { color: var(--k-ink); }
.sp-kit .quick-answer a { color: var(--k-purple-ink); text-underline-offset: 3px; }

/* "What is a YouTube subscribe link?" */
.sp-kit .sp-kit-what { padding-bottom: 3rem; }
.sp-kit .sp-kit-what-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4.5rem; align-items: start;
}
.sp-kit .sp-kit-what .section-header { margin: 0; }
.sp-kit .sp-kit-what code {
    padding: .1em .35em; border-radius: 6px;
    font-family: var(--k-mono); font-size: .9em; white-space: nowrap;
    color: var(--k-purple-ink); background: var(--k-lilac);
}
.sp-kit .sp-kit-what-steps { margin: 0; padding: 0; list-style: none; counter-reset: spkwhat; }
.sp-kit .sp-kit-what-steps li {
    position: relative; margin: 0;
    padding: 1.35rem 0 1.35rem 3.9rem;
    border-top: 1px solid var(--k-line);
    counter-increment: spkwhat;
}
.sp-kit .sp-kit-what-steps li:last-child { border-bottom: 1px solid var(--k-line); }
.sp-kit .sp-kit-what-steps li::before {
    content: counter(spkwhat, decimal-leading-zero);
    position: absolute; left: 0; top: 1.25rem;
    font-family: var(--k-display); font-weight: 800; font-size: 1.85rem; line-height: 1;
    letter-spacing: -0.04em; color: var(--k-purple);
}
.sp-kit .sp-kit-what-steps b { display: block; margin-bottom: .3rem; font-size: 1.125rem; line-height: 1.35; color: var(--k-ink); }
.sp-kit .sp-kit-what-steps span { display: block; font-size: 1rem; line-height: 1.6; color: var(--k-text); }
.sp-kit .sp-kit-what-cta {
    display: inline-flex; align-items: center; gap: .6rem;
    min-height: 54px; margin-top: 2.5rem; padding: 0 1.75rem;
    font-size: 1rem; font-weight: 700; color: #ffffff; text-decoration: none;
    background: var(--k-ink); border-radius: 999px;
    transition: background-color 150ms ease, transform 150ms ease;
}
.sp-kit .sp-kit-what-cta:hover { color: #ffffff; background: #2b2552; transform: translateY(-1px); }
@media (min-width: 900px) {
    .sp-kit .sp-kit-what .container {
        display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 4.5rem; align-items: start;
    }
    .sp-kit .sp-kit-what-grid { display: contents; }
    .sp-kit .sp-kit-what .section-header { grid-column: 1; grid-row: 1; }
    .sp-kit .sp-kit-what-steps { grid-column: 2; grid-row: 1 / span 2; }
    .sp-kit .sp-kit-what-cta { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; margin-top: 2rem; }
}

/* Price strip: same cards, the display face on the heading and prices */
.sp-kit .sp-quickbuy-strip .section-header h2 { margin-bottom: 1rem; }
.sp-kit .sp-quickbuy-price { letter-spacing: -0.03em; }

/* Trust band numbers */
.sp-kit .trust-stat-number { letter-spacing: -0.035em; }

/* Problems: four quiet columns on a top rule, not four alarm cards */
.sp-kit .problems-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.sp-kit .problem-card {
    padding: 1.5rem 0 0; text-align: left;
    background: none; border: 0; border-top: 1px solid var(--k-line-strong); border-radius: 0; box-shadow: none;
}
.sp-kit .problem-card:hover { box-shadow: none; }
.sp-kit .problem-icon { width: 38px; height: 38px; margin: 0 0 1.1rem; border-radius: 11px; background: #fdecec; }
.sp-kit .problem-icon i { font-size: 1rem; color: #b91c1c; }
.sp-kit .problem-card h3 { margin: 0 0 .55rem; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--k-ink); }
.sp-kit .problem-card p { font-size: .9375rem; line-height: 1.65; color: var(--k-text); }

/* Features: bordered cards with a solid icon square */
.sp-kit .collabpals-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 0; }
.sp-kit .feature-card { padding: 1.6rem; background: #ffffff; border: 1px solid var(--k-line); border-radius: 18px; box-shadow: none; }
.sp-kit .feature-card:hover { border-color: #cfc6f5; box-shadow: 0 16px 34px -18px rgba(22, 16, 47, .22); }
.sp-kit .feature-icon { width: 40px; height: 40px; margin-bottom: 1.1rem; border-radius: 11px; background: var(--k-purple); }
.sp-kit .feature-icon i { font-size: 1rem; }
.sp-kit .feature-card h3 { margin: 0 0 .55rem; font-size: 1.125rem; line-height: 1.3; color: var(--k-ink); }
.sp-kit .feature-card p { font-size: .9375rem; line-height: 1.65; color: var(--k-text); }
.sp-kit .cta-container { margin-top: 3rem; text-align: left; }

/* How it works: the one dark band */
.sp-kit .how-it-works { background: var(--k-deep); color: var(--k-deep-text); }
.sp-kit .how-it-works .section-header h2 { color: #ffffff; }
.sp-kit .how-it-works .answer-capsule,
.sp-kit .how-it-works .section-header p.answer-capsule { color: var(--k-deep-text); border-left-color: var(--k-purple-soft); }
.sp-kit .steps-container {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem;
    max-width: none; margin: 0;
}
.sp-kit .steps-container .step-card {
    display: block; margin: 0; padding: 1.75rem 0 0;
    background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .16); border-radius: 0; box-shadow: none;
}
.sp-kit .steps-container .step-card:hover { box-shadow: none; border-color: rgba(255, 255, 255, .16); }
.sp-kit .steps-container .step-card:not(:last-child)::after { display: none; }
.sp-kit .step-number {
    display: block; width: auto; height: auto; margin: 0 0 1.1rem;
    font-family: var(--k-display); font-weight: 800; font-size: 3.5rem; line-height: 1; letter-spacing: -0.05em;
    color: var(--k-purple-soft); background: none; border-radius: 0;
}
.sp-kit .step-card h3 { margin: 0 0 .6rem; font-size: 1.25rem; line-height: 1.3; color: #ffffff; }
.sp-kit .step-card p { font-size: 1rem; line-height: 1.65; color: var(--k-deep-text); }
.sp-kit .how-it-works .btn-primary { color: var(--k-deep); background: #ffffff; box-shadow: none; }
.sp-kit .how-it-works .btn-primary:hover { color: var(--k-deep); background: #ede9fe; }
.sp-kit .how-it-works a:focus-visible { outline-color: #ffffff; }

/* Comparison: an ink header, the CollabPals column in purple */
.sp-kit .comparison-table-wrapper { margin-bottom: 0; }
.sp-kit .comparison-table {
    border-collapse: separate; border-spacing: 0;
    border: 1px solid var(--k-line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(22, 16, 47, .04), 0 24px 48px -28px rgba(22, 16, 47, .25);
}
.sp-kit .comparison-table td {
    padding: 1.1rem 1.25rem;
    font-size: .9375rem; line-height: 1.6; color: var(--k-text);
    border-bottom: 1px solid var(--k-line);
}
.sp-kit .comparison-table td:first-child { font-weight: 700; color: var(--k-ink); }
.sp-kit .comparison-table tbody tr,
.sp-kit .comparison-table tbody tr:nth-child(even) { background: #ffffff; }
.sp-kit .comparison-table tbody tr:hover,
.sp-kit .comparison-table tbody tr:nth-child(even):hover { background: #fcfbfe; }
.sp-kit .comparison-table td:last-child,
.sp-kit .comparison-table tbody tr:nth-child(even) td:last-child { background: #f7f4ff; color: var(--k-ink); }
.sp-kit .comparison-table td.positive,
.sp-kit .comparison-table td.negative { color: var(--k-text); }
.sp-kit .comparison-table td:last-child.positive { color: var(--k-ink); }
.sp-kit .comparison-table td.positive i { color: #15803d; }
.sp-kit .comparison-table td.negative i { color: #b91c1c; }
@media (min-width: 769px) {
    .sp-kit .comparison-table th,
    .sp-kit .comparison-table th:first-child,
    .sp-kit .comparison-table th:nth-child(2),
    .sp-kit .comparison-table th:last-child {
        padding: 1.1rem 1.25rem; border-radius: 0;
        font-size: 1rem; font-weight: 700; color: #ffffff;
        background: var(--k-ink);
    }
    .sp-kit .comparison-table th:first-child { width: 22%; font-weight: 600; color: var(--k-deep-text); }
    .sp-kit .comparison-table th:nth-child(2) { width: 39%; }
    .sp-kit .comparison-table th:last-child { width: 39%; background: var(--k-purple); }
    .sp-kit .comparison-table th:nth-child(2)::before,
    .sp-kit .comparison-table th:last-child::before {
        margin-right: .5rem; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    }
    .sp-kit .comparison-table th:nth-child(2)::before { content: '\f00d'; color: #fca5a5; }
    .sp-kit .comparison-table th:last-child::before { content: '\f00c'; color: #ffffff; }
    .sp-kit .comparison-table tr:last-child td { border-bottom: 0; }
}

/* Growth guide: an editorial column of strategies */
.sp-kit .guide-content { max-width: 760px; margin: 0; }
.sp-kit .guide-strategy {
    margin: 0 0 2.25rem; padding: 1.75rem 0 0;
    background: none; border: 0; border-top: 1px solid var(--k-line-strong); border-radius: 0; box-shadow: none;
}
.sp-kit .guide-strategy:hover { transform: none; box-shadow: none; }
.sp-kit .guide-strategy h3 {
    margin: 0 0 .85rem; padding: 0; border: 0;
    font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.025em; color: var(--k-ink);
}
.sp-kit .guide-strategy p,
.sp-kit .guide-strategy ul li { font-size: 1rem; line-height: 1.75; color: var(--k-text); }
.sp-kit .guide-strategy strong { color: var(--k-ink); }
.sp-kit .guide-strategy a { color: var(--k-purple-ink); text-underline-offset: 3px; }
.sp-kit .guide-show-more-wrapper { text-align: left; margin: .5rem 0 2.5rem; }
.sp-kit .guide-show-more-btn {
    min-height: 48px; padding: 0 1.4rem;
    color: var(--k-ink); background: #ffffff;
    border: 1.5px solid var(--k-line-strong); border-radius: 999px;
}
.sp-kit .guide-show-more-btn:hover { color: var(--k-purple-ink); background: #ffffff; border-color: var(--k-purple); transform: none; }
.sp-kit .guide-cta {
    padding: 2rem; background: #ffffff;
    border: 1px solid var(--k-line); border-radius: 20px;
}
.sp-kit .guide-cta p { color: var(--k-text) !important; }

/* AI tools: three quiet columns, then a dark call to action */
.sp-kit .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.sp-kit .tool-card { padding: 1.5rem 0 0; background: none; border: 0; border-top: 1px solid var(--k-line); border-radius: 0; box-shadow: none; }
.sp-kit .tool-card:hover { box-shadow: none; }
.sp-kit .tool-icon { width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 11px; background: var(--k-lilac); }
.sp-kit .tool-icon i { font-size: 1rem; color: var(--k-purple-ink); }
.sp-kit .tool-card h3 { margin: 0 0 .5rem; font-size: 1.125rem; line-height: 1.3; color: var(--k-ink); }
.sp-kit .tool-card p { font-size: .9375rem; line-height: 1.65; color: var(--k-text); }
.sp-kit .tools-tip { text-align: left !important; color: var(--k-muted) !important; }
.sp-kit .tools-tip a { color: var(--k-purple-ink); text-underline-offset: 3px; }
.sp-kit .ai-cta {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 2.5rem; background: var(--k-deep); border-radius: 24px;
}
.sp-kit .ai-cta::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    left: -120px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(114, 76, 249, .45), rgba(114, 76, 249, 0));
}
.sp-kit .ai-cta-content h3 { margin: 0 0 .5rem; font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.03em; color: #ffffff; }
.sp-kit .ai-cta-content p { color: var(--k-deep-text); opacity: 1; }
.sp-kit .ai-cta .btn-secondary { color: var(--k-deep); background: #ffffff; box-shadow: none; }
.sp-kit .ai-cta .btn-secondary:hover { color: var(--k-deep); background: #ede9fe; }
.sp-kit .ai-cta .btn-outline { color: #ffffff; background: transparent; border: 1.5px solid rgba(255, 255, 255, .4); }
.sp-kit .ai-cta .btn-outline:hover { color: #ffffff; background: rgba(255, 255, 255, .08); border-color: #ffffff; }
.sp-kit .ai-cta a:focus-visible { outline-color: #ffffff; }

/* FAQ: a clean list with round toggles */
.sp-kit .faq-container { max-width: none; margin: 0; border-top: 1px solid var(--k-line-strong); }
.sp-kit .faq-item,
.sp-kit .faq-item:hover,
.sp-kit .faq-item.active {
    margin: 0; background: none; box-shadow: none;
    border: 0; border-bottom: 1px solid var(--k-line-strong); border-radius: 0;
}
.sp-kit .faq-heading button.faq-question,
.sp-kit .faq-question {
    gap: 1rem; padding: 1.3rem 0;
    font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--k-ink);
    background: none;
}
.sp-kit .faq-question:hover { background: none; color: var(--k-purple-ink); }
.sp-kit .faq-question-text { padding-right: 0; }
.sp-kit .faq-toggle {
    width: 34px; height: 34px; border-radius: 50%;
    font-size: .8rem; color: var(--k-ink);
    background: #ffffff; border: 1.5px solid var(--k-line-strong);
}
.sp-kit .faq-item.active .faq-toggle { color: #ffffff; background: var(--k-ink); border-color: var(--k-ink); transform: none; }
/* The script swaps plus for minus when open, so nothing is rotated (the old tilt turned the minus into a slash) */
.sp-kit .faq-answer { padding: 0 3.25rem 1.4rem 0; border-top: 0; }
.sp-kit .faq-answer p { font-size: 1rem; line-height: 1.7; color: var(--k-text); }
.sp-kit .faq-answer a { color: var(--k-purple-ink); }

/* Wide screens: guide and questions read as two columns, heading held on the left */
@media (min-width: 1100px) {
    .sp-kit .growth-guide .container,
    .sp-kit .faq-section .container {
        display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: 4.5rem; align-items: start;
    }
    .sp-kit .growth-guide .section-header,
    .sp-kit .faq-section .section-header { margin: 0; }
    .sp-kit .growth-guide .section-header h2,
    .sp-kit .faq-section .section-header h2 { font-size: clamp(1.75rem, 1rem + 1.5vw, 2.5rem); }
}
@media (min-width: 1100px) and (min-height: 760px) {
    .sp-kit .growth-guide .section-header,
    .sp-kit .faq-section .section-header { position: -webkit-sticky; position: sticky; top: 112px; }
}

/* Link grids */
.sp-kit .related-resources h2 { max-width: 760px; text-align: left; }
.sp-kit .related-resources > .container > p.answer-capsule { margin: 0 0 2.75rem; }
.sp-kit .resource-card {
    position: relative;
    padding: 1.4rem 1.4rem 1.3rem; text-align: left;
    background: #ffffff; border: 1px solid var(--k-line); border-radius: 16px;
}
.sp-kit .resource-card:hover { transform: none; border-color: #c4b5fd; box-shadow: 0 14px 30px -16px rgba(22, 16, 47, .22); }
.sp-kit .resource-card::after {
    content: '\f061'; position: absolute; right: 1.25rem; top: 1.45rem;
    font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .875rem; color: var(--k-purple);
    opacity: 0; transform: translateX(-4px); transition: opacity 150ms ease, transform 150ms ease;
}
.sp-kit .resource-card:hover::after { opacity: 1; transform: none; }
.sp-kit .resource-icon {
    width: 40px; height: 40px; margin: 0 0 1rem; border-radius: 11px;
    font-size: 1rem; color: var(--k-purple-ink); background: var(--k-lilac);
}
.sp-kit .resource-card h3 { margin: 0 0 .4rem; padding-right: 1.5rem; font-size: 1.0625rem; line-height: 1.3; color: var(--k-ink); }
.sp-kit .resource-card p { font-size: .9375rem; line-height: 1.55; color: var(--k-text); }
.sp-kit .resource-card p:last-child { margin-bottom: 0; }
@media (min-width: 1025px) {
    .sp-kit #creator-tools-section .resources-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
    .sp-kit .related-resources:not(#creator-tools-section) .resources-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .sp-kit .related-resources .resources-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    /* 5 tools: 3 on top, the last 2 centred underneath */
    .sp-kit #creator-tools-section .resources-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .sp-kit #creator-tools-section .resource-card { grid-column: span 2; }
    .sp-kit #creator-tools-section .resource-card:nth-child(4) { grid-column: 2 / span 2; }
}

/* Author and the closing call to action */
.sp-kit .author-section { padding: 3rem 0 1rem; }
.sp-kit .bottom-cta { padding: 3rem 0 6rem; }
.sp-kit .cta-box {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 4.5rem 3rem; background: var(--k-deep); border-radius: 28px;
}
.sp-kit .cta-box::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    left: 50%; top: -260px; width: 760px; height: 520px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(114, 76, 249, .55), rgba(114, 76, 249, 0));
}
.sp-kit .cta-box h2 {
    margin: 0 auto 1.1rem; max-width: 760px;
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.04em; color: #ffffff;
    text-wrap: balance;
}
.sp-kit .cta-box p { max-width: 640px; color: var(--k-deep-text); opacity: 1; }
.sp-kit .btn-cta-primary { color: var(--k-deep); background: #ffffff; }
.sp-kit .btn-cta-primary:hover { color: var(--k-deep); background: #ede9fe; }
.sp-kit .btn-cta-secondary { color: #ffffff; background: transparent; border: 1.5px solid rgba(255, 255, 255, .4); }
.sp-kit .btn-cta-secondary:hover { color: #ffffff; background: rgba(255, 255, 255, .08); border-color: #ffffff; box-shadow: none; }
.sp-kit .cta-box a:focus-visible { outline-color: #ffffff; }

/* Keyboard focus rings for every other button, card and link on the page */
.sp-kit section a:focus-visible,
.sp-kit section button:focus-visible { outline: 3px solid #6d28d9; outline-offset: 3px; }
.sp-kit .how-it-works a:focus-visible,
.sp-kit .sp-kit-next a:focus-visible,
.sp-kit .ai-cta a:focus-visible,
.sp-kit .cta-box a:focus-visible { outline-color: #ffffff; }

/* ============ 8. Tablet ============ */
@media (max-width: 1099px) {
    .sp-kit .problems-grid,
    .sp-kit .collabpals-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
    .sp-kit .sp-kit-what-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .sp-kit .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-kit .steps-container { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .sp-kit .steps-container .step-card {
        display: grid; grid-template-columns: 64px minmax(0, 1fr);
        column-gap: .5rem; padding: 1.5rem 0;
    }
    .sp-kit .steps-container .step-card:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
    .sp-kit .step-number { margin: 0; font-size: 2.75rem; }
}

/* ============ 9. Comparison on phones: stacked rows with labels ============ */
@media (max-width: 768px) {
    .sp-kit .comparison-table { border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
    .sp-kit .comparison-table tbody tr {
        background: #ffffff;
        border: 1px solid var(--k-line); border-radius: 16px;
    }
    .sp-kit .comparison-table td {
        display: block; text-align: left;
        padding: .85rem 1rem; font-size: .9375rem; line-height: 1.55;
    }
    .sp-kit .comparison-table td::before {
        display: block; margin: 0 0 .3rem;
        font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
        white-space: normal; color: var(--k-muted);
    }
    .sp-kit .comparison-table td.negative::before { color: #b91c1c; }
    .sp-kit .comparison-table td.positive::before { color: #15803d; }
    .sp-kit .comparison-table td:first-child {
        padding: .85rem 1rem; text-align: left;
        font-size: 1rem; color: var(--k-ink);
        background: var(--k-tint); border-bottom: 1px solid var(--k-line);
    }
    .sp-kit .comparison-table tr:last-child td { border-bottom: 1px solid var(--k-line); }
    .sp-kit .comparison-table tr td:last-child,
    .sp-kit .comparison-table tr:last-child td:last-child { border-bottom: 0; }
}

/* ============ 10. Phones ============ */
@media (max-width: 767px) {
    .sp-kit .hero { padding: 1.75rem 0 3rem; }
    .sp-kit .hero h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 2.4rem); line-height: 1.06; margin-bottom: 1.25rem; }
    .sp-kit .hero-content > p { font-size: 1rem; margin-bottom: 1.25rem; }
    .sp-kit .hero-buttons { flex-direction: column; align-items: stretch; }
    .sp-kit .hero-buttons .btn { width: 100%; }
    .sp-kit .hero-buttons .btn-primary { font-size: 1.0625rem; padding: 1rem 1.25rem; }

    .sp-kit .sp-kit-tool { padding: 1.25rem 1rem 1.1rem; border-radius: 20px; margin-top: 1.75rem; }
    .sp-kit .sp-kit-title { font-size: 1.3rem; }
    .sp-kit .sp-kit-row { flex-direction: column; }
    .sp-kit .sp-kit-go { width: 100%; }
    .sp-kit .sp-kit-check-box .sp-kit-btn { width: 100%; }
    .sp-kit .sp-kit-link-actions { flex-wrap: wrap; }
    .sp-kit .sp-kit-link-actions .sp-kit-copy-main { flex: 1 1 100%; }
    .sp-kit .sp-kit-link-actions .sp-kit-btn:not(.sp-kit-copy-main) { flex: 1 1 0; }
    .sp-kit .sp-kit-next { padding: 1.25rem 1.1rem; }
    .sp-kit .sp-kit-next-btn { width: 100%; }
    .sp-kit .sp-kit-panel > summary { padding: .8rem .85rem; gap: .7rem; }
    .sp-kit .sp-kit-p-body { padding: .85rem .85rem .9rem; }
    .sp-kit .sp-kit-line-row,
    .sp-kit .sp-kit-tab-row { padding: .7rem .75rem; gap: .6rem; }
    .sp-kit .sp-kit-qr { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .sp-kit .sp-kit-qr-view { max-width: 240px; margin: 0 auto; width: 100%; }
    .sp-kit .sp-kit-lang { flex-wrap: wrap; }
    .sp-kit .sp-kit-lang select { flex: 1 1 auto; }

    .sp-kit .sp-kit-what,
    .sp-kit .sub4sub-problems,
    .sp-kit .collabpals-intro,
    .sp-kit .how-it-works,
    .sp-kit .comparison-section,
    .sp-kit .growth-guide,
    .sp-kit .ai-tools,
    .sp-kit .faq-section,
    .sp-kit .related-resources { padding: 3.75rem 0; }
    .sp-kit .sp-kit-what { padding-bottom: 2.25rem; }
    .sp-kit .quick-answer { padding: 0 0 3.75rem; }
    .sp-kit .quick-answer .container > p { padding: .2rem 0 .2rem 1rem; font-size: 1rem; }
    .sp-kit section:not(.sp-quickbuy-strip) .section-header { margin-bottom: 2rem; }
    .sp-kit .answer-capsule,
    .sp-kit .section-header p.answer-capsule,
    .sp-kit .related-resources > .container > p.answer-capsule { padding-left: 1rem; font-size: 1rem; }
    .sp-kit .related-resources > .container > p.answer-capsule { margin-bottom: 2rem; }
    .sp-kit .sp-kit-what-steps li { padding-left: 3.25rem; }
    .sp-kit .sp-kit-what-steps li::before { font-size: 1.5rem; }
    .sp-kit .sp-kit-what-cta { width: 100%; justify-content: center; margin-top: 1.75rem; }

    .sp-kit .problems-grid,
    .sp-kit .collabpals-features,
    .sp-kit .tools-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .sp-kit .collabpals-features { gap: .75rem; }
    .sp-kit .problem-card,
    .sp-kit .tool-card { padding: 1.35rem 0; }
    .sp-kit .problem-card:last-child,
    .sp-kit .tool-card:last-child { border-bottom: 1px solid var(--k-line-strong); }
    .sp-kit .tool-card:last-child { border-bottom-color: var(--k-line); }
    .sp-kit .feature-card { padding: 1.25rem; }
    .sp-kit .tools-grid { margin-bottom: 2rem; }

    /* Phone cards: icon and title share one row, text runs full width below */
    .sp-kit .problem-card,
    .sp-kit .feature-card,
    .sp-kit .tool-card,
    .sp-kit .resource-card {
        display: grid; grid-template-columns: 40px minmax(0, 1fr);
        grid-template-areas: "icon title" "body body";
        column-gap: .875rem; align-items: center;
    }
    .sp-kit .problem-icon,
    .sp-kit .feature-icon,
    .sp-kit .tool-icon,
    .sp-kit .resource-icon { grid-area: icon; width: 40px; height: 40px; margin: 0; }
    .sp-kit .problem-card h3,
    .sp-kit .feature-card h3,
    .sp-kit .tool-card h3,
    .sp-kit .resource-card h3 { grid-area: title; margin: 0; }
    .sp-kit .problem-card p,
    .sp-kit .feature-card p,
    .sp-kit .tool-card p,
    .sp-kit .resource-card p { grid-area: body; margin: .7rem 0 0; }
    .sp-kit .resource-card { padding: 1.1rem; }
    .sp-kit .resource-card::after { display: none; }
    .sp-kit .resource-card h3 { padding-right: 0; }

    .sp-kit .step-card h3 { font-size: 1.125rem; align-self: center; }
    .sp-kit .step-number { font-size: 2.25rem; }
    .sp-kit .steps-container .step-card { grid-template-columns: 52px minmax(0, 1fr); }
    .sp-kit .steps-container .step-card,
    .sp-kit .step-content { min-width: 0; text-align: left; }
    .sp-kit .cta-container .btn { width: 100%; justify-content: center; text-align: center; }

    .sp-kit .guide-strategy { margin-bottom: 1.75rem; padding-top: 1.4rem; }
    .sp-kit .guide-strategy h3 { font-size: 1.2rem; }
    .sp-kit .guide-cta { padding: 1.4rem 1.1rem; }
    .sp-kit .guide-show-more-btn { width: 100%; justify-content: center; }

    .sp-kit .faq-heading button.faq-question,
    .sp-kit .faq-question { padding: 1.1rem 0; font-size: 1rem; }
    .sp-kit .faq-answer { padding-right: 0; }

    .sp-kit .ai-cta { padding: 1.75rem 1.25rem; border-radius: 20px; }
    .sp-kit .ai-cta-content h3 { font-size: 1.35rem; }

    .sp-kit .bottom-cta { padding: 2rem 0 3.75rem; }
    .sp-kit .cta-box { padding: 2.75rem 1.25rem; border-radius: 22px; }
    .sp-kit .author-section { padding: 2.25rem 0 .5rem; }
}
@media (max-width: 374px) {
    .sp-kit .sp-kit-tool { padding: 1.1rem .85rem 1rem; }
    .sp-kit .sp-kit-line-row { flex-direction: column; align-items: stretch; gap: .5rem; }
    .sp-kit .sp-kit-qr-dls { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .sp-kit .sp-kit-result,
    .sp-kit .sp-kit-preview .spp-dialog { animation: none; }
    .sp-kit .sp-kit-go,
    .sp-kit .sp-kit-btn,
    .sp-kit .sp-kit-next-btn,
    .sp-kit .sp-kit-what-cta,
    .sp-kit .sp-kit-p-chev,
    .sp-kit .sp-kit-panel > summary,
    .sp-kit .sp-kit-field input,
    .sp-kit .resource-card::after { transition: none; }
    .sp-kit .sp-kit-go:hover,
    .sp-kit .sp-kit-next-btn:hover,
    .sp-kit .sp-kit-what-cta:hover { transform: none; }
}

/* ============ 9. Review fixes: phone tap targets, stacked tab links, centred trust cards ============ */
.sp-kit .trust-review-item > span:last-child { flex: 0 1 auto; }
@media (max-width: 767px) {
    .sp-kit .sp-kit-btn--sm { min-height: 44px; }
    .sp-kit .sp-kit-btn--icon { width: 44px; }
    .sp-kit .sp-kit-swatch span { width: 44px; height: 44px; }
    .sp-kit .sp-kit-tab-row { flex-direction: column; align-items: stretch; gap: .5rem; }
    .sp-kit .sp-kit-tab-actions .sp-kit-btn:not(.sp-kit-btn--icon) { flex: 1 1 auto; }
}

/* ============ 10. Hero: the CollabPals button first, the free tool beside it ============ */
.sp-kit .sp-kit-eyebrow {
    display: inline-flex; align-items: center;
    margin: 0 0 .65rem; padding: .25rem .65rem;
    font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--k-purple-ink); background: var(--k-lilac); border-radius: 999px;
}
/* The tool in the narrow desktop column uses its phone layout */
@container kit (max-width: 560px) {
    .sp-kit .sp-kit-row { flex-direction: column; }
    .sp-kit .sp-kit-go { width: 100%; }
    .sp-kit .sp-kit-check-box .sp-kit-btn { width: 100%; }
    .sp-kit .sp-kit-link-actions { flex-wrap: wrap; }
    .sp-kit .sp-kit-link-actions .sp-kit-copy-main { flex: 1 1 100%; }
    .sp-kit .sp-kit-link-actions .sp-kit-btn:not(.sp-kit-copy-main) { flex: 1 1 0; }
    .sp-kit .sp-kit-next-btn { width: 100%; }
    .sp-kit .sp-kit-qr { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .sp-kit .sp-kit-qr-view { max-width: 240px; margin: 0 auto; width: 100%; }
    .sp-kit .sp-kit-lang { flex-wrap: wrap; }
    .sp-kit .sp-kit-lang select { flex: 1 1 auto; }
    .sp-kit .sp-kit-tab-row { flex-direction: column; align-items: stretch; gap: .5rem; }
    .sp-kit .sp-kit-tab-actions .sp-kit-btn:not(.sp-kit-btn--icon) { flex: 1 1 auto; }
}

/* ============ 11. Header: one clean line at every width ============ */
.sp-kit .nav-list a,
.sp-kit .header-buttons .btn { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1119px) {
    .sp-kit .main-nav { margin-right: 1.25rem; }
    .sp-kit .nav-list { gap: 1.35rem; }
    .sp-kit .header-buttons { gap: .6rem; }
}
/* Tablets: the full menu does not fit beside the logo, so they get the phone menu button */
@media (min-width: 769px) and (max-width: 1023px) {
    .sp-kit .main-nav,
    .sp-kit .header-buttons { display: none; }
    .sp-kit .mobile-menu-toggle { display: block; }
    .sp-kit .mobile-menu {
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: #fff; z-index: 2000; padding: 2rem; overflow-y: auto;
        transform: translateX(-100%); transition: var(--transition);
    }
    .sp-kit .mobile-menu.active { transform: translateX(0); }
    .sp-kit .mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
    .sp-kit .mobile-menu-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; }
    .sp-kit .mobile-nav-list { list-style: none; }
    .sp-kit .mobile-nav-list li { margin-bottom: 1.25rem; }
    .sp-kit .mobile-nav-list a { font-size: 1.25rem; font-weight: 600; }
    .sp-kit .mobile-nav-list .nav-dropdown-menu { display: none; list-style: none; padding-left: 1rem; margin-top: .5rem; }
    .sp-kit .mobile-nav-list .nav-dropdown-menu.open { display: block; }
    .sp-kit .mobile-nav-list .nav-dropdown-menu li { margin-bottom: .75rem; }
    .sp-kit .mobile-nav-list .nav-dropdown-menu li a { font-size: 1.05rem; font-weight: 500; color: var(--text-muted, #555); }
    .sp-kit .mobile-buttons { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
}
/* Phone and tablet menu: an opened list pushes the rest down instead of covering it */
@media (max-width: 1023px) {
    .sp-kit .mobile-nav-list .nav-dropdown-menu {
        position: static; min-width: 0; margin-top: .35rem; padding: 0 0 0 1rem;
        background: none; box-shadow: none; border-radius: 0;
    }
    .sp-kit .mobile-nav-list .nav-dropdown-menu li { margin-bottom: 0; }
    .sp-kit .mobile-nav-list .nav-dropdown-menu li a { display: flex; align-items: center; min-height: 44px; padding: 0; }
}
