/* SerpWatch's product sections, expressed in Seolab's public design system. */
.rank-landing { --rank-blue: #345686; --rank-ink: #182b46; --rank-muted: #64748b; }
.rank-landing :is(#features, #how, #pricing, #faq) { scroll-margin-top: 96px; }
.rank-landing .rank-hero__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.rank-landing .rank-hero__copy { max-width: 580px; }
.rank-landing .rank-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; margin-bottom: 18px; border: 1px solid #ffffffa8; border-radius: 30px; color: #345686; background: #ffffffdb; font-size: 11px; }
.rank-landing .rank-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #f9bc00; }
body.seolab-public .rank-landing .rank-hero h1 { font-weight: 900; }
.rank-landing .rank-hero h1 span { color: #345686; -webkit-text-fill-color: #345686; }
.rank-landing .rank-hero__copy > p { margin: 0 0 24px; }
.rank-landing .rank-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rank-landing .rank-hero__actions .btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; }
.rank-landing .rank-hero__actions .btn > span { font-size: 19px; line-height: 1; }
.rank-landing .rank-assurances { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; margin: 20px 0 0; padding: 0; color: #526681; font-size: 11px; }
.rank-landing .rank-assurances li::before { content: '✓'; color: #345686; margin-left: 6px; font-weight: 700; }
.rank-landing .rank-preview { min-width: 0; width: 100%; margin: 0; border: 1px solid #ffffffc9; border-radius: 18px; background: #fff; box-shadow: 0 28px 80px #182b4626, 0 3px 12px #182b4608; overflow: hidden; }
.rank-landing .rank-preview__chrome { display: flex; align-items: center; gap: 5px; padding: 9px 14px; background: #edf2f8; border-bottom: 1px solid #e2e8f0; direction: ltr; }
.rank-landing .rank-preview__chrome > span:not(.rank-preview__app) { width: 6px; height: 6px; border-radius: 50%; background: #bccbdd; }
.rank-landing .rank-preview__chrome > span:first-child { background: #f9bc00; }
.rank-landing .rank-preview__chrome .rank-preview__app { margin-left: auto; color: #7a8fa9; font-size: 9px; letter-spacing: .06em; }
.rank-landing .rank-change { font-weight: 700; }
.rank-landing .rank-change--up { color: #27825e; }
.rank-landing .rank-change--down { color: #b74754; }
.rank-landing .rank-change--same { color: #8295ad; }
.rank-landing .rank-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; background: #fafcfe; color: #8293aa; font-size: 9px; }
.rank-landing .rank-preview__movement { display: flex; align-items: center; gap: 7px; color: #26704f; }
.rank-landing .rank-preview__movement > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e9f6ef; font-size: 14px; }
.rank-landing .rank-mobile-nav { display: none; }
.rank-landing .rank-metrics { padding-block: 30px; border-block: 1px solid #e3eaf3; background: #f7f9fc; }
.rank-landing .rank-metrics > .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rank-landing .rank-metrics .container > div { display: grid; gap: 8px; text-align: center; padding: 8px 20px; }
.rank-landing .rank-metrics .container > div + div { border-right: 1px solid #dce5f1; }
.rank-landing .rank-metrics strong { color: #345686; font-size: clamp(20px, 2.3vw, 30px); font-weight: 900; }
.rank-landing .rank-metrics span { color: #6c819d; font-size: 12px; }
.rank-landing .rank-section-heading { max-width: 760px; text-align: center; margin: 0 auto 40px; }
.rank-landing .rank-section-heading > p { text-align: center !important; text-align-last: center; margin-bottom: 0; }
.rank-landing .rank-section-heading h2 { margin-bottom: 14px; }
.rank-landing .rank-section-heading .tool-kicker { margin-bottom: 10px; }
.rank-landing .rank-features { row-gap: 22px; }
.rank-landing .rank-features .tool-card { transition: transform .2s ease, box-shadow .2s ease; }
.rank-landing .rank-features .tool-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px #263f630c; }
.rank-landing .rank-feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 13px; color: #345686; background: #edf2f8; }
.rank-landing .rank-feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.rank-landing .rank-features .tool-card:nth-child(even) .rank-feature-icon { background: #fff7d9; color: #987200; }
.rank-landing .rank-tinted { background: #f5f7fb; border-block: 1px solid #e8edf4; }
.rank-landing .rank-steps { position: relative; text-align: center; }
.rank-landing .rank-steps::before { content: ''; position: absolute; top: 22px; left: 16.66%; right: 16.66%; height: 1px; background: #d8e2ef; }
.rank-landing .rank-steps > li { position: relative; }
.rank-landing .rank-steps li > span { position: relative; width: 46px; height: 46px; margin: 0 auto 24px; border: 1px solid #d5dfed; color: #345686; font-size: 18px; box-shadow: 0 0 0 8px #f5f7fb; }
.rank-landing .rank-steps p { text-align: center !important; text-align-last: center; }
.rank-landing .rank-billing { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border: 1px solid #dce5f1; border-radius: 40px; background: #f5f7fb; }
.rank-landing .rank-billing label { position: relative; margin: 0; cursor: pointer; }
.rank-landing .rank-billing input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rank-landing .rank-billing label > span { display: flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 30px; color: #64748b; font-size: 13px; font-weight: 700; }
.rank-landing .rank-billing input:checked + span { color: #fff; background: #345686; box-shadow: 0 3px 10px #263f631a; }
.rank-landing .rank-billing input:focus-visible + span { outline: 2px solid #345686; outline-offset: 3px; }
.rank-landing .rank-billing small { padding: 3px 7px; border-radius: 15px; color: #765a00; background: #fff2c2; font-size: 10px; }
.rank-landing .rank-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 18px; }
.rank-landing .rank-plan { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid #dfe6f1; border-radius: 20px; background: #fff; }
.rank-landing .rank-plan--popular { border: 2px solid #345686; padding: 31px; box-shadow: 0 20px 60px #34568614; }
.rank-landing .rank-plan__popular { position: absolute; top: -15px; right: 24px; padding: 6px 14px; border-radius: 30px; color: #5d4900; background: #f9bc00; font-size: 11px; font-weight: 800; }
.rank-landing .rank-plan h3 { margin: 0 0 10px; font-size: 25px; direction: ltr; text-align: right; }
.rank-landing .rank-plan .rank-plan__description { min-height: 42px; margin: 0; font-size: 13px; }
.rank-landing .rank-plan__price { margin-top: 24px; }
.rank-landing .rank-plan__price > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; min-height: 52px; }
.rank-landing .rank-plan__price > div > bdi { display: inline-block; direction: rtl; unicode-bidi: isolate; color: #182b46; font-size: clamp(24px, 2.5vw, 34px); font-weight: 900; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rank-landing .rank-plan__price > div > span { color: #7a8da7; font-size: 12px; }
.rank-landing .rank-plan__price > p { min-height: 26px; margin: 8px 0 0; color: #7a8da7; font-size: 11px; }
.rank-landing .rank-plan__price .rank-price--yearly { display: none; }
.rank-landing .rank-pricing:has(input[value="yearly"]:checked) .rank-price--monthly { display: none; }
.rank-landing .rank-pricing:has(input[value="yearly"]:checked) div.rank-price--yearly { display: flex; }
.rank-landing .rank-pricing:has(input[value="yearly"]:checked) p.rank-price--yearly { display: block; }
.rank-landing .rank-plan__features { display: grid; align-content: start; gap: 14px; flex: 1; list-style: none; margin: 28px 0 32px; padding: 0; font-size: 13px; line-height: 1.9; }
.rank-landing .rank-plan__features li { position: relative; padding-right: 25px; }
.rank-landing .rank-plan__features li::before { content: '✓'; position: absolute; right: 0; top: 0; color: #345686; font-weight: 900; }
.rank-landing .rank-plan > .btn { display: block; width: 100%; text-align: center; }
.rank-landing .rank-pricing-note { text-align: center !important; text-align-last: center; margin: 24px 0 0; color: #7a8da7; font-size: 11px; }
.rank-landing .rank-comparison { margin-top: 64px; }
.rank-landing .rank-comparison > h3 { margin-bottom: 22px; text-align: center; font-size: 20px; }
.rank-landing .rank-comparison .tool-table-wrap { border: 1px solid #e2e8f0; border-radius: 16px; }
.rank-landing .rank-comparison table { min-width: 620px; }
.rank-landing .rank-comparison thead { background: #f5f7fb; }
.rank-landing .rank-comparison :is(th, td):not(:first-child) { text-align: center; width: 22%; }
.rank-landing .rank-comparison tbody th { color: #526681; font-weight: 500; }
.rank-landing .rank-comparison tbody tr:nth-child(even) { background: #fcfdff; }
.rank-landing .rank-included { color: #345686; }
.rank-landing .rank-included > span { margin-left: 6px; }
.rank-landing .rank-faq { max-width: 860px; margin-inline: auto; border: 1px solid #dfe7f1; border-radius: 18px; background: #fff; overflow: hidden; }
.rank-landing .rank-faq details { padding: 22px 26px; }
.rank-landing .rank-faq details + details { border-top: 1px solid #e4ebf4; }
.rank-landing .rank-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.9; }
.rank-landing .rank-faq summary::-webkit-details-marker { display: none; }
.rank-landing .rank-faq summary > span { flex-shrink: 0; color: #8b9db5; font-size: 25px; font-weight: 400; line-height: 1; transition: transform .2s; }
.rank-landing .rank-faq details[open] summary { color: #345686; }
.rank-landing .rank-faq details[open] summary > span { transform: rotate(45deg); }
.rank-landing .rank-faq p { margin: 16px 0 0; font-size: 14px; }
.rank-landing .rank-final-cta { padding: clamp(32px, 5vw, 64px); border-radius: 24px; background: radial-gradient(ellipse at top right, #5279ad, transparent 70%), #263f63; text-align: center; color: #fff; }
.rank-landing .rank-final-cta .rank-eyebrow { color: #d9e6f7; background: #ffffff12; border-color: #ffffff26; }
.rank-landing .rank-final-cta h2 { color: #fff; }
.rank-landing .rank-final-cta p { color: #d1deef; text-align: center !important; text-align-last: center; }
.rank-landing .rank-final-cta > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.rank-landing .rank-final-cta .btn-warning { color: #182b46; background: #f9bc00; border-color: #f9bc00; }
.rank-landing .rank-final-cta .btn-outline-light { color: #fff; border-color: #ffffff80; }
.rank-landing .rank-final-cta .btn-outline-light:hover { color: #263f63; background: #fff; }
@media(max-width: 1199px) {
    .rank-landing .rank-plan { padding: 25px; }
    .rank-landing .rank-plan--popular { padding: 24px; }
}
@media(max-width: 991px) {
    .rank-landing .rank-hero__layout { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 680px; }
    .rank-landing .rank-hero__copy { max-width: none; }
    .rank-landing .rank-eyebrow { margin-bottom: 12px; }
    .rank-landing .rank-hero__copy > p { margin-bottom: 16px; }
    .rank-landing .rank-hero__actions .btn { padding: 10px 16px; font-size: 13px; }
    .rank-landing .rank-assurances { margin-top: 14px; }
    .rank-landing .rank-mobile-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; padding: 18px 16px; background: #fff; border-top: 1px solid #e5ebf4; }
    .rank-landing .rank-mobile-nav a { color: #345686; font-size: 12px; text-decoration: none; }
    .rank-landing .rank-plan-grid { gap: 16px; }
    .rank-landing .rank-plan { padding: 22px; }
    .rank-landing .rank-plan--popular { padding: 21px; }
    .rank-landing .rank-plan__features { font-size: 12px; }
    .rank-landing .rank-plan__price > div > bdi { font-size: clamp(24px, 6vw, 30px); }
    .rank-landing .rank-plan__price > p { min-height: 42px; }
}
@media(max-width: 767px) {
    .rank-landing .rank-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rank-landing .rank-plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 500px; margin-inline: auto; gap: 34px; }
    .rank-landing .rank-plan { padding: 28px; }
    .rank-landing .rank-plan--popular { padding: 27px; }
    .rank-landing .rank-plan__description { min-height: 0; }
    .rank-landing .rank-plan__price > p { min-height: 26px; }
}
@media(max-width: 575px) {
    .rank-landing .rank-hero__layout { padding-inline: 0; gap: 18px; }
    .rank-landing .rank-eyebrow { font-size: 10px; padding: 5px 10px; }
    .rank-landing .rank-assurances { gap: 8px 12px; font-size: 10px; }
    .rank-landing .rank-preview { border-radius: 14px; }
    .rank-landing .rank-preview__chrome { padding-block: 6px; }
    .rank-landing .rank-preview figcaption { padding: 9px 10px; font-size: 8px; gap: 6px; }
    .rank-landing .rank-preview__movement > span { width: 17px; height: 17px; font-size: 11px; }
    .rank-landing .rank-metrics { padding-block: 18px; }
    .rank-landing .rank-metrics .container > div { padding-inline: 6px; gap: 6px; }
    .rank-landing .rank-metrics strong { font-size: 19px; }
    .rank-landing .rank-metrics span { font-size: 9px; line-height: 1.8; }
    .rank-landing .rank-section-heading { margin-bottom: 28px; }
    .rank-landing .rank-features { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .rank-landing .rank-feature-icon { margin-bottom: 16px; }
    .rank-landing .rank-steps::before { display: none; }
    .rank-landing .rank-steps li > span { margin-bottom: 16px; }
    .rank-landing .rank-billing label > span { padding: 10px 14px; font-size: 12px; gap: 7px; }
    .rank-landing .rank-billing small { font-size: 9px; }
    .rank-landing .rank-comparison { margin-top: 42px; }
    .rank-landing .rank-faq details { padding: 20px; }
    .rank-landing .rank-faq summary { font-size: 14px; }
    .rank-landing .rank-final-cta { border-radius: 18px; padding-inline: 22px; }
    .rank-landing .rank-final-cta .btn { font-size: 12px; padding: 11px 14px; }
}
@media(max-width: 359px) {
    .rank-landing .rank-hero__actions { gap: 8px; }
    .rank-landing .rank-hero__actions .btn { font-size: 12px; padding-inline: 12px; }
    .rank-landing .rank-hero__copy > .rank-eyebrow { margin-bottom: 10px; }
    body.seolab-public .rank-landing .rank-hero__copy > p { font-size: 13px !important; line-height: 1.8 !important; }
    .rank-landing .rank-plan { padding-inline: 22px; }
    .rank-landing .rank-plan--popular { padding-inline: 21px; }
}
@media(prefers-reduced-motion: reduce) {
    .rank-landing .rank-features .tool-card, .rank-landing .rank-faq summary > span { transition: none; }
}

.rank-landing .rank-plan__price > div > bdi > small { font-size: 13px; font-weight: 600; }

/* ---- Single-page landing: real app screenshots, tool tabs, downloads (Seolab blue #345686, yellow #F9BC00) ---- */
.rank-landing .rank-shot { display: block; width: 100%; height: auto; }
.rank-landing .rank-preview figcaption { border-top: 1px solid #e9eef5; }
.rank-landing .rank-metrics > .container > div:nth-child(n+2) { border-right: 1px solid #dce5f1; }
.rank-landing :is(#tools, #why, #how, #download, #pricing, #faq) { scroll-margin-top: 96px; }

.rank-landing .rank-toolbox { display: grid; gap: 28px; }
.rank-landing .rank-toolbox__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rank-landing .rank-toolbox__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rank-landing .rank-toolbox__tabs label { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 11px 22px; border: 1px solid #dce5f1; border-radius: 40px; background: #fff; color: #526681; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.rank-landing .rank-toolbox__tabs label:hover { border-color: #345686; color: #345686; }
.rank-landing .rank-toolbox__tabs small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 11px; background: #edf2f8; color: #345686; font-size: 11px; font-weight: 800; }
.rank-landing .rank-toolbox__panel { display: none; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); border: 1px solid #e2e8f0; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px #263f630d; }
.rank-landing .rank-toolbox__body { min-width: 0; }
.rank-landing .rank-toolbox__body h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; line-height: 1.7; color: #182b46; }
.rank-landing .rank-toolbox__body > p { margin-bottom: 20px; }
.rank-landing .rank-toolbox__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rank-landing .rank-toolbox__list li { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid #edf1f7; }
.rank-landing .rank-toolbox__list li:first-child { border-top: 0; padding-top: 0; }
.rank-landing .rank-toolbox__list strong { position: relative; padding-right: 18px; color: #263f63; font-size: 14px; }
.rank-landing .rank-toolbox__list strong::before { content: ''; position: absolute; right: 0; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: #f9bc00; }
.rank-landing .rank-toolbox__list span { padding-right: 18px; color: #64748b; font-size: 13px; line-height: 1.9; }
.rank-landing .rank-toolbox__shot { min-width: 0; margin: 0; border: 1px solid #dfe7f1; border-radius: 14px; overflow: hidden; background: #f5f7fa; box-shadow: 0 14px 40px #182b4620; }
.rank-landing .rank-toolbox__shot img { display: block; width: 100%; height: auto; }
.rank-landing .rank-toolbox__shot figcaption { padding: 9px 14px; border-top: 1px solid #e9eef5; background: #fafcfe; color: #8293aa; font-size: 10px; }
.rank-landing .rank-toolbox:has(#rank-tab-rankings:checked) [data-panel="rankings"],
.rank-landing .rank-toolbox:has(#rank-tab-research:checked) [data-panel="research"],
.rank-landing .rank-toolbox:has(#rank-tab-page:checked) [data-panel="page"],
.rank-landing .rank-toolbox:has(#rank-tab-site:checked) [data-panel="site"],
.rank-landing .rank-toolbox:has(#rank-tab-make:checked) [data-panel="make"] { display: grid; }
.rank-landing .rank-toolbox:has(#rank-tab-rankings:checked) [data-tab="rankings"],
.rank-landing .rank-toolbox:has(#rank-tab-research:checked) [data-tab="research"],
.rank-landing .rank-toolbox:has(#rank-tab-page:checked) [data-tab="page"],
.rank-landing .rank-toolbox:has(#rank-tab-site:checked) [data-tab="site"],
.rank-landing .rank-toolbox:has(#rank-tab-make:checked) [data-tab="make"] { border-color: #345686; background: #345686; color: #fff; box-shadow: 0 4px 14px #34568633; }
.rank-landing .rank-toolbox:has(#rank-tab-rankings:checked) [data-tab="rankings"] small,
.rank-landing .rank-toolbox:has(#rank-tab-research:checked) [data-tab="research"] small,
.rank-landing .rank-toolbox:has(#rank-tab-page:checked) [data-tab="page"] small,
.rank-landing .rank-toolbox:has(#rank-tab-site:checked) [data-tab="site"] small,
.rank-landing .rank-toolbox:has(#rank-tab-make:checked) [data-tab="make"] small { background: #f9bc00; color: #3d2f00; }
.rank-landing .rank-toolbox:has(.rank-toolbox__input:focus-visible) .rank-toolbox__tabs { outline: 2px solid #345686; outline-offset: 6px; border-radius: 12px; }

.rank-landing .rank-themes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 56px; }
.rank-landing .rank-themes h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; color: #182b46; }
.rank-landing .rank-themes p { font-size: 14px; }
.rank-landing .rank-themes__shot { min-width: 0; margin: 0; border: 1px solid #1f2b3d; border-radius: 14px; overflow: hidden; background: #111827; box-shadow: 0 18px 50px #182b4633; }
.rank-landing .rank-themes__shot img { display: block; width: 100%; height: auto; }
.rank-landing .rank-themes__shot figcaption { padding: 9px 14px; background: #1a2333; color: #9fb0c8; font-size: 10px; }

.rank-landing .rank-downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rank-landing .rank-install { max-width: 860px; margin: 28px auto 0; border: 1px solid #dfe7f1; border-radius: 18px; background: #fff; overflow: hidden; }
.rank-landing .rank-install details { padding: 18px 26px; }
.rank-landing .rank-install details + details { border-top: 1px solid #e4ebf4; }
.rank-landing .rank-install summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; }
.rank-landing .rank-install summary::-webkit-details-marker { display: none; }
.rank-landing .rank-install summary > span { color: #8b9db5; font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
.rank-landing .rank-install details[open] summary { color: #345686; }
.rank-landing .rank-install details[open] summary > span { transform: rotate(45deg); }
.rank-landing .rank-install p { margin: 14px 0 6px; font-size: 13px; }
.rank-landing .rank-install pre { margin: 0; padding: 12px 14px; border-radius: 10px; background: #182b46; color: #e8eef7; font-size: 12px; overflow-x: auto; }
.rank-landing .rank-install code { color: inherit; background: none; padding: 0; }

@media(max-width: 991px) {
    .rank-landing .rank-toolbox__panel, .rank-landing .rank-themes { grid-template-columns: minmax(0, 1fr); }
    .rank-landing .rank-downloads { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
    .rank-landing .rank-metrics > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
    .rank-landing .rank-metrics > .container > div:nth-child(3) { border-right: 0; }
}
@media(max-width: 575px) {
    .rank-landing .rank-toolbox__tabs { justify-content: flex-start; }
    .rank-landing .rank-toolbox__tabs label { padding: 9px 14px; font-size: 13px; }
    .rank-landing .rank-toolbox__panel { padding: 18px; border-radius: 16px; }
    .rank-landing .rank-install details { padding: 16px 18px; }
    .rank-landing .rank-hero__actions .btn { flex: 1 1 100%; }
}

/* ---- Download cards: coloured head per system, file rows with type chip and arrow ---- */
.rank-landing #download { background: radial-gradient(ellipse 70% 60% at 85% 0%, #f9bc0026, transparent 70%), radial-gradient(ellipse 60% 70% at 10% 100%, #34568622, transparent 70%), #f5f7fb; }
.rank-landing .rank-download { --tone: #345686; --tone-soft: #edf2f8; --tone-ink: #fff; position: relative; display: flex; flex-direction: column; padding: 0; border: 1px solid #dfe6f1; border-radius: 22px; background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.rank-landing .rank-download:hover { transform: translateY(-4px); box-shadow: 0 22px 54px #263f6322; }
.rank-landing .rank-download--windows { --tone: #345686; border: 2px solid #345686; box-shadow: 0 20px 60px #34568626; }
.rank-landing .rank-download--mac { --tone: #1b262c; --tone-soft: #eef1f4; }
.rank-landing .rank-download--linux { --tone: #f9bc00; --tone-soft: #fff6d6; --tone-ink: #2a2100; }
.rank-landing .rank-download__head { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: linear-gradient(135deg, var(--tone), color-mix(in srgb, var(--tone) 78%, #000)); color: var(--tone-ink); }
.rank-landing .rank-download--linux .rank-download__head { background: linear-gradient(135deg, #ffd24d, #f9bc00); }
.rank-landing .rank-download__head > div { display: grid; gap: 2px; min-width: 0; }
.rank-landing .rank-download__head h3 { margin: 0; font-size: 22px; font-weight: 900; color: inherit; line-height: 1.5; }
.rank-landing .rank-download__head > div > span { font-size: 12px; opacity: .85; }
.rank-landing .rank-download__icon { display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 15px; background: #ffffff26; box-shadow: inset 0 0 0 1px #ffffff33; }
.rank-landing .rank-download--linux .rank-download__icon { background: #2a210014; box-shadow: inset 0 0 0 1px #2a21001f; }
.rank-landing .rank-download__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.rank-landing .rank-download--windows .rank-download__icon svg { fill: currentColor; stroke: none; }
.rank-landing .rank-download__badge { position: absolute; top: 12px; left: 14px; padding: 4px 11px; border-radius: 30px; background: #f9bc00; color: #3d2f00; font-size: 10px; font-style: normal; font-weight: 800; }
.rank-landing .rank-download__body { display: flex; flex-direction: column; flex: 1; gap: 16px; padding: 22px 24px 24px; }
.rank-landing .rank-download__files { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rank-landing .rank-download__files a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fafbfd; color: #182b46; text-decoration: none; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.rank-landing .rank-download__files a:hover { border-color: #345686; background: #fff; transform: translateX(-3px); box-shadow: 0 8px 22px #34568622; }
.rank-landing .rank-download--windows .rank-download__files a { border-color: #345686; background: linear-gradient(135deg, #345686, #263f63); color: #fff; padding: 16px 16px; }
.rank-landing .rank-download--windows .rank-download__files a:hover { background: linear-gradient(135deg, #3d63a0, #2d4a75); }
.rank-landing .rank-download__type { flex-shrink: 0; min-width: 58px; padding: 6px 8px; border-radius: 9px; background: var(--tone-soft); color: #345686; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-align: center; direction: ltr; unicode-bidi: isolate; }
.rank-landing .rank-download--linux .rank-download__type { background: #fff3c4; color: #7a5a00; }
.rank-landing .rank-download--windows .rank-download__type { background: #ffffff26; color: #fff; }
.rank-landing .rank-download__name { display: grid; flex: 1; min-width: 0; gap: 1px; }
.rank-landing .rank-download__name strong { font-size: 13px; font-weight: 700; line-height: 1.7; }
.rank-landing .rank-download__name small { font-size: 11px; opacity: .7; }
.rank-landing .rank-download__arrow { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.rank-landing .rank-download__perks { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: #3b4f6b; }
.rank-landing .rank-download__perks li { position: relative; padding-right: 26px; }
.rank-landing .rank-download__perks li::before { content: '✓'; position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e1f2e9; color: #27825e; font-size: 11px; font-weight: 900; line-height: 1; padding-top: 1px; }
.rank-landing .rank-download__body > p { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed #dde5ef; color: #7186a1; font-size: 12px; line-height: 1.9; }

/* ---- Plan cards: coloured head per plan, price block, coloured ticks ---- */
.rank-landing .rank-pricing { position: relative; }
.rank-landing .rank-plan-grid { align-items: stretch; padding-top: 26px; }
.rank-landing .rank-plan { --pc: #345686; --pc-soft: #edf2f8; padding: 0; overflow: visible; border: 1px solid #dfe6f1; border-radius: 22px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.rank-landing .rank-plan:hover { transform: translateY(-4px); box-shadow: 0 24px 56px #263f6322; }
.rank-landing .rank-plan--popular { padding: 0; border: 2px solid #345686; box-shadow: 0 26px 70px #34568633; transform: translateY(-10px); }
.rank-landing .rank-plan--popular:hover { transform: translateY(-14px); }
.rank-landing .rank-plan[data-rank-plan="free"] { --pc: #5b7396; --pc-soft: #eef2f7; }
.rank-landing .rank-plan[data-rank-plan="max"] { --pc: #1b262c; --pc-soft: #fff6d6; }
.rank-landing .rank-plan__head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-radius: 20px 20px 0 0; background: linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 74%, #000)); color: #fff; }
.rank-landing .rank-plan--popular .rank-plan__head { border-radius: 18px 18px 0 0; background: linear-gradient(135deg, #3d6aa6, #263f63); }
.rank-landing .rank-plan[data-rank-plan="max"] .rank-plan__head { background: linear-gradient(135deg, #2a3a44, #131c21); }
.rank-landing .rank-plan__head > div { min-width: 0; }
.rank-landing .rank-plan__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: #ffffff26; box-shadow: inset 0 0 0 1px #ffffff33; }
.rank-landing .rank-plan[data-rank-plan="max"] .rank-plan__icon { background: #f9bc00; color: #2a2100; box-shadow: none; }
.rank-landing .rank-plan--popular .rank-plan__icon { background: #f9bc00; color: #2a2100; box-shadow: none; }
.rank-landing .rank-plan__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.rank-landing .rank-plan[data-rank-plan="pro"] .rank-plan__icon svg, .rank-landing .rank-plan[data-rank-plan="max"] .rank-plan__icon svg { fill: currentColor; stroke-width: 1; }
.rank-landing .rank-plan .rank-plan__head h3 { margin: 0; color: #fff; font-size: 24px; font-weight: 900; line-height: 1.4; }
.rank-landing .rank-plan .rank-plan__head .rank-plan__description { min-height: 0; margin: 2px 0 0; color: #ffffffcc; font-size: 12px; }
.rank-landing .rank-plan__popular { top: -15px; right: auto; left: 22px; z-index: 2; padding: 6px 15px; box-shadow: 0 6px 16px #f9bc0055; }
.rank-landing .rank-plan__price { margin: 0; padding: 26px 26px 20px; background: linear-gradient(180deg, var(--pc-soft), #fff); border-bottom: 1px dashed #dde5ef; }
.rank-landing .rank-plan--popular .rank-plan__price { --pc-soft: #e9f0fa; }
.rank-landing .rank-plan__price > div > bdi { color: var(--pc); font-size: clamp(28px, 3vw, 38px); }
.rank-landing .rank-plan[data-rank-plan="max"] .rank-plan__price > div > bdi { color: #1b262c; }
.rank-landing .rank-plan__price > div > bdi small { color: #7a8da7; font-size: 13px; font-weight: 700; }
.rank-landing .rank-plan__features { margin: 0; padding: 22px 26px 8px; gap: 12px; }
.rank-landing .rank-plan__features li { padding-right: 30px; }
.rank-landing .rank-plan__features li::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e1f2e9; color: #27825e; font-size: 11px; font-weight: 900; line-height: 1; padding-top: 1px; top: 2px; }
.rank-landing .rank-plan__features li:first-child { padding: 10px 42px 10px 12px; margin-inline: -12px; border-radius: 12px; background: #fff7d9; color: #3d2f00; }
.rank-landing .rank-plan__features li:first-child::before { right: 12px; top: 12px; background: #f9bc00; color: #3d2f00; }
.rank-landing .rank-plan > .btn { width: auto; margin: 18px 26px 26px; padding: 13px 18px; border-radius: 14px; font-weight: 800; }
.rank-landing .rank-plan[data-rank-plan="max"] > .btn { color: #2a2100; background: #f9bc00; border-color: #f9bc00; }
.rank-landing .rank-plan[data-rank-plan="max"] > .btn:hover { background: #e5ab00; border-color: #e5ab00; }
.rank-landing .rank-plan[data-rank-plan="pro"] > .btn { box-shadow: 0 8px 20px #34568640; }

@media(max-width: 767px) {
    .rank-landing .rank-plan--popular, .rank-landing .rank-plan--popular:hover { transform: none; }
    .rank-landing .rank-plan, .rank-landing .rank-plan--popular { padding: 0; }
}

/* ---- Colour pass: hero glow, metrics band, per-group tool colours, features, steps, FAQ, final CTA ---- */
.rank-landing .rank-section-heading .tool-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1px solid #f2dc94; border-radius: 30px; background: #fff8dc; color: #6f5200; font-size: 12px; font-weight: 800; }
.rank-landing .rank-section-heading .tool-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #f9bc00; }
.rank-landing .rank-section-heading h2 { color: #182b46; }
.rank-landing .rank-section-heading h2::after { content: ''; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, #345686, #f9bc00); }

/* hero */
.rank-landing .rank-hero { position: relative; overflow: hidden; }
.rank-landing .rank-hero::before { content: ''; position: absolute; inset: auto auto -120px -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, #f9bc0040, transparent 70%); pointer-events: none; }
.rank-landing .rank-hero::after { content: ''; position: absolute; inset: -140px -100px auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, #34568640, transparent 70%); pointer-events: none; }
.rank-landing .rank-hero__layout { position: relative; z-index: 1; }
.rank-landing .rank-hero__actions .btn-primary { box-shadow: 0 12px 28px #34568640; }
.rank-landing .rank-assurances li::before { color: #27825e; }
.rank-landing .rank-preview { position: relative; box-shadow: 0 34px 90px #26467a40, 0 0 0 6px #ffffff66; }
.rank-landing .rank-eyebrow { border-color: #f2dc94; background: #fff8dc; color: #6f5200; font-weight: 700; }

/* metrics band */
.rank-landing .rank-metrics { padding-block: 34px; border: 0; background: radial-gradient(ellipse 50% 160% at 85% 0%, #5279ad66, transparent 70%), linear-gradient(135deg, #263f63, #182b46); }
.rank-landing .rank-metrics .container > div { align-items: center; justify-items: center; }
.rank-landing .rank-metrics .container > div + div { border-right-color: #ffffff24; }
.rank-landing .rank-metric__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #f9bc00; color: #2a2100; box-shadow: 0 8px 20px #f9bc0040; }
.rank-landing .rank-metric__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rank-landing .rank-metrics strong { color: #fff; }
.rank-landing .rank-metrics span:not(.rank-metric__icon) { color: #b8c8de; }

/* tools: one accent colour per group */
.rank-landing #tools { position: relative; }
.rank-landing .rank-toolbox__tabs label[data-tab="rankings"], .rank-landing .rank-toolbox__panel[data-panel="rankings"] { --gc: #345686; --gs: #e8eef7; }
.rank-landing .rank-toolbox__tabs label[data-tab="research"], .rank-landing .rank-toolbox__panel[data-panel="research"] { --gc: #0e8f7e; --gs: #e0f4f0; }
.rank-landing .rank-toolbox__tabs label[data-tab="page"], .rank-landing .rank-toolbox__panel[data-panel="page"] { --gc: #d98200; --gs: #fff1d6; }
.rank-landing .rank-toolbox__tabs label[data-tab="site"], .rank-landing .rank-toolbox__panel[data-panel="site"] { --gc: #c93f55; --gs: #fde6ea; }
.rank-landing .rank-toolbox__tabs label[data-tab="make"], .rank-landing .rank-toolbox__panel[data-panel="make"] { --gc: #2b78d0; --gs: #e2eefb; }
.rank-landing .rank-toolbox__tabs label { border-color: var(--gs); background: var(--gs); color: var(--gc); }
.rank-landing .rank-toolbox__tabs label:hover { border-color: var(--gc); color: var(--gc); }
.rank-landing .rank-toolbox__tabs small { background: #fff; color: var(--gc); }
.rank-landing .rank-toolbox:has(#rank-tab-rankings:checked) [data-tab="rankings"],
.rank-landing .rank-toolbox:has(#rank-tab-research:checked) [data-tab="research"],
.rank-landing .rank-toolbox:has(#rank-tab-page:checked) [data-tab="page"],
.rank-landing .rank-toolbox:has(#rank-tab-site:checked) [data-tab="site"],
.rank-landing .rank-toolbox:has(#rank-tab-make:checked) [data-tab="make"] { border-color: var(--gc); background: var(--gc); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--gc) 35%, transparent); }
.rank-landing .rank-toolbox:has(#rank-tab-rankings:checked) [data-tab="rankings"] small,
.rank-landing .rank-toolbox:has(#rank-tab-research:checked) [data-tab="research"] small,
.rank-landing .rank-toolbox:has(#rank-tab-page:checked) [data-tab="page"] small,
.rank-landing .rank-toolbox:has(#rank-tab-site:checked) [data-tab="site"] small,
.rank-landing .rank-toolbox:has(#rank-tab-make:checked) [data-tab="make"] small { background: #fff; color: var(--gc); }
.rank-landing .rank-toolbox__panel { position: relative; border-color: color-mix(in srgb, var(--gc) 25%, #e2e8f0); background: linear-gradient(135deg, var(--gs), #fff 45%); box-shadow: 0 22px 56px color-mix(in srgb, var(--gc) 18%, transparent); overflow: hidden; }
.rank-landing .rank-toolbox__panel::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--gc); }
.rank-landing .rank-toolbox__body h3 { color: var(--gc); }
.rank-landing .rank-toolbox__list strong::before { background: var(--gc); }
.rank-landing .rank-toolbox__list li { border-top-color: color-mix(in srgb, var(--gc) 14%, #fff); }
.rank-landing .rank-toolbox__shot { border-color: color-mix(in srgb, var(--gc) 35%, #dfe7f1); box-shadow: 0 18px 46px color-mix(in srgb, var(--gc) 25%, transparent); }

/* features */
.rank-landing #why { background: radial-gradient(ellipse 60% 50% at 0% 0%, #f9bc0022, transparent 70%), linear-gradient(180deg, #f3f7fc, #fff); }
.rank-landing .rank-features .tool-card { position: relative; border: 1px solid #e3eaf4; border-radius: 20px; overflow: hidden; background: #fff; }
.rank-landing .rank-features .tool-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--fc, #345686); }
.rank-landing .rank-features .tool-card:nth-child(1) { --fc: #345686; --fs: #e8eef7; }
.rank-landing .rank-features .tool-card:nth-child(2) { --fc: #0e8f7e; --fs: #e0f4f0; }
.rank-landing .rank-features .tool-card:nth-child(3) { --fc: #d98200; --fs: #fff1d6; }
.rank-landing .rank-features .tool-card:nth-child(4) { --fc: #2b78d0; --fs: #e2eefb; }
.rank-landing .rank-features .tool-card:nth-child(5) { --fc: #c93f55; --fs: #fde6ea; }
.rank-landing .rank-features .tool-card:nth-child(6) { --fc: #4c6b3f; --fs: #e8f2e3; }
.rank-landing .rank-features .tool-card .rank-feature-icon, .rank-landing .rank-features .tool-card:nth-child(even) .rank-feature-icon { background: var(--fs); color: var(--fc); }
.rank-landing .rank-features .tool-card:hover { box-shadow: 0 20px 44px color-mix(in srgb, var(--fc) 22%, transparent); border-color: color-mix(in srgb, var(--fc) 40%, #fff); }
.rank-landing .rank-themes { padding: clamp(22px, 3vw, 38px); border-radius: 26px; background: radial-gradient(ellipse 60% 120% at 100% 0%, #34568680, transparent 70%), linear-gradient(135deg, #1c3354, #111c2f); box-shadow: 0 26px 70px #182b4640; }
.rank-landing .rank-themes h3 { color: #fff; }
.rank-landing .rank-themes p { color: #b8c8de; }
.rank-landing .rank-themes__shot { border-color: #ffffff22; }

/* steps */
.rank-landing .rank-steps::before { top: 31px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #345686, #f9bc00); opacity: .55; }
.rank-landing .rank-steps li > span { width: 62px; height: 62px; border: 0; border-radius: 20px; color: #fff; font-size: 24px; font-weight: 900; box-shadow: 0 0 0 8px #fff, 0 14px 30px #34568640; background: linear-gradient(135deg, #345686, #263f63); transform: rotate(-6deg); display: grid; place-items: center; }
.rank-landing .rank-steps li:nth-child(2) > span { background: linear-gradient(135deg, #ffd24d, #f9bc00); color: #2a2100; box-shadow: 0 0 0 8px #fff, 0 14px 30px #f9bc0055; }
.rank-landing .rank-steps li:nth-child(3) > span { background: linear-gradient(135deg, #1fa688, #0e8f7e); box-shadow: 0 0 0 8px #fff, 0 14px 30px #0e8f7e44; }
.rank-landing .rank-steps h3 { color: #182b46; }

/* FAQ */
.rank-landing #faq { background: radial-gradient(ellipse 50% 60% at 100% 100%, #f9bc0026, transparent 70%), #f5f7fb; }
.rank-landing .rank-faq details { position: relative; transition: background .15s; }
.rank-landing .rank-faq details::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 4px; background: transparent; transition: background .15s; }
.rank-landing .rank-faq details[open] { background: linear-gradient(90deg, #fffdf2, #fff 60%); }
.rank-landing .rank-faq details[open]::before { background: linear-gradient(180deg, #f9bc00, #345686); }
.rank-landing .rank-faq summary > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #edf2f8; color: #345686; font-size: 20px; }
.rank-landing .rank-faq details[open] summary > span { background: #f9bc00; color: #2a2100; }

/* final call to action */
.rank-landing .rank-final-cta { position: relative; overflow: hidden; background: radial-gradient(ellipse 50% 90% at 90% 0%, #5279adcc, transparent 70%), radial-gradient(ellipse 40% 70% at 0% 100%, #f9bc0040, transparent 70%), linear-gradient(135deg, #263f63, #152540); box-shadow: 0 30px 80px #182b4640; }
.rank-landing .rank-final-cta::before { content: ''; position: absolute; inset: auto auto -60px -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid #f9bc0022; }
.rank-landing .rank-final-cta > * { position: relative; }
.rank-landing .rank-final-cta .rank-eyebrow { color: #ffe9a3; border-color: #f9bc0066; background: #f9bc0018; }
.rank-landing .rank-final-cta .btn-warning { box-shadow: 0 14px 30px #f9bc0050; }
.rank-landing .rank-download__head > div > span, .rank-landing .rank-plan__head .rank-plan__description { text-align: right; }

@media (max-width: 991px) {
    .rank-landing .rank-steps li > span { transform: none; }
}
@media (max-width: 575px) {
    .rank-landing .rank-metrics .container > div { gap: 8px; }
    .rank-landing .rank-metric__icon { width: 38px; height: 38px; border-radius: 12px; }
    .rank-landing .rank-metric__icon svg { width: 20px; height: 20px; }
    .rank-landing .rank-themes { padding: 18px; border-radius: 20px; }
}
