:root {
    --ink: #181c20;
    --muted: #687078;
    --line: #e2e5e7;
    --paper: #ffffff;
    --canvas: #f6f6f5;
    --soft: #f2f4f5;
    --brand: #df1f3d;
    --brand-dark: #b91631;
    --accent: #20acd0;
    --sun: #f3c532;
    --success: #16835f;
    --warning: #ef9b31;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --shadow: 0 20px 55px rgba(24, 28, 32, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
    height: 76px;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.brand-logo { display: block; width: 152px; height: auto; }
.brand-context { padding-left: 16px; color: var(--muted); border-left: 1px solid var(--line); font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--brand); border-radius: 10px 10px 10px 3px; font-weight: 800; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.7px; }
.header-label { padding-left: 20px; color: var(--muted); border-left: 1px solid var(--line); font-size: 14px; }
.header-trail { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; }
.header-trail a { text-decoration: none; }
.header-trail a:hover { color: var(--brand); }
.header-trail strong { color: var(--ink); }

.page-shell { width: min(1180px, calc(100% - 48px)); min-height: calc(100vh - 188px); margin: 0 auto; padding: 68px 0 88px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 820px; margin-bottom: 22px; font-size: clamp(38px, 5.1vw, 70px); }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 24px; }

.eyebrow { margin-bottom: 13px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.lead { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 70px; align-items: end; margin-bottom: 90px; }
.hero-note { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(31, 62, 45, .06); }
.hero-note .note-icon { display: grid; flex: 0 0 42px; height: 42px; place-items: center; color: var(--brand-dark); background: var(--accent); border-radius: 50%; font-weight: 900; }
.hero-note strong, .hero-note span { display: block; }
.hero-note div span { margin-top: 2px; color: var(--muted); font-size: 13px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 410px; margin-bottom: 3px; color: var(--muted); }

.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.domain-card { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 38px; gap: 20px; align-items: center; min-height: 132px; padding: 26px; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.domain-card::after { position: absolute; right: -35px; bottom: -55px; width: 120px; height: 120px; content: ""; background: var(--soft); border-radius: 50%; transition: transform .3s ease; }
.domain-card:hover { z-index: 1; border-color: #a9c7b7; box-shadow: var(--shadow); transform: translateY(-3px); }
.domain-card:hover::after { transform: scale(1.35); }
.domain-card:last-child { max-width: none; }
.domain-icon { display: grid; width: 64px; height: 64px; place-items: center; color: var(--brand-dark); background: var(--soft); border-radius: 18px; font-size: 29px; font-weight: 700; }
.domain-icon svg, .project-entry-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.domain-icon--light { color: #836300; background: #fff6d3; }
.domain-icon--door { color: var(--brand); background: #fff0f3; }
.domain-icon--heat { color: #b34d1d; background: #fff0e7; }
.domain-icon--shield { color: #087b9a; background: #e9f8fc; }
.domain-copy { min-width: 0; }
.domain-copy strong, .domain-copy small { display: block; }
.domain-copy strong { margin-bottom: 6px; font-size: 20px; letter-spacing: -.02em; }
.domain-copy small { color: var(--muted); font-size: 14px; }
.domain-arrow { z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; transition: transform .22s ease, background .22s ease; }
.domain-card:hover .domain-arrow { color: white; background: var(--brand); border-color: var(--brand); transform: translateX(3px); }

.project-entry { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 42px; gap: 22px; align-items: center; margin: -42px 0 62px; padding: 26px 28px; overflow: hidden; color: white; background: var(--ink); border-radius: var(--radius); text-decoration: none; box-shadow: 0 18px 50px rgba(20,45,31,.13); }
.project-entry::after { position: absolute; right: 64px; width: 180px; height: 180px; content: ""; background: rgba(204,235,211,.08); border-radius: 50%; }
.project-entry-icon { display: grid; width: 62px; height: 62px; place-items: center; color: var(--brand); background: white; border-radius: 18px; font-size: 31px; }
.project-entry small, .project-entry strong, .project-entry em { position: relative; z-index: 1; display: block; }
.project-entry small { margin-bottom: 3px; color: var(--sun); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-entry strong { font-size: 21px; letter-spacing: -.02em; }
.project-entry em { margin-top: 3px; color: #b9c3bd; font-size: 13px; font-style: normal; }
.project-entry b { z-index: 1; font-size: 24px; transition: transform .2s ease; }
.project-entry:hover b { transform: translateX(4px); }

.how-it-works { margin-top: 110px; padding: 48px; color: white; background: var(--ink); border-radius: var(--radius-lg); }
.how-it-works .eyebrow { color: var(--sun); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 46px; }
.how-grid > div { border-top: 1px solid rgba(255,255,255,.19); padding-top: 20px; }
.how-grid span, .how-grid strong { display: block; }
.how-grid span { margin-bottom: 22px; color: var(--sun); font-size: 12px; font-weight: 800; }
.how-grid strong { margin-bottom: 8px; font-size: 20px; }
.how-grid p { margin: 0; color: #b9c3bd; font-size: 14px; }

.back-link { display: inline-flex; margin-bottom: 28px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--brand); }
.wizard-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 42px; align-items: start; }
.wizard-sidebar { position: sticky; top: 28px; padding: 30px; color: white; background: var(--ink); border-radius: var(--radius); }
.wizard-sidebar .eyebrow { color: var(--sun); }
.wizard-sidebar h2 { margin-bottom: 36px; font-size: 29px; }
.server-progress, .client-progress { margin: 0; padding: 0; list-style: none; counter-reset: progress; }
.server-progress li, .client-progress li { position: relative; min-height: 48px; padding: 3px 0 24px 47px; color: #939aa1; font-size: 14px; }
.server-progress li:not(:last-child)::after, .client-progress li:not(:last-child)::after { position: absolute; top: 29px; bottom: -1px; left: 15px; width: 1px; content: ""; background: #444a50; }
.server-progress span, .client-progress li::before { position: absolute; top: 0; left: 0; z-index: 1; display: grid; width: 31px; height: 31px; place-items: center; color: #939aa1; background: #30343a; border: 1px solid #484e55; border-radius: 50%; font-size: 11px; font-weight: 800; }
.client-progress li::before { counter-increment: progress; content: counter(progress); }
.server-progress .is-active, .client-progress .is-active { color: white; font-weight: 700; }
.server-progress .is-active span, .client-progress .is-active::before { color: white; background: var(--brand); border-color: var(--brand); }
.server-progress .is-complete, .client-progress .is-complete { color: #c7d0cb; }
.server-progress .is-complete span, .client-progress .is-complete::before { color: var(--ink); background: var(--sun); border-color: var(--sun); }

.wizard-card { min-width: 0; padding: clamp(28px, 5vw, 58px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.wizard-card h1, .wizard-card legend { max-width: 720px; margin-bottom: 18px; font-size: clamp(31px, 4vw, 48px); font-weight: 750; line-height: 1.1; letter-spacing: -.035em; }
.wizard-card legend:has(.info-tip) { position: relative; width: 100%; max-width: 100%; padding-right: 34px; }
.wizard-card legend > .info-tip { position: absolute; top: .16em; right: 0; vertical-align: 0; }
.wizard-card fieldset { min-width: 0; margin: 0 0 38px; padding: 0; border: 0; }
.wizard-card fieldset > .eyebrow { margin-bottom: 13px; }
.form-intro, .field-hint { color: var(--muted); }
.form-intro { max-width: 650px; margin-bottom: 34px; font-size: 17px; }
.field-hint { margin: -6px 0 20px; font-size: 14px; }
.option-grid { display: grid; gap: 12px; }
.option-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-card { position: relative; display: flex; gap: 16px; align-items: center; min-height: 75px; padding: 17px 18px; cursor: pointer; background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border .16s ease, background .16s ease, box-shadow .16s ease; }
.option-card:hover { border-color: #a9beb2; background: #fbfdfb; }
.option-card:has(input:focus-visible) { outline: 3px solid rgba(23,107,69,.22); outline-offset: 2px; }
.option-card:has(input:checked) { background: var(--soft); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.option-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option-marker { position: relative; flex: 0 0 22px; width: 22px; height: 22px; background: white; border: 1.5px solid #9ca9a2; border-radius: 50%; }
input[type="checkbox"] + .option-marker { border-radius: 6px; }
.option-card input:checked + .option-marker { background: var(--brand); border-color: var(--brand); }
.option-card input:checked + .option-marker::after { position: absolute; top: 4px; left: 7px; width: 5px; height: 9px; content: ""; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
input[type="radio"]:checked + .option-marker::after { top: 5px; left: 5px; width: 10px; height: 10px; background: white; border: 0; border-radius: 50%; transform: none; }
.option-copy { min-width: 0; }
.option-copy strong, .option-copy small { display: block; }
.option-copy strong { font-size: 16px; line-height: 1.3; }
.option-copy small { margin-top: 4px; color: var(--muted); line-height: 1.4; }

.mobile-progress { display: none; margin-bottom: 34px; }
.mobile-progress span { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.mobile-progress i { position: relative; display: block; height: 4px; overflow: hidden; background: var(--line); border-radius: 10px; }
.mobile-progress i::after { position: absolute; inset: 0 auto 0 0; width: var(--progress); content: ""; background: var(--brand); border-radius: inherit; transition: width .25s ease; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.button { display: inline-flex; min-height: 48px; padding: 12px 22px; align-items: center; justify-content: center; gap: 16px; cursor: pointer; border: 1px solid transparent; border-radius: 12px; font-weight: 750; text-decoration: none; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: white; background: var(--brand); }
.button--primary:hover { background: var(--brand-dark); }
.button--ghost { color: var(--ink); background: white; border-color: var(--line); }
.button--ghost:hover { border-color: #aebbb4; }
.button--dark { color: white; background: var(--ink); }
.wizard-next, .wizard-back { display: none; }
.js .wizard-next { display: inline-flex; margin-left: auto; }
.js .wizard-submit { display: none; margin-left: auto; }
.js .wizard-step:not(.is-active) { display: none; }
.form-error { display: none; margin-top: 20px; padding: 12px 14px; color: #7f2e20; background: #fff0eb; border-radius: 10px; font-size: 14px; }
.form-error.is-visible { display: block; }
.review-step h1 { margin-bottom: 14px; }
.review-list { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.review-row { display: grid; grid-template-columns: minmax(150px, .75fr) 1.25fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-row span { color: var(--muted); font-size: 14px; }
.review-row strong { font-size: 15px; }
.info-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px; color: var(--brand-dark); background: var(--soft); border-radius: 12px; }
.info-box > span { display: grid; flex: 0 0 24px; height: 24px; place-items: center; color: white; background: var(--brand); border-radius: 50%; font-size: 13px; font-weight: 800; }
.info-box p { margin: 0; font-size: 14px; }

.project-wizard { grid-template-columns: 260px minmax(0, 1fr); }
.project-details > h1 { margin-bottom: 12px; }
.domain-panel { display: none; margin-top: 28px; padding: 25px; background: #f8faf8; border: 1px solid var(--line); border-radius: var(--radius); }
.domain-panel.is-active { display: block; }
.domain-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.domain-panel-heading > div { display: flex; gap: 12px; align-items: center; }
.domain-panel-heading > div span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--brand-dark); background: var(--accent); border-radius: 50%; font-size: 11px; font-weight: 850; }
.domain-panel-heading h2 { margin: 0; font-size: 25px; }
.domain-panel-heading label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.domain-panel-heading input[type="number"] { width: 66px; padding: 8px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 9px; text-align: center; }
.project-question + .project-question { margin-top: 23px; }
.project-question h3 { margin-bottom: 11px; font-size: 16px; letter-spacing: -.01em; }
.project-question .option-card { min-height: 62px; padding: 13px 15px; }

.result-page { max-width: 1040px; margin: 0 auto; }
.result-hero { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 58px; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg); }
.result-hero--success { background: #e4f4e9; }
.result-hero--warning { background: #fff1dc; }
.result-hero--neutral { background: #ebefec; }
.result-symbol { display: grid; flex: 0 0 60px; height: 60px; place-items: center; color: white; background: var(--brand); border-radius: 50%; font-size: 28px; font-weight: 850; }
.result-hero--warning .result-symbol { background: var(--warning); }
.result-hero--neutral .result-symbol { background: #6d7972; }
.result-hero h1 { margin-bottom: 15px; font-size: clamp(35px, 5vw, 58px); }
.result-hero p:last-child { max-width: 700px; margin-bottom: 0; color: #536058; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.result-heading h2 { margin-bottom: 5px; font-size: 32px; }
.result-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; }
.result-heading > span { padding: 7px 12px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 20px; font-size: 12px; font-weight: 700; }
.selection-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: -34px 0 46px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(16,36,31,.05); }
.selection-summary > div { padding: 17px 19px; }
.selection-summary > div + div { border-left: 1px solid var(--line); }
.selection-summary small,.selection-summary strong { display: block; }
.selection-summary small { margin-bottom: 3px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.selection-summary strong { font-size: 13px; }
.product-grid { display: grid; gap: 18px; }
.product-card { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 270px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.product-card--featured { border-color: var(--brand); box-shadow: 0 15px 45px rgba(223,31,61,.1); }
.best-match { position: absolute; top: 0; right: 24px; z-index: 2; padding: 7px 12px; color: var(--brand-dark); background: var(--accent); border-radius: 0 0 8px 8px; font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.product-visual { display: grid; min-height: 240px; place-items: center; padding: 22px; background: #f7f9f7; }
.product-visual img { width: 100%; max-height: 210px; object-fit: contain; mix-blend-mode: multiply; }
.product-visual > span { display: grid; width: 100px; height: 100px; place-items: center; color: var(--brand); background: var(--soft); border-radius: 28px; font-size: 44px; font-weight: 800; }
.product-content { padding: 32px; }
.product-brand { margin-bottom: 5px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-content h3 { margin-bottom: 20px; }
.match-meter { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.match-meter > span { display: block; width: 125px; height: 6px; overflow: hidden; background: var(--line); border-radius: 5px; }
.match-meter i { display: block; height: 100%; background: var(--brand); }
.match-meter strong { color: var(--muted); font-size: 12px; }
.quality-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.quality-line .match-meter { margin-bottom: 0; }
.quality-line > small { color: var(--brand-dark); font-size: 11px; font-weight: 800; text-align: right; }
.hard-match { display: inline-flex; gap: 7px; align-items: center; margin-bottom: 12px; padding: 6px 10px; color: var(--brand-dark); background: var(--soft); border-radius: 999px; font-size: 11px; font-weight: 800; }
.hard-match span { display: grid; width: 17px; height: 17px; place-items: center; color: white; background: var(--brand); border-radius: 50%; }
.recommendation-why { margin-bottom: 20px; padding: 16px; background: #f7f9f7; border: 1px solid var(--line); border-radius: 10px; }
.recommendation-why summary { cursor: pointer; color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.recommendation-why ul { display: grid; gap: 6px; margin: 9px 0 0; padding-left: 19px; color: var(--muted); font-size: 12px; }
.components { margin-bottom: 20px; padding: 14px; background: var(--soft); border-radius: 10px; font-size: 13px; }
.components > strong { display: block; margin-bottom: 6px; }
.components p { margin: 4px 0; }
.components p span { display: inline-grid; width: 18px; height: 18px; margin-right: 6px; place-items: center; color: white; background: var(--brand); border-radius: 50%; }
.components small { color: var(--muted); }
.recommended-addons { margin-bottom: 22px; padding: 18px; background: #f3f7f4; border: 1px solid #d9e5dd; border-radius: 14px; }
.recommended-addons > strong { display: block; font-size: 15px; }
.addon-intro { margin: 3px 0 13px; color: var(--muted); font-size: 12px; }
.addon-card { display: grid; grid-template-columns: 66px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 11px; }
.addon-card + .addon-card { margin-top: 9px; }
.addon-image { display: grid; width: 66px; height: 66px; place-items: center; overflow: hidden; background: #f7f8f7; border-radius: 9px; }
.addon-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.addon-image span { color: var(--brand); font-size: 28px; }
.addon-copy { display: grid; gap: 3px; }
.addon-copy small { color: var(--brand); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.addon-copy strong { font-size: 13px; line-height: 1.3; }
.addon-copy em { width: max-content; padding: 3px 7px; color: var(--brand-dark); background: var(--accent); border-radius: 99px; font-size: 9px; font-style: normal; font-weight: 850; }
.addon-copy span { color: var(--muted); font-size: 10px; }
.addon-buy { display: grid; justify-items: end; gap: 2px; text-align: right; }
.addon-buy strong { font-size: 13px; }
.addon-buy small { color: var(--muted); font-size: 10px; }
.addon-buy a { margin-top: 5px; color: var(--brand); font-size: 11px; font-weight: 800; text-decoration: none; }
.gateway-alternatives { margin-top: 10px; padding: 0 12px; background: white; border: 1px solid var(--line); border-radius: 11px; }
.gateway-alternatives summary { padding: 12px 0; cursor: pointer; color: var(--brand); font-size: 12px; font-weight: 800; }
.gateway-alternatives > div { display: grid; gap: 8px; padding-bottom: 12px; }
.gateway-option { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 12px; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.gateway-option .addon-image { width: 52px; height: 52px; }
.gateway-option > div:nth-child(2) { display: grid; gap: 4px; }
.gateway-option > div:nth-child(2) strong { font-size: 12px; }
.gateway-option > div:nth-child(2) small { color: var(--muted); font-size: 10px; }
.product-buy { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.product-buy > div strong, .product-buy > div small { display: block; }
.product-buy > div strong { font-size: 20px; }
.product-buy > div small { margin-top: 2px; color: var(--muted); }
.pending-list { display: grid; gap: 14px; }
.pending-list article, .candidate-box { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.component-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.component-row strong { color: var(--warning); font-size: 13px; }
.candidate-box p { margin: 6px 0 0; color: var(--muted); }
.no-match-explanation { margin-top: 14px; padding: 24px 28px; color: var(--ink); background: #fff6e8; border: 1px solid #efd8b5; border-radius: var(--radius); }
.no-match-explanation > strong { display: block; font-size: 18px; }
.no-match-explanation ul { display: grid; gap: 6px; margin: 14px 0; padding-left: 20px; }
.no-match-explanation li { padding-left: 3px; }
.no-match-explanation li span { margin-left: 7px; color: var(--warning); font-size: 10px; font-weight: 850; }
.no-match-explanation p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.result-actions { display: flex; gap: 12px; margin: 36px 0; }
.diagnostics { padding: 18px 20px; color: var(--muted); background: #e9eeeb; border-radius: 12px; font-size: 13px; }
.diagnostics summary { cursor: pointer; color: var(--ink); font-weight: 750; }
.diagnostics code { color: var(--brand-dark); }

.coherence-bar { display: grid; grid-template-columns: repeat(3, 1fr); margin: -30px 0 52px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.coherence-bar > div { padding: 20px 24px; }
.coherence-bar > div + div { border-left: 1px solid var(--line); }
.coherence-bar small, .coherence-bar strong { display: block; }
.coherence-bar small { margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.result-nav { position: sticky; top: 10px; z-index: 6; display: flex; gap: 8px; align-items: center; width: max-content; max-width: 100%; margin: -28px auto 34px; padding: 7px; overflow-x: auto; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 10px 26px rgba(16,36,31,.08); backdrop-filter: blur(10px); }
.result-nav strong { padding: 0 8px 0 11px; font-size: 11px; white-space: nowrap; }
.result-nav a { padding: 7px 12px; color: var(--muted); background: var(--canvas); border-radius: 99px; font-size: 11px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.result-nav a:hover { color: white; background: var(--brand); }
.project-map { margin-bottom: 46px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.project-map__heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.project-map__heading h2 { margin: 0; font-size: 27px; }
.project-map__heading > p { max-width: 370px; margin: 0; color: var(--muted); font-size: 12px; }
.project-map__flow { display: grid; grid-template-columns: minmax(0,1fr) 36px minmax(180px,.4fr); gap: 16px; align-items: center; }
.project-map__domains { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 10px; }
.project-node { position: relative; display: grid; align-content: start; min-width: 0; min-height: 178px; padding: 14px; background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; }
.project-node > div { display: grid; width: 62px; height: 62px; margin-bottom: 12px; place-items: center; overflow: hidden; background: white; border-radius: 11px; }
.project-node img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.project-node > div span { color: var(--brand); font-size: 21px; font-weight: 850; }
.project-node small { color: var(--brand); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.project-node strong { margin-top: 3px; font-size: 12px; line-height: 1.3; }
.project-node em { position: absolute; top: 14px; right: 14px; padding: 3px 7px; color: var(--brand-dark); background: var(--accent); border-radius: 99px; font-size: 9px; font-style: normal; font-weight: 850; }
.project-node--gateway { color: white; background: var(--ink); border-color: var(--ink); }
.project-node--gateway small { color: var(--accent); }
.project-node--gateway em { color: var(--ink); }
.project-map__arrow { color: var(--brand); font-size: 26px; font-weight: 850; text-align: center; }
.gateway-strategy { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 20px; align-items: center; margin: -28px 0 48px; padding: 22px 24px; background: #edf7f0; border: 1px solid #cfe3d6; border-radius: var(--radius); }
.gateway-strategy--multiple { background: #fff6e8; border-color: #efd8b5; }
.gateway-strategy__icon { display: grid; width: 52px; height: 52px; place-items: center; color: white; background: var(--brand); border-radius: 50%; font-size: 17px; font-weight: 900; }
.gateway-strategy small { color: var(--brand); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.gateway-strategy h2 { margin: 2px 0 4px; font-size: 20px; }
.gateway-strategy p { margin: 0; color: var(--muted); font-size: 12px; }
.project-bom { display: grid; gap: 11px; }
.bom-item { display: grid; grid-template-columns: 48px 82px minmax(0, 1fr) minmax(110px, auto); gap: 18px; align-items: center; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.bom-image { display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; background: #f7f9f7; border-radius: 11px; }
.bom-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bom-image span { color: var(--brand); font-size: 26px; font-weight: 800; }
.bom-item--component { background: var(--soft); border-style: dashed; }
.bom-quantity { display: grid; width: 45px; height: 45px; place-items: center; color: white; background: var(--brand); border-radius: 50%; font-size: 13px; font-weight: 850; }
.bom-item--component .bom-quantity { color: var(--brand-dark); background: var(--accent); }
.bom-item small { color: var(--brand); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.bom-item h3 { margin: 3px 0 4px; font-size: 20px; }
.bom-item p { margin: 0; color: var(--muted); font-size: 13px; }
.bom-score { display: inline-block; margin-top: 8px; padding: 4px 8px; color: var(--brand-dark); background: var(--accent); border-radius: 14px; font-size: 10px; font-weight: 800; }
.bom-why { margin-top: 8px; color: var(--muted); font-size: 12px; }
.bom-why summary { cursor: pointer; color: var(--brand); font-weight: 750; }
.bom-why ul { display: grid; gap: 4px; margin: 7px 0 0; padding-left: 18px; }
.bom-price { display: grid; justify-items: end; gap: 5px; text-align: right; }
.bom-price a { color: var(--brand); font-size: 13px; font-weight: 750; text-decoration: none; }
.bom-price small { color: var(--muted); text-transform: none; }
.bom-total { display: flex; justify-content: flex-end; gap: 30px; margin: 16px 0 56px; padding: 18px 22px; background: var(--ink); border-radius: 12px; color: white; }
.project-blockers, .project-alternatives { margin-top: 58px; }
.project-blockers > h2, .project-alternatives > h2 { margin-bottom: 22px; font-size: 32px; }
.project-blockers article { padding: 22px; background: #fff6e8; border: 1px solid #efd8b5; border-radius: 14px; }
.project-blockers article + article { margin-top: 10px; }
.project-blockers article > div { display: flex; justify-content: space-between; gap: 20px; }
.project-blockers article span { color: var(--warning); font-size: 12px; font-weight: 800; }
.project-blockers article p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.project-alternatives details { background: white; border: 1px solid var(--line); border-radius: 12px; }
.project-alternatives details + details { margin-top: 8px; }
.project-alternatives summary { display: flex; justify-content: space-between; padding: 17px 20px; cursor: pointer; font-weight: 750; }
.project-alternatives summary span { color: var(--muted); font-size: 12px; }
.project-alternatives details p, .project-alternatives details ul { margin: 0; padding: 0 20px 18px 38px; color: var(--muted); font-size: 13px; }
.project-alternatives details ul { display: grid; gap: 0; list-style: none; padding-left: 20px; }
.project-alternatives details li { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.project-alternatives details li > span { min-width: 0; }
.alternative-product-link { display: inline-flex; flex: 0 0 auto; gap: 5px; align-items: center; padding: 7px 10px; color: var(--brand); background: #fff5f7; border-radius: 8px; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.alternative-product-link:hover { color: white; background: var(--brand); }

.site-footer { display: flex; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 36px; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.footer-logo { display: block; width: 112px; height: auto; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--brand); font-weight: 800; text-decoration: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 30px; }
    .hero-note { max-width: 360px; }
    .domain-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .wizard-layout { grid-template-columns: 1fr; }
    .wizard-sidebar { display: none; }
    .mobile-progress { display: block; }
    .wizard-card { max-width: 760px; margin: 0 auto; }
}

@media (max-width: 680px) {
    .site-header { height: 66px; padding: 0 18px; }
    .header-label, .header-trail a, .header-trail span:first-of-type { display: none; }
    .page-shell { width: min(100% - 28px, 1180px); padding: 40px 0 62px; }
    h1 { font-size: 39px; }
    .hero { margin-bottom: 62px; }
    .project-entry { grid-template-columns: 50px minmax(0, 1fr) 24px; gap: 14px; margin: -18px 0 48px; padding: 20px 17px; }
    .project-entry-icon { width: 50px; height: 50px; font-size: 25px; }
    .project-entry strong { font-size: 17px; }
    .project-entry em { display: none; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 12px; }
    .domain-grid { grid-template-columns: 1fr; }
    .domain-card, .domain-card:last-child { grid-template-columns: 52px minmax(0, 1fr) 32px; max-width: none; min-height: 108px; padding: 18px; }
    .domain-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 24px; }
    .domain-copy strong { font-size: 17px; }
    .how-it-works { margin-top: 68px; padding: 30px 24px; }
    .how-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
    .wizard-card { padding: 27px 20px; border-radius: 22px; }
    .wizard-card h1, .wizard-card legend { font-size: 32px; }
    .option-grid--two { grid-template-columns: 1fr; }
    .wizard-actions { position: sticky; bottom: 0; z-index: 5; margin-right: -20px; margin-left: -20px; padding: 16px 20px; background: rgba(255,255,255,.96); box-shadow: 0 -10px 25px rgba(20,45,31,.05); backdrop-filter: blur(8px); }
    .button { padding: 11px 17px; }
    .review-row { grid-template-columns: 1fr; gap: 3px; }
    .domain-panel { margin-top: 20px; padding: 19px 15px; }
    .domain-panel-heading { align-items: flex-start; flex-direction: column; }
    .domain-panel-heading label { width: 100%; justify-content: space-between; }
    .result-hero { display: block; }
    .selection-summary { grid-template-columns: 1fr 1fr; margin-top: -24px; }
    .selection-summary > div { border-top: 1px solid var(--line); border-left: 0 !important; }
    .result-symbol { width: 50px; height: 50px; margin-bottom: 22px; }
    .product-card { grid-template-columns: 1fr; }
    .product-visual { min-height: 210px; }
    .product-content { padding: 25px 20px; }
    .product-buy { align-items: stretch; flex-direction: column; }
    .result-actions { flex-direction: column; }
    .coherence-bar { grid-template-columns: 1fr; margin-top: -34px; }
    .coherence-bar > div + div { border-top: 1px solid var(--line); border-left: 0; }
    .addon-card { grid-template-columns: 56px minmax(0,1fr); }
    .addon-image { width: 56px; height: 56px; }
    .addon-buy { grid-column: 2; justify-items: start; text-align: left; }
    .gateway-option { grid-template-columns: 48px minmax(0,1fr); }
    .gateway-option .addon-buy { grid-column: 2; }
    .gateway-strategy { grid-template-columns: 48px minmax(0,1fr); }
    .gateway-strategy .button { grid-column: 2; width: max-content; }
    .result-nav { justify-content: flex-start; width: 100%; border-radius: 14px; }
    .result-nav strong { display: none; }
    .project-map__heading { display: block; }
    .project-map__heading > p { margin-top: 8px; }
    .project-map__flow { grid-template-columns: 1fr; }
    .project-map__arrow { transform: rotate(90deg); }
    .bom-item { grid-template-columns: 44px 66px minmax(0, 1fr); padding: 18px 15px; }
    .bom-image { width: 66px; height: 66px; }
    .bom-price { grid-column: 3; justify-items: start; text-align: left; }
    .bom-total { justify-content: space-between; gap: 14px; }
    .site-footer { width: min(100% - 28px, 1180px); align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Bonmario customer experience - V24.1 */
.site-header { position: relative; z-index: 20; box-shadow: 0 1px 0 rgba(24,28,32,.02); }
.eyebrow { color: var(--brand); }
.button--primary { box-shadow: 0 8px 20px rgba(223,31,61,.18); }
.option-card:hover { border-color: #b9c0c5; background: #fff; box-shadow: 0 8px 22px rgba(24,28,32,.05); }
.option-card:has(input:focus-visible) { outline-color: rgba(32,172,208,.3); }
.option-card:has(input:checked) { background: #fff8f9; }
.project-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 44px; align-items: end; margin: 0 0 34px; padding: 32px 36px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 38px rgba(24,28,32,.045); }
.project-intro { position: relative; }
.project-intro::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ""; background: linear-gradient(var(--sun) 0 33%,var(--brand) 33% 66%,var(--accent) 66%); }
.project-intro h1 { margin-bottom: 10px; font-size: clamp(34px,4.5vw,54px); }
.project-intro p:last-child { max-width: 710px; margin: 0; color: var(--muted); }
.project-intro__meta { display: grid; gap: 10px; min-width: 210px; }
.project-intro__meta span { display: block; padding: 11px 14px; background: var(--canvas); border-radius: 10px; color: var(--muted); font-size: 11px; }
.project-intro__meta b { display: block; color: var(--ink); font-size: 13px; }

.project-wizard { grid-template-columns: 230px minmax(0,1fr); gap: 26px; }
.project-wizard .wizard-sidebar { padding: 26px 22px; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(24,28,32,.045); }
.project-wizard .wizard-sidebar .eyebrow { color: var(--brand); }
.project-wizard .wizard-sidebar h2 { font-size: 24px; }
.project-wizard .client-progress li { color: var(--muted); }
.project-wizard .client-progress li:not(:last-child)::after { background: var(--line); }
.project-wizard .client-progress li::before { color: var(--muted); background: var(--canvas); border-color: var(--line); }
.project-wizard .client-progress .is-active { color: var(--ink); }
.project-wizard .client-progress .is-active::before { color: white; background: var(--brand); border-color: var(--brand); }
.project-wizard .client-progress .is-complete::before { color: var(--ink); background: var(--sun); border-color: var(--sun); }
.project-wizard .wizard-card { padding: clamp(28px,4vw,48px); box-shadow: 0 14px 38px rgba(24,28,32,.055); }
.project-wizard .mobile-progress { display: block; }
.project-domain-step .option-card--illustrated { display: grid; grid-template-columns: 48px minmax(0,1fr) 24px; gap: 15px; min-height: 132px; padding: 18px; }
.project-domain-step .option-card--illustrated .option-marker { grid-column: 3; grid-row: 1; align-self: start; justify-self: end; }
.project-domain-step .option-card--illustrated .option-illustration { grid-column: 1; grid-row: 1; }
.project-domain-step .option-card--illustrated .option-copy { grid-column: 2; grid-row: 1; }
.option-illustration { display: grid; width: 48px; height: 48px; place-items: center; color: var(--ink); background: #eef9fc; border-radius: 14px; }
.option-illustration svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.option-illustration svg.brand-mark { stroke: none; }
.option-illustration b { font-size: 14px; font-weight: 900; letter-spacing: -.04em; }
.option-illustration--light { color: #8b6a00; background: #fff7d9; }
.option-illustration--door { color: var(--brand); background: #fff0f3; }
.option-illustration--heat { color: #ba4e1a; background: #fff1e9; }
.option-illustration--shield { color: #087d9b; background: #eaf8fb; }
.option-card--illustrated:has(input:checked) .option-illustration { color: white; background: var(--brand); }
.domain-panel { background: var(--canvas); }
.domain-panel-heading > div span { color: var(--ink); background: var(--sun); }

.project-result { display: grid; max-width: 1100px; }
.project-result > .back-link { order: 1; }
.project-result > .result-hero { order: 2; }
.project-result > .coherence-bar { order: 3; }
.project-result > .brand-strategy-note { order: 4; }
.project-result > .result-nav { order: 5; }
.project-result > #shopping-list { order: 6; }
.project-result > .project-bom { order: 7; }
.project-result > .bom-total { order: 8; }
.project-result > .project-map { order: 9; }
.project-result > .project-alternatives,
.project-result > .project-blockers { order: 10; }
.project-result > .result-actions { order: 11; }
.project-result > .result-hero { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 22px; margin-bottom: 18px; padding: 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 15px 36px rgba(24,28,32,.05); }
.project-result > .result-hero::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ""; background: var(--success); }
.project-result > .result-hero { position: relative; overflow: hidden; }
.project-result .result-symbol { width: 54px; height: 54px; background: var(--success); }
.project-result .result-hero--warning::before { background: var(--warning); }
.project-result .result-hero--neutral::before { background: #747b80; }
.project-result .result-hero h1 { margin: 2px 0 7px; font-size: clamp(29px,4vw,42px); }
.project-result .result-hero .eyebrow { margin-bottom: 4px; }
.project-result .result-hero p:last-child { font-size: 14px; }
.project-result .coherence-bar { margin: 0 0 22px; border-radius: 14px; box-shadow: none; }
.project-result .coherence-bar > div { padding: 14px 20px; }
.brand-strategy-note { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; padding: 17px 19px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; background: #fff; }
.brand-strategy-note > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-weight: 800; }
.brand-strategy-note strong { display: block; margin: 2px 0 5px; }
.brand-strategy-note p { margin: 0; color: var(--muted); line-height: 1.55; }
.project-result .result-nav { position: static; justify-self: start; margin: 0 0 34px; box-shadow: none; }
.project-result .result-heading { margin: 0 0 18px; }
.project-result .result-heading h2 { font-size: clamp(27px,3vw,36px); }
.project-result .project-bom { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.project-result .bom-item { position: relative; grid-template-columns: 98px minmax(0,1fr); grid-template-rows: auto auto; gap: 14px 17px; align-items: start; min-height: 210px; padding: 20px; border-radius: 18px; box-shadow: 0 9px 25px rgba(24,28,32,.035); }
.project-result .bom-image { grid-column: 1; grid-row: 1 / span 2; width: 98px; height: 118px; background: var(--canvas); }
.project-result .bom-item > div:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.project-result .bom-price { grid-column: 2; grid-row: 2; align-self: end; justify-items: start; text-align: left; }
.project-result .bom-price a { display: inline-flex; margin-top: 4px; padding: 8px 12px; color: white; background: var(--brand); border-radius: 9px; }
.project-result .bom-quantity { position: absolute; top: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; box-shadow: 0 4px 12px rgba(24,28,32,.14); }
.project-result .bom-item--component { background: #eef9fc; border-color: #bde4ee; border-style: solid; }
.project-result .bom-item--component .bom-quantity { color: var(--ink); background: var(--sun); }
.project-result .bom-score { color: #076a83; background: #e4f7fb; }
.project-result .bom-total { margin: 16px 0 42px; background: var(--ink); }
.project-result .project-map { margin: 0 0 14px; background: #fff; }
.project-result .project-node--gateway small { color: var(--sun); }
.project-result .project-node em { color: var(--ink); background: var(--sun); }
.project-result .project-integrations > article { border-color: #bde4ee !important; box-shadow: 0 10px 24px rgba(24,28,32,.04); }

@media (max-width: 900px) {
    .project-intro { grid-template-columns: 1fr; gap: 20px; }
    .project-intro__meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .project-result .project-bom { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .brand-logo { width: 125px; }
    .brand-context { display: none; }
    .project-intro { padding: 24px 20px; }
    .project-intro__meta { grid-template-columns: 1fr; }
    .project-domain-step .option-card--illustrated { min-height: 112px; }
    .project-result > .result-hero { grid-template-columns: 1fr; padding: 23px 20px; }
    .project-result .coherence-bar { margin-top: 0; }
    .project-result .bom-item { grid-template-columns: 76px minmax(0,1fr); padding: 17px; }
    .project-result .bom-image { width: 76px; height: 92px; }
    .project-result .result-heading { align-items: flex-start; flex-direction: column; }
    .project-alternatives details li { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Simplified customer journey and result - V24.5 */
body { background: radial-gradient(circle at 88% 8%, rgba(32,172,208,.055), transparent 26rem), var(--canvas); }
.project-wizard .wizard-card { border-color: #e5e7e8; box-shadow: 0 18px 50px rgba(24,28,32,.065); }
.project-wizard .option-card { min-height: 80px; border-radius: 15px; }
.project-wizard .option-card:has(input:checked) { background: linear-gradient(135deg,#fff8f9,#fff); box-shadow: 0 8px 22px rgba(223,31,61,.07), inset 0 0 0 1px var(--brand); }
.button--light { color: white; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.button--light:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.36); }

.project-result { display: block; width: 100%; max-width: 1120px; margin: 0 auto; }
.project-result > .back-link { margin-bottom: 20px; }

.result-overview { position: relative; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.75fr); gap: 28px 42px; margin-bottom: 48px; padding: clamp(28px,4vw,46px); overflow: hidden; color: white; background: linear-gradient(135deg,#181c20 0%,#22282e 62%,#2c3238 100%); border-radius: 28px; box-shadow: 0 24px 64px rgba(24,28,32,.16); }
.result-overview::before { position: absolute; inset: 0 auto 0 0; width: 6px; content: ""; background: var(--success); }
.result-overview::after { position: absolute; top: -130px; right: -105px; width: 330px; height: 330px; content: ""; background: radial-gradient(circle,rgba(32,172,208,.18),rgba(32,172,208,0) 68%); border-radius: 50%; pointer-events: none; }
.result-overview--warning::before { background: var(--warning); }
.result-overview--neutral::before { background: #858b90; }
.result-overview__main { position: relative; z-index: 1; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 20px; align-items: start; }
.result-overview__icon { display: grid; width: 58px; height: 58px; place-items: center; color: white; background: var(--success); border-radius: 18px; box-shadow: 0 10px 25px rgba(0,0,0,.18); font-size: 24px; font-weight: 900; }
.result-overview--warning .result-overview__icon { background: var(--warning); }
.result-overview--neutral .result-overview__icon { background: #737a80; }
.result-overview .eyebrow { margin: 1px 0 7px; color: var(--sun); }
.result-overview h1 { margin: 0 0 10px; color: white; font-size: clamp(34px,4.4vw,54px); }
.result-overview__main p:last-child { max-width: 660px; margin: 0; color: #c5cbd0; font-size: 15px; }
.result-overview__main .result-overview__compromise { margin-top: 9px; padding-left: 12px; color: #fff1b3; border-left: 2px solid var(--sun); font-size: 12px; }
.result-overview__communication { position: relative; z-index: 1; grid-column: 1 / -1; padding: 15px 18px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.result-overview__communication > small { display: block; margin-bottom: 9px; color: #aeb6bc; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.result-overview__brand { position: relative; z-index: 1; grid-column: 2; grid-row: 1; align-self: start; padding: 18px 20px; color: var(--ink); background: var(--sun); border-radius: 17px; }
.result-overview__brand span { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.result-overview__brand strong { display: block; font-size: 24px; letter-spacing: -.035em; }
.result-overview__brand p { margin: 5px 0 0; font-size: 12px; line-height: 1.4; }
.result-overview__actions { position: relative; z-index: 1; display: flex; grid-column: 1 / -1; gap: 10px; margin-top: -6px; }

.result-alert { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: start; margin: -22px 0 46px; padding: 18px 20px; background: #fff8ec; border: 1px solid #efd7aa; border-radius: 16px; }
.result-alert__heading { display: flex; gap: 13px; align-items: center; }
.result-alert__heading > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: white; background: var(--warning); border-radius: 11px; font-weight: 900; }
.result-alert__heading strong { display: block; }
.result-alert__heading p { margin: 1px 0 0; color: var(--muted); font-size: 12px; }
.result-alert details { align-self: center; }
.result-alert summary { cursor: pointer; color: #9a5b12; font-size: 12px; font-weight: 800; }
.result-alert__items { display: grid; grid-column: 1 / -1; gap: 8px; margin-top: 16px; }
.result-alert__items article { padding: 12px 14px; background: white; border-radius: 10px; }
.result-alert__items p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.result-section { margin: 0 0 58px; scroll-margin-top: 20px; }
.result-section__heading { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 18px; align-items: start; margin-bottom: 24px; }
.result-section__number { display: grid; width: 46px; height: 46px; place-items: center; color: white; background: var(--brand); border-radius: 14px; font-size: 12px; font-weight: 850; }
.result-section__heading .eyebrow { margin: 0 0 4px; }
.result-section__heading h2 { margin: 0 0 7px; font-size: clamp(29px,3.6vw,40px); }
.result-section__heading p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 14px; }

.result-product-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.result-product-card { display: grid; grid-template-columns: 220px minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 28px rgba(24,28,32,.045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.result-product-card:hover { border-color: #c8cdd0; box-shadow: 0 16px 34px rgba(24,28,32,.075); transform: translateY(-2px); }
.result-product-card__visual { position: relative; display: grid; width: 188px; height: 188px; grid-column: 1; grid-row: 1 / span 2; margin: 16px; padding: 18px; place-items: center; overflow: hidden; background: linear-gradient(145deg,#fafafa,#f1f3f3); border-radius: 16px; }
.result-product-card__visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.result-product-card__placeholder { color: var(--brand); font-size: 42px; font-weight: 850; }
.result-product-card__quantity { position: absolute; top: 13px; left: 13px; z-index: 1; display: grid; min-width: 36px; height: 36px; padding: 0 8px; place-items: center; color: white; background: var(--brand); border-radius: 11px; box-shadow: 0 5px 14px rgba(223,31,61,.22); font-size: 12px; font-weight: 850; }
.result-product-card__body { min-width: 0; padding: 21px 22px 14px; }
.result-product-card__category { display: block; margin-bottom: 7px; color: var(--brand); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.result-product-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.22; }
.result-product-card__meta { margin: 0; color: var(--muted); font-size: 11px; }
.result-product-card__notice { display: inline-block; margin: 9px 0 0; padding: 5px 8px; color: #8a5314; background: #fff5df; border-radius: 8px; font-size: 10px; font-weight: 750; }
.product-connectivity { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 14px; }
.product-connectivity > div > small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.connectivity-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.connectivity-chip { display: inline-flex; min-height: 29px; padding: 4px 9px 4px 5px; align-items: center; gap: 6px; color: var(--ink); background: #f5f7f7; border: 1px solid #e1e5e6; border-radius: 9px; font-size: 10px; font-weight: 800; }
.connectivity-chip i { display: inline-grid; min-width: 22px; height: 20px; padding: 0 3px; place-items: center; color: white; background: #58636a; border-radius: 6px; font-size: 8px; font-style: normal; font-weight: 900; }
.connectivity-chip--zigbee i { background: #e36c27; }
.connectivity-chip--z_wave i { background: #1977bd; }
.connectivity-chip--wifi i { background: #15191c; }
.connectivity-chip--thread i, .connectivity-chip--matter i { background: #5b45a8; }
.connectivity-chip--google_home i { background: #4285f4; }
.connectivity-chip--amazon_alexa i { background: #00a8e1; }
.connectivity-chip--apple_home i { color: #111; background: #fff; border: 1px solid #ddd; }
.connectivity-chip--manufacturer i { background: var(--brand); }
.connectivity-chips--hero .connectivity-chip { min-height: 35px; color: white; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); font-size: 12px; }
.pin-information { display: grid; gap: 2px; margin: 13px 0 0; padding: 10px 12px; color: #087052; background: #ecfaf5; border-left: 3px solid var(--success); border-radius: 8px; }
.pin-information strong { font-size: 11px; }
.pin-information span { font-size: 10px; }
.nearest-match { margin-top: 10px; padding: 9px 10px; color: #7e4b0d; background: #fff5df; border: 1px solid #f0d8ab; border-radius: 9px; }
.nearest-match strong { display: block; font-size: 10px; }
.nearest-match p { margin: 3px 0 0; font-size: 9px; line-height: 1.4; }
.result-product-card__why { margin-top: 11px; font-size: 11px; }
.result-product-card__why summary { cursor: pointer; color: var(--muted); font-weight: 750; }
.result-product-card__why ul { display: grid; gap: 3px; margin: 8px 0 0; padding-left: 17px; color: var(--muted); }
.card-alternatives { margin-top: 12px; border-top: 1px solid var(--line); }
.card-alternatives > summary { padding-top: 11px; cursor: pointer; color: var(--brand); font-size: 11px; font-weight: 800; }
.card-alternatives > summary small { display: inline-grid; min-width: 20px; height: 20px; margin-left: 4px; place-items: center; color: var(--muted); background: var(--canvas); border-radius: 7px; }
.card-alternatives > div { display: grid; gap: 6px; margin-top: 8px; }
.card-alternatives article { display: grid; grid-template-columns: 54px minmax(0,1fr) auto auto; gap: 10px; align-items: center; padding: 10px; background: var(--canvas); border-radius: 10px; }
.card-alternatives article img { width: 54px; height: 54px; padding: 4px; object-fit: contain; background: white; border-radius: 8px; }
.card-alternatives article span { min-width: 0; }
.card-alternatives article strong, .card-alternatives article small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-alternatives article strong { font-size: 10px; }
.card-alternatives article small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.card-alternatives .alternative-row__copy small { overflow: visible; white-space: normal; }
.card-alternatives .alternative-row__success { color: #16835f; font-weight: 750; }
.card-alternatives .alternative-row__warning { color: #a45c0d; font-weight: 750; }
.card-alternatives article button { padding: 6px 8px; cursor: pointer; color: white; background: var(--brand); border: 0; border-radius: 7px; font-size: 9px; font-weight: 800; }
.card-alternatives article a { color: var(--brand); font-size: 9px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.card-alternatives p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.result-product-card__footer { display: flex; min-width: 0; grid-column: 2; grid-row: 2; padding: 15px 22px 18px; align-items: end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.quantity-control > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.quantity-stepper { display: grid; grid-template-columns: 32px 36px 32px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 10px; }
.quantity-stepper button { display: grid; width: 32px; height: 32px; padding: 0; cursor: pointer; place-items: center; color: var(--ink); background: var(--canvas); border: 0; font-size: 18px; font-weight: 750; }
.quantity-stepper button:hover { color: white; background: var(--brand); }
.quantity-stepper button:disabled { cursor: not-allowed; color: #b3b8bc; background: #f2f3f3; }
.quantity-stepper output { display: grid; height: 32px; place-items: center; border-right: 1px solid var(--line); border-left: 1px solid var(--line); font-size: 12px; font-weight: 850; }
.stock-message { display: block; max-width: 122px; margin-top: 5px; color: #16835f; font-size: 8px; font-weight: 750; line-height: 1.3; }
.stock-message--warning { color: #a45c0d; }
.stock-message--unknown { color: var(--muted); }
.result-product-card__buy { display: grid; min-width: 0; justify-items: end; gap: 3px; text-align: right; }
.result-product-card__buy strong, .result-product-card__buy small { display: block; }
.result-product-card__buy strong { font-size: 17px; white-space: nowrap; }
.result-product-card__buy small { color: var(--muted); font-size: 9px; }
.result-product-card__buy a { margin-top: 3px; padding: 8px 10px; color: white; background: var(--brand); border-radius: 9px; font-size: 10px; font-weight: 800; text-decoration: none; }

.result-section--components { padding: clamp(24px,3vw,34px); background: #eef9fc; border: 1px solid #cceaf1; border-radius: 24px; }
.result-section--components .result-section__number { color: var(--ink); background: var(--accent); }
.result-component-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.result-component-card { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 15px; padding: 16px; background: white; border: 1px solid #d9e8ec; border-radius: 16px; }
.result-component-card--unavailable { background: #fffaf2; border-color: #ecd9b8; }
.result-component-card__visual { display: grid; width: 78px; height: 78px; grid-row: 1 / span 2; padding: 8px; place-items: center; overflow: hidden; background: var(--canvas); border-radius: 12px; }
.result-component-card__visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.result-component-card__visual span { color: var(--accent); font-size: 28px; font-weight: 850; }
.result-component-card__body { min-width: 0; }
.result-component-card__label { display: block; margin-bottom: 4px; color: #087d9b; font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.result-component-card h3 { margin: 0 0 6px; font-size: 17px; }
.result-component-card p { margin: 0; color: var(--muted); font-size: 11px; }
.result-component-card details { margin-top: 8px; color: var(--muted); font-size: 10px; }
.result-component-card summary { cursor: pointer; font-weight: 750; }
.result-component-card__buy { display: flex; grid-column: 2; align-items: center; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.result-component-card__buy strong { font-size: 15px; }
.result-component-card__buy a { color: var(--brand); font-size: 10px; font-weight: 800; text-decoration: none; }

.result-total { display: flex; gap: 24px; align-items: center; justify-content: flex-end; margin: -36px 0 54px; padding: 18px 22px; color: var(--ink); background: linear-gradient(135deg, #fff4f6 0%, #ffffff 72%); border: 1px solid #f2c9d1; border-left: 5px solid var(--brand); border-radius: 15px; box-shadow: 0 12px 30px rgba(223, 31, 61, .08); }
.result-total span { color: var(--muted); font-size: 12px; text-align: right; }
.result-total span small { display: block; margin-bottom: 1px; color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.result-total > strong { font-size: 24px; white-space: nowrap; }

.result-disclosure { margin: 0 0 12px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 17px; scroll-margin-top: 20px; }
.result-disclosure--accent { border-color: #bfe4ed; box-shadow: inset 4px 0 0 var(--accent); }
.result-disclosure > summary { display: grid; grid-template-columns: 42px minmax(0,1fr) 28px; gap: 14px; align-items: center; padding: 18px 20px; cursor: pointer; list-style: none; }
.result-disclosure > summary::-webkit-details-marker { display: none; }
.result-disclosure__icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--brand); background: #fff1f3; border-radius: 12px; font-weight: 900; }
.result-disclosure--accent .result-disclosure__icon { color: #087d9b; background: #eaf8fb; }
.result-disclosure summary strong, .result-disclosure summary small { display: block; }
.result-disclosure summary strong { font-size: 15px; }
.result-disclosure summary small { margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.result-disclosure summary b { display: grid; width: 28px; height: 28px; place-items: center; color: var(--muted); background: var(--canvas); border-radius: 9px; transition: transform .2s ease; }
.result-disclosure[open] summary b { transform: rotate(45deg); }
.result-disclosure__content { padding: 4px 20px 22px 76px; }
.connection-list { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.connection-row { display: grid; grid-template-columns: minmax(100px,.65fr) minmax(180px,1.35fr) 20px minmax(90px,.45fr); gap: 10px; align-items: center; padding: 11px 13px; }
.connection-row + .connection-row { border-top: 1px solid var(--line); }
.connection-row span, .connection-row small { color: var(--muted); font-size: 10px; }
.connection-row strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.connection-row em { color: var(--brand); font-style: normal; font-weight: 850; text-align: center; }
.connection-note, .disclosure-intro { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.disclosure-intro { margin: 0 0 14px; }
.integration-grid { display: grid; gap: 10px; }
.integration-card { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px; background: #f7faf9; border: 1px solid var(--line); border-radius: 13px; }
.integration-card__visual { display: grid; width: 64px; height: 64px; padding: 7px; place-items: center; overflow: hidden; background: white; border-radius: 10px; }
.integration-card__visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.integration-card__visual span { color: var(--brand); font-size: 22px; font-weight: 850; }
.integration-card small { color: #087d9b; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.integration-card h3 { margin: 2px 0 4px; font-size: 16px; }
.integration-card p { margin: 0; color: var(--muted); font-size: 11px; }
.integration-card__buy { display: grid; justify-items: end; gap: 4px; text-align: right; }
.integration-card__buy strong { font-size: 15px; }
.integration-card__buy a { color: var(--brand); font-size: 10px; font-weight: 800; text-decoration: none; }
.compact-options { display: grid; gap: 7px; }
.compact-options article { display: flex; justify-content: space-between; gap: 18px; padding: 11px 13px; background: var(--canvas); border-radius: 10px; font-size: 11px; }
.compact-options a { color: var(--brand); font-weight: 800; text-decoration: none; }

.result-integration { margin: 30px 0 14px; padding: clamp(23px,3vw,32px); background: white; border: 1px solid #bfe4ed; border-left: 5px solid var(--accent); border-radius: 22px; box-shadow: 0 12px 32px rgba(24,28,32,.045); scroll-margin-top: 20px; }
.result-integration__heading { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 16px; align-items: start; margin-bottom: 20px; }
.result-integration__heading .result-disclosure__icon { width: 52px; height: 52px; color: #087d9b; background: #eaf8fb; border-radius: 15px; }
.result-integration__heading .eyebrow { margin: 1px 0 4px; }
.result-integration__heading h2 { margin: 0 0 5px; font-size: clamp(27px,3vw,36px); }
.result-integration__heading p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.result-integration__content { margin-left: 68px; }
.result-disclosure--alternatives { margin-top: 18px; }
.result-disclosure--alternatives .result-secondary { margin-top: 0; }

.result-secondary { margin-top: 52px; }
.result-secondary__heading { display: flex; gap: 30px; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.result-secondary__heading .eyebrow { margin-bottom: 4px; }
.result-secondary__heading h2 { margin: 0; font-size: clamp(27px,3.2vw,36px); }
.result-secondary__heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.result-secondary > details { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 12px; }
.result-secondary > details + details { margin-top: 7px; }
.result-secondary > details > summary { display: flex; padding: 15px 17px; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; }
.result-secondary > details > summary::-webkit-details-marker { display: none; }
.result-secondary > details > summary small { color: var(--muted); font-size: 10px; }
.result-secondary ul { display: grid; margin: 0; padding: 0 17px 14px; list-style: none; }
.result-secondary li { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 11px; }
.result-secondary li span { min-width: 0; }
.result-secondary li strong, .result-secondary li small { display: block; }
.result-secondary li small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.result-secondary li a { flex: 0 0 auto; color: var(--brand); font-size: 10px; font-weight: 800; text-decoration: none; }
.result-secondary details > p { margin: 0; padding: 0 17px 15px; color: var(--muted); font-size: 11px; }
.result-actions--final { justify-content: center; margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }

.info-tip { position: relative; display: inline-grid; width: 22px; height: 22px; margin-left: 5px; padding: 0; place-items: center; cursor: help; color: var(--brand); background: #fff1f3; border: 1px solid #ffd4db; border-radius: 50%; font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: 0; vertical-align: 7px; }
.info-tip::after { position: absolute; z-index: 20; bottom: calc(100% + 9px); left: 50%; width: min(290px,75vw); padding: 10px 12px; color: white; background: var(--ink); border-radius: 9px; box-shadow: 0 8px 24px rgba(0,0,0,.18); content: attr(data-tooltip); font-size: 11px; font-weight: 500; line-height: 1.45; opacity: 0; pointer-events: none; transform: translate(-50%,6px); transition: .18s ease; }
.info-tip:hover::after, .info-tip:focus::after, .info-tip.is-open::after { opacity: 1; transform: translate(-50%,0); }
.configuration-loading[hidden] { display: none; }
.configuration-loading { position: fixed; z-index: 1000; inset: 0; display: grid; padding: 22px; place-items: center; background: rgba(24,28,32,.72); backdrop-filter: blur(8px); }
.configuration-loading__card { display: grid; width: min(410px,100%); padding: 34px; place-items: center; text-align: center; background: white; border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.configuration-loading__card strong { margin-top: 18px; font-size: 25px; }
.configuration-loading__card p { margin: 7px 0 0; color: var(--muted); }
.configuration-spinner { width: 46px; height: 46px; border: 5px solid #f2dce0; border-top-color: var(--brand); border-radius: 50%; animation: configuration-spin .8s linear infinite; }
@keyframes configuration-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .result-overview { grid-template-columns: 1fr; }
    .result-overview__brand { grid-column: 1; grid-row: auto; }
    .result-overview__communication, .result-overview__actions { grid-column: 1; }
    .result-component-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .project-result > .back-link { margin-bottom: 16px; }
    .result-overview { gap: 20px; margin-right: -4px; margin-bottom: 38px; margin-left: -4px; padding: 25px 20px; border-radius: 22px; }
    .result-overview__main { grid-template-columns: 46px minmax(0,1fr); gap: 13px; }
    .result-overview__icon { width: 46px; height: 46px; border-radius: 14px; font-size: 19px; }
    .result-overview h1 { font-size: 34px; }
    .result-overview__main p:last-child { font-size: 13px; }
    .result-overview__communication { padding: 12px; }
    .result-overview__actions { display: grid; grid-template-columns: 1fr; }
    .result-alert { grid-template-columns: 1fr; }
    .result-alert details { margin-left: 47px; }
    .result-section { margin-bottom: 44px; }
    .result-section__heading { grid-template-columns: 40px minmax(0,1fr); gap: 12px; }
    .result-section__number { width: 40px; height: 40px; border-radius: 12px; }
    .result-product-card { grid-template-columns: 116px minmax(0,1fr); grid-template-rows: minmax(150px,auto) auto; }
    .result-product-card__visual { grid-column: 1; grid-row: 1; width: 116px; height: 116px; margin: 16px 0 0 12px; padding: 12px; }
    .result-product-card__body { grid-column: 2; grid-row: 1; padding: 17px 15px 12px; }
    .result-product-card__footer { grid-column: 1 / -1; grid-row: 2; }
    .result-product-card h3 { font-size: 17px; }
    .card-alternatives article { grid-template-columns: 46px minmax(0,1fr) auto; }
    .card-alternatives article img { width: 46px; height: 46px; }
    .card-alternatives article a { grid-column: 2; }
    .result-section--components { margin-right: -4px; margin-left: -4px; padding: 22px 16px; }
    .result-component-card { grid-template-columns: 62px minmax(0,1fr); gap: 12px; }
    .result-component-card__visual { width: 62px; height: 62px; }
    .result-component-card__buy { align-items: flex-start; flex-direction: column; }
    .result-total { align-items: flex-end; flex-direction: column-reverse; gap: 5px; margin-top: -28px; }
    .result-total span { text-align: right; }
    .result-disclosure > summary { grid-template-columns: 38px minmax(0,1fr) 26px; gap: 11px; padding: 15px; }
    .result-disclosure__icon { width: 38px; height: 38px; }
    .result-disclosure__content { padding: 2px 15px 18px; }
    .connection-row { grid-template-columns: 1fr auto; }
    .connection-row span, .connection-row em { display: none; }
    .integration-card { grid-template-columns: 54px minmax(0,1fr); }
    .integration-card__visual { width: 54px; height: 54px; }
    .integration-card__buy { display: flex; grid-column: 2; align-items: center; justify-content: space-between; text-align: left; }
    .result-integration { margin-right: -4px; margin-left: -4px; padding: 21px 16px; }
    .result-integration__heading { grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
    .result-integration__heading .result-disclosure__icon { width: 42px; height: 42px; border-radius: 12px; }
    .result-integration__content { margin-left: 0; }
    .result-secondary__heading { display: block; }
    .result-secondary__heading > p { margin-top: 8px; text-align: left; }
    .result-secondary li { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* SMART HOME OFFICIAL LOGOS */

.option-illustration:has(.smart-home-logo) {
    background: #fff;
    border: 1px solid var(--line);
}

.option-card--illustrated:has(input:checked)
.option-illustration:has(.smart-home-logo) {
    background: #fff;
}

.option-illustration .smart-home-logo {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.connectivity-chip .connectivity-logo {
    display: block;
    width: auto;
    height: 20px;
    max-width: 54px;
    padding: 2px;
    object-fit: contain;
    background: #fff;
    border-radius: 5px;
}

.connectivity-chip .connectivity-logo--badge {
    max-width: 64px;
}

.connectivity-chips--hero .connectivity-logo {
    height: 23px;
    max-width: 66px;
}

/* OFFICIAL CONNECTIVITY LOGOS START */

.connectivity-chip .official-connectivity-logo {
    display: block;
    width: auto;
    height: 20px;
    max-width: 72px;
    object-fit: contain;
    flex: 0 0 auto;
}

.connectivity-chip .official-connectivity-logo--badge {
    height: 22px;
    max-width: 88px;
}

.connectivity-chips--hero .official-connectivity-logo {
    height: 23px;
    max-width: 82px;
}

.connectivity-chip:has(.official-connectivity-logo) {
    gap: 7px;
}

.connectivity-chip .official-connectivity-logo {
    filter: none !important;
    border-radius: 0;
}

/* OFFICIAL CONNECTIVITY LOGOS END */

/* SMART HOME ASSET SYSTEM V2 START */

/* Kafelki wyboru */

.option-illustration:has(.smart-home-icon) {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.option-illustration .smart-home-icon--square {
    display: block;
    width: 56px;
    height: 56px;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}

.option-illustration .smart-home-icon--wide-in-square {
    width: 62px;
    height: 38px;
    max-width: 90%;
    object-fit: contain;
}

.option-card:has(input:checked)
.option-illustration:has(.smart-home-icon) {
    background: #fff;
}


/* Wynik */

.connectivity-chip--asset {
    min-height: 42px;
    padding: 4px 7px;
    background: #fff;
    overflow: hidden;
}

.connectivity-chip--asset .smart-home-badge--wide {
    display: block;
    width: 132px;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
}

.connectivity-chips--hero
.connectivity-chip--asset
.smart-home-badge--wide {
    width: 145px;
    height: 48px;
}


/* Homey / SmartThings fallback */

.smart-home-badge-fallback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: #202124;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.smart-home-icon--badge-fallback {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.smart-home-badge-text {
    font-size: 12px;
    font-weight: 800;
}


/* Nigdy nie deformuj znak?w */

.smart-home-icon,
.smart-home-badge {
    flex: 0 0 auto;
    object-fit: contain;
}


/* Mobile */

@media (max-width: 680px) {

    .option-illustration .smart-home-icon--square {
        width: 48px;
        height: 48px;
    }

    .connectivity-chip--asset
    .smart-home-badge--wide {
        width: 112px;
        height: 38px;
    }

    .connectivity-chips--hero
    .connectivity-chip--asset
    .smart-home-badge--wide {
        width: 122px;
        height: 41px;
    }
}

/* SMART HOME ASSET SYSTEM V2 END */

/* RESULT COMMUNICATION WHITE START */

/*
Wynik konfiguratora mo?e mie? ciemne sekcje,
ale logotypy komunikacji zawsze siedz? na bia?ym tle.
*/

.connectivity-chip--asset {
    background: #ffffff !important;
    border: 1px solid #d8e0e5 !important;
    color: #20242a !important;
    box-shadow: none !important;
}

.connectivity-chip--asset:hover {
    background: #ffffff !important;
}

.connectivity-chip--asset .smart-home-badge--wide,
.connectivity-chip--asset .smart-home-icon,
.connectivity-chip--asset .smart-home-badge-fallback {
    background: #ffffff !important;
}

.connectivity-chip--asset .smart-home-badge--wide {
    display: block;
    padding: 2px 4px;
    border-radius: 6px;
    object-fit: contain;
}

/*
Je?eli mamy kwadratowy fallback Homey / SmartThings,
r?wnie? dostaje bia?y box.
*/

.smart-home-badge-fallback {
    min-height: 38px;
    padding: 4px 7px;
    background: #ffffff !important;
    border-radius: 7px;
    color: #20242a !important;
}

/*
Na ciemnym ekranie ko?cowym tekst nag??wka zostaje
dopasowany do sekcji, sam badge pozostaje bia?y.
*/

.result-summary .connectivity-chip--asset,
.project-result .connectivity-chip--asset,
.result-shell .connectivity-chip--asset {
    background: #ffffff !important;
}

/* RESULT COMMUNICATION WHITE END */

/* BONMARIO LIGHT RESULT HERO START */


/* ==========================================================
   G??WNY BOX PODSUMOWANIA
   ========================================================== */

.bm-result-hero-light {
    position: relative;

    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(40, 157, 210, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(38, 172, 111, 0.08),
            transparent 30%
        ),
        #ffffff !important;

    color: #1d2733 !important;

    border: 1px solid #dbe4e8 !important;

    box-shadow:
        0 20px 50px
        rgba(28, 45, 60, 0.09) !important;
}


/* Usu? stary czarny gradient */

.bm-result-hero-light::before,
.bm-result-hero-light::after {
    opacity: 0.25;
}


/* ==========================================================
   TYPOGRAFIA
   ========================================================== */

.bm-result-hero-light h1,
.bm-result-hero-light h2,
.bm-result-hero-light h3,
.bm-result-hero-light h4,
.bm-result-hero-light strong {
    color: #1d2733 !important;
    text-shadow: none !important;
}

.bm-result-hero-light p,
.bm-result-hero-light li {
    color: #5f6b76 !important;
}

.bm-result-hero-light small {
    color: #6d7881 !important;
}


/* Zielony eyebrow */

.bm-result-hero-light .eyebrow,
.bm-result-hero-light [class*="eyebrow"],
.bm-result-hero-light [class*="kicker"] {
    color: #21a568 !important;
}


/* ==========================================================
   KOMUNIKACJA
   ========================================================== */

.bm-result-communication-light {
    background: #ffffff !important;

    border:
        1px solid #d7e1e5 !important;

    color:
        #1d2733 !important;

    box-shadow:
        0 4px 14px
        rgba(31, 52, 66, 0.04) !important;
}


.bm-result-communication-light small,
.bm-result-communication-light strong,
.bm-result-communication-light span {
    color: #4e5963 !important;
}


/* Ka?dy badge komunikacji na bia?ym tle */

.bm-result-hero-light
.connectivity-chip,

.bm-result-hero-light
.connectivity-chip--asset,

.bm-result-communication-light
.connectivity-chip,

.bm-result-communication-light
.connectivity-chip--asset {

    background: #ffffff !important;

    border:
        1px solid #d7e0e4 !important;

    color:
        #202832 !important;

    box-shadow: none !important;
}


/* Prostok?tne grafiki */

.bm-result-hero-light
.smart-home-badge--wide,

.bm-result-communication-light
.smart-home-badge--wide {

    background:
        #ffffff !important;

    border-radius:
        7px;

    object-fit:
        contain;
}


/* ==========================================================
   CTA
   ========================================================== */

.bm-result-hero-light
.btn-primary,

.bm-result-hero-light
.button-primary,

.bm-result-hero-light
a[class*="primary"] {

    background:
        linear-gradient(
            90deg,
            #28ae70 0%,
            #2e86d1 100%
        ) !important;

    border-color:
        transparent !important;

    color:
        #ffffff !important;
}


.bm-result-hero-light
.btn-secondary,

.bm-result-hero-light
.button-secondary {

    background:
        #ffffff !important;

    border:
        1px solid #cad5da !important;

    color:
        #2a343e !important;
}


/* ==========================================================
   STATUS WARNING
   Zachowujemy ostrze?enie, ale bez czarnego t?a
   ========================================================== */

.bm-result-hero-light
[class*="warning"],

.bm-result-hero-light
[class*="alert"] {

    background:
        #fff7e8 !important;

    border-color:
        #f1d29a !important;

    color:
        #855710 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 680px) {

    .bm-result-hero-light {
        border-radius: 20px !important;
    }

}


/* BONMARIO LIGHT RESULT HERO END */

/* RESULT HERO LIGHT OVERRIDE START */

.result-overview {
    color: var(--ink);
    background: linear-gradient(135deg, #f7fbfa 0%, #f3f9fc 55%, #ffffff 100%);
    border: 1px solid #d9e6e2;
    box-shadow: 0 20px 48px rgba(16, 33, 30, .08);
}

.result-overview::before {
    background: linear-gradient(180deg, #22b573 0%, #22a7d6 68%, #e8344e 100%);
}

.result-overview::after {
    background: radial-gradient(circle, rgba(34,167,214,.12), rgba(34,167,214,0) 70%);
}

.result-overview h1 {
    color: #1f2937;
}

.result-overview .eyebrow {
    color: #12a36f;
}

.result-overview__main p:last-child,
.result-overview__communication > small {
    color: #62707b;
}

.result-overview__icon {
    color: #ffffff;
    background: linear-gradient(135deg, #12b981 0%, #1da7d7 100%);
    box-shadow: 0 12px 24px rgba(29, 167, 215, .18);
}

.result-overview--warning .result-overview__icon {
    background: linear-gradient(135deg, #f4b23e 0%, #ec8f2f 100%);
}

.result-overview--neutral .result-overview__icon {
    background: linear-gradient(135deg, #7c8792 0%, #5f6973 100%);
}

.result-overview__communication {
    background: #ffffff;
    border: 1px solid #dce7e3;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.connectivity-chips--hero .connectivity-chip {
    min-height: 35px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid #dbe5e1;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(20, 32, 30, .04);
}

.connectivity-chips--hero .connectivity-chip i {
    color: #46525c;
    background: #eef3f2;
    border: 1px solid #d7e0dd;
}

.connectivity-chips--hero .connectivity-chip--manufacturer {
    color: var(--ink);
    background: #ffffff;
    border-color: #dbe5e1;
}

.connectivity-chips--hero .official-connectivity-logo,
.connectivity-chips--hero .connectivity-logo {
    filter: none !important;
}

.result-overview__actions .button--light {
    color: #334155;
    background: #ffffff;
    border: 1px solid #d8e3df;
}

.result-overview__actions .button--light:hover {
    background: #f8fbfa;
}

.result-overview__brand {
    color: #5f4500;
    background: #ffe28a;
    border: 1px solid #f2cf60;
    box-shadow: none;
}

.result-overview__brand strong {
    color: #6a4d00;
}

.result-overview__brand p,
.result-overview__brand span {
    color: #7a5a00;
}

/* troch? lepszy wygl?d badge z logo */
.connectivity-chip:has(.official-connectivity-logo),
.connectivity-chip:has(.connectivity-logo) {
    align-items: center;
}

/* mobile */
@media (max-width: 900px) {
    .result-overview {
        background: linear-gradient(180deg, #f8fcfb 0%, #ffffff 100%);
    }

    .result-overview__brand {
        margin-top: -4px;
    }
}

/* RESULT HERO LIGHT OVERRIDE END */

/* REMOVE RESULT OUTER WHITE BOX START */

/* usuwa tylko bia?y wrapper ca?ej strony wyniku */
.result-page.project-result,
.project-result#project-result,
#project-result.result-page {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* je?li wrapper ma pseudo-elementy */
.result-page.project-result::before,
.result-page.project-result::after,
#project-result::before,
#project-result::after {
    box-shadow: none !important;
}

/* REMOVE RESULT OUTER WHITE BOX END */

/* FINAL MOBILE LAYOUT SAFETY */
@media (max-width: 900px) {
    .wizard-layout.project-wizard {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-wizard .wizard-sidebar {
        display: none;
    }

    .project-wizard .wizard-card {
        width: 100%;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 680px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .site-header {
        gap: 12px;
    }

    .site-header .brand,
    .header-trail {
        min-width: 0;
    }

    .header-trail {
        justify-content: flex-end;
    }

    .header-trail strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .project-intro h1 {
        font-size: clamp(31px, 9vw, 38px);
    }

    .project-wizard .wizard-card {
        padding: 24px 18px;
    }

    .project-wizard .wizard-card h1,
    .project-wizard .wizard-card legend {
        font-size: clamp(29px, 8.5vw, 34px);
        overflow-wrap: anywhere;
    }

    .project-wizard .option-card,
    .project-domain-step .option-card--illustrated {
        width: 100%;
        min-width: 0;
    }

    .option-copy strong,
    .option-copy small {
        overflow-wrap: anywhere;
    }

    .wizard-actions .button {
        min-height: 48px;
    }

    .result-overview h1 {
        font-size: clamp(29px, 9vw, 34px);
    }

    .connectivity-chips,
    .connectivity-chips--hero {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .connectivity-chip--asset,
    .connectivity-chip--manufacturer {
        max-width: 100%;
    }

    .result-product-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
    }

    .result-product-card__visual {
        grid-column: 1;
        grid-row: 1;
        width: 124px;
        height: 124px;
        margin: 18px auto 0;
        padding: 13px;
    }

    .result-product-card__body {
        grid-column: 1;
        grid-row: 2;
        padding: 18px;
    }

    .result-product-card__footer {
        grid-column: 1;
        grid-row: 3;
        flex-wrap: wrap;
        padding: 16px 18px 18px;
    }

    .result-product-card__buy {
        margin-left: auto;
    }

    .card-alternatives article {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
    }

    .card-alternatives article img {
        grid-column: 1;
        grid-row: 1 / span 3;
    }

    .card-alternatives article button,
    .card-alternatives article a {
        grid-column: 2;
        width: fit-content;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .result-component-card,
    .integration-card {
        min-width: 0;
    }

    .result-component-card__buy,
    .integration-card__buy {
        grid-column: 2;
    }

    .result-disclosure,
    .result-section,
    .result-integration {
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding-right: 14px;
        padding-left: 14px;
    }

    .brand-logo {
        width: 112px;
    }

    .page-shell,
    .site-footer {
        width: calc(100% - 20px);
    }

    .project-intro,
    .project-wizard .wizard-card {
        border-radius: 18px;
    }

    .result-overview__main {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
    }

    .result-overview__icon {
        width: 40px;
        height: 40px;
    }

    .result-product-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-product-card__buy {
        width: 100%;
        margin-left: 0;
        justify-items: start;
        text-align: left;
    }
}

/* FINAL MOBILE LAYOUT SAFETY END */

.result-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 28px;
    align-items: center;
    margin: -34px 0 54px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(24, 28, 32, .05);
}

.result-cart h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 30px);
}

.result-cart__copy > p:last-child,
.result-cart__status {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.result-cart__status {
    min-height: 1.4em;
    grid-column: 1 / -1;
}

.result-cart__warning {
    margin-top: 14px;
    padding: 11px 13px;
    color: #74421a;
    background: #fff7e9;
    border: 1px solid #f1d5a8;
    border-radius: 11px;
    font-size: 12px;
}

.result-cart__warning strong { display: block; margin-bottom: 4px; }
.result-cart__warning ul { margin: 0; padding-left: 18px; }

.result-cart .button[disabled] {
    cursor: not-allowed;
    opacity: .58;
}

@media (max-width: 680px) {
    .result-cart {
        grid-template-columns: 1fr;
        margin-top: -24px;
        padding: 21px 18px;
    }

    .result-cart .button,
    .result-cart__status {
        width: 100%;
        grid-column: 1;
    }
}
