/* Rankstix — site styles (Direction A2 "Pinned", product-led). Tokens come from theme.json presets. */

:root {
	--rsx-ink: var(--wp--preset--color--ink, #0B1B2B);
	--rsx-ink-2: var(--wp--preset--color--ink-2, #13283D);
	--rsx-body: var(--wp--preset--color--body, #33424F);
	--rsx-muted: var(--wp--preset--color--muted, #4A5A6A);
	--rsx-line: var(--wp--preset--color--line, #DCE3EA);
	--rsx-line-2: var(--wp--preset--color--line-2, #C9D3DD);
	--rsx-wash: var(--wp--preset--color--wash, #F5F7F9);
	--rsx-white: #FFFFFF;
	--rsx-blue: var(--wp--preset--color--blue, #1849D6);
	--rsx-blue-deep: var(--wp--preset--color--blue-deep, #0F2F8F);
	--rsx-blue-soft: var(--wp--preset--color--blue-soft, #E8EEFC);
	--rsx-pin: var(--wp--preset--color--pin, #E5482F);
	--rsx-green: var(--wp--preset--color--green, #0F7A4B);
	--rsx-display: var(--wp--preset--font-family--display, 'Bricolage Grotesque', sans-serif);
	--rsx-wrap: 1200px;
	--rsx-gutter: 24px;
	--rsx-radius: 18px;
	--rsx-shadow: 0 24px 48px -28px rgba(11, 27, 43, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--rsx-wash); color: var(--rsx-ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.rsx-content > * { margin-block-start: 0; margin-block-end: 0; }
:focus-visible { outline: 3px solid var(--rsx-blue); outline-offset: 2px; }

/* Skip link */
.rsx-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--rsx-ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.rsx-skip:focus { left: 8px; }

/* Layout primitives */
.rsx-section { padding: 96px var(--rsx-gutter); }
/* Children share the 1200px column. Narrower ones (h2 18em, lead 40em) sit on its left edge, not centred. */
.rsx-section > * { max-width: var(--rsx-wrap); margin-left: max(0px, calc((100% - var(--rsx-wrap)) / 2)) !important; margin-right: auto !important; }
.rsx-section.is-white { background: var(--rsx-white); border-top: 1px solid var(--rsx-line); border-bottom: 1px solid var(--rsx-line); }
.rsx-section.is-dark { background: var(--rsx-ink); color: #fff; }
.rsx-section.is-tight { padding-top: 64px; padding-bottom: 64px; }
.rsx-section.is-center { text-align: center; }
.rsx-section.is-center > *, .rsx-section.is-center .rsx-lead { margin-left: auto !important; margin-right: auto !important; }

.rsx-eyebrow { margin: 0 0 10px; font-size: 0.875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rsx-blue); }
.rsx-section.is-dark .rsx-eyebrow { color: #9FB5FF; }
.rsx-eyebrow.is-muted { color: var(--rsx-muted); }
.rsx-h2 { margin: 0 0 14px; max-width: 18em; }
.rsx-h2, .rsx-hero-copy h1, .rsx-pagehead h1 { text-wrap: balance; }
.rsx-lead { margin: 0 0 36px; color: var(--rsx-body); max-width: 40em; font-size: 1.0625rem; }
.rsx-section.is-dark .rsx-lead, .rsx-section.is-dark p { color: #D3DEE9; }
.rsx-note { font-size: 0.8125rem; color: var(--rsx-muted); margin: 12px 4px 0; }
.rsx-todo { color: #9A3412; font-weight: 700; }
.rsx-section.is-dark .rsx-todo, .rsx-footer .rsx-todo { color: #FFB86B; }

/* Grids */
.rsx-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rsx-grid.is-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.rsx-grid.is-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.rsx-grid.is-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rsx-grid > * { margin: 0 !important; }

/* Cards */
.rsx-card, .wp-block-group.is-style-rsx-card { background: var(--rsx-white); border: 1px solid var(--rsx-line); border-radius: var(--rsx-radius); padding: 26px; }
.rsx-card > * { margin-top: 0; }
.rsx-card h3 { margin: 0 0 8px; }
.rsx-card p { margin: 0 0 10px; color: var(--rsx-body); font-size: 0.9375rem; }
.rsx-card p.rsx-card-sub { color: var(--rsx-muted); font-size: 0.875rem; }
.rsx-card.is-accent { border: 2px solid var(--rsx-blue); padding: 25px; }
.rsx-card.is-accent h3 { color: var(--rsx-blue); }
.rsx-section.is-dark .rsx-card { background: var(--rsx-ink-2); border-color: #24405C; }
.rsx-section.is-dark .rsx-card h3 { color: #fff; }
.rsx-section.is-dark .rsx-card p { color: #D3DEE9; }
.rsx-section.is-dark a:not(.wp-block-button__link) { color: #9FB5FF; }
.rsx-section.is-dark a:not(.wp-block-button__link):hover { color: #fff; }

/* Buttons */
.wp-block-button.is-style-rsx-ghost .wp-block-button__link { background: transparent; color: var(--rsx-ink); border: 1px solid var(--rsx-line-2); }
.wp-block-button.is-style-rsx-ghost .wp-block-button__link:hover { border-color: var(--rsx-ink); background: var(--rsx-white); color: var(--rsx-ink); }
.wp-block-button.is-style-rsx-light .wp-block-button__link { background: #fff; color: var(--rsx-ink); }
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

/* Header */
.rsx-header { background: var(--rsx-white); border-bottom: 1px solid var(--rsx-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .rsx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rsx-header { top: 46px; } }
.rsx-header-inner { max-width: var(--rsx-wrap); margin: 0 auto; padding: 12px var(--rsx-gutter); display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.rsx-header-inner > * { margin: 0 !important; }
.rsx-header-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rsx-header-right > * { margin: 0 !important; }
.rsx-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rsx-ink); min-height: 44px; }
.rsx-brand span { font-family: var(--rsx-display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; }
.rsx-brand:hover { color: var(--rsx-ink); }
.rsx-nav { font-size: 0.9375rem; font-weight: 700; gap: 4px 22px; }
.rsx-nav a { color: var(--rsx-ink); text-decoration: none; padding: 10px 0; }
.rsx-nav a:hover { color: var(--rsx-blue); }
.rsx-nav .wp-block-navigation__submenu-container { border-radius: 12px; border: 1px solid var(--rsx-line) !important; padding: 6px !important; box-shadow: var(--rsx-shadow); }
.rsx-nav .wp-block-navigation__submenu-container a { padding: 10px 12px; }
.rsx-header-cta .wp-block-button__link { min-height: 46px; padding: 0 20px; font-size: 0.9375rem; }

/* Hero */
.rsx-hero { padding-top: 72px; padding-bottom: 88px; }
.rsx-hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.rsx-hero-grid > * { margin: 0 !important; }
.rsx-hero-copy { flex: 1 1 500px; min-width: 0; }
.rsx-hero-copy h1 { margin: 0 0 24px; }
.rsx-hero-copy .rsx-lead { font-size: 1.25rem; line-height: 1.5; margin-bottom: 30px; max-width: 34em; }
.rsx-hero-visual { flex: 1 1 420px; min-width: 0; }

/* Industry switch + map card */
.rsx-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.rsx-switch-label { font-size: 0.875rem; font-weight: 800; color: var(--rsx-muted); margin-right: 4px; }
.rsx-pill { font: inherit; font-size: 0.875rem; font-weight: 800; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rsx-line-2); background: var(--rsx-white); color: var(--rsx-ink); cursor: pointer; }
.rsx-pill[aria-pressed="true"] { background: var(--rsx-ink); border-color: var(--rsx-ink); color: #fff; }
.rsx-mapcard-wrap { position: relative; }
.rsx-mapcard { background: var(--rsx-white); border: 1px solid var(--rsx-line); border-radius: 20px; overflow: hidden; box-shadow: var(--rsx-shadow); }
.rsx-mapcard-search { margin: 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--rsx-line); border-radius: 999px; padding: 0 16px; min-height: 46px; color: var(--rsx-body); font-weight: 600; }
.rsx-mapcard-map { position: relative; height: 180px; margin: 0 16px; border-radius: 14px; overflow: hidden; background-color: #E9EFF4; background-image: linear-gradient(var(--rsx-line) 1px, transparent 1px), linear-gradient(90deg, var(--rsx-line) 1px, transparent 1px); background-size: 36px 36px; }
.rsx-mapcard-map .road-h { position: absolute; left: 0; right: 0; top: 108px; height: 14px; background: #fff; }
.rsx-mapcard-map .road-v { position: absolute; top: 0; bottom: 0; left: 64%; width: 12px; background: #fff; }
.rsx-mapcard-map .park { position: absolute; left: 7%; top: 16%; width: 96px; height: 58px; border-radius: 40px; background: #D3E6DA; }
.rsx-mapcard-map .pin { position: absolute; }
.rsx-mapcard-map .pin.p2 { left: 74%; top: 56%; }
.rsx-mapcard-map .pin.p3 { left: 16%; top: 62%; }
.rsx-mapcard-map .pin.p1 { left: 38%; top: 12%; display: flex; align-items: flex-start; gap: 8px; }
.rsx-mapcard-map .pin-label { background: #fff; border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 800; box-shadow: 0 6px 16px -8px rgba(11, 27, 43, 0.5); white-space: nowrap; }
.rsx-mapcard-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.rsx-rank { flex: 0 0 30px; height: 30px; border-radius: 9px; background: var(--rsx-pin); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.rsx-badge { font-size: 12px; font-weight: 800; color: var(--rsx-blue); background: var(--rsx-blue-soft); border-radius: 999px; padding: 2px 9px; }
.rsx-mapcard-row small { display: block; font-size: 14px; color: var(--rsx-muted); }
.rsx-weekchip { position: absolute; right: -10px; bottom: -26px; background: var(--rsx-ink); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 36px -18px rgba(11, 27, 43, 0.6); }
.rsx-weekchip span { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #9FB5FF; }
.rsx-weekchip strong { font-family: var(--rsx-display); font-size: 24px; letter-spacing: -0.02em; }
.rsx-hero-visual .rsx-note { margin-top: 40px; }
@media (max-width: 600px) {
	.rsx-weekchip { position: static; width: max-content; max-width: 100%; margin: 12px 0 0 auto; }
	.rsx-hero-visual .rsx-note { margin-top: 14px; }
}

/* Forms (shared with the Rankstix Site plugin's [rankstix_scan_form] and [rankstix_lead_form]) */
.rsx-form { background: var(--rsx-white); border: 1px solid var(--rsx-line); border-radius: var(--rsx-radius); padding: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; box-shadow: 0 18px 40px -30px rgba(11, 27, 43, 0.45); }
.rsx-form.is-stacked { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 28px; gap: 18px; align-items: start; }
.rsx-field { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rsx-field.is-full { grid-column: 1 / -1; }
.rsx-field label { font-size: 0.875rem; font-weight: 800; }
.rsx-field input, .rsx-field select, .rsx-field textarea { font: inherit; font-size: 1rem; min-height: 52px; padding: 0 14px; border: 1px solid #B8C4D0; border-radius: 12px; background: #fff; color: var(--rsx-ink); width: 100%; }
.rsx-field textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.rsx-form button { font: inherit; background: var(--rsx-blue); color: #fff; border: 0; padding: 0 26px; min-height: 52px; border-radius: 12px; font-weight: 800; font-size: 1.0625rem; cursor: pointer; }
.rsx-form button:hover { background: var(--rsx-blue-deep); }
.rsx-section.is-center .rsx-form { text-align: left; }
.rsx-form button[disabled] { opacity: 0.6; cursor: wait; }
.rsx-form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.rsx-form-meta { flex: 1 1 100%; margin: 0; font-size: 0.875rem; color: var(--rsx-muted); }
.rsx-form-status { flex: 1 1 100%; margin: 0; font-weight: 700; }
.rsx-form-status.is-ok { color: var(--rsx-green); }
.rsx-form-status.is-error { color: #B42318; }
.rsx-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Control Center preview */
.rsx-cc { border: 1px solid var(--rsx-line); border-radius: 20px; overflow: hidden; background: var(--rsx-wash); box-shadow: 0 30px 60px -40px rgba(11, 27, 43, 0.45); }
.rsx-cc-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 12px 18px; background: var(--rsx-ink); color: #D3DEE9; font-size: 13px; font-weight: 700; }
.rsx-cc-bar .on { color: #9FB5FF; }
.rsx-cc-body { display: flex; flex-wrap: wrap; }
.rsx-cc-tabs { flex: 1 1 200px; max-width: 100%; background: #fff; border-right: 1px solid var(--rsx-line); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.rsx-cc-tab { font: inherit; text-align: left; font-size: 15px; font-weight: 700; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 0; background: transparent; color: var(--rsx-body); cursor: pointer; }
.rsx-cc-tab[aria-selected="true"] { background: var(--rsx-blue-soft); color: var(--rsx-blue); font-weight: 800; }
.rsx-cc-panels { flex: 999 1 560px; min-width: 0; padding: 24px; }
.rsx-cc-panel[hidden] { display: none; }
.rsx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.rsx-tile { background: #fff; border: 1px solid var(--rsx-line); border-radius: 14px; padding: 14px; }
.rsx-tile .k { font-size: 13px; font-weight: 800; color: var(--rsx-muted); }
.rsx-tile .v { font-family: var(--rsx-display); font-size: 32px; font-weight: 800; }
.rsx-tile .d { font-size: 13px; font-weight: 800; color: var(--rsx-green); }
.rsx-tile .d.is-muted { color: var(--rsx-muted); }
.rsx-box { background: #fff; border: 1px solid var(--rsx-line); border-radius: 14px; padding: 18px; }
.rsx-box + .rsx-box, .rsx-tiles + .rsx-box { margin-top: 20px; }
.rsx-box-h { font-size: 13px; font-weight: 800; color: var(--rsx-muted); margin: 0 0 12px; }
.rsx-funnel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.rsx-funnel b { display: block; font-family: var(--rsx-display); font-size: 24px; }
.rsx-funnel span { font-size: 13px; color: var(--rsx-muted); }
.rsx-funnel .is-goal b { color: var(--rsx-blue); }
.rsx-queue { padding: 6px 18px; }
.rsx-queue-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid #EEF2F6; font-size: 15px; font-weight: 700; }
.rsx-queue-row:last-child { border-bottom: 0; }
.rsx-status { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.rsx-status.done { color: var(--rsx-green); background: #E3F4EB; }
.rsx-status.ask { color: #9A3412; background: #FDEDE3; }
.rsx-status.draft { color: var(--rsx-blue); background: var(--rsx-blue-soft); }
.rsx-table { overflow-x: auto; padding: 0; }
.rsx-table-inner { min-width: 480px; font-size: 15px; }
.rsx-table .cap { padding: 16px 18px 6px; font-size: 13px; font-weight: 800; color: var(--rsx-muted); }
.rsx-table .row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-top: 1px solid #EEF2F6; }
.rsx-table .row.head { border-top: 0; font-size: 13px; font-weight: 800; color: var(--rsx-muted); padding-top: 10px; padding-bottom: 10px; }
.rsx-table .row > :not(:first-child) { text-align: right; }
.rsx-table.is-ai .rsx-table-inner { min-width: 600px; font-size: 14px; }
.rsx-table.is-ai .row { grid-template-columns: minmax(0, 3fr) repeat(4, minmax(0, 1fr)); }
.rsx-table.is-ai .row > :not(:first-child) { text-align: center; }
.rsx-table .row > :first-child { font-weight: 700; }
.rsx-table .row.head > :first-child { font-weight: 800; }
.up { color: var(--rsx-green); font-weight: 800; }
.down { color: #B42318; font-weight: 800; }
.rsx-grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; flex: 0 1 300px; min-width: 240px; }
.rsx-grid5 span { aspect-ratio: 1 / 1; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; border: 1px solid var(--rsx-line-2); background: #E6EBF0; color: var(--rsx-body); }
.rsx-grid5 .t3 { background: var(--rsx-blue); color: #fff; }
.rsx-grid5 .t10 { background: #9FB5FF; color: var(--rsx-ink); }
.rsx-maps { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.rsx-maps-copy { flex: 1 1 220px; min-width: 0; }
.rsx-maps-copy .big { font-family: var(--rsx-display); font-size: 36px; font-weight: 800; }
.rsx-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.rsx-legend li { display: flex; align-items: center; gap: 8px; }
.rsx-legend i { width: 18px; height: 18px; border-radius: 5px; display: inline-block; border: 1px solid var(--rsx-line-2); }
.rsx-bars { display: flex; flex-direction: column; gap: 14px; }
.rsx-bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.rsx-bar-top b { font-weight: 800; }
.rsx-bar { height: 10px; border-radius: 999px; background: #EEF2F6; }
.rsx-bar i { display: block; height: 10px; border-radius: 999px; background: var(--rsx-blue); }
.rsx-cc-panel p { font-size: 14px; color: var(--rsx-body); margin: 14px 2px 0; }

/* Checklist (rails) */
.rsx-rails { list-style: none; margin: 40px 0 0; padding: 28px; background: var(--rsx-ink); color: #fff; border-radius: var(--rsx-radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.rsx-rails li, .rsx-checks li { display: flex; gap: 10px; align-items: flex-start; }
.rsx-rails li::before, .rsx-checks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 3px; background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FB5FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.rsx-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; }
.rsx-checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231849D6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Chips */
.rsx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rsx-chips li { font-size: 15px; font-weight: 700; border: 1px solid var(--rsx-line-2); border-radius: 999px; padding: 8px 16px; background: #fff; }

/* Pricing */
.rsx-pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.rsx-pricing-head > * { margin: 0 !important; }
.rsx-billing { display: flex; gap: 4px; background: #fff; border: 1px solid var(--rsx-line-2); border-radius: 999px; padding: 4px; }
.rsx-billing button { font: inherit; font-size: 14px; font-weight: 800; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--rsx-ink); cursor: pointer; }
.rsx-billing button[aria-pressed="true"] { background: var(--rsx-ink); color: #fff; }
.rsx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.rsx-plan { background: #fff; border: 1px solid var(--rsx-line); border-radius: var(--rsx-radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.rsx-plan h3 { margin: 0; font-size: 20px; }
.rsx-plan .price { font-family: var(--rsx-display); font-size: 40px; font-weight: 800; }
.rsx-plan .per { font-size: 15px; color: var(--rsx-muted); }
.rsx-plan p { margin: 0; font-size: 15px; color: var(--rsx-body); }
.rsx-plan ul { margin: 0; padding-left: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; color: var(--rsx-body); }
.rsx-plan .cta { margin-top: auto; text-align: center; border: 1px solid var(--rsx-ink); color: var(--rsx-ink); text-decoration: none; min-height: 48px; border-radius: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rsx-plan .cta:hover { background: var(--rsx-ink); color: #fff; }
.rsx-plan.is-featured { background: var(--rsx-ink); color: #fff; border-color: var(--rsx-ink); }
.rsx-plan.is-featured p, .rsx-plan.is-featured ul { color: #D3DEE9; }
.rsx-plan.is-featured .per { color: #B9C7D6; }
.rsx-plan.is-featured .cta { background: var(--rsx-blue); border-color: var(--rsx-blue); color: #fff; }
.rsx-plan.is-featured .cta:hover { background: var(--rsx-blue-deep); }
.rsx-plan .tag { font-size: 12px; font-weight: 800; background: var(--rsx-pin); color: #fff; border-radius: 999px; padding: 3px 10px; }
.rsx-plan-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Stats */
.rsx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.rsx-stat b { display: block; font-family: var(--rsx-display); font-weight: 800; font-size: 38px; letter-spacing: -0.03em; line-height: 1.1; }
.rsx-stat b em { font-style: normal; color: var(--rsx-blue); }
.rsx-stat span { font-size: 15px; color: var(--rsx-muted); }

/* Video frames */
.rsx-frames { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.rsx-frame { margin: 0; }
.rsx-frame.v { flex: 0 1 230px; min-width: 180px; }
.rsx-frame.w { flex: 1 1 440px; min-width: 0; }
.rsx-frame.s { flex: 0 1 300px; min-width: 200px; }
.rsx-frame .scr { position: relative; border-radius: 18px; color: #fff; overflow: hidden; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: var(--rsx-ink); }
.rsx-frame.v .scr { aspect-ratio: 9 / 16; }
.rsx-frame.w .scr { aspect-ratio: 16 / 9; background: var(--rsx-blue); }
.rsx-frame.s .scr { aspect-ratio: 1 / 1; background: var(--rsx-ink-2); }
.rsx-frame .fmt { align-self: flex-start; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 4px 10px; }
.rsx-frame .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.rsx-frame .ttl { font-family: var(--rsx-display); font-weight: 800; font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.rsx-frame.w .ttl { font-size: 26px; max-width: 16em; }
.rsx-frame figcaption { padding: 12px 4px 0; font-size: 14px; color: var(--rsx-muted); }
.rsx-frame figcaption strong { display: block; font-size: 16px; color: var(--rsx-ink); }

/* Callout */
.rsx-callout { padding: 18px 20px; background: var(--rsx-wash); border-radius: 14px; font-size: 15px; color: var(--rsx-body); }
.rsx-section.is-white .rsx-callout { background: var(--rsx-wash); }

/* Prose pages */
.rsx-prose { max-width: 760px; margin: 0 auto; padding: 72px var(--rsx-gutter) 96px; }
.rsx-prose h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin: 0 0 24px; }
.rsx-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 40px 0 12px; }
.rsx-prose p, .rsx-prose li { color: var(--rsx-body); }
.rsx-page-title { margin-bottom: 24px; }

/* Page header (wide pages) */
.rsx-pagehead { padding-top: 72px; padding-bottom: 40px; }
.rsx-pagehead h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); margin: 0 0 18px; max-width: 14em; }
.rsx-pagehead .rsx-lead { font-size: 1.25rem; margin-bottom: 0; }

/* FAQ */
.rsx-faq details { background: #fff; border: 1px solid var(--rsx-line); border-radius: 14px; padding: 0 20px; margin: 0 0 10px; }
.rsx-faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; min-height: 44px; }
.rsx-faq details p { margin: 0 0 16px; color: var(--rsx-body); }

/* Footer */
.rsx-footer { background: var(--rsx-white); border-top: 1px solid var(--rsx-line); }
.rsx-footer-grid { max-width: var(--rsx-wrap); margin: 0 auto; padding: 56px var(--rsx-gutter) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.rsx-footer-grid > * { margin: 0 !important; }
.rsx-footer-brand .rsx-brand span { font-size: 22px; }
.rsx-footer-tag { color: var(--rsx-muted); font-size: 15px; margin: 10px 0 0; max-width: 22em; }
.rsx-footer-h { margin: 0 0 12px !important; font-size: 13px !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rsx-muted); font-family: var(--wp--preset--font-family--body) !important; }
.rsx-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.rsx-footer-links a { color: var(--rsx-ink); }
.rsx-footer-base { max-width: var(--rsx-wrap); margin: 0 auto; padding: 18px var(--rsx-gutter) 32px; border-top: 1px solid #EEF2F6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--rsx-muted); }
.rsx-footer-base > * { margin: 0 !important; }
.rsx-footer-base a { color: var(--rsx-muted); }

/* Small screens */
@media (max-width: 700px) {
	.rsx-section { padding-top: 64px; padding-bottom: 64px; }
	.rsx-hero { padding-top: 48px; }
	.rsx-cc-tabs { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--rsx-line); }
	.rsx-cc-tab { flex: 1 1 auto; text-align: center; }
	.rsx-cc-panels { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
