body.sl-pricing {
    --pricing-blue: #7d9bb9;
    --pricing-danger: #d66d5d;
    min-height: 100vh;
}

body.sl-pricing .sl-icon-sun { --sl-icon: url("../home-assets/icons/sun.svg"); }

body.sl-pricing .sl-theme-toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid var(--sl-line-strong);
    border-radius: 999px;
    color: var(--sl-copper-bright);
    background: transparent;
    cursor: pointer;
}

body.sl-pricing .sl-theme-toggle:hover { background: var(--sl-surface-warm); }
body.sl-pricing .sl-main-nav-inner { gap: 20px; }
body.sl-pricing .sl-primary-links { gap: clamp(12px, 1.5vw, 24px); }

.pricing-hero {
    padding: clamp(54px, 8vw, 100px) 0 clamp(52px, 7vw, 84px);
    border-bottom: 1px solid var(--sl-line);
    background: radial-gradient(circle at 78% 25%, rgba(197,151,116,.12), transparent 27rem);
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
}

.pricing-hero .sl-eyebrow,
.pricing-guide .sl-section-kicker,
.pricing-catalog .sl-section-kicker,
.pricing-compare .sl-section-kicker,
.pricing-passport .sl-section-kicker,
.pricing-faq .sl-section-kicker,
.pricing-dialog .sl-section-kicker {
    margin: 0 0 12px;
    color: var(--sl-copper);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pricing-hero h1 {
    max-width: 850px;
    margin: 0;
    font-family: var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif);
    font-size: clamp(46px, 6.8vw, 82px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.045em;
}

.pricing-hero h1 span { color: var(--sl-copper-bright); font-style: italic; }
.pricing-hero-copy > p:not(.sl-eyebrow) { max-width: 720px; margin: 24px 0 0; color: var(--sl-muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.pricing-hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.pricing-hero-actions .sl-button { display: inline-flex; align-items: center; gap: 10px; }
.pricing-hero-actions > a:not(.sl-button) { color: var(--sl-copper-bright); text-decoration: underline; text-underline-offset: 5px; }
.pricing-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 25px; color: var(--sl-muted); font-size: 14px; }
.pricing-trust span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-trust .sl-icon { width: 16px; height: 16px; color: var(--sl-green); }

.pricing-current {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--sl-line-strong);
    border-radius: var(--sl-radius-lg);
    background: var(--sl-surface-raised);
    box-shadow: var(--sl-shadow-soft);
}

.pricing-current::after {
    position: absolute;
    right: -52px;
    bottom: -78px;
    width: 210px;
    height: 210px;
    border: 1px solid var(--sl-line);
    border-radius: 50%;
    content: "";
}

.pricing-current-icon,
.pricing-free-icon,
.pricing-dialog-step-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--sl-line-strong);
    border-radius: 50%;
    color: var(--sl-copper-bright);
    background: var(--sl-surface-warm);
}

.pricing-current > p { margin: 22px 0 4px; color: var(--sl-copper); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pricing-current h2 { position: relative; z-index: 1; margin: 0; font-family: var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); font-size: 30px; font-weight: 400; line-height: 1.15; }
.pricing-current > span { position: relative; z-index: 1; display: block; margin-top: 13px; color: var(--sl-muted); line-height: 1.5; }
.pricing-current > a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--sl-copper-bright); font-weight: 600; }
.pricing-current > a .sl-icon { width: 16px; height: 16px; }

.pricing-guide { padding: 40px 0; border-bottom: 1px solid var(--sl-line); background: var(--sl-bg-deep); }
.pricing-guide-heading,
.pricing-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 26px; }
.pricing-guide-heading h2,
.pricing-section-heading h2,
.pricing-passport h2,
.pricing-faq h2 { margin: 0; font-family: var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.08; }
.pricing-guide-heading > p,
.pricing-section-heading > p { max-width: 500px; margin: 0; color: var(--sl-muted); }

.pricing-intents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pricing-intents button {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--sl-line);
    border-radius: var(--sl-radius-md);
    color: var(--sl-text);
    background: var(--sl-surface);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.pricing-intents button:hover,
.pricing-intents button[aria-pressed="true"] { border-color: var(--sl-copper); background: var(--sl-surface-warm); transform: translateY(-2px); }
.pricing-intents .sl-icon { grid-row: 1 / span 2; align-self: center; width: 24px; height: 24px; color: var(--sl-copper-bright); }
.pricing-intents strong { align-self: end; font-size: 16px; }
.pricing-intents small { color: var(--sl-muted); font-size: 13px; }

.pricing-catalog { padding: clamp(66px, 9vw, 112px) 0; }
.pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--sl-line);
    border-radius: var(--sl-radius-lg);
    background: var(--sl-surface);
    box-shadow: var(--sl-shadow-soft);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover,
.pricing-card.is-recommended { border-color: var(--sl-copper); transform: translateY(-4px); }
.pricing-card.is-recommended { box-shadow: 0 0 0 2px rgba(224,183,149,.13), var(--sl-shadow-soft); }
.pricing-card.is-featured { border-color: rgba(241,106,67,.64); background: var(--sl-surface-raised); }
.pricing-card[data-current="true"]::after { position: absolute; top: 18px; right: 18px; padding: 5px 9px; border-radius: 999px; color: var(--sl-green); background: rgba(145,185,144,.12); content: "Ваш тариф"; font-size: 11px; font-weight: 700; }
.pricing-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.pricing-card-label { margin: 0; color: var(--sl-copper); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pricing-card-badge { padding: 5px 9px; border-radius: 999px; color: #ffe5d7; background: rgba(241,106,67,.18); font-size: 11px; font-weight: 700; }
.pricing-card h3 { margin: 17px 0 6px; font-family: var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); font-size: 36px; font-weight: 400; line-height: 1.05; }
.pricing-card-purpose { min-height: 50px; margin: 0; color: var(--sl-muted); line-height: 1.45; }
.pricing-price { display: flex; align-items: baseline; gap: 9px; margin: 23px 0 19px; }
.pricing-price strong { font-family: var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); font-size: 35px; font-weight: 400; line-height: 1; }
.pricing-price span { color: var(--sl-muted); font-size: 14px; }
.pricing-card ul { flex: 1 1 auto; margin: 0 0 24px; padding: 0; list-style: none; }
.pricing-card li { position: relative; padding: 5px 0 5px 24px; line-height: 1.45; }
.pricing-card li::before { position: absolute; top: 9px; left: 2px; width: 13px; height: 13px; background: var(--sl-green); -webkit-mask: url("../home-assets/icons/check.svg") no-repeat center / contain; mask: url("../home-assets/icons/check.svg") no-repeat center / contain; content: ""; }
.pricing-card > .sl-button,
.pricing-compact-layout > .sl-button { width: 100%; min-height: 48px; }
.pricing-card > small { display: block; min-height: 37px; margin-top: 12px; color: var(--sl-muted); font-size: 12px; line-height: 1.4; text-align: center; }
.pricing-example { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; color: var(--sl-copper-bright); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.pricing-example .sl-icon { width: 14px; height: 14px; }

.pricing-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 19px 0 10px; }
.pricing-periods button { min-height: 54px; padding: 8px 9px; border: 1px solid var(--sl-line); border-radius: 10px; color: var(--sl-text); background: var(--sl-bg-deep); cursor: pointer; }
.pricing-periods button[aria-checked="true"] { border-color: var(--sl-copper); color: var(--sl-copper-bright); background: var(--sl-surface-warm); }
.pricing-periods strong,
.pricing-periods span { display: block; }
.pricing-periods strong { font-size: 13px; }
.pricing-periods span { margin-top: 2px; color: var(--sl-muted); font-size: 11px; }
.pricing-pro-total { min-height: 49px; margin: 0 0 13px; }
.pricing-pro-total strong,
.pricing-pro-total span { display: block; }
.pricing-pro-total strong { font-size: 16px; }
.pricing-pro-total span { margin-top: 2px; color: var(--sl-muted); font-size: 12px; }

.pricing-card-compact { grid-column: 1 / -1; padding-block: 24px; }
.pricing-compact-layout { display: grid; grid-template-columns: minmax(220px, 1.15fr) auto minmax(300px, 1fr) 220px; align-items: center; gap: 24px; }
.pricing-compact-layout h3 { margin-top: 10px; }
.pricing-compact-layout .pricing-card-purpose { min-height: 0; }
.pricing-compact-layout .pricing-price { margin: 0; white-space: nowrap; }
.pricing-compact-layout ul { display: grid; grid-template-columns: 1fr; align-content: center; margin: 0; }
.pricing-card-compact > small { min-height: 0; margin: 15px 0 0; text-align: left; }

.pricing-free {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 22px 24px;
    border: 1px solid var(--sl-line);
    border-radius: var(--sl-radius-lg);
    background: var(--sl-bg-deep);
}
.pricing-free p { margin: 0 0 2px; color: var(--sl-copper); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pricing-free h3 { margin: 0; font: 400 24px/1.2 var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); }
.pricing-free div > span { display: block; margin-top: 4px; color: var(--sl-muted); font-size: 14px; }
.pricing-free .sl-button { white-space: nowrap; }

.passport-loading,
.passport-error { min-height: 390px; border: 1px solid var(--sl-line); border-radius: var(--sl-radius-lg); background: var(--sl-surface); }
.passport-loading { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px; }
.passport-loading[hidden], .passport-error[hidden], .pricing-plans[hidden] { display: none; }
.passport-loading span { border-radius: 18px; background: linear-gradient(100deg, var(--sl-surface-raised) 20%, var(--sl-surface-warm) 42%, var(--sl-surface-raised) 64%); background-size: 200% 100%; animation: pricing-shimmer 1.4s linear infinite; }
.passport-loading p { position: absolute; bottom: 22px; left: 28px; color: var(--sl-muted); }
.passport-error { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; min-height: 170px; padding: 28px; }
.passport-error > .sl-icon { width: 30px; height: 30px; color: var(--pricing-danger); }
.passport-error h3 { margin: 0 0 4px; font: 400 26px/1.2 var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); }
.passport-error p { margin: 0; color: var(--sl-muted); }

.pricing-compare { padding: clamp(70px, 8vw, 104px) 0; border-block: 1px solid var(--sl-line); background: var(--sl-bg-deep); }
.pricing-table-wrap { overflow-x: auto; border: 1px solid var(--sl-line); border-radius: var(--sl-radius-lg); background: var(--sl-surface); box-shadow: var(--sl-shadow-soft); }
.pricing-table-wrap table { width: 100%; min-width: 870px; border-collapse: collapse; }
.pricing-table-wrap th,
.pricing-table-wrap td { padding: 17px 18px; border-bottom: 1px solid var(--sl-line); text-align: center; vertical-align: middle; }
.pricing-table-wrap th:first-child { width: 27%; text-align: left; }
.pricing-table-wrap thead th { color: var(--sl-copper-bright); background: var(--sl-surface-warm); font-size: 13px; letter-spacing: .04em; }
.pricing-table-wrap tbody th { color: var(--sl-text); font-weight: 600; }
.pricing-table-wrap tbody td { color: var(--sl-muted); font-size: 14px; }
.pricing-table-wrap tbody tr:last-child th,
.pricing-table-wrap tbody tr:last-child td { border-bottom: 0; }
.pricing-table-wrap tbody tr:hover { background: rgba(197,151,116,.055); }
.pricing-table-help { margin: 12px 0 0; color: var(--sl-dim); font-size: 12px; }

.pricing-passport { padding: clamp(70px, 9vw, 116px) 0; }
.pricing-passport-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(270px, .75fr); align-items: center; gap: 32px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--sl-line-strong); border-radius: var(--sl-radius-lg); background: var(--sl-surface-raised); box-shadow: var(--sl-shadow-soft); }
.pricing-passport-mark { display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid var(--sl-copper); border-radius: 22px; color: var(--sl-copper-bright); background: var(--sl-surface-warm); font: 400 36px/1 var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); }
.pricing-passport h2 { font-size: clamp(30px, 4vw, 44px); }
.pricing-passport p:not(.sl-section-kicker) { max-width: 700px; margin: 14px 0 0; color: var(--sl-muted); }
.pricing-passport ol { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.pricing-passport li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--sl-muted); }
.pricing-passport li span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--sl-line-strong); border-radius: 50%; color: var(--sl-copper-bright); font-size: 12px; }

.pricing-faq { padding: 0 0 clamp(86px, 10vw, 130px); }
.pricing-faq-grid { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1fr); gap: clamp(46px, 8vw, 110px); }
.pricing-faq-grid > div:first-child > p:last-child { color: var(--sl-muted); }
.pricing-faq-list { border-top: 1px solid var(--sl-line); }
.pricing-faq-list details { border-bottom: 1px solid var(--sl-line); }
.pricing-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; cursor: pointer; font-weight: 600; list-style: none; }
.pricing-faq-list summary::-webkit-details-marker { display: none; }
.pricing-faq-list summary .sl-icon { color: var(--sl-copper); transition: transform .2s ease; }
.pricing-faq-list details[open] summary .sl-icon { transform: rotate(180deg); }
.pricing-faq-list details p { margin: -2px 44px 20px 0; color: var(--sl-muted); line-height: 1.55; }

.pricing-footer { padding-bottom: 36px; }
.pricing-footer .sl-footer-inner { align-items: center; }
.pricing-footer strong { font: 400 22px/1 var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); }
.pricing-footer p { margin: 5px 0 0; color: var(--sl-muted); font-size: 13px; }

.pricing-mobile-nav { display: none; }

.pricing-dialog {
    width: min(560px, calc(100% - 30px));
    max-height: calc(100dvh - 30px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--sl-line-strong);
    border-radius: var(--sl-radius-lg);
    color: var(--sl-text);
    background: var(--sl-surface-raised);
    box-shadow: var(--sl-shadow);
    overflow: auto;
}
.pricing-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(4px); }
.pricing-dialog-shell { position: relative; padding: 34px; }
.pricing-dialog-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--sl-line); border-radius: 50%; color: var(--sl-muted); background: transparent; cursor: pointer; }
.pricing-dialog h2 { margin: 0 45px 8px 0; font: 400 38px/1.1 var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); }
.pricing-dialog-shell > p:not(.sl-section-kicker, .pricing-dialog-terms, .pricing-prototype-note) { margin: 0; color: var(--sl-muted); }
.pricing-dialog-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 24px 0; padding: 18px 0; border-block: 1px solid var(--sl-line); }
.pricing-dialog-summary span { color: var(--sl-muted); }
.pricing-dialog-summary strong { font: 400 30px/1 var(--sl-yoo-font-heading, "Playfair Display", Georgia, serif); }
.pricing-dialog-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 22px; }
.pricing-dialog-step strong { display: block; }
.pricing-dialog-step p { margin: 3px 0 0; color: var(--sl-muted); font-size: 14px; line-height: 1.45; }
.pricing-dialog .sl-button { width: 100%; min-height: 50px; }
.pricing-dialog-terms { margin: 16px 0 0; color: var(--sl-muted); font-size: 13px; line-height: 1.45; }
.pricing-prototype-note { margin: 16px 0 0; color: var(--sl-dim); font-size: 11px; text-align: center; }

.pricing-review { width: min(520px, calc(100% - 28px)); margin: 24px auto 90px; padding: 12px; border: 1px solid var(--sl-line-strong); border-radius: 14px; background: rgba(20,17,14,.96); box-shadow: var(--sl-shadow-soft); }
.pricing-review > span { display: block; margin-bottom: 7px; color: var(--sl-muted); font-size: 11px; }
.pricing-review > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.pricing-review button { min-height: 34px; padding: 0 10px; border: 1px solid var(--sl-line); border-radius: 999px; color: var(--sl-muted); background: transparent; cursor: pointer; }
.pricing-review button[aria-pressed="true"] { border-color: var(--sl-copper); color: var(--sl-text); background: var(--sl-surface-warm); }

@keyframes pricing-shimmer { to { background-position-x: -200%; } }

html[data-theme="light"] body.sl-pricing {
    --sl-bg: #f7f0e9;
    --sl-bg-deep: #efe4da;
    --sl-surface: #fffaf6;
    --sl-surface-raised: #fffdfb;
    --sl-surface-warm: #f2dfd1;
    --sl-text: #2d211b;
    --sl-muted: #6f5d52;
    --sl-dim: #8c7769;
    --sl-copper: #935b3f;
    --sl-copper-bright: #7c432c;
    --sl-line: rgba(88,56,38,.13);
    --sl-line-strong: rgba(88,56,38,.28);
    --sl-focus: #7b3f27;
    background: #f7f0e9;
}
/* Keep the approved prototype header legible in light mode; the stage Joomla
   header uses its own sl-stage-* selectors and remains YOOtheme-owned. */
html[data-theme="light"] body.sl-pricing .sl-utility { background: #f8f5f1; border-color: var(--sl-line); }
html[data-theme="light"] body.sl-pricing .sl-main-nav { background: rgba(255,255,255,.97); }
html[data-theme="light"] body.sl-pricing .sl-site-header.is-condensed { background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(70,50,35,.06); }
html[data-theme="light"] body.sl-pricing .sl-account-menu,
html[data-theme="light"] body.sl-pricing .sl-account-menu::before { background: #fffaf6; }
html[data-theme="light"] body.sl-pricing .sl-account-menu { box-shadow: 0 20px 55px rgba(70,45,30,.14); }
html[data-theme="light"] body.sl-pricing .sl-account-avatar,
html[data-theme="light"] body.sl-pricing .sl-account-menu-icon,
html[data-theme="light"] body.sl-pricing .sl-account-plan { background: #f2e6db; }
html[data-theme="light"] body.sl-pricing .sl-account-links a:hover,
html[data-theme="light"] body.sl-pricing .sl-account-links button:hover { background: #f7f0e9; }
html[data-theme="light"] body.sl-pricing .sl-account-links-secondary button:last-child { color: #914831; }
html[data-theme="light"] body.sl-pricing .pricing-card-badge { color: #6d2818; background: rgba(222,91,54,.13); }
html[data-theme="light"] body.sl-pricing .pricing-review { background: rgba(255,250,246,.97); }
html[data-theme="light"] body.sl-pricing .passport-loading span { background: linear-gradient(100deg, #f3e6dc 20%, #fffaf6 42%, #f3e6dc 64%); background-size: 200% 100%; }

@media (max-width: 1120px) {
    .pricing-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .65fr); gap: 38px; }
    .pricing-intents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-card-compact { grid-column: auto; }
    .pricing-compact-layout { display: contents; }
    .pricing-card-compact .pricing-price { margin: 23px 0 19px; }
    .pricing-card-compact ul { display: block; margin-bottom: 24px; }
    .pricing-card-compact > small { min-height: 37px; margin-top: 12px; text-align: center; }
    .pricing-passport-card { grid-template-columns: auto minmax(0, 1fr); }
    .pricing-passport-card ol { grid-column: 2; }
}

@media (max-width: 920px) {
    body.sl-pricing { padding-bottom: 72px; }
    body.sl-pricing .sl-site-header { position: static; backdrop-filter: none; }
    body.sl-pricing .sl-nav-actions .pricing-header-cta { display: none; }
    .pricing-hero-grid { grid-template-columns: 1fr; }
    .pricing-current { max-width: 560px; }
    .pricing-guide-heading,
    .pricing-section-heading { align-items: start; flex-direction: column; gap: 10px; }
    .pricing-passport-card { grid-template-columns: auto minmax(0, 1fr); }
    .pricing-faq-grid { grid-template-columns: 1fr; gap: 28px; }
    .pricing-mobile-nav { position: fixed; z-index: 80; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--sl-line-strong); background: rgba(13,12,11,.96); box-shadow: 0 -12px 40px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
    .pricing-mobile-nav a { display: flex; min-height: 52px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 10px; color: var(--sl-muted); font-size: 11px; }
    .pricing-mobile-nav a[aria-current="page"] { color: var(--sl-copper-bright); background: var(--sl-surface-warm); }
    .pricing-mobile-nav .sl-icon { width: 20px; height: 20px; }
    html[data-theme="light"] body.sl-pricing .pricing-mobile-nav { background: rgba(255,250,246,.96); }
}

@media (max-width: 720px) {
    body.sl-pricing .sl-container { width: min(calc(100% - 28px), var(--sl-content)); }
    body.sl-pricing .sl-theme-label { display: none; }
    body.sl-pricing .sl-theme-toggle { padding: 0; }
    .pricing-hero { padding: 42px 0 48px; }
    .pricing-hero h1 { font-size: clamp(43px, 13vw, 62px); }
    .pricing-hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
    .pricing-hero-actions .sl-button { justify-content: center; }
    .pricing-current { padding: 25px; }
    .pricing-guide { padding: 34px 0; }
    .pricing-intents { grid-template-columns: 1fr; }
    .pricing-intents button { min-height: 76px; }
    .pricing-catalog { padding: 58px 0 72px; }
    .pricing-plans { grid-template-columns: 1fr; }
    .pricing-card { padding: 23px; }
    .pricing-card-purpose { min-height: 0; }
    .pricing-free { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
    .pricing-free .sl-button { grid-column: 1 / -1; width: 100%; }
    .passport-loading { grid-template-columns: 1fr; min-height: 520px; }
    .passport-error { grid-template-columns: auto minmax(0, 1fr); }
    .passport-error .sl-button { grid-column: 1 / -1; width: 100%; }
    .pricing-passport-card { grid-template-columns: 1fr; gap: 18px; }
    .pricing-passport-card ol { grid-column: auto; }
    .pricing-table-wrap { margin-right: -14px; border-radius: 18px 0 0 18px; }
    .pricing-dialog-shell { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-intents button,
    .pricing-card,
    .pricing-faq-list summary .sl-icon { transition: none; }
    .passport-loading span { animation: none; }
}

/* The approved catalogue lives inside the native YOOtheme child shell. */
body.sl-stage-pricing .tm-page,
body.sl-stage-pricing #tm-main { background: var(--sl-bg) !important; }
body.sl-stage-pricing #tm-main { padding: 0; }
body.sl-stage-pricing #tm-main > .uk-container { max-width: none; padding: 0; }
body.sl-stage-pricing .sl-stage-pricing-main { display: block; color: var(--sl-text); }
body.sl-stage-pricing .pricing-hero h1 { letter-spacing: -.035em; }
body.sl-stage-pricing .pricing-source-note { max-width: 75ch; margin: 26px 0 0; color: var(--sl-muted); font-size: 14px; line-height: 1.55; }
body.sl-stage-pricing .pricing-source-note a { color: var(--sl-copper-bright); text-decoration: underline; text-underline-offset: 3px; }
body.sl-stage-pricing .pricing-unavailable { max-width: 22ch; color: var(--sl-muted); font: 600 17px/1.3 var(--sl-yoo-font-body, Arsenal, Arial, sans-serif); }
body.sl-stage-pricing .pricing-periods button:disabled { opacity: .55; cursor: not-allowed; }
body.sl-stage-pricing .pricing-periods button:focus-visible,
body.sl-stage-pricing .pricing-intents button:focus-visible { outline: 2px solid var(--sl-focus); outline-offset: 3px; }
body.sl-stage-pricing .pricing-card .sl-button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
body.sl-stage-pricing .pricing-current { box-shadow: none; }
body.sl-stage-pricing .pricing-card { box-shadow: none; }
body.sl-stage-pricing .pricing-faq { padding-top: clamp(70px, 8vw, 104px); }
body.sl-stage-pricing .pricing-faq-list a { color: var(--sl-copper-bright); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  body.sl-stage-pricing .pricing-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  body.sl-stage-pricing .pricing-price { flex-wrap: wrap; }
  body.sl-stage-pricing .pricing-compact-layout .pricing-price { white-space: normal; }
}

/* BEM boundary: restore the approved display roles after the native theme's
   generic h1/h2 rules, without styling its menu or calculation component. */
body.sl-stage-pricing .pricing-page .pricing-hero h1 {
    font-size: clamp(46px, 6.8vw, 82px);
    line-height: .98;
}
body.sl-stage-pricing .pricing-page h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}
body.sl-stage-pricing .pricing-page .pricing-current h2 { font-size: 30px; line-height: 1.15; }
body.sl-stage-pricing .pricing-page .pricing-current > a { min-height: 44px; }
body.sl-stage-pricing .pricing-page .pricing-card { scroll-margin-top: 120px; }
/* Native catalogue interactions keep their source data and actions. */
body.sl-stage-pricing .pricing-page .pricing-hero-actions > a:not(.sl-button),
body.sl-stage-pricing .pricing-page .pricing-example,
body.sl-stage-pricing .pricing-page .pricing-source-note a,
body.sl-stage-pricing .pricing-page .pricing-faq-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
}
body.sl-stage-pricing .pricing-page .pricing-periods strong { font-size: 16px; }
body.sl-stage-pricing .pricing-page .pricing-periods span { font-size: 14px; }
body.sl-stage-pricing .pricing-page .pricing-pro-total span,
body.sl-stage-pricing .pricing-page .pricing-card > small,
body.sl-stage-pricing .pricing-page .pricing-source-note,
body.sl-stage-pricing .pricing-page .pricing-table-help { font-size: 14px; }
body.sl-stage-pricing .pricing-page :is(.pricing-price, .pricing-periods, .pricing-pro-total) {
    font-variant-numeric: tabular-nums;
}
body.sl-stage-pricing .pricing-page :is(a, summary, .pricing-table-wrap):focus-visible {
    outline: 2px solid var(--sl-focus);
    outline-offset: 4px;
}
@media (max-width: 720px) {
    body.sl-stage-pricing .pricing-page .pricing-hero h1 { font-size: clamp(43px, 13vw, 62px); }
}
