:root {
    --bg: #070707;
    --bg-soft: #101010;
    --panel: rgba(20, 20, 20, 0.92);
    --panel-strong: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 160, 34, 0.34);
    --text: #f6f2e8;
    --text-soft: #cdc5b4;
    --text-muted: #9a927f;
    --orange: #ff961f;
    --orange-strong: #ff7a00;
    --yellow: #ffd14a;
    --yellow-soft: #fff1b4;
    --green: #20c47d;
    --danger: #ff6e61;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.24);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --shell: min(1040px, calc(100vw - 28px));
    --font-display: "Sora", sans-serif;
    --font-body: "Manrope", sans-serif;
    --transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 150, 31, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 209, 74, 0.12), transparent 28%),
        linear-gradient(180deg, #060606 0%, #101010 42%, #080808 100%);
}

body.is-modal-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 92%);
}

img {
    display: block;
    max-width: 100%;
}

a,
button {
    font: inherit;
    color: inherit;
}

a {
    text-decoration: none;
}

button {
    border: 0;
    cursor: pointer;
    background: none;
}

strong {
    font-weight: 800;
}

code {
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.92em;
}

main,
.site-footer {
    position: relative;
    z-index: 2;
}

.channel-rail {
    position: fixed;
    top: 92px;
    right: max(18px, calc((100vw - 1040px) / 2 - 144px));
    bottom: 36px;
    z-index: 1;
    width: 150px;
    overflow: hidden;
    padding: 0 26px 0 12px;
    pointer-events: none;
    opacity: 0.68;
    mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

.channel-rail::before {
    content: "";
    position: absolute;
    inset: 4px 24px 4px auto;
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(255, 209, 74, 0.34), transparent);
    opacity: 0.34;
}

.channel-rail-track {
    display: grid;
    gap: 14px;
    animation: channel-slide-vertical 58s linear infinite;
    will-change: transform;
}

.channel-set {
    display: grid;
    gap: 14px;
    padding: 7px 0;
}

.channel-token {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(10, 10, 10, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 26px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    opacity: 0.72;
    animation: channel-sway 7.8s ease-in-out infinite alternate;
    will-change: transform;
}

.channel-token:nth-child(2n) {
    margin-left: 18px;
    animation-duration: 8.6s;
    animation-delay: -2.4s;
}

.channel-token:nth-child(3n) {
    margin-left: 7px;
    animation-duration: 9.4s;
    animation-delay: -4.8s;
}

.channel-token:nth-child(4n) {
    margin-left: 22px;
    animation-duration: 7.2s;
    animation-delay: -1.2s;
}

.channel-token img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 74px;
    max-height: 30px;
    object-fit: contain;
    filter: saturate(1.06) brightness(1.14) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.26));
}

.channel-token .channel-name {
    position: absolute;
    inset: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-soft);
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
}

.channel-token.is-text-only .channel-name {
    position: static;
    opacity: 1;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 30;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--yellow);
    color: #050505;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(7, 7, 7, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name,
.brand-tag,
.eyebrow,
.stage-step,
.choice-kicker,
.sticky-kicker,
.section-note {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 0.96rem;
}

.brand-tag,
.eyebrow,
.stage-step,
.choice-kicker,
.sticky-kicker,
.section-note {
    color: var(--text-muted);
    font-size: 0.74rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-link {
    color: var(--text-soft);
    font-weight: 700;
}

.button,
.text-button,
.mode-chip,
.device-card,
.choice-card,
.plan-card,
.alt-toggle {
    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        color var(--transition);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
}

.button-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
    color: #050505;
    border-color: rgba(255, 225, 150, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 245, 210, 0.24),
        0 14px 34px rgba(255, 150, 31, 0.24);
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 245, 210, 0.28),
        0 18px 38px rgba(255, 150, 31, 0.3);
}

.is-guided {
    border-color: rgba(255, 209, 74, 0.34) !important;
    box-shadow:
        0 0 0 1px rgba(255, 209, 74, 0.14),
        0 0 18px rgba(255, 166, 52, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.button-primary.is-guided {
    border-color: rgba(255, 232, 169, 0.54) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 245, 210, 0.32),
        0 0 0 1px rgba(255, 226, 140, 0.3),
        0 0 0 4px rgba(255, 158, 28, 0.12),
        0 18px 38px rgba(255, 140, 0, 0.32);
}

.button-secondary.is-guided {
    border-color: rgba(255, 190, 78, 0.34) !important;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(16, 16, 16, 0.96));
    color: var(--text);
    box-shadow:
        0 0 0 1px rgba(255, 209, 74, 0.12),
        0 10px 22px rgba(0, 0, 0, 0.18);
}

.quick-tool.is-guided,
.margin-chip.is-guided,
.device-card.is-guided,
.choice-card.is-guided,
.plan-card.is-guided {
    box-shadow:
        0 0 0 1px rgba(255, 209, 74, 0.14),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

.quick-tool.is-guided,
.margin-chip.is-guided {
    background-image: linear-gradient(180deg, rgba(255, 209, 74, 0.05), transparent 68%);
}

.device-card.is-guided,
.choice-card.is-guided,
.plan-card.is-guided {
    background-image: linear-gradient(180deg, rgba(255, 209, 74, 0.06), transparent 62%);
}

.is-guided-pulse {
    animation: guided-pulse 2.1s ease-in-out infinite;
}

.button-primary.is-guided-pulse {
    animation-name: guided-pulse-primary;
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.94), rgba(15, 15, 15, 0.96));
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
    background: linear-gradient(180deg, rgba(33, 33, 33, 0.96), rgba(20, 20, 20, 0.98));
}

.button-compact {
    min-height: 44px;
    padding-inline: 18px;
}

.text-button {
    padding: 0;
    color: var(--text-soft);
    background: transparent;
    font-weight: 700;
}

.text-button:hover {
    color: var(--text);
}

.wizard-app {
    padding: 18px 0 14px;
}

.intro-strip,
.wizard-card,
.events-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.intro-strip,
.events-card {
    border-radius: var(--radius-md);
}

.wizard-card {
    border-radius: var(--radius-lg);
}

.intro-strip {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.intro-copy-block h1,
.stage-head h2,
.summary-card h3,
.result-card h3,
.panel-card h3,
.events-card h2,
.fatal-card h2 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.06;
}

.intro-copy-block h1 {
    margin-top: 6px;
    font-size: clamp(1.9rem, 5vw, 3rem);
}

.intro-copy {
    margin: 10px 0 0;
    max-width: 38ch;
    color: var(--text-soft);
    line-height: 1.5;
}

.mode-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-chip {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    background: transparent;
    color: var(--text-soft);
    font-weight: 800;
}

.mode-chip:hover {
    background: rgba(255, 255, 255, 0.04);
}

.mode-chip.is-selected {
    color: #050505;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
}

.wizard-card {
    margin-top: 12px;
    padding: 18px;
}

.progress-block {
    display: grid;
    gap: 14px;
}

.progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 700;
}

.progress-track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
}

.progress-list {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.progress-list::-webkit-scrollbar {
    display: none;
}

.progress-list li {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.78rem;
    border: 1px solid transparent;
    white-space: nowrap;
}

.progress-list li.is-current,
.progress-list li.is-complete {
    color: var(--text);
}

.progress-list li.is-current {
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 209, 74, 0.14),
        0 0 16px rgba(255, 150, 31, 0.12);
}

.progress-list li.is-complete {
    background: rgba(255, 150, 31, 0.14);
    border-color: rgba(255, 150, 31, 0.24);
}

.stage-stack {
    margin-top: 18px;
}

.stage {
    display: none;
    animation: fade-up 220ms ease;
}

.stage.is-active {
    display: block;
}

.stage-head {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.stage-head.is-guided-head .stage-step {
    color: var(--yellow-soft);
    text-shadow: 0 0 14px rgba(255, 150, 31, 0.2);
}

.stage-head.is-guided-head h2 {
    text-shadow: 0 0 28px rgba(255, 209, 74, 0.08);
}

.stage-head h2 {
    font-size: clamp(1.55rem, 4vw, 2.2rem);
}

.stage-copy,
.choice-note,
.card-copy,
.panel-copy,
.note-row,
.events-row span,
.loading-state,
.empty-panel,
.footer-inner p {
    color: var(--text-soft);
    line-height: 1.55;
}

.stage-copy {
    margin: 0;
}

.card-copy,
.panel-copy,
.note-row {
    margin: 0;
}

.device-grid,
.choice-grid,
.pricing-grid,
.install-grid,
.events-list {
    display: grid;
    gap: 14px;
}

.device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.device-card,
.choice-card,
.result-card,
.summary-card,
.plan-card,
.panel-card,
.diagnostic-card,
.events-row,
.empty-panel,
.fatal-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
}

.device-card,
.choice-card,
.plan-card {
    width: 100%;
    text-align: left;
}

.device-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 188px;
    padding: 18px;
}

.device-card:hover,
.choice-card:hover,
.plan-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
}

.device-card.is-selected,
.choice-card.is-selected,
.plan-card.is-selected {
    border-color: var(--line-strong);
    background: linear-gradient(180deg, rgba(255, 150, 31, 0.15), rgba(255, 255, 255, 0.04));
}

.device-card-media {
    width: 72px;
    height: 72px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.device-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.device-card-copy {
    display: grid;
    gap: 6px;
}

.device-card strong,
.choice-card strong,
.plan-card strong {
    font-size: 1.05rem;
    line-height: 1.3;
}

.device-card-subtitle {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.choice-grid-dual {
    grid-template-columns: 1fr;
}

.choice-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.choice-card-compact {
    min-height: 138px;
}

.inline-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 18px;
}

.inline-actions-between {
    justify-content: space-between;
}

.diagnostic-panel {
    display: grid;
    gap: 14px;
}

#primary-result,
#alternative-result {
    display: grid;
    gap: 14px;
}

.diagnostic-card,
.result-card,
.summary-card,
.panel-card,
.empty-panel,
.fatal-card {
    padding: 20px;
}

.diagnostic-card {
    background: linear-gradient(180deg, rgba(255, 110, 97, 0.16), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 110, 97, 0.22);
}

.diagnostic-card h3,
.panel-card h3 {
    font-size: 1.16rem;
}

.diagnostic-actions,
.result-actions,
.result-meta,
.summary-meta,
.action-stack,
.reseller-actions,
.url-box,
.quote-pills,
.panel-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.result-card {
    display: grid;
    gap: 14px;
    overflow: hidden;
    position: relative;
}

.result-card-operational {
    gap: 18px;
}

.result-card-operational .result-top {
    align-items: end;
}

.result-card-secondary {
    background: rgba(255, 255, 255, 0.035);
}

.result-card::after,
.summary-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 74, 0.12), transparent 65%);
    pointer-events: none;
}

.result-card.is-primary,
.summary-card {
    border-color: rgba(255, 150, 31, 0.2);
    background: linear-gradient(180deg, rgba(255, 150, 31, 0.14), rgba(255, 255, 255, 0.04));
}

.result-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.result-pill,
.meta-pill,
.quote-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--yellow-soft);
    font-size: 0.78rem;
    font-weight: 800;
}

.result-reason {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
}

.result-meta,
.summary-meta {
    gap: 8px;
}

.result-mobile-meta {
    display: none;
    margin: -6px 0 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.meta-pill {
    color: var(--text-soft);
}

.note-row strong {
    color: var(--text);
}

details {
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

summary {
    cursor: pointer;
    padding: 14px 16px;
    color: var(--text-soft);
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

details .panel-copy {
    padding: 16px;
}

.panel-card a,
.result-card a {
    color: var(--yellow);
}

.alternative-shell {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.pricing-grid-operational {
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.pricing-grid-operational .plan-card {
    min-height: 148px;
    align-content: start;
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
        rgba(19, 19, 19, 0.92);
}

.pricing-grid-operational .plan-card.is-selected {
    border-color: rgba(255, 183, 67, 0.52);
    background:
        radial-gradient(circle at top right, rgba(255, 212, 103, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(255, 154, 28, 0.28), rgba(255, 221, 124, 0.1) 46%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 226, 138, 0.26);
}

.summary-card {
    display: grid;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.pricing-grid {
    margin-top: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.plan-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.plan-tag {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.plan-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
}

.selected-plan {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.selected-plan strong {
    display: block;
    margin-top: 4px;
    font-size: 1.04rem;
}

.install-grid {
    grid-template-columns: 1fr;
}

.panel-card {
    display: grid;
    gap: 14px;
}

.panel-card-inline {
    gap: 16px;
    border-color: rgba(255, 150, 31, 0.18);
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.88), rgba(10, 10, 10, 0.92));
}

.panel-head {
    align-items: flex-start;
    justify-content: space-between;
}

.install-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.install-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.55;
    color: var(--text-soft);
}

.install-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.action-stack,
.reseller-actions {
    flex-direction: column;
}

.action-stack .button,
.reseller-actions .button {
    width: 100%;
}

.result-actions-primary {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
}

.result-actions-primary .button {
    width: 100%;
}

.result-actions-primary .button-primary {
    min-height: 56px;
    font-size: 0.98rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 245, 210, 0.32),
        0 18px 40px rgba(255, 150, 31, 0.3);
}

.result-actions-secondary {
    align-items: stretch;
}

.result-actions-secondary .button {
    flex: 1 1 220px;
}

.result-link-action {
    min-height: auto;
    padding: 0;
    justify-content: flex-start;
    color: var(--text-soft);
}

.result-link-action:hover {
    color: var(--text);
}

.margin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.margin-chip {
    width: 100%;
    padding: 14px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.margin-chip.is-selected {
    border-color: rgba(255, 184, 69, 0.44);
    background:
        linear-gradient(180deg, rgba(255, 154, 28, 0.24), rgba(255, 222, 128, 0.1)),
        rgba(20, 20, 20, 0.96);
    box-shadow:
        0 0 0 1px rgba(255, 221, 126, 0.16),
        0 12px 24px rgba(0, 0, 0, 0.14);
}

.margin-chip strong {
    display: block;
}

.margin-chip span {
    display: block;
    margin-top: 4px;
    color: var(--yellow);
    font-size: 0.84rem;
}

.margin-chip-custom strong {
    font-size: 0.82rem;
}

.margin-input {
    display: grid;
    gap: 8px;
}

.margin-input-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.margin-input-field span {
    color: var(--yellow);
    font-weight: 800;
}

.margin-input-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
}

.preview-box,
.url-box,
.quote-box {
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-box,
.quote-box {
    padding: 16px;
    white-space: pre-wrap;
    color: var(--text-soft);
}

.url-box {
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.url-box code {
    background: transparent;
    color: var(--yellow);
    padding: 0;
}

.quote-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1;
}

.quote-box {
    padding: 18px;
    color: var(--text);
    border-color: rgba(255, 178, 64, 0.3);
    background:
        radial-gradient(circle at top right, rgba(255, 214, 112, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(53, 33, 7, 0.94), rgba(16, 16, 16, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 237, 181, 0.08),
        0 14px 30px rgba(0, 0, 0, 0.22);
}

.quote-pill strong {
    color: var(--text);
    font-weight: 800;
}

.quick-tools-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.quick-tools-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.quick-tools-head h3 {
    margin: 2px 0 0;
    font-size: 1.08rem;
}

.quick-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.quick-tool {
    display: grid;
    justify-items: start;
    align-content: start;
    gap: 4px;
    min-height: 86px;
    padding: 14px 16px;
    text-align: left;
    border-radius: 18px;
}

.quick-tool .quick-tool-title {
    font-weight: 800;
    color: var(--text);
}

.quick-tool .quick-tool-copy {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}

.quick-tool-install {
    border-color: rgba(255, 174, 56, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 154, 28, 0.14), rgba(255, 214, 112, 0.05)),
        rgba(21, 21, 21, 0.96);
}

.quick-tool-install-wide {
    min-height: 96px;
    grid-column: span 2;
    border-color: rgba(255, 183, 71, 0.34);
    background:
        radial-gradient(circle at top right, rgba(255, 214, 112, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(255, 154, 28, 0.16), rgba(255, 214, 112, 0.06)),
        rgba(21, 21, 21, 0.96);
}

.result-details,
.result-subdetails {
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.result-details summary,
.result-subdetails summary {
    font-weight: 800;
    color: var(--text);
}

.result-details-body {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.result-details .panel-copy {
    padding: 0;
}

.result-subdetails .panel-copy {
    padding: 0;
}

.detail-notes {
    display: grid;
    gap: 8px;
}

.detail-note {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
}

.detail-note strong {
    color: var(--text);
}

.video-trigger-row {
    display: flex;
    margin-top: 6px;
}

.video-launch-button {
    width: 100%;
    min-height: 52px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 150, 31, 0.08));
}

.video-launch-button:hover {
    border-color: rgba(255, 209, 74, 0.28);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    overflow-y: auto;
    padding: clamp(16px, 3vw, 28px);
}

.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255, 150, 31, 0.12), transparent 30%),
        rgba(2, 2, 2, 0.82);
    backdrop-filter: blur(14px);
}

.video-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100vw - 24px));
    margin: auto;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(255, 150, 31, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(21, 21, 21, 0.98), rgba(9, 9, 9, 0.98));
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.56);
}

.video-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.video-modal-head h2 {
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.02;
}

.video-modal-copy {
    margin: 12px 0 0;
    max-width: 62ch;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.video-modal-body {
    display: block;
}

.video-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.video-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.video-card-head {
    display: grid;
    gap: 8px;
}

.video-card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 209, 74, 0.12);
    color: var(--yellow-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-card-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.1;
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #050505;
    min-height: 360px;
    aspect-ratio: 16 / 10;
}

.video-frame iframe,
.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
}

.events-shell {
    padding-top: 8px;
    padding-bottom: 96px;
}

.events-card {
    padding: 18px;
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
}

.section-compact-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.events-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-toggle {
    min-height: 38px;
    padding-inline: 14px;
}

.events-summary {
    margin: 0 0 12px;
    color: var(--text-soft);
    line-height: 1.45;
}

.events-card h2 {
    margin-top: 4px;
    font-size: 1.2rem;
}

.events-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.events-time {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.events-match {
    font-weight: 800;
}

.events-row span:last-child {
    text-align: right;
}

.loading-state,
.empty-panel,
.fatal-card {
    margin: 0;
}

.fatal-card {
    display: grid;
    gap: 10px;
}

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(7, 7, 7, 0), rgba(7, 7, 7, 0.92) 26%, rgba(7, 7, 7, 0.98) 100%);
}

.sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(17, 17, 17, 0.95);
    box-shadow: var(--shadow);
}

.sticky-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.sticky-copy strong {
    line-height: 1.35;
}

.site-footer {
    padding: 22px 0 calc(28px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner p {
    margin: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid rgba(255, 209, 74, 0.62);
    outline-offset: 3px;
}

.button:disabled,
.plan-card:disabled {
    cursor: not-allowed;
    opacity: 0.54;
    transform: none;
    box-shadow: none;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes channel-slide-vertical {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -50%, 0);
    }
}

@keyframes channel-slide-horizontal {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes channel-sway {
    from {
        transform: translate3d(-3px, 0, 0) rotate(-1deg);
    }
    to {
        transform: translate3d(5px, -10px, 0) rotate(1.5deg);
    }
}

@keyframes channel-bob {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -5px, 0);
    }
}

@keyframes guided-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(255, 209, 74, 0.14),
            0 0 14px rgba(255, 166, 52, 0.08),
            0 10px 24px rgba(0, 0, 0, 0.16);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 209, 74, 0.24),
            0 0 0 6px rgba(255, 154, 28, 0.08),
            0 0 18px rgba(255, 209, 74, 0.14),
            0 12px 28px rgba(0, 0, 0, 0.18);
    }
}

@keyframes guided-pulse-primary {
    0%,
    100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 245, 210, 0.32),
            0 0 0 1px rgba(255, 226, 140, 0.3),
            0 0 0 4px rgba(255, 158, 28, 0.12),
            0 18px 38px rgba(255, 140, 0, 0.32);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 245, 210, 0.36),
            0 0 0 1px rgba(255, 233, 171, 0.42),
            0 0 0 8px rgba(255, 158, 28, 0.12),
            0 0 24px rgba(255, 214, 112, 0.14),
            0 22px 42px rgba(255, 140, 0, 0.34);
    }
}

@media (prefers-reduced-motion: reduce) {
    .channel-rail {
        opacity: 0.36;
    }

    .channel-rail-track,
    .channel-token {
        animation: none;
    }

    .channel-set:nth-child(2) {
        display: none;
    }

    .is-guided-pulse {
        animation: none;
    }
}

@media (min-width: 720px) {
    .intro-strip {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .choice-grid-dual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .install-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (min-width: 900px) {
    .device-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wizard-card {
        padding: 28px;
    }

    .sticky-cta {
        display: none;
    }

    .events-shell {
        padding-bottom: 42px;
    }
}

@media (max-width: 719px) {
    :root {
        --shell: min(calc(100vw - 16px), 1040px);
        --radius-sm: 14px;
        --radius-md: 18px;
        --radius-lg: 22px;
    }

    .channel-rail {
        top: 58px;
        right: 0;
        bottom: auto;
        left: 0;
        z-index: 3;
        width: auto;
        height: 40px;
        padding: 0;
        opacity: 0.34;
        mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    }

    .channel-rail::before {
        inset: auto 18px 0;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 209, 74, 0.28), transparent);
    }

    .channel-rail-track {
        display: flex;
        width: max-content;
        gap: 10px;
        animation: channel-slide-horizontal 46s linear infinite;
    }

    .channel-set {
        display: flex;
        gap: 10px;
        padding: 7px 0;
    }

    .channel-token {
        flex: 0 0 auto;
        width: 74px;
        min-height: 32px;
        padding: 6px 8px;
        border-radius: 12px;
        opacity: 0.62;
        animation: channel-bob 5.8s ease-in-out infinite alternate;
    }

    .channel-token:nth-child(n) {
        margin-left: 0;
    }

    .channel-token:nth-child(2n) {
        animation-delay: -1.4s;
    }

    .channel-token:nth-child(3n) {
        animation-delay: -2.8s;
    }

    .channel-token img {
        max-width: 58px;
        max-height: 18px;
    }

    .channel-token .channel-name {
        inset: 5px;
        font-size: 0.5rem;
    }

    .header-link {
        display: none;
    }

    .header-inner {
        gap: 10px;
        padding: 10px 0;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        padding: 5px;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 0.82rem;
    }

    .brand-tag {
        font-size: 0.64rem;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .button {
        min-height: 38px;
        padding-inline: 14px;
        font-size: 0.88rem;
    }

    .wizard-app {
        padding: 52px 0 12px;
    }

    .intro-strip {
        gap: 12px;
        padding: 14px 16px;
    }

    .intro-copy-block h1 {
        margin-top: 2px;
        font-size: clamp(1.45rem, 6.4vw, 2rem);
    }

    .intro-copy {
        margin-top: 6px;
        max-width: 32ch;
        font-size: 0.9rem;
    }

    .wizard-card {
        margin-top: 10px;
        padding: 16px;
    }

    .progress-block {
        gap: 10px;
    }

    .progress-copy {
        gap: 8px;
        font-size: 0.84rem;
    }

    .progress-track {
        height: 6px;
    }

    .progress-list {
        gap: 6px;
    }

    .progress-list li {
        padding: 6px 9px;
        font-size: 0.68rem;
    }

    .stage-stack {
        margin-top: 16px;
    }

    .stage-head {
        gap: 6px;
        margin-bottom: 10px;
    }

    .stage-head h2 {
        font-size: clamp(1.28rem, 5.4vw, 1.72rem);
    }

    .stage-copy,
    .choice-note,
    .card-copy,
    .panel-copy,
    .note-row,
    .events-row span,
    .loading-state,
    .empty-panel,
    .footer-inner p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .device-grid,
    .choice-grid,
    .pricing-grid,
    .install-grid,
    .events-list {
        gap: 10px;
    }

    .device-card {
        min-height: 136px;
        padding: 14px;
        gap: 10px;
    }

    .device-card-media {
        width: 52px;
        height: 52px;
        padding: 6px;
        border-radius: 16px;
    }

    .device-card-copy {
        gap: 4px;
    }

    .device-card strong,
    .choice-card strong,
    .plan-card strong {
        font-size: 0.95rem;
    }

    .device-card-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .choice-card {
        gap: 6px;
        padding: 14px;
    }

    .inline-actions {
        margin-top: 14px;
    }

    .inline-actions-between {
        flex-wrap: wrap;
        gap: 10px;
    }

    .diagnostic-card,
    .result-card,
    .summary-card,
    .panel-card,
    .empty-panel,
    .fatal-card {
        padding: 16px;
    }

    .result-card,
    .summary-card,
    .panel-card {
        gap: 12px;
    }

    .result-card-operational {
        gap: 10px;
    }

    .result-top {
        gap: 8px;
        align-items: flex-start;
    }

    .result-top > div {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

    .result-top .card-copy,
    .result-from-price,
    .result-meta {
        display: none;
    }

    .result-mobile-meta {
        display: block;
    }

    .result-reason {
        font-size: 0.92rem;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .result-top h3 {
        font-size: 1.22rem;
        line-height: 1.08;
    }

    .result-pill,
    .meta-pill,
    .quote-pill {
        min-height: 28px;
        padding: 0 10px;
        font-size: 0.7rem;
    }

    .result-meta,
    .summary-meta,
    .quote-pills,
    .url-box {
        gap: 8px;
    }

    .pricing-grid-operational {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .pricing-grid-operational .plan-card {
        min-height: 104px;
        gap: 4px;
        padding: 11px 10px;
        border-radius: 16px;
        box-shadow: none;
    }

    .pricing-grid-operational .plan-card.is-selected {
        box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.18),
            inset 0 0 0 1px rgba(255, 228, 146, 0.24);
    }

    .pricing-grid-operational .plan-tag {
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }

    .pricing-grid-operational .plan-card .choice-note {
        display: none;
    }

    .plan-card {
        gap: 6px;
        padding: 12px;
    }

    .plan-price {
        font-size: 1.12rem;
    }

    .selected-plan {
        margin-top: 12px;
        padding: 14px 15px;
    }

    .install-list {
        gap: 8px;
    }

    .install-list li {
        padding-left: 16px;
        font-size: 0.92rem;
    }

    .panel-card-inline {
        gap: 10px;
        padding: 14px;
    }

    .panel-head {
        gap: 6px;
    }

    .quote-box {
        padding: 14px;
        border-color: rgba(255, 184, 69, 0.34);
        box-shadow:
            inset 0 1px 0 rgba(255, 237, 181, 0.08),
            0 12px 24px rgba(0, 0, 0, 0.18);
    }

    .quote-pills {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .quote-pill {
        justify-content: flex-start;
        min-height: 0;
        padding: 9px 10px;
    }

    .margin-grid {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .margin-grid::-webkit-scrollbar {
        display: none;
    }

    .margin-chip {
        flex: 0 0 auto;
        min-width: 78px;
        padding: 10px 10px;
        border-radius: 12px;
    }

    .margin-chip span {
        display: none;
    }

    .margin-chip strong,
    .margin-chip-custom strong {
        font-size: 0.78rem;
    }

    .panel-head,
    .result-actions-secondary {
        flex-direction: column;
    }

    .result-actions-primary {
        grid-template-columns: 1fr;
    }

    .result-actions-primary .button,
    .result-actions-secondary .button {
        width: 100%;
        flex-basis: auto;
    }

    .result-actions-primary {
        gap: 8px;
    }

    .result-actions-primary .button-primary {
        min-height: 50px;
        font-size: 0.92rem;
        box-shadow:
            inset 0 1px 0 rgba(255, 245, 210, 0.28),
            0 16px 30px rgba(255, 140, 0, 0.24);
    }

    .button-primary.is-guided {
        box-shadow:
            inset 0 1px 0 rgba(255, 245, 210, 0.3),
            0 0 0 1px rgba(255, 226, 140, 0.28),
            0 0 0 3px rgba(255, 158, 28, 0.1),
            0 16px 30px rgba(255, 140, 0, 0.28);
    }

    .button-secondary.is-guided {
        box-shadow:
            0 0 0 1px rgba(255, 209, 74, 0.1),
            0 8px 18px rgba(0, 0, 0, 0.16);
    }

    .result-actions-secondary {
        gap: 4px;
    }

    .result-link-action {
        font-size: 0.86rem;
    }

    .result-details-body {
        gap: 12px;
        padding: 12px;
    }

    .margin-input-field {
        padding: 10px 12px;
    }

    .quote-value {
        font-size: 1.8rem;
    }

    .quick-tools-panel {
        gap: 8px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .quick-tools-head {
        display: none;
    }

    .quick-tools {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .quick-tool {
        min-height: 58px;
        padding: 10px 8px;
        justify-items: center;
        text-align: center;
        border-radius: 14px;
    }

    .quick-tool .quick-tool-title {
        font-size: 0.74rem;
        line-height: 1.15;
    }

    .quick-tool .quick-tool-copy {
        display: none;
    }

    .quick-tool-install-wide {
        grid-column: auto;
        min-height: 58px;
    }

    .quick-tool-install,
    .quick-tool-install-wide {
        box-shadow:
            0 0 0 1px rgba(255, 209, 74, 0.08),
            0 8px 16px rgba(0, 0, 0, 0.14);
    }

    .alternative-shell {
        gap: 8px;
        margin-top: 10px;
    }

    .alternative-shell > .button {
        min-height: auto;
        padding: 0;
        justify-content: flex-start;
        border: 0;
        background: transparent;
        box-shadow: none;
        color: var(--text-soft);
    }

    .sticky-inner {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
    }

    .sticky-kicker {
        display: none;
    }

    .sticky-copy strong {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    #sticky-button {
        min-height: 40px;
        max-width: 52%;
        padding-inline: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.82rem;
        box-shadow:
            inset 0 1px 0 rgba(255, 245, 210, 0.24),
            0 12px 24px rgba(255, 140, 0, 0.22);
    }

    .url-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 12px;
    }

    .url-box .button {
        width: 100%;
    }

    .events-shell {
        padding-bottom: 84px;
    }

    .events-card {
        padding: 16px;
    }

    .section-compact-head {
        margin-bottom: 10px;
    }

    .events-head-actions .section-note {
        display: none;
    }

    .events-card h2 {
        font-size: 1.02rem;
    }

    .events-summary {
        font-size: 0.88rem;
    }

    .events-row {
        padding: 12px 14px;
    }

    .events-match {
        font-size: 0.94rem;
        line-height: 1.35;
    }

    .sticky-inner {
        justify-content: space-between;
    }

    .video-launch-button {
        min-height: 46px;
        font-size: 0.92rem;
    }

    .video-modal {
        padding: 0;
    }

    .video-modal-panel {
        width: 100%;
        min-height: 100dvh;
        padding: 16px 14px 18px;
        border-radius: 0;
        display: grid;
        align-content: start;
    }

    .video-modal-head {
        position: sticky;
        top: 0;
        z-index: 2;
        margin-bottom: 16px;
        padding-bottom: 12px;
        background: linear-gradient(180deg, rgba(14, 14, 14, 0.96), rgba(14, 14, 14, 0.88) 82%, transparent);
    }

    .video-modal-head h2 {
        font-size: clamp(1.45rem, 7vw, 2.15rem);
    }

    .video-modal-copy {
        max-width: none;
        margin-top: 8px;
        font-size: 0.92rem;
    }

    .video-stack {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .video-card {
        gap: 12px;
        padding: 14px;
        border-radius: 20px;
    }

    .video-card-title {
        font-size: 1.1rem;
    }

    .video-frame {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 599px) {
    :root {
        --shell: min(calc(100vw - 12px), 1040px);
        --radius-md: 16px;
        --radius-lg: 20px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
        border-radius: 14px;
    }

    .brand-name {
        font-size: 0.78rem;
    }

    .brand-tag {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .button {
        display: none;
    }

    .button-compact {
        min-height: 38px;
        padding-inline: 12px;
    }

    .wizard-card,
    .intro-strip,
    .events-card {
        padding: 14px;
    }

    .progress-copy {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-compact-head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .events-head-actions {
        justify-content: flex-start;
    }

    .events-toggle {
        width: 100%;
    }

    .progress-list li {
        padding: 5px 8px;
        font-size: 0.64rem;
    }

    .events-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .margin-grid {
        display: flex;
    }

    .margin-input-field input {
        font-size: 1rem;
    }

    .wizard-app {
        padding-top: 50px;
    }

    .events-shell {
        padding-bottom: 108px;
    }

    .video-modal-panel {
        width: 100%;
        min-height: 100dvh;
        padding: 14px 12px 16px;
        border-radius: 0;
    }

    .video-modal-head {
        flex-direction: column;
        margin-bottom: 18px;
    }

    .video-modal-head .button {
        width: 100%;
    }

    .video-frame {
        min-height: 200px;
        aspect-ratio: 16 / 11;
    }
}

@media (max-width: 380px) {
    :root {
        --shell: min(calc(100vw - 10px), 1040px);
    }

    .intro-strip,
    .wizard-card,
    .events-card {
        padding: 12px;
    }

    .intro-copy-block h1 {
        font-size: clamp(1.3rem, 7vw, 1.7rem);
    }

    .device-grid {
        grid-template-columns: 1fr;
    }

    .device-card {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 13px;
    }

    .device-card-media {
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
    }

    .device-card-subtitle {
        display: none;
    }

    .choice-card,
    .plan-card {
        padding: 12px;
    }

    .pricing-grid-operational {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid-operational .plan-card {
        min-height: 94px;
        padding: 10px 9px;
    }

    .pricing-grid-operational .plan-price {
        font-size: 1.02rem;
    }

    .quick-tools {
        gap: 6px;
    }

    .quick-tool {
        min-height: 54px;
        padding: 9px 6px;
    }

    .quick-tool .quick-tool-title {
        font-size: 0.7rem;
    }

    .inline-actions-between {
        flex-direction: column;
        align-items: stretch;
    }

    .margin-chip {
        padding: 10px 8px;
    }
}