/* Project document checklist (kick_docs) */
.kd { --kd-ink: #0f172a; --kd-muted: #475569; --kd-line: #e2e8f0; --kd-acc: #00649e; --kd-ok: #059669; max-width: 1080px; margin: 0 auto; }
.kd-tabs { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 5px; border-radius: 999px; background: #eef3f8; border: 1px solid var(--kd-line); }
.kd-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--kd-muted); font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.kd-tab span { min-width: 22px; padding: 3px 7px; border-radius: 99px; background: #dbe5ef; font-size: 12px; color: var(--kd-ink); }
.kd-tab[aria-selected="true"] { background: #fff; color: var(--kd-acc); box-shadow: 0 4px 14px -6px rgba(15, 23, 42, .25); }
.kd-tab:focus-visible, .kd-btn:focus-visible { outline: 2px solid var(--kd-acc); outline-offset: 2px; }
.kd-panel + .kd-panel { margin-top: 28px; }
.js-kd .kd-panel + .kd-panel { margin-top: 0; }
.kd-panel[hidden] { display: none; }
.kd-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-bottom: 16px; padding: 14px 18px; border: 1px solid var(--kd-line); border-radius: 14px; background: #fff; color: var(--kd-muted); font-size: 14px; }
.kd-meter b { color: var(--kd-ink); }
.kd-bar { height: 8px; border-radius: 99px; background: #edf2f7; overflow: hidden; }
.kd-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--kd-acc), #22c1a8); transition: width .4s ease; }
.kd-meter em { font-style: normal; font-weight: 600; color: var(--kd-ok); }
.kd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.kd-item { margin: 0; padding: 0; }
.kd-item::before { content: none !important; }
.kd-card { position: relative; display: flex; gap: 14px; height: 100%; margin: 0; padding: 16px 16px 16px 52px; border: 1px solid var(--kd-line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.kd-card:hover { border-color: #b9cde0; box-shadow: 0 10px 24px -16px rgba(15, 23, 42, .35); }
.kd-check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kd-tick { position: absolute; left: 16px; top: 18px; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #b6c3d1; border-radius: 7px; background: #fff; transition: background .2s, border-color .2s; }
.kd-tick svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.kd-check:focus-visible ~ .kd-tick { outline: 2px solid var(--kd-acc); outline-offset: 2px; }
.kd-check:checked ~ .kd-tick { background: var(--kd-ok); border-color: var(--kd-ok); }
.kd-check:checked ~ .kd-tick svg { opacity: 1; }
.kd-card:has(.kd-check:checked) { background: #f3fbf8; border-color: #a7e3cf; }
.kd-img { flex: 0 0 64px; height: 64px; padding: 4px; border: 1px solid #edf1f5; border-radius: 12px; overflow: hidden; background: #fff; }
.kd-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kd-body { display: grid; align-content: start; gap: 5px; min-width: 0; }
.kd-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.kd-title { font-size: 16px; line-height: 1.3; color: var(--kd-ink); }
.kd-badge { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; line-height: 1.6; font-style: normal; letter-spacing: .02em; text-transform: uppercase; }
.kd-required { background: #fde8e8; color: #b42318; }
.kd-oneof { background: #fff4db; color: #8a5100; }
.kd-optional { background: #e8f1fb; color: #1d5b94; }
.kd-why { font-size: 14px; line-height: 1.55; color: var(--kd-muted); }
.kd-format { justify-self: start; margin-top: 2px; padding: 4px 9px; border-radius: 8px; background: #f4f7fa; font-size: 12.5px; line-height: 1.45; color: #334155; }
.kd-foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: #f0f7fc; border: 1px solid #d7e7f3; }
.kd-tips { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: #334155; }
.kd-tips li { position: relative; margin: 0; padding-left: 22px; }
.kd-tips li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--kd-acc); }
.kd-send { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.kd-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid #b9cde0; background: #fff; color: var(--kd-acc); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.kd-btn:hover { background: #e6f0f8; }
.kd-btn-main { background: var(--kd-acc); border-color: var(--kd-acc); color: #fff; }
.kd-btn-main:hover { background: #004f7d; color: #fff; }
@media (max-width: 720px) {
    .kd-list { grid-template-columns: 1fr; }
    .kd-meter { grid-template-columns: 1fr; gap: 8px; }
    .kd-foot { grid-template-columns: 1fr; }
    .kd-send { justify-content: stretch; }
    .kd-btn { flex: 1 1 auto; justify-content: center; }
    .kd-tab { padding: 0 14px; font-size: 14px; }
    .kd-img { flex-basis: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .kd-bar i, .kd-card, .kd-tab { transition: none; } }

/* "How it works" steps on the same page (steps_row's own styles load only on product pages) */
.pp-steps-sec .pp-steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 20px; max-width: 1080px; margin: 32px auto 0; padding: 0; list-style: none; counter-reset: none; }
.pp-steps-sec .pp-steps::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #9cc3dd 0 8px, transparent 8px 15px); }
.pp-steps-sec .pp-steps li { position: relative; margin: 0; padding: 0 8px; text-align: center; list-style: none; }
.pp-steps-sec .pp-steps li::before, .pp-steps-sec .pp-steps li::marker { content: none; }
.pp-steps-sec .pp-steps span { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; background: #00649e; color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 0 0 7px #fff, 0 10px 22px -8px rgba(0, 100, 158, .55); }
.pp-steps-sec .pp-step-pre { display: none; }
.pp-steps-sec .pp-steps h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: #0f172a; }
.pp-steps-sec .pp-steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #475569; }
@media (max-width: 820px) {
    .pp-steps-sec .pp-steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
    .pp-steps-sec .pp-steps::before { display: none; }
}
@media (max-width: 480px) {
    .pp-steps-sec .pp-steps { grid-template-columns: 1fr; }
    .pp-steps-sec .pp-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; text-align: left; }
    .pp-steps-sec .pp-steps span { grid-row: span 2; margin: 0; }
}

/* App store accounts explained (store_accounts) */
.sa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; max-width: 1080px; margin: 0 auto; }
.sa-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -24px rgba(15, 23, 42, .4); }
.sa-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #edf1f5; }
.sa-logo { flex: 0 0 52px; height: 52px; padding: 6px; border: 1px solid #edf1f5; border-radius: 14px; background: #fff; }
.sa-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sa-head h3 { margin: 0; font-size: 18px; line-height: 1.3; color: #0f172a; }
.sa-head p { margin: 2px 0 0; font-size: 13.5px; color: #475569; }
.sa-fee { display: grid; justify-items: end; margin-left: auto; padding: 8px 12px; border-radius: 12px; background: #f0f7fc; text-align: right; }
.sa-fee b { font-size: 18px; line-height: 1.2; color: #00649e; }
.sa-fee span { font-size: 12px; color: #475569; }
.sa-types { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: #334155; }
.sa-card h4 { margin: 8px 0 0; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #0f172a; }
.sa-needs, .sa-steps { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; color: #334155; }
.sa-needs li, .sa-steps li { position: relative; margin: 0; padding-left: 26px; }
.sa-needs li::before { content: ""; position: absolute; left: 3px; top: .35em; width: 14px; height: 8px; border-left: 2px solid #059669; border-bottom: 2px solid #059669; transform: rotate(-45deg); }
.sa-steps { counter-reset: sa; }
.sa-steps li { counter-increment: sa; }
.sa-steps li::before { content: counter(sa); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #e6f0f8; color: #00649e; font-size: 11.5px; font-weight: 700; }
.sa-note { margin: 6px 0 0; padding: 12px 14px; border-left: 3px solid #f59e0b; border-radius: 0 10px 10px 0; background: #fff8e8; font-size: 14px; line-height: 1.55; color: #5b3d00; }
.sa-link { align-self: flex-start; margin-top: auto; gap: 6px; }
.sa-foot { max-width: 1080px; margin: 18px auto 0; font-size: 13.5px; line-height: 1.55; color: #475569; text-align: center; }
@media (max-width: 720px) {
    .sa-grid { grid-template-columns: 1fr; }
    .sa-card { padding: 18px; }
    .sa-head { display: grid; grid-template-columns: 52px 1fr; }
    .sa-fee { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; justify-self: start; margin-left: 0; text-align: left; }
    .sa-link { align-self: stretch; justify-content: center; }
}

/* UI/UX fixes (audit 24 Nov 2026) */
/* Hero button: a clear white pill on the blue banner instead of bare text beside a dark circle */
html body .sv-phero .sv-pointer { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px 0 22px; border-radius: 999px; background: #fff; color: #00649e; font-weight: 600; text-decoration: none; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55); transition: background .2s, transform .2s; }
html body .sv-phero .sv-pointer span { padding: 0; background: none; color: inherit; }
html body .sv-phero .sv-pointer i { display: grid; place-items: center; width: 34px; height: 34px; margin: 0; border-radius: 50%; background: #00649e; color: #fff; font-style: normal; }
html body .sv-phero .sv-pointer:hover { background: #eaf4fb; }
html body .sv-phero .sv-pointer:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Readable small text */
.kd-badge { font-size: 12px; }
.kd-format { font-size: 13px; }
.sa-fee span, .sa-steps li::before { font-size: 12px; }
/* Tabs never wrap; full width on phones */
.kd-tab { white-space: nowrap; }
@media (max-width: 520px) {
    .kd-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .kd-tab { justify-content: center; padding: 0 10px; font-size: 13.5px; }
    .kd-tab span { display: none; }
}
/* Store cards: one column until there is room for two; header never squeezed */
.sa-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .sa-grid { grid-template-columns: 1fr; max-width: 640px; } }
.sa-head > div:not(.sa-fee) { min-width: 0; flex: 1 1 auto; }
.sa-fee { flex: 0 0 auto; white-space: nowrap; }
.sa-link { white-space: nowrap; max-width: 100%; }
@media (max-width: 400px) { .sa-link { white-space: normal; text-align: center; } }
/* Call-to-action buttons equal width on phones */
@media (max-width: 640px) {
    .pp-cta-sec .pp-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; }
    .pp-cta-sec .pp-actions a { justify-content: center; text-align: center; }
}
