.excelbc3-page {
    --excelbc3-bg: #f4f7fa;
    --excelbc3-ink: #102236;
    --excelbc3-muted: #5b6d7d;
    --excelbc3-line: #d8e2eb;
    --excelbc3-panel: #fff;
    --excelbc3-soft: #f4f9ff;
    --excelbc3-blue: #1769d2;
    --excelbc3-blue-strong: #1459b8;
    --excelbc3-excel: #208a55;
    --excelbc3-bc3: #1769d2;
    min-height: 100vh;
    padding-bottom: 5rem;
    background: var(--excelbc3-bg);
    color: var(--excelbc3-ink);
    font-family: ui-sans-serif, system-ui, sans-serif;
}

.excelbc3-page * {
    box-sizing: border-box;
}
.excelbc3-page h1,
.excelbc3-page h2,
.excelbc3-page p {
    margin-top: 0;
}
.excelbc3-wrap {
    width: min(1080px, calc(100% - 2rem));
    margin: auto;
}
.excelbc3-hero {
    padding: clamp(2.5rem, 6vw, 4.8rem) 0;
    background: #102236;
    color: #fff;
}
.excelbc3-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}
.excelbc3-eyebrow,
.excelbc3-kicker {
    margin: 0 0 1rem;
    color: #75b7ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.excelbc3-eyebrow span {
    color: #69d8a1;
}
.excelbc3-hero h1 {
    max-width: 720px;
    margin: 0 0 1rem;
    font-size: clamp(2.15rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}
.excelbc3-lead {
    max-width: 650px;
    margin: 0;
    color: #d8e8f5;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.55;
}
.excelbc3-benefits {
    display: flex;
    gap: 1.3rem;
    flex-wrap: wrap;
    margin: 1.7rem 0 0;
    padding: 0;
    list-style: none;
    color: #b8d6ee;
    font-size: 0.84rem;
}
.excelbc3-benefits li::before {
    content: "✓";
    margin-right: 0.4rem;
    color: #69d8a1;
    font-weight: 900;
}
.excelbc3-flow {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    color: #69d8a1;
    font:
        800 clamp(1.1rem, 2.4vw, 1.6rem) / 1.2 ui-monospace,
        monospace;
    white-space: nowrap;
}
.excelbc3-flow b {
    color: #fff;
}
.excelbc3-flow .is-bc3 {
    color: #75b7ff;
}
.excelbc3-tool {
    position: relative;
    max-width: 820px;
    margin: -2rem auto 4.5rem;
    padding: clamp(1.25rem, 4vw, 2.3rem);
    border: 1px solid var(--excelbc3-line);
    border-top: 3px solid var(--excelbc3-excel);
    border-radius: 1rem;
    background: var(--excelbc3-panel);
    box-shadow: 0 18px 50px #10223620;
}
.excelbc3-tool-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.excelbc3-tool h2,
.excelbc3-result h2,
.excelbc3-process h2,
.excelbc3-editorial h2 {
    margin: 0 0 1.2rem;
    color: var(--excelbc3-ink);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    letter-spacing: -0.03em;
}
.excelbc3-chip {
    padding: 0.35rem 0.6rem;
    border: 1px solid #9bd0b5;
    border-radius: 99px;
    color: var(--excelbc3-excel);
    font:
        700 0.78rem ui-monospace,
        monospace;
    white-space: nowrap;
}
.excelbc3-intro,
.excelbc3-editorial p,
.excelbc3-result p {
    color: var(--excelbc3-muted);
    line-height: 1.7;
}
.excelbc3-intro {
    margin-bottom: 1.3rem;
}
.excelbc3-page .drop-zone {
    padding: 2.2rem 1rem;
    border: 2px dashed #8ebae5;
    border-radius: 0.8rem;
    background: var(--excelbc3-soft);
    text-align: center;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.excelbc3-page .drop-zone:hover,
.excelbc3-page .drop-zone:focus-within {
    border-color: var(--excelbc3-excel);
    background: #edf9f2;
}
.excelbc3-page .drop-zone-icon {
    color: var(--excelbc3-excel);
    font-size: 2.5rem;
}
.excelbc3-page .drop-zone-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}
.excelbc3-page .drop-zone .lead {
    color: var(--excelbc3-ink);
    font-weight: 750;
}
.excelbc3-page .drop-zone .text-muted,
.excelbc3-page .file-info {
    color: var(--excelbc3-muted) !important;
}
.excelbc3-page .drop-zone label {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    border-radius: 0.45rem;
    background: var(--excelbc3-blue-strong);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.excelbc3-page .drop-zone label:focus-visible,
.excelbc3-page button:focus-visible,
.excelbc3-page a:focus-visible {
    outline: 3px solid #f5bd35;
    outline-offset: 3px;
}
.excelbc3-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 1.3rem;
    border: 0;
    border-radius: 0.45rem;
    background: var(--excelbc3-blue-strong);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.15s,
        transform 0.15s;
}
.excelbc3-submit:hover {
    background: #0e58b5;
}
.excelbc3-submit:active {
    transform: translateY(1px);
}
.excelbc3-message {
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: 0.5rem;
}
.excelbc3-message.is-error {
    border: 1px solid #e6a0a0;
    background: #fff0f0;
    color: #8d2424;
}
.excelbc3-message.is-success {
    border: 1px solid #a5d8b8;
    background: #edf9f2;
    color: #175b37;
}
.excelbc3-message a {
    display: block;
    margin-top: 0.3rem;
    color: inherit;
    font-weight: 800;
}
.excelbc3-trust {
    margin: 1.3rem 0 0;
    color: var(--excelbc3-muted);
    font-size: 0.78rem;
    text-align: center;
}
.excelbc3-result,
.excelbc3-process,
.excelbc3-editorial,
.excelbc3-more {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}
.excelbc3-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4.5rem;
}
.excelbc3-result .excelbc3-kicker {
    color: var(--excelbc3-excel);
}
.excelbc3-result p {
    margin-bottom: 0;
}
.excelbc3-file-preview {
    overflow: hidden;
    border: 1px solid var(--excelbc3-line);
    border-radius: 0.55rem;
    background: var(--excelbc3-panel);
    box-shadow: 0 12px 30px #10223612;
}
.excelbc3-file-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0.8rem;
    background: #e9f5ee;
    color: var(--excelbc3-muted);
    font:
        700 0.72rem ui-monospace,
        monospace;
}
.excelbc3-file-bar b {
    color: var(--excelbc3-excel);
}
.excelbc3-file-preview pre {
    min-height: 100px;
    margin: 0;
    padding: 1rem;
    color: var(--excelbc3-bc3);
    font:
        600 0.72rem / 1.7 ui-monospace,
        monospace;
    white-space: pre-wrap;
}
.excelbc3-ready {
    display: block;
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--excelbc3-line);
    color: var(--excelbc3-excel);
    font-size: 0.78rem;
    font-weight: 750;
}
.excelbc3-process {
    margin-bottom: 4.5rem;
}
.excelbc3-process ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--excelbc3-line);
    list-style: none;
}
.excelbc3-process li {
    display: flex;
    gap: 0.7rem;
    min-height: 105px;
    padding: 1rem 0.8rem 0 0;
    border-top: 2px solid var(--excelbc3-excel);
}
.excelbc3-process li:not(:first-child) {
    padding-left: 1rem;
    border-left: 1px solid var(--excelbc3-line);
}
.excelbc3-process b {
    color: var(--excelbc3-excel);
    font:
        800 0.8rem ui-monospace,
        monospace;
}
.excelbc3-process span {
    display: grid;
    gap: 0.3rem;
}
.excelbc3-process small {
    color: var(--excelbc3-muted);
    line-height: 1.45;
}
.excelbc3-editorial {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    padding: 2.2rem 0;
    margin-bottom: 4.5rem;
    border-top: 1px solid var(--excelbc3-line);
    border-bottom: 1px solid var(--excelbc3-line);
}
.excelbc3-editorial h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}
.excelbc3-editorial div p {
    margin: 0 0 0.9rem;
}
.excelbc3-editorial div p:last-child {
    margin-bottom: 0;
}
.excelbc3-more {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
    padding-top: 1.5rem;
    border-top: 2px solid var(--excelbc3-bc3);
}
.excelbc3-more > span {
    align-self: center;
    color: var(--excelbc3-ink);
    font-weight: 750;
}
.excelbc3-more a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 0.8rem;
    padding: 1rem;
    border: 1px solid var(--excelbc3-line);
    border-top: 2px solid currentColor;
    color: var(--excelbc3-ink);
    text-decoration: none;
    transition:
        transform 0.2s,
        background 0.2s;
}
.excelbc3-more a:hover {
    transform: translateY(-3px);
    background: var(--excelbc3-soft);
}
.excelbc3-more a strong,
.excelbc3-more a small {
    grid-column: 1;
}
.excelbc3-more a small {
    color: var(--excelbc3-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}
.excelbc3-more a b {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 1.25rem;
}
.excelbc3-more .is-bc3 {
    color: var(--excelbc3-bc3);
}
.excelbc3-more .is-pdf {
    color: #c64848;
}
html[data-theme="dark"] .excelbc3-page {
    --excelbc3-bg: #101a28;
    --excelbc3-ink: #eef5fb;
    --excelbc3-muted: #b7c8d8;
    --excelbc3-line: #34485d;
    --excelbc3-panel: #182637;
    --excelbc3-soft: #142437;
    --excelbc3-blue: #75b7ff;
    --excelbc3-blue-strong: #2e79c9;
    --excelbc3-excel: #69d8a1;
}
html[data-theme="dark"] .excelbc3-page .drop-zone:hover,
html[data-theme="dark"] .excelbc3-page .drop-zone:focus-within {
    background: #1a3048;
}
html[data-theme="dark"] .excelbc3-page .drop-zone .lead,
html[data-theme="dark"] .excelbc3-tool h2,
html[data-theme="dark"] .excelbc3-result h2,
html[data-theme="dark"] .excelbc3-process h2,
html[data-theme="dark"] .excelbc3-editorial h2,
html[data-theme="dark"] .excelbc3-more > span {
    color: var(--excelbc3-ink);
}
html[data-theme="dark"] .excelbc3-file-bar {
    background: #173d2d;
}
html[data-theme="dark"] .excelbc3-message.is-error {
    border-color: #a85d69;
    background: #421f27;
    color: #ffc0c8;
}
html[data-theme="dark"] .excelbc3-message.is-success {
    border-color: #4b9d75;
    background: #173d2d;
    color: #b8f0d0;
}
@media (max-width: 700px) {
    .excelbc3-hero-grid,
    .excelbc3-result,
    .excelbc3-editorial {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }
    .excelbc3-flow {
        justify-self: start;
    }
    .excelbc3-process ol {
        grid-template-columns: 1fr;
    }
    .excelbc3-process li,
    .excelbc3-process li:not(:first-child) {
        min-height: auto;
        padding: 1rem 0;
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--excelbc3-line);
    }
    .excelbc3-more {
        grid-template-columns: 1fr;
    }
    .excelbc3-more > span {
        margin-bottom: 0.2rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .excelbc3-page *,
    .excelbc3-page *::before,
    .excelbc3-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .excelbc3-more a:hover {
        transform: none;
    }
}
