.cd-kb-hero {
    padding: 64px 0;
    background: radial-gradient(ellipse at 50% 0, #eadbfb, #f5edfd 48%, #fcfaff 85%);
    text-align: center;
}
.cd-kb-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border: 1px solid var(--cd-border);
    border-radius: 20px;
    background: white;
    color: var(--cd-purple);
    font-size: 26px;
}
.cd-home .cd-kb-eyebrow {
    margin-bottom: 12px;
    color: var(--cd-purple);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
}
.cd-kb-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
}
.cd-home .cd-kb-intro {
    max-width: 620px;
    margin: 20px auto 28px;
    color: var(--cd-muted);
    line-height: 1.85;
}
.cd-kb-topics { padding-block: 48px; scroll-margin-top: 100px; }
.cd-kb-section-heading { margin-bottom: 28px; }
.cd-kb-section-heading h2 { font-size: var(--cd-text-heading); font-weight: 700; }
.cd-kb-section-heading > p:last-child { margin-top: 12px; color: var(--cd-muted); }
.cd-kb-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cd-kb-topic-card { padding: 26px; border: 1px solid var(--cd-border); border-radius: 20px; background: white; }
.cd-kb-topic-thumbnail { display: block; overflow: hidden; border: 1px solid var(--cd-border); border-radius: 12px; background: #f4f7fc; }
.cd-kb-topic-thumbnail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.cd-kb-topic-card h3 { margin: 18px 0 10px; font-size: 1.0625rem; font-weight: 600; }
.cd-kb-topic-card p { color: var(--cd-muted); font-size: .875rem; }
.cd-kb-coming-soon { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 26px; border: 1px solid var(--cd-border); border-radius: 20px; background: #f3ecfc; }
.cd-kb-coming-soon > i { color: var(--cd-purple); font-size: 26px; }
.cd-kb-coming-soon h2, .cd-kb-support h2 { font-size: 1.125rem; font-weight: 600; }
.cd-kb-coming-soon p, .cd-kb-support p { margin-top: 8px; color: var(--cd-muted); font-size: .875rem; }
.cd-kb-support { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 0 56px; }
.cd-kb-support .cd-home-button { flex-shrink: 0; }
.cd-kb-hero .cd-home-button, .cd-kb-start-button { background: #91c978; }
.cd-kb-support .cd-home-button-outline { border-color: #91c978; }
.cd-home .cd-kb-read-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--cd-purple); font-size: .875rem; font-weight: 600; }
.cd-kb-read-link:hover { text-decoration: underline; }
.cd-kb-tutorial { padding-block: 32px 64px; }
.cd-kb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--cd-muted); font-size: .8125rem; }
.cd-kb-breadcrumb a { display: inline-flex; align-items: center; gap: 8px; }
.cd-kb-tutorial-header { max-width: 850px; padding-block: 36px; }
.cd-kb-tutorial-header h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.cd-kb-tutorial-header > p:not(.cd-kb-eyebrow) { margin-top: 16px; max-width: 680px; color: var(--cd-muted); }
.cd-kb-tutorial-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; color: var(--cd-purple); font-size: .8125rem; font-weight: 500; }
.cd-kb-tutorial-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 44px; }
.cd-home .cd-kb-column-title { font-size: 1rem; font-weight: 600; }
.cd-home .cd-kb-column-hint { margin-top: 8px; color: var(--cd-muted); font-size: .8125rem; }
.cd-kb-steps { display: grid; gap: 12px; margin: 20px 0 24px; padding: 0; list-style: none; }
.cd-kb-step { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 20px; border: 1px solid var(--cd-border); border-radius: 18px; background: white; color: var(--cd-ink); font: inherit; text-align: left; }
.cd-kb-step:hover { border-color: #c9aceb; }
.cd-kb-step[aria-pressed="true"] { border-color: var(--cd-purple); background: #f3ecfc; box-shadow: 0 4px 16px rgb(109 40 217 / 6%); }
.cd-kb-step-number { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #f1e8fc; color: var(--cd-purple); font-size: .8125rem; font-weight: 600; }
.cd-kb-step[aria-pressed="true"] .cd-kb-step-number { background: var(--cd-purple); color: white; }
.cd-kb-step-copy, .cd-kb-step-title, .cd-kb-step-description { display: block; }
.cd-kb-step-title { margin: 2px 0 8px; font-family: var(--cd-font-heading); font-size: .9375rem; font-weight: 600; }
.cd-kb-step-description { color: var(--cd-muted); font-size: .8125rem; line-height: 1.8; }
.cd-kb-preview-column { position: sticky; top: 112px; min-width: 0; scroll-margin-top: 100px; }
.cd-kb-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
#cd-kb-step-count { color: var(--cd-muted); font-size: .75rem; }
.cd-kb-browser { overflow: hidden; border: 1px solid #d9cbea; border-radius: 16px; background: white; box-shadow: 0 18px 50px -24px rgb(42 14 77 / 30%); }
.cd-kb-browser-toolbar { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border-bottom: 1px solid #e4daed; background: #f1edf6; }
.cd-kb-browser-dots { display: inline-flex; flex-shrink: 0; gap: 6px; }
.cd-kb-browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: #ffb1ab; }
.cd-kb-browser-dots span:nth-child(2) { background: #f4d47f; }
.cd-kb-browser-dots span:nth-child(3) { background: #a6d7b2; }
.cd-kb-browser-address { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; flex: 1; padding: 7px 12px; border: 1px solid #e8e0ef; border-radius: 8px; background: white; color: var(--cd-muted); font-size: .6875rem; }
.cd-kb-browser-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-kb-preview { margin: 0; }
.cd-kb-preview[hidden] { display: none; }
.cd-kb-browser-viewport { max-height: 620px; overflow-y: auto; background: #f4f7fc; }
.cd-kb-browser-viewport:focus-visible { outline: 3px solid var(--cd-purple); outline-offset: -3px; }
.cd-kb-browser-viewport img { width: 100%; }
.cd-kb-annotated-image { position: relative; }
.cd-home .cd-kb-click-arrow { position: absolute; left: var(--arrow-x); top: var(--arrow-y); width: 14%; max-width: none; height: auto; transform: translate(-100%, -50%) rotate(var(--arrow-angle)); transform-origin: 100% 50%; pointer-events: none; }
.cd-kb-preview figcaption { padding: 12px 18px; border-top: 1px solid var(--cd-border); font-size: .75rem; color: var(--cd-muted); }
.cd-kb-preview-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.cd-kb-preview-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 16px; border: 1px solid #91c978; border-radius: 999px; background: white; color: var(--cd-purple); font: inherit; font-size: .8125rem; font-weight: 600; }
.cd-kb-preview-controls button:disabled { opacity: .4; cursor: default; }
.cd-kb-preview-controls button:not(:disabled):hover { background: #f3ecfc; }
.cd-home .cd-kb-screenshot-note { margin-top: 14px; color: var(--cd-muted); font-size: .6875rem; }
.cd-kb-example { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--cd-border); }
.cd-kb-example > p { max-width: 850px; color: var(--cd-muted); line-height: 1.8; }
.cd-kb-example-scroll { overflow-x: auto; margin-block: 24px; border: 1px solid var(--cd-border); border-radius: 14px; }
.cd-kb-example-scroll:focus-visible { outline: 3px solid var(--cd-purple); outline-offset: 3px; }
.cd-kb-example-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; font-size: .875rem; }
.cd-kb-example-table caption { padding: 14px 18px; text-align: left; color: var(--cd-muted); }
.cd-kb-example-table th, .cd-kb-example-table td { padding: 12px 18px; border-bottom: 1px solid var(--cd-border); }
.cd-kb-example-table thead { background: #f3ecfc; }
.cd-kb-example-table tbody th { font-weight: 500; }
.cd-kb-example-table tbody tr:last-child > * { border-bottom: 0; }
.cd-kb-devices { margin-bottom: 36px; padding: 24px; border: 1px solid var(--cd-border); border-radius: 20px; background: #fff; }
.cd-home .cd-kb-devices > p { margin: 8px 0 20px; color: var(--cd-muted); font-size: .875rem; }
.cd-kb-device-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cd-kb-device { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 12px; border: 1px solid var(--cd-border); border-radius: 14px; background: #faf8fc; color: var(--cd-ink); font: inherit; text-align: left; }
.cd-kb-device[aria-pressed="true"] { border-color: var(--cd-purple); background: #f3ecfc; box-shadow: inset 0 0 0 1px var(--cd-purple); }
.cd-kb-device strong, .cd-kb-device small { display: block; }
.cd-kb-device strong { font-size: .875rem; }
.cd-kb-device small { margin-top: 4px; color: var(--cd-muted); font-size: .75rem; }
.cd-kb-device-mini { position: relative; flex-shrink: 0; width: 33px; height: 62px; border: 3px solid #633643; border-radius: 8px; background: linear-gradient(145deg, #ead8df, #974963); }
.cd-kb-device-mini > span { position: absolute; top: 3px; left: 50%; width: 11px; height: 3px; border-radius: 4px; background: #201a20; transform: translateX(-50%); }
.cd-kb-device-mini-iphone-max { width: 37px; height: 68px; border-color: #677584; background: linear-gradient(145deg, #e2ebf2, #8aa4bc); }
.cd-kb-device-mini-iphone-17e { width: 31px; height: 60px; border-color: #383b40; background: linear-gradient(145deg, #e0dcf6, #8470bb); }
.cd-kb-device:focus-visible, .cd-kb-step:focus-visible { outline: 3px solid var(--cd-purple); outline-offset: 3px; }
.cd-kb-install-tutorial .cd-kb-browser-viewport { max-height: none; }
.cd-kb-phone-stage { padding: 22px 16px 16px; background: radial-gradient(ellipse at 20% 0, #e9def5, #f9f6fc 65%); }
.cd-home .cd-kb-phone-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 18px; color: var(--cd-purple); font-size: .75rem; font-weight: 600; text-align: center; }
.cd-kb-phone { --phone-frame: #633643; position: relative; display: flex; flex-direction: column; width: 280px; max-width: 100%; height: 490px; margin-inline: auto; overflow: hidden; border: 7px solid #201d23; border-radius: 38px; background: #fff; box-shadow: 0 0 0 3px var(--phone-frame), 0 18px 35px -20px #42274d66; font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }
[data-kb-device="iphone-max"] .cd-kb-phone { --phone-frame: #8294a5; width: 300px; height: 510px; }
[data-kb-device="iphone-17e"] .cd-kb-phone { --phone-frame: #62616c; width: 260px; height: 490px; }
[data-kb-platform="android"] .cd-kb-phone { --phone-frame: #69846a; width: 286px; border-radius: 30px; }
.cd-kb-phone-status { position: relative; display: flex; justify-content: space-between; flex-shrink: 0; padding: 15px 18px 12px; color: #26222c; font-size: 10px; font-weight: 600; }
.cd-kb-phone-status > span:last-child { display: flex; gap: 4px; }
.cd-kb-phone-camera { position: absolute; top: 10px; left: 50%; width: 62px; height: 17px; border-radius: 20px; background: #201d23; transform: translateX(-50%); }
[data-kb-platform="android"] .cd-kb-phone-camera { top: 13px; width: 10px; height: 10px; }
.cd-kb-phone-display { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #fbf8fc; color: #282334; }
.cd-kb-phone-page { display: flex; flex-direction: column; align-items: center; padding: 30px 16px; text-align: center; }
.cd-kb-phone-app-icon { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 16px; }
.cd-home .cd-kb-phone-page .cd-kb-phone-app-icon, .cd-home .cd-kb-phone-login .cd-kb-phone-app-icon { width: 64px; }
.cd-kb-phone-eyebrow { margin-bottom: 12px; color: #756486; font-size: 7px; font-weight: 600; letter-spacing: .12em; }
.cd-kb-phone-page > strong { font-size: 23px; letter-spacing: -.04em; }
.cd-home .cd-kb-phone-page > p { margin: 12px 0 20px; color: #71657b; font-size: 11px; line-height: 1.7; }
.cd-kb-phone-instructions { display: grid; gap: 7px; width: 100%; text-align: left; }
.cd-kb-phone-instructions > span { padding: 10px 12px; border-radius: 8px; background: #f0e9f5; font-size: 11px; }
.cd-kb-phone-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 38px; border-radius: 10px; background: #91c978; color: #203b24; font-size: 12px; font-weight: 600; }
.cd-kb-phone-target { outline: 2px solid #7c3aed; outline-offset: 3px; }
.cd-kb-phone-address, .cd-kb-phone-safari { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 5px 12px; padding: 11px 14px; border-radius: 22px; background: #ece7ef; color: #5c5365; font-size: 10px; }
.cd-kb-phone-safari { position: absolute; right: 0; bottom: 4px; left: 0; background: #e8e4ed; }
.cd-kb-phone-sheet { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 14px 24px; border-top: 1px solid #e4dce9; border-radius: 20px 20px 0 0; background: #f8f5fa; box-shadow: 0 -16px 60px #22142c26; font-size: 12px; }
[data-kb-platform="ios"] .cd-kb-phone-sheet:has(+ .cd-kb-phone-safari) { bottom: 54px; }
.cd-kb-phone-grabber { display: block; width: 34px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: #c7bfce; }
.cd-kb-phone-sheet > strong { display: block; margin: 4px 0 14px; }
.cd-kb-phone-menu-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; margin-top: 9px; padding: 10px; border-radius: 9px; background: #fff; font-size: 11px; }
.cd-kb-phone-sheet small { display: block; margin-top: 16px; color: #71657b; font-size: 10px; line-height: 1.6; }
.cd-kb-chrome-menu { top: 40px; bottom: auto; left: 18px; border-radius: 12px; }
.cd-kb-phone-sheet-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-kb-phone-sheet-title > strong { font-size: 12px; }
.cd-kb-phone-add { padding: 5px 8px; border-radius: 6px; color: #6d28d9; font-weight: 600; }
.cd-kb-phone-app-summary { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.cd-kb-phone-app-summary img { width: 44px; height: 44px; border-radius: 11px; }
.cd-kb-phone-app-summary small { margin-top: 4px; }
.cd-kb-phone-toggle { position: relative; width: 30px; height: 18px; border-radius: 20px; background: #35ad60; }
.cd-kb-phone-toggle::after { content: ''; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.cd-home .cd-kb-phone-confirm > p { margin: 18px 0; color: #71657b; font-size: 11px; }
.cd-kb-phone-home { height: 100%; padding: 44px 22px; background: linear-gradient(145deg, #ded2ef, #fae1db 60%, #d4e7ce); }
.cd-home .cd-kb-phone-home > p { max-width: 170px; margin-bottom: 32px; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.04em; }
.cd-kb-home-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 16px; }
.cd-kb-home-placeholder { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #fff8; border-radius: 14px; background: #ffffff80; color: #8e799c; font-size: 22px; }
.cd-kb-home-cakedino { border-radius: 14px; }
.cd-kb-home-cakedino img { display: block; aspect-ratio: 1; border-radius: 14px; }
.cd-kb-home-cakedino > span { display: block; margin-top: 6px; font-size: 9px; text-align: center; }
.cd-kb-home-tap { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #593876; font-size: 12px; font-weight: 600; }
.cd-kb-phone-login { display: flex; flex-direction: column; align-items: center; padding: 34px 22px; }
.cd-kb-phone-login > strong { font-size: 21px; }
.cd-home .cd-kb-phone-login > p { margin: 8px 0 24px; color: #71657b; font-size: 11px; }
.cd-kb-phone-field { width: 100%; margin-bottom: 12px; padding: 12px; border: 1px solid #e3dbe9; border-radius: 9px; background: #fff; color: #71657b; font-size: 11px; }
.cd-kb-phone-login > small { margin-top: 22px; color: #71657b; font-size: 9px; text-align: center; }
.cd-kb-phone-home-bar { flex-shrink: 0; width: 85px; height: 4px; margin: 10px auto 7px; border-radius: 8px; background: #201d23; }
.cd-home .cd-kb-phone-label { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 20px 0 0; color: #71657b; font-size: .6875rem; text-align: center; }
.cd-kb-captured-phone { padding: 24px 16px 18px; background: #f5f1f8; }
.cd-kb-captured-image { position: relative; width: min(100%, 310px); margin-inline: auto; }
.cd-kb-captured-phone .cd-kb-captured-screen { display: block; width: 100%; height: auto; border: 1px solid #d9cbea; border-radius: 20px; box-shadow: 0 12px 30px -18px #42274d66; }
.cd-home .cd-kb-captured-image .cd-kb-click-arrow { display: none; width: 22%; }
[data-kb-device="iphone-pro"] .cd-kb-click-arrow[data-kb-arrow-device="iphone-pro"],
[data-kb-device="iphone-max"] .cd-kb-click-arrow[data-kb-arrow-device="iphone-max"],
[data-kb-device="iphone-17e"] .cd-kb-click-arrow[data-kb-arrow-device="iphone-17e"] { display: block; }
.cd-kb-native-thumbnail { display: flex; justify-content: center; align-items: center; gap: 12px; aspect-ratio: 16 / 10; padding: 14px; }
.cd-kb-native-thumbnail img { width: auto; height: 100%; max-width: calc((100% - 24px) / 3); aspect-ratio: auto; object-fit: contain; border-radius: 6px; }
.cd-kb-install-help { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--cd-border); }
.cd-kb-install-help h2 { margin-bottom: 24px; font-size: 1.25rem; font-weight: 600; }
.cd-kb-help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cd-kb-help-grid > div { padding: 24px; border: 1px solid var(--cd-border); border-radius: 16px; background: #fff; }
.cd-kb-help-grid h3 { margin-bottom: 12px; font-size: 1rem; font-weight: 600; }
.cd-home .cd-kb-help-grid p { color: var(--cd-muted); font-size: .875rem; }
.cd-home .cd-kb-install-sources { margin-top: 24px; color: var(--cd-muted); font-size: .75rem; line-height: 1.9; }
.cd-kb-install-sources a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
    .cd-kb-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cd-kb-tutorial-grid { grid-template-columns: 1fr; gap: 32px; }
    .cd-kb-preview-column { position: static; }
}
@media (max-width: 600px) {
    .cd-kb-devices { padding: 18px; }
    .cd-kb-device-options { grid-template-columns: 1fr; gap: 10px; }
    .cd-kb-device { justify-content: flex-start; padding: 12px 16px; }
    .cd-kb-device-mini { width: 24px; height: 44px; border-radius: 6px; }
    .cd-kb-device-mini-iphone-max { width: 27px; height: 48px; }
    .cd-kb-device-mini-iphone-17e { width: 23px; height: 43px; }
    .cd-kb-phone-stage { padding-inline: 12px; }
    .cd-kb-help-grid { grid-template-columns: 1fr; }
    .cd-kb-hero { padding-block: 44px; }
    .cd-kb-topics { padding-block: 36px; }
    .cd-kb-topic-grid { grid-template-columns: 1fr; gap: 14px; }
    .cd-kb-topic-card { padding: 22px; }
    .cd-kb-coming-soon { align-items: flex-start; padding: 22px; gap: 16px; }
    .cd-kb-support { flex-direction: column; align-items: flex-start; padding-bottom: 40px; }
    .cd-kb-tutorial { padding-block: 24px 40px; }
    .cd-kb-tutorial-header { padding-block: 28px; }
    .cd-kb-step { padding: 16px; gap: 12px; }
    .cd-kb-browser-toolbar { padding: 12px; gap: 12px; }
    .cd-kb-browser-viewport { max-height: 480px; }
}
