/**
 * Webbotica — Search Visibility detail page
 */

:root {
    --wb-seo-primary: var(--color-primary, #496af9);
    --wb-seo-primary-dark: #3452d6;
    --wb-seo-bg: var(--color-background, #fafaf8);
    --wb-seo-surface: var(--color-surface, #ffffff);
    --wb-seo-heading: var(--color-heading, #111827);
    --wb-seo-copy: var(--color-paragraph, #6b7280);
    --wb-seo-border: var(--color-border, #e5e7eb);
    --wb-seo-container: var(--container-width, 1240px);
    --wb-seo-gutter: var(--container-padding, 24px);
    --wb-seo-radius-sm: 10px;
    --wb-seo-radius-md: 16px;
    --wb-seo-radius-lg: 22px;
    --wb-seo-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

.wb-seo-page,
.wb-seo,
.wb-seo * {
    box-sizing: border-box;
}

.wb-seo {
    background: #fff;
    color: var(--wb-seo-heading);
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: clip;
}

.wb-seo a { color: inherit; }
.wb-seo button,
.wb-seo input { font: inherit; }

.wb-seo__container {
    width: min(calc(100% - (var(--wb-seo-gutter) * 2)), var(--wb-seo-container));
    margin-inline: auto;
}

.wb-seo__eyebrow {
    margin: 0 0 15px;
    color: var(--wb-seo-primary);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.wb-seo__button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.wb-seo__button:hover { transform: translateY(-2px); }
.wb-seo__button:focus-visible,
.wb-seo button:focus-visible,
.wb-seo a:focus-visible,
.wb-seo summary:focus-visible,
.wb-seo input:focus-visible + span {
    outline: 3px solid rgba(73, 106, 249, 0.24);
    outline-offset: 3px;
}

.wb-seo__button--primary {
    background: var(--wb-seo-primary);
    color: #fff !important;
}
.wb-seo__button--primary:hover { background: var(--wb-seo-primary-dark); }

.wb-seo__button--text {
    padding-inline: 2px;
    border-radius: 0;
    border-bottom-color: var(--wb-seo-heading);
    background: transparent;
    color: var(--wb-seo-heading) !important;
}
.wb-seo__button--text:hover {
    border-bottom-color: var(--wb-seo-primary);
    color: var(--wb-seo-primary) !important;
}

.wb-seo-section {
    scroll-margin-top: calc(var(--site-header-height, 72px) + 58px);
    padding: clamp(78px, 7.6vw, 112px) 0;
    background: #fff;
}

.wb-seo-section + .wb-seo-section {
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.wb-seo-heading {
    max-width: 830px;
    margin-bottom: clamp(38px, 4.5vw, 58px);
}

.wb-seo-heading h2 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2.15rem, 3.35vw, 3.45rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.07;
    text-wrap: balance;
}

.wb-seo-heading > p:last-child {
    max-width: 720px;
    margin: 21px 0 0;
    color: var(--wb-seo-copy);
    font-size: 1rem;
    line-height: 1.72;
}

[data-reveal] { opacity: 1; transform: none; }
.wb-seo.is-reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.wb-seo.is-reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .wb-seo *,
    .wb-seo *::before,
    .wb-seo *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}

/* Hero */
.wb-seo-hero {
    min-height: min(760px, calc(100svh - 72px));
    display: grid;
    align-items: center;
    padding: clamp(106px, 9.5vw, 138px) 0 clamp(74px, 7vw, 96px);
    border-bottom: 1px solid var(--wb-seo-border);
    background: #fff;
}

.wb-seo-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(540px, 1.16fr);
    gap: clamp(48px, 6vw, 84px);
    align-items: center;
}

.wb-seo-hero__copy { max-width: 610px; }

.wb-seo-hero h1 {
    max-width: 590px;
    margin: 0;
    font-size: clamp(3rem, 4.2vw, 4.55rem);
    font-weight: 700;
    letter-spacing: -0.056em;
    line-height: 1.01;
    text-wrap: balance;
}

.wb-seo-hero__lead {
    max-width: 590px;
    margin: 25px 0 0;
    color: var(--wb-seo-copy);
    font-size: clamp(0.98rem, 1.05vw, 1.08rem);
    line-height: 1.72;
}

.wb-seo-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 31px;
}

.wb-seo-hero__note {
    max-width: 520px;
    margin: 18px 0 0;
    color: #7b8492;
    font-size: 0.79rem;
    line-height: 1.58;
}

.wb-seo-hero__visual { min-width: 0; }

.wb-seo-demo {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) 48px minmax(230px, 0.82fr);
    align-items: center;
    padding: 14px;
    border: 1px solid #d9dee8;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--wb-seo-shadow);
}

.wb-seo-demo::before {
    content: "";
    position: absolute;
}

.wb-seo-demo__browser,
.wb-seo-demo__page {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--wb-seo-border);
    border-radius: 15px;
    background: #fff;
}

.wb-seo-demo__bar {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    border-bottom: 1px solid var(--wb-seo-border);
}

.wb-seo-demo__dots {
    display: flex;
    gap: 5px;
    flex: 0 0 auto;
}
.wb-seo-demo__dots i {
    width: 6px;
    height: 6px;
    border: 1px solid #cfd5df;
    border-radius: 50%;
}

.wb-seo-demo__query {
    min-width: 0;
    flex: 1;
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 18px;
    color: #333b4a;
    font-size: 0.72rem;
    font-weight: 600;
}
.wb-seo-demo__query svg {
    width: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.wb-seo-demo__results { padding: 19px 17px 17px; }
.wb-seo-demo__result-label {
    margin: 0 0 11px;
    color: #8a92a0;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.wb-seo-demo__result {
    border: 1px solid var(--wb-seo-border);
    border-radius: 12px;
    background: #fff;
}

.wb-seo-demo__result.is-active {
    padding: 15px;
    border-color: rgba(73, 106, 249, 0.34);
    box-shadow: 0 12px 28px rgba(73, 106, 249, 0.07);
}
.wb-seo-demo__result.is-active small {
    display: block;
    color: #4f5969;
    font-size: 0.6rem;
    line-height: 1.45;
}
.wb-seo-demo__result.is-active h3 {
    margin: 7px 0 6px;
    color: #344fc4;
    font-size: 0.92rem;
    letter-spacing: -0.025em;
    line-height: 1.28;
}
.wb-seo-demo__result.is-active p {
    margin: 0;
    color: #6f7785;
    font-size: 0.64rem;
    line-height: 1.52;
}
.wb-seo-demo__result.is-active div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}
.wb-seo-demo__result.is-active div span {
    padding: 5px 7px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 6px;
    color: #566071;
    font-size: 0.54rem;
    font-weight: 700;
}

.wb-seo-demo__result--muted {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
    padding: 10px;
    opacity: 0.62;
}
.wb-seo-demo__result--muted > span {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #eef0f4;
}
.wb-seo-demo__result--muted div { min-width: 0; }
.wb-seo-demo__result--muted b,
.wb-seo-demo__result--muted small { display: block; }
.wb-seo-demo__result--muted b { font-size: 0.64rem; }
.wb-seo-demo__result--muted small { margin-top: 3px; color: #848c99; font-size: 0.54rem; }

.wb-seo-demo__connector {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    color: var(--wb-seo-primary);
}
.wb-seo-demo__connector span { height: 1px; background: rgba(73, 106, 249, 0.34); }
.wb-seo-demo__connector svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.wb-seo-demo__page-head {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--wb-seo-border);
}
.wb-seo-demo__page-head span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-right: auto;
    border-radius: 7px;
    background: var(--wb-seo-heading);
    color: #fff;
    font-size: 0.56rem;
    font-weight: 800;
}
.wb-seo-demo__page-head i { width: 18px; height: 3px; border-radius: 2px; background: #d9dde5; }

.wb-seo-demo__page-body { padding: 23px 18px 20px; }
.wb-seo-demo__page-body > p {
    margin: 0;
    color: var(--wb-seo-primary);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}
.wb-seo-demo__page-body h3 {
    margin: 9px 0 16px;
    font-size: 1.05rem;
    letter-spacing: -0.035em;
    line-height: 1.25;
}
.wb-seo-demo__page-body ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wb-seo-demo__page-body li {
    position: relative;
    padding-left: 14px;
    color: #616a79;
    font-size: 0.65rem;
    line-height: 1.42;
}
.wb-seo-demo__page-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wb-seo-primary);
}
.wb-seo-demo__cta {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 0 11px;
    border-radius: 7px;
    background: var(--wb-seo-primary);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
}

.wb-seo-demo__steps {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding: 10px 12px 2px;
}
.wb-seo-demo__steps span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: #667080;
    font-size: 0.56rem;
    font-weight: 700;
}
.wb-seo-demo__steps b { color: var(--wb-seo-primary); font-size: 0.5rem; }
.wb-seo-demo__steps i { height: 1px; min-width: 12px; flex: 1; background: #dfe3ea; }

/* Chapters */
.wb-seo-chapters {
    position: sticky;
    top: var(--site-header-height, 72px);
    z-index: 35;
    border-bottom: 1px solid var(--wb-seo-border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}
.wb-seo-chapters .wb-seo__container {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 25px;
}
.wb-seo-chapters__label {
    color: #8a92a0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.wb-seo-chapters__toggle { display: none; }
.wb-seo-chapters__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    flex: 1;
}
.wb-seo-chapters__links a {
    position: relative;
    padding: 20px 0 18px;
    color: #6b7280;
    font-size: 0.69rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.wb-seo-chapters__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--wb-seo-primary);
    transform: scaleX(0);
    transition: transform 180ms ease;
}
.wb-seo-chapters__links a:hover,
.wb-seo-chapters__links a.is-active { color: var(--wb-seo-heading); }
.wb-seo-chapters__links a.is-active::after { transform: scaleX(1); }

/* Reusable cards */
.wb-seo-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wb-seo-card-title h3 { margin: 0; }
.wb-seo-card-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--wb-seo-border);
    border-radius: 10px;
    color: var(--wb-seo-primary);
}
.wb-seo-card-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wb-seo-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 17px;
    align-items: baseline;
    margin-top: 24px;
    padding: 21px 23px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 13px;
}
.wb-seo-note strong { font-size: 0.82rem; }
.wb-seo-note p { margin: 0; color: var(--wb-seo-copy); font-size: 0.84rem; line-height: 1.62; }

/* Search landscape */
.wb-seo-landscape-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.wb-seo-landscape-grid article {
    min-width: 0;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 16px;
    background: #fff;
}
.wb-seo-landscape-grid h3 { font-size: 1rem; letter-spacing: -0.025em; }
.wb-seo-landscape-grid article > p {
    margin: 22px 0 0;
    color: var(--wb-seo-copy);
    font-size: 0.84rem;
    line-height: 1.66;
}
.wb-seo-landscape-grid small,
.wb-seo-landscape-grid a {
    margin-top: auto;
    padding-top: 24px;
    color: #737c8a;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}
.wb-seo-landscape-grid a:hover { color: var(--wb-seo-primary); }

/* Search intent */
.wb-seo-intent-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.wb-seo-intent-grid article {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 16px;
}
.wb-seo-intent-grid article > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wb-seo-intent-grid article > div span {
    color: var(--wb-seo-primary);
    font-size: 0.68rem;
    font-weight: 800;
}
.wb-seo-intent-grid h3 { margin: 0; font-size: 1rem; letter-spacing: -0.025em; }
.wb-seo-intent-grid__query {
    min-height: 63px;
    display: flex;
    align-items: center;
    margin: 19px 0 15px;
    padding: 12px 13px;
    border: 1px solid rgba(73, 106, 249, 0.2);
    border-radius: 10px;
    color: #344fc4 !important;
    font-size: 0.79rem !important;
    font-weight: 700;
    line-height: 1.45 !important;
}
.wb-seo-intent-grid article > p:last-child {
    margin: 0;
    color: var(--wb-seo-copy);
    font-size: 0.8rem;
    line-height: 1.62;
}

.wb-seo-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr) auto);
    align-items: center;
    margin-top: 26px;
    padding: 22px 24px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 15px;
}
.wb-seo-journey span { min-width: 0; }
.wb-seo-journey b,
.wb-seo-journey small { display: block; }
.wb-seo-journey b { font-size: 0.8rem; }
.wb-seo-journey small { margin-top: 5px; color: #828a97; font-size: 0.65rem; line-height: 1.45; }
.wb-seo-journey i {
    width: 45px;
    height: 1px;
    margin: 0 17px;
    background: #dfe3ea;
}
.wb-seo-journey i:last-of-type { display: none; }

/* Checker */
.wb-seo-checker {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
    gap: 22px;
    align-items: start;
}
.wb-seo-checker__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}
.wb-seo-checker__options label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}
.wb-seo-checker__options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.wb-seo-checker__options label > span {
    min-height: 132px;
    display: grid;
    grid-template-columns: 21px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-content: start;
    padding: 20px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 14px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.wb-seo-checker__options label > span::before {
    content: "";
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border: 1.5px solid #c7cdd7;
    border-radius: 6px;
    background: #fff;
    transition: border-color 180ms ease, background 180ms ease;
}
.wb-seo-checker__options label > span::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 25px;
    width: 7px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0);
    transition: transform 180ms ease;
}
.wb-seo-checker__options b {
    grid-column: 2;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
}
.wb-seo-checker__options small {
    grid-column: 2;
    margin-top: 7px;
    color: var(--wb-seo-copy);
    font-size: 0.7rem;
    line-height: 1.52;
}
.wb-seo-checker__options input:checked + span {
    border-color: rgba(73, 106, 249, 0.45);
    background: rgba(73, 106, 249, 0.025);
    box-shadow: 0 10px 24px rgba(73, 106, 249, 0.06);
}
.wb-seo-checker__options input:checked + span::before {
    border-color: var(--wb-seo-primary);
    background: var(--wb-seo-primary);
}
.wb-seo-checker__options input:checked + span::after { transform: rotate(-45deg) scale(1); }

.wb-seo-checker__result {
    position: sticky;
    top: calc(var(--site-header-height, 72px) + 80px);
    padding: 27px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.055);
}
.wb-seo-checker__score {
    display: flex;
    align-items: baseline;
    gap: 7px;
}
.wb-seo-checker__score strong {
    color: var(--wb-seo-primary);
    font-size: 2.7rem;
    letter-spacing: -0.055em;
    line-height: 1;
}
.wb-seo-checker__score span { color: #7c8491; font-size: 0.72rem; font-weight: 700; }
.wb-seo-checker__result h3 {
    margin: 19px 0 10px;
    font-size: 1.35rem;
    letter-spacing: -0.035em;
    line-height: 1.2;
}
.wb-seo-checker__result > p {
    margin: 0;
    color: var(--wb-seo-copy);
    font-size: 0.8rem;
    line-height: 1.6;
}
.wb-seo-checker__priorities {
    margin: 23px 0;
    padding-top: 21px;
    border-top: 1px solid var(--wb-seo-border);
}
.wb-seo-checker__priorities > p {
    margin: 0 0 12px;
    color: #7b8390;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.wb-seo-checker__priorities ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wb-seo-checker__priorities li {
    position: relative;
    padding-left: 15px;
    color: #4e5868;
    font-size: 0.72rem;
    line-height: 1.48;
}
.wb-seo-checker__priorities li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wb-seo-primary);
}
.wb-seo-checker__result .wb-seo__button { width: 100%; }

/* Foundations */
.wb-seo-foundation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.wb-seo-foundation-grid article {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 16px;
}
.wb-seo-foundation-grid h3 { font-size: 1rem; letter-spacing: -0.025em; }
.wb-seo-foundation-grid ul {
    display: grid;
    gap: 10px;
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}
.wb-seo-foundation-grid li {
    position: relative;
    padding-left: 15px;
    color: var(--wb-seo-copy);
    font-size: 0.78rem;
    line-height: 1.5;
}
.wb-seo-foundation-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.57em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wb-seo-primary);
}

.wb-seo-source-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 25px;
    padding: 20px 22px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 13px;
}
.wb-seo-source-line p {
    max-width: 760px;
    margin: 0;
    color: var(--wb-seo-copy);
    font-size: 0.76rem;
    line-height: 1.62;
}
.wb-seo-source-line a {
    color: #495466;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
    white-space: nowrap;
}
.wb-seo-source-line a:hover { color: var(--wb-seo-primary); }
.wb-seo-source-line__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; }

/* Structure and content */
.wb-seo-structure-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    align-items: stretch;
}
.wb-seo-sitemap,
.wb-seo-content-guide {
    min-width: 0;
    border: 1px solid var(--wb-seo-border);
    border-radius: 17px;
    background: #fff;
}
.wb-seo-sitemap {
    padding: 27px;
    display: grid;
    align-content: center;
}
.wb-seo-sitemap__root {
    width: min(100%, 270px);
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid rgba(73, 106, 249, 0.32);
    border-radius: 12px;
    text-align: center;
}
.wb-seo-sitemap__root span,
.wb-seo-sitemap__root strong { display: block; }
.wb-seo-sitemap__root span { color: var(--wb-seo-primary); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; }
.wb-seo-sitemap__root strong { margin-top: 6px; font-size: 0.88rem; }
.wb-seo-sitemap__line {
    width: 1px;
    height: 38px;
    margin: 0 auto;
    background: #dfe3ea;
}
.wb-seo-sitemap__branches {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.wb-seo-sitemap__branches::before {
    content: "";
    position: absolute;
    left: 24%;
    right: 24%;
    top: -1px;
    height: 1px;
    background: #dfe3ea;
}
.wb-seo-sitemap__branches > div {
    position: relative;
    display: grid;
    gap: 9px;
    padding-top: 23px;
}
.wb-seo-sitemap__branches > div::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 23px;
    background: #dfe3ea;
}
.wb-seo-sitemap__branches p {
    margin: 0 0 3px;
    color: #7b8390;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-align: center;
}
.wb-seo-sitemap__branches span {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 9px;
    color: #535d6c;
    font-size: 0.67rem;
    font-weight: 650;
    line-height: 1.38;
    text-align: center;
}

.wb-seo-content-guide { padding: 30px; }
.wb-seo-content-guide h3 {
    max-width: 510px;
    margin: 0;
    font-size: 1.72rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
}
.wb-seo-content-guide > p:not(.wb-seo__eyebrow) {
    margin: 17px 0 0;
    color: var(--wb-seo-copy);
    font-size: 0.82rem;
    line-height: 1.65;
}
.wb-seo-content-guide ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.wb-seo-content-guide li {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 10px;
}
.wb-seo-content-guide li span,
.wb-seo-content-guide li small { display: block; }
.wb-seo-content-guide li span { font-size: 0.74rem; font-weight: 750; }
.wb-seo-content-guide li small { margin-top: 5px; color: #7a8391; font-size: 0.63rem; line-height: 1.45; }
.wb-seo-content-guide > a {
    display: inline-flex;
    margin-top: 23px;
    color: #4f5969;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}
.wb-seo-content-guide > a:hover { color: var(--wb-seo-primary); }

/* AI */
.wb-seo-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.wb-seo-ai-panel {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 17px;
}
.wb-seo-ai-panel h3 {
    margin: 0;
    font-size: 1.52rem;
    letter-spacing: -0.035em;
    line-height: 1.18;
}
.wb-seo-ai-panel ul {
    display: grid;
    gap: 15px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}
.wb-seo-ai-panel li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
}
.wb-seo-ai-panel li > span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid var(--wb-seo-border);
    border-radius: 8px;
    color: var(--wb-seo-primary);
    font-size: 0.8rem;
    font-weight: 800;
}
.wb-seo-ai-panel b,
.wb-seo-ai-panel small { display: block; }
.wb-seo-ai-panel b { font-size: 0.78rem; line-height: 1.42; }
.wb-seo-ai-panel small { margin-top: 5px; color: var(--wb-seo-copy); font-size: 0.69rem; line-height: 1.52; }

/* Measurement */
.wb-seo-measure-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr);
    gap: 22px;
    align-items: stretch;
}
.wb-seo-dashboard,
.wb-seo-reality {
    min-width: 0;
    border: 1px solid var(--wb-seo-border);
    border-radius: 17px;
}
.wb-seo-dashboard { padding: 27px; }
.wb-seo-dashboard__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.wb-seo-dashboard__head p { margin: 0; color: #818996; font-size: 0.59rem; font-weight: 800; letter-spacing: 0.12em; }
.wb-seo-dashboard__head h3 { margin: 7px 0 0; font-size: 1.25rem; letter-spacing: -0.03em; }
.wb-seo-dashboard__head > span { padding: 6px 8px; border: 1px solid var(--wb-seo-border); border-radius: 7px; color: #7b8492; font-size: 0.57rem; font-weight: 700; }
.wb-seo-dashboard__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 23px;
}
.wb-seo-dashboard__metrics article { min-width: 0; padding: 14px; border: 1px solid var(--wb-seo-border); border-radius: 10px; }
.wb-seo-dashboard__metrics small,
.wb-seo-dashboard__metrics strong,
.wb-seo-dashboard__metrics span { display: block; }
.wb-seo-dashboard__metrics small { color: #818996; font-size: 0.58rem; font-weight: 700; }
.wb-seo-dashboard__metrics strong { margin-top: 7px; font-size: 1rem; letter-spacing: -0.025em; }
.wb-seo-dashboard__metrics span { margin-top: 5px; color: #7d8592; font-size: 0.56rem; line-height: 1.4; }
.wb-seo-dashboard__chart { position: relative; height: 196px; margin-top: 22px; border: 1px solid var(--wb-seo-border); border-radius: 11px; overflow: hidden; }
.wb-seo-dashboard__chart-labels { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 2; display: flex; gap: 15px; }
.wb-seo-dashboard__chart-labels span { position: relative; padding-left: 13px; color: #77808e; font-size: 0.55rem; font-weight: 700; }
.wb-seo-dashboard__chart-labels span::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 7px; height: 2px; background: var(--wb-seo-primary); }
.wb-seo-dashboard__chart-labels span:last-child::before { background: #8e97a6; }
.wb-seo-dashboard__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wb-seo-dashboard__chart .grid { fill: none; stroke: #edf0f4; stroke-width: 1; }
.wb-seo-dashboard__chart .line-one { fill: none; stroke: var(--wb-seo-primary); stroke-width: 3; }
.wb-seo-dashboard__chart .line-two { fill: none; stroke: #8e97a6; stroke-width: 2.2; }
.wb-seo-dashboard__pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.wb-seo-dashboard__pages > span { min-width: 0; padding: 12px 13px; border: 1px solid var(--wb-seo-border); border-radius: 9px; }
.wb-seo-dashboard__pages b,
.wb-seo-dashboard__pages small { display: block; }
.wb-seo-dashboard__pages b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.64rem; }
.wb-seo-dashboard__pages small { margin-top: 4px; color: #7d8592; font-size: 0.55rem; }

.wb-seo-reality { padding: 30px; }
.wb-seo-reality h3 { margin: 0; font-size: 1.55rem; letter-spacing: -0.038em; line-height: 1.18; }
.wb-seo-reality ul { display: grid; gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.wb-seo-reality li { position: relative; padding-left: 16px; color: #515b6b; font-size: 0.76rem; line-height: 1.52; }
.wb-seo-reality li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 5px; height: 5px; border-radius: 50%; background: var(--wb-seo-primary); }
.wb-seo-reality > p:last-child { margin: 23px 0 0; padding-top: 20px; border-top: 1px solid var(--wb-seo-border); color: var(--wb-seo-copy); font-size: 0.76rem; line-height: 1.62; }

/* Approach */
.wb-seo-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}
.wb-seo-process-grid article {
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 15px;
}
.wb-seo-process-grid article > div { display: flex; align-items: center; gap: 10px; }
.wb-seo-process-grid article > div span { color: var(--wb-seo-primary); font-size: 0.68rem; font-weight: 800; }
.wb-seo-process-grid h3 { margin: 0; font-size: 1rem; letter-spacing: -0.025em; }
.wb-seo-process-grid p { margin: 16px 0 0; color: var(--wb-seo-copy); font-size: 0.77rem; line-height: 1.58; }

.wb-seo-approach-note {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: end;
    margin-top: 24px;
    padding: 28px 30px;
    border: 1px solid var(--wb-seo-border);
    border-radius: 16px;
}
.wb-seo-approach-note h3 { max-width: 580px; margin: 0; font-size: 1.5rem; letter-spacing: -0.035em; line-height: 1.2; }
.wb-seo-approach-note > p { margin: 0; color: var(--wb-seo-copy); font-size: 0.8rem; line-height: 1.65; }

/* FAQ */
.wb-seo-section--faq { padding-bottom: clamp(82px, 8vw, 120px); }
.wb-seo-faq { max-width: 950px; }
.wb-seo-faq details { border-top: 1px solid var(--wb-seo-border); }
.wb-seo-faq details:last-child { border-bottom: 1px solid var(--wb-seo-border); }
.wb-seo-faq summary {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 2px;
    cursor: pointer;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 700;
}
.wb-seo-faq summary::-webkit-details-marker { display: none; }
.wb-seo-faq summary span { color: var(--wb-seo-primary); font-size: 1.12rem; font-weight: 500; transition: transform 180ms ease; }
.wb-seo-faq details[open] summary span { transform: rotate(45deg); }
.wb-seo-faq details p { max-width: 780px; margin: -3px 0 0; padding: 0 42px 24px 2px; color: var(--wb-seo-copy); font-size: 0.8rem; line-height: 1.65; }

/* Tablet */
@media (max-width: 1120px) {
    .wb-seo-hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr); gap: 40px; }
    .wb-seo-demo { grid-template-columns: minmax(0, 1.1fr) 34px minmax(200px, 0.9fr); }
    .wb-seo-landscape-grid,
    .wb-seo-foundation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-seo-landscape-grid article { min-height: 220px; }
    .wb-seo-intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-seo-checker { grid-template-columns: minmax(0, 1fr) 320px; }
    .wb-seo-chapters__links { gap: 13px; }
    .wb-seo-chapters__links a { font-size: 0.64rem; }
}

@media (max-width: 920px) {
    .wb-seo-hero { min-height: auto; }
    .wb-seo-hero__grid { grid-template-columns: 1fr; }
    .wb-seo-hero__copy { max-width: 720px; }
    .wb-seo-hero h1 { max-width: 720px; }
    .wb-seo-hero__visual { max-width: 760px; }
    .wb-seo-chapters .wb-seo__container { gap: 14px; }
    .wb-seo-chapters__label { display: none; }
    .wb-seo-checker { grid-template-columns: 1fr; }
    .wb-seo-checker__result { position: static; }
    .wb-seo-structure-grid,
    .wb-seo-measure-grid { grid-template-columns: 1fr; }
    .wb-seo-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-seo-approach-note { grid-template-columns: 1fr; gap: 18px; align-items: start; }
}

/* Mobile */
@media (max-width: 720px) {
    :root { --wb-seo-gutter: 20px; }

    .wb-seo-section { scroll-margin-top: calc(var(--site-header-height-mobile, 64px) + 54px); padding: 66px 0; }
    .wb-seo-heading { margin-bottom: 32px; }
    .wb-seo-heading h2 { font-size: clamp(1.95rem, 10vw, 2.5rem); line-height: 1.08; }
    .wb-seo-heading > p:last-child { margin-top: 17px; font-size: 0.92rem; line-height: 1.68; }
    .wb-seo__eyebrow { margin-bottom: 13px; font-size: 0.66rem; }

    .wb-seo-hero {
        min-height: auto;
        padding: 88px 0 62px;
    }
    .wb-seo-hero__grid { gap: 40px; }
    .wb-seo-hero h1 { font-size: clamp(2.75rem, 13.7vw, 3.85rem); line-height: 1.02; }
    .wb-seo-hero__lead { margin-top: 21px; font-size: 0.94rem; line-height: 1.68; }
    .wb-seo-hero__actions { gap: 18px; margin-top: 27px; }
    .wb-seo__button { min-height: 48px; padding: 0 18px; font-size: 0.84rem; }
    .wb-seo-hero__note { font-size: 0.72rem; }

    .wb-seo-demo {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .wb-seo-demo__connector {
        grid-template-columns: 1fr;
        justify-items: center;
        height: 38px;
    }
    .wb-seo-demo__connector span { width: 1px; height: 22px; }
    .wb-seo-demo__connector svg { display: none; }
    .wb-seo-demo__result--muted:last-child { display: none; }
    .wb-seo-demo__steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
        padding: 7px 2px 1px;
    }
    .wb-seo-demo__steps span { justify-content: flex-start; padding: 8px 9px; border: 1px solid var(--wb-seo-border); border-radius: 8px; }
    .wb-seo-demo__steps i { display: none; }

    .wb-seo-chapters { top: var(--site-header-height-mobile, 64px); }
    .wb-seo-chapters .wb-seo__container {
        min-height: 54px;
        display: block;
        position: relative;
    }
    .wb-seo-chapters__toggle {
        width: 100%;
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--wb-seo-heading);
        cursor: pointer;
    }
    .wb-seo-chapters__toggle::before {
        content: "PAGE GUIDE";
        color: var(--wb-seo-primary);
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.12em;
    }
    .wb-seo-chapters__toggle > span { margin-left: auto; color: #4f5969; font-size: 0.72rem; font-weight: 700; }
    .wb-seo-chapters__toggle svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 180ms ease; }
    .wb-seo-chapters__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
    .wb-seo-chapters__links {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 1px);
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 13px;
        border: 1px solid var(--wb-seo-border);
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(17, 24, 39, 0.09);
    }
    .wb-seo-chapters__links.is-open { display: grid; }
    .wb-seo-chapters__links a {
        padding: 11px 10px;
        border: 1px solid var(--wb-seo-border);
        border-radius: 8px;
        font-size: 0.65rem;
        white-space: normal;
    }
    .wb-seo-chapters__links a::after { display: none; }
    .wb-seo-chapters__links a.is-active { border-color: rgba(73, 106, 249, 0.4); color: var(--wb-seo-primary); }

    .wb-seo-landscape-grid,
    .wb-seo-intent-grid,
    .wb-seo-foundation-grid,
    .wb-seo-ai-grid,
    .wb-seo-process-grid { grid-template-columns: 1fr; }
    .wb-seo-landscape-grid article { min-height: auto; padding: 21px; }
    .wb-seo-landscape-grid article > p { margin-top: 17px; }
    .wb-seo-landscape-grid small,
    .wb-seo-landscape-grid a { margin-top: 18px; padding-top: 0; }

    .wb-seo-note { grid-template-columns: 1fr; gap: 7px; padding: 18px; }

    .wb-seo-intent-grid article { padding: 20px; }
    .wb-seo-intent-grid__query { min-height: 0; margin: 16px 0 13px; }
    .wb-seo-journey { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
    .wb-seo-journey span { padding: 10px 11px; border: 1px solid var(--wb-seo-border); border-radius: 9px; }
    .wb-seo-journey i { width: 1px; height: 14px; margin: 0 0 0 18px; }
    .wb-seo-journey i:last-of-type { display: block; }

    .wb-seo-checker__options { grid-template-columns: 1fr; }
    .wb-seo-checker__options label > span { min-height: 0; padding: 18px; }
    .wb-seo-checker__options label > span::after { left: 25px; top: 23px; }
    .wb-seo-checker__result { padding: 23px; }

    .wb-seo-foundation-grid article { padding: 21px; }
    .wb-seo-foundation-grid ul { margin-top: 19px; }

    .wb-seo-source-line { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px; }
    .wb-seo-source-line a { white-space: normal; }
    .wb-seo-source-line__links { justify-content: flex-start; }

    .wb-seo-sitemap,
    .wb-seo-content-guide { padding: 21px; }
    .wb-seo-sitemap__branches { gap: 12px; }
    .wb-seo-sitemap__branches::before { left: 25%; right: 25%; }
    .wb-seo-sitemap__branches span { padding: 7px; font-size: 0.59rem; }
    .wb-seo-content-guide h3 { font-size: 1.5rem; }
    .wb-seo-content-guide ul { grid-template-columns: 1fr; }

    .wb-seo-ai-panel { padding: 22px; }
    .wb-seo-ai-panel h3 { font-size: 1.34rem; }

    .wb-seo-dashboard,
    .wb-seo-reality { padding: 21px; }
    .wb-seo-dashboard__metrics { grid-template-columns: 1fr; }
    .wb-seo-dashboard__metrics article { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; }
    .wb-seo-dashboard__metrics strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
    .wb-seo-dashboard__metrics span { grid-column: 1; }
    .wb-seo-dashboard__chart { height: 155px; }
    .wb-seo-dashboard__pages { grid-template-columns: 1fr; }
    .wb-seo-dashboard__pages b { white-space: normal; }
    .wb-seo-reality h3 { font-size: 1.38rem; }

    .wb-seo-process-grid article { padding: 20px; }
    .wb-seo-approach-note { padding: 22px; }
    .wb-seo-approach-note h3 { font-size: 1.3rem; }

    .wb-seo-faq summary { min-height: 68px; font-size: 0.82rem; line-height: 1.45; }
    .wb-seo-faq details p { padding-right: 16px; font-size: 0.76rem; }
}

@media (max-width: 420px) {
    .wb-seo-hero h1 { font-size: 2.65rem; }
    .wb-seo-hero__actions { align-items: stretch; flex-direction: column; gap: 12px; }
    .wb-seo-hero__actions .wb-seo__button { width: 100%; }
    .wb-seo-demo__query span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .wb-seo-sitemap__branches { grid-template-columns: 1fr; }
    .wb-seo-sitemap__branches::before,
    .wb-seo-sitemap__branches > div::before { display: none; }
    .wb-seo-sitemap__branches > div { padding-top: 7px; }
    .wb-seo-chapters__links { grid-template-columns: 1fr; }
}
