/* Adapted directly from the user-supplied offer.zip. No external assets. */
* {
    box-sizing: border-box;
}

:root {
    --bg: #0b0f16;
    --panel: #121923;
    --panelAlt: #0f141d;
    --border: #2b3647;
    --borderSoft: #334155;
    --text: #e6edf7;
    --textSoft: #b6c2d1;
    --heading: #f5f7fb;
    --accent: #6ca3ff;
    --accentDeep: #2852d1;
    --goodBg: rgba(102, 187, 106, 0.12);
    --goodBorder: #66bb6a;
    --warnBg: rgba(209, 125, 41, 0.12);
    --warnBorder: #d17d29;
    --dangerBg: rgba(201, 65, 65, 0.12);
    --dangerBorder: #c94141;
    --infoBg: rgba(108, 163, 255, 0.12);
    --infoBorder: #6ca3ff;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    --fontBody: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fontWeightStrong: 600;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--fontBody);
    font-size: 17px;
    font-weight: 400;
    background:
        radial-gradient(circle at top right, rgba(40, 82, 209, 0.16), transparent 28%),
        radial-gradient(circle at top left, rgba(108, 163, 255, 0.09), transparent 24%),
        linear-gradient(180deg, #0b0f16 0%, #0a0f15 100%);
    color: var(--text);
    line-height: 1.76;
}

.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 20px 56px;
}

.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    background:
        linear-gradient(90deg, rgba(108, 163, 255, 0.065), transparent 42%),
        linear-gradient(to bottom, rgba(19, 28, 40, 0.99), rgba(13, 20, 30, 0.98));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
}

.heroInner {
    width: 100%;
    max-width: 1180px;
    min-height: 142px;
    margin: 0 auto;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 54px);
}

.heroLogoWrap {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.heroLogo {
    display: block;
    width: 100%;
    max-width: 180px;
    max-height: 92px;
    object-fit: contain;
    object-position: left center;
}

.heroTitleWrap {
    min-width: 0;
}

h1 {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.018em;
    color: var(--heading);
    text-wrap: balance;
}

.panel {
    --panelPad: 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: var(--panelPad);
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

.markdownSection {
    scroll-margin-top: 18px;
}

.sectionHeader {
    display: block;
    margin-bottom: 14px;
}

.stepBadge {
    display: inline-block;
    vertical-align: baseline;
    margin-left: calc(var(--panelPad) * -1);
    margin-right: 12px;
    margin-bottom: 4px;
    min-width: 96px;
    padding: 8px 15px;
    text-align: center;
    border: 1px solid var(--infoBorder);
    border-left: 0;
    border-radius: 0 5px 5px 0;
    background: linear-gradient(90deg, rgba(40, 82, 209, 0.42), rgba(108, 163, 255, 0.14));
    box-shadow: 3px 0 10px rgba(40, 82, 209, 0.12);
    color: #e2edff;
    font-size: 15px;
    font-weight: var(--fontWeightStrong);
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.3;
    color: var(--heading);
}

.sectionHeader h2 {
    display: inline;
}

h3 {
    margin: 24px 0 11px 0;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;
    color: var(--heading);
}

.markdownSection > h3:not(.metricHeading) {
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

h4 {
    color: var(--heading);
}

p {
    margin: 0 0 16px 0;
}

.muted {
    color: var(--textSoft);
}

.cardGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.miniCard {
    background: var(--panelAlt);
    border: 1px solid var(--borderSoft);
    border-radius: 12px;
    padding: 16px;
}

.miniCard h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #f4f7fc;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ruleBox,
.infoBox,
.warningBox,
.successBox,
.dangerBox {
    margin: 14px 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid;
}

.ruleBox,
.infoBox {
    background: var(--infoBg);
    border-color: var(--infoBorder);
}

.warningBox {
    background: var(--warnBg);
    border-color: var(--warnBorder);
}

.successBox {
    background: var(--goodBg);
    border-color: var(--goodBorder);
}

.dangerBox {
    background: var(--dangerBg);
    border-color: var(--dangerBorder);
}

.markdownCallout {
    color: var(--text);
}

.markdownCallout > :last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin: 10px 0 12px 22px;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

li::marker {
    color: #9cc3ff;
}

.twoCol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.allowed,
.notAllowed {
    border-radius: 12px;
    padding: 16px;
    min-width: 0;
}

.allowed {
    background: rgba(102, 187, 106, 0.08);
    border: 1px solid rgba(102, 187, 106, 0.45);
}

.notAllowed {
    background: rgba(201, 65, 65, 0.08);
    border: 1px solid rgba(201, 65, 65, 0.45);
}

.allowed h4,
.notAllowed h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.allowed h4 {
    color: #c8f5ca;
}

.notAllowed h4 {
    color: #ffb1b1;
}

.exampleTableWrap {
    overflow-x: auto;
    margin: 14px 0 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}

.exampleTableWrap:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #2a3545;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

thead th {
    background: #161f2c;
    color: #f4f7fc;
    font-weight: var(--fontWeightStrong);
}

tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
}


.footerNote {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid var(--borderSoft);
    border-radius: 12px;
    background: rgba(17, 24, 37, 0.88);
    color: var(--textSoft);
    font-size: 14px;
}

.accent {
    color: #9cc3ff;
    font-weight: var(--fontWeightStrong);
}

strong {
    color: #f5f7fb;
    font-weight: var(--fontWeightStrong);
}

a {
    color: #9cc3ff;
    text-underline-offset: 3px;
}

a:hover {
    color: #c5ddff;
}

.keyStatement {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid var(--borderSoft);
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    background: rgba(108, 163, 255, 0.07);
    font-size: 1.02em;
}

.metricHeading {
    display: inline-block;
    margin: 12px 0 16px;
    padding: 11px 14px;
    border: 1px solid var(--infoBorder);
    border-radius: 10px;
    background: var(--infoBg);
    color: #d6e6ff;
}

code {
    padding: 0.12em 0.35em;
    border: 1px solid var(--borderSoft);
    border-radius: 5px;
    background: #0b1118;
    color: #dce9ff;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92em;
}

.codeBlockWrap {
    overflow-x: auto;
    margin: 14px 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #0b1118;
}

pre {
    margin: 0;
    padding: 16px;
}

pre code {
    padding: 0;
    border: 0;
    background: transparent;
}


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

.sectionsToggle {
    position: fixed;
    left: 18px;
    top: 50%;
    z-index: 1200;
    width: 58px;
    height: 58px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(108, 163, 255, 0.72);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(27, 43, 66, 0.98), rgba(12, 20, 31, 0.98));
    color: #dceaff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(108, 163, 255, 0.08) inset;
    cursor: pointer;
    transition: left 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.sectionsToggle[hidden] {
    display: none !important;
}

.sectionsToggle:hover,
.sectionsToggle:focus-visible {
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(108, 163, 255, 0.14);
    outline: none;
}

.sectionsToggleIcon {
    width: 31px;
    height: 31px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.sectionsBackdrop {
    position: fixed;
    inset: 0;
    z-index: 1250;
    background: rgba(3, 7, 12, 0.68);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.sectionsBackdrop.isVisible {
    opacity: 1;
}

.sectionsDrawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1300;
    width: min(390px, 88vw);
    display: flex;
    flex-direction: column;
    padding: 22px;
    background:
        radial-gradient(circle at top left, rgba(108, 163, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #121b27 0%, #0d141e 100%);
    border-right: 1px solid var(--borderSoft);
    box-shadow: 18px 0 46px rgba(0, 0, 0, 0.48);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.26s ease, visibility 0s linear 0.26s;
}

body.sectionsOpen {
    overflow: hidden;
}

body.sectionsOpen .sectionsDrawer {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.26s ease, visibility 0s;
}

body.sectionsOpen .sectionsToggle {
    opacity: 0;
    pointer-events: none;
}

.sectionsDrawerHeader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--borderSoft);
}

.sectionsDrawerEyebrow {
    margin-bottom: 3px;
    color: #9db7da;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sectionsDrawerTitle {
    margin: 0;
    font-size: 25px;
}

.sectionsClose {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--borderSoft);
    border-radius: 12px;
    background: #0b1118;
    color: #dbe8fa;
    cursor: pointer;
}

.sectionsClose:hover,
.sectionsClose:focus-visible {
    border-color: var(--accent);
    outline: none;
}

.sectionsClose svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.sectionsCurrent {
    min-height: 38px;
    margin: 14px 0 10px;
    padding: 9px 11px;
    border: 1px solid rgba(108, 163, 255, 0.24);
    border-radius: 10px;
    background: rgba(108, 163, 255, 0.07);
    color: #b8c9df;
    font-size: 12px;
    line-height: 1.45;
}

.sectionsNav {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px 4px 18px 0;
    scrollbar-width: thin;
    scrollbar-color: #40516a transparent;
}

.sectionsNavLink {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 5px 0;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #dce5f1;
    text-decoration: none;
    line-height: 1.35;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.sectionsNavLink:hover,
.sectionsNavLink:focus-visible {
    border-color: var(--borderSoft);
    background: rgba(255, 255, 255, 0.035);
    transform: translateX(2px);
    outline: none;
}

.sectionsNavLink.isActive {
    border-color: rgba(108, 163, 255, 0.48);
    background: rgba(108, 163, 255, 0.11);
}

.sectionsNavNumber {
    color: #7faaf1;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.06em;
    padding-top: 2px;
}

.sectionsNavLabel {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 600;
}

.printOnlyLogo {
    display: none;
}


@media (max-width: 699px) {
    /* Keep the control in the existing left gutter. The page padding is not changed. */
    .sectionsToggle {
        left: -28px;
        width: 58px;
        height: 58px;
        border-radius: 0 16px 16px 0;
        border-left: 0;
    }

    .sectionsToggle:hover,
    .sectionsToggle:focus-visible,
    .sectionsToggle:active {
        left: -18px;
    }

    .sectionsDrawer {
        width: min(360px, 92vw);
        padding: 18px 16px;
    }
}

@media (max-width: 420px) {
    /* 26px remains visible: 10px page gutter + 16px panel inner padding. */
    .sectionsToggle {
        left: -32px;
    }

    .sectionsToggle:hover,
    .sectionsToggle:focus-visible,
    .sectionsToggle:active {
        left: -22px;
    }
}

@media (max-width: 600px) {
    .imageCompareGrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 699px) {
    .page {
        padding: 20px 14px 40px;
    }

    .panel {
        --panelPad: 18px;
        padding: var(--panelPad);
    }

    body {
        font-size: 16.5px;
        line-height: 1.74;
    }

    .heroInner {
        min-height: 112px;
        padding: 18px 14px;
        grid-template-columns: minmax(0, 25%) minmax(0, 75%);
        gap: 14px;
    }

    .heroLogo {
        max-width: 118px;
        max-height: 74px;
    }

    h1 {
        font-size: clamp(24px, 7vw, 31px);
        line-height: 1.2;
    }

    h2 {
        font-size: 21px;
    }


    th,
    td {
        padding: 10px 12px;
    }
}

@media (max-width: 420px) {
    .page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .panel {
        --panelPad: 16px;
        padding: var(--panelPad);
        border-radius: 12px;
    }

    .heroInner {
        padding-left: 10px;
        padding-right: 10px;
        gap: 12px;
    }

    h1 {
        font-size: clamp(22px, 7.2vw, 28px);
    }

    h2 {
        font-size: 20px;
    }

    .stepBadge {
        min-width: 0;
    }
}


.questionLabel {
    margin-bottom: 4px;
}

.questionBlockNested .questionField {
    padding-left: 14px;
}

.questionLabel {
    margin-bottom: 9px;
    color: var(--heading);
    line-height: 1.55;
}

.questionInput {
    width: min(100%, 720px);
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--borderSoft);
    border-radius: 9px;
    background: rgba(8, 13, 22, 0.72);
    color: var(--heading);
    font: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.questionInput:focus {
    border-color: rgba(108, 163, 255, 0.72);
    background: rgba(8, 13, 22, 0.92);
    box-shadow: 0 0 0 3px rgba(108, 163, 255, 0.11);
}


.questionnaireSubmitButton {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid rgba(108, 163, 255, 0.55);
    border-radius: 9px;
    background: rgba(108, 163, 255, 0.14);
    color: var(--heading);
    font: inherit;
    cursor: pointer;
}

.questionnaireSubmitButton:hover:not(:disabled) {
    background: rgba(108, 163, 255, 0.22);
}

.questionnaireSubmitButton:disabled {
    opacity: 0.6;
    cursor: wait;
}
