:root {
    color-scheme: light;
    --paper: #f7f5f0;
    --white: #fff;
    --ink: #20262d;
    --muted: #4f5b64;
    --line: #dcdedb;
    --soft: #eeece6;
    --orange: #b94708;
    --orange-dark: #933503;
    --green: #176b4b;
    --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 11px 16px; background: var(--ink); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 16px; }

.site-header {
    width: min(calc(100% - 48px), var(--max));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-size: 16px; font-weight: 720; letter-spacing: -.015em; }
.brand img { display: block; }
nav { display: flex; gap: 22px; color: #424d56; font-size: 16px; }
nav a { display: inline-flex; min-height: 44px; align-items: center; }
nav a:hover, footer a:hover, .vite-note a:hover, .closing-actions > a:hover { color: var(--orange-dark); }

.hero {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 86px;
    align-items: center;
    padding: 94px 0 88px;
}
.hero > *, .change-row > div, .tab > div { min-width: 0; }
.eyebrow { margin: 0 0 22px; color: var(--orange-dark); font-size: 14px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; max-width: 600px; font-size: clamp(52px, 6vw, 72px); line-height: .98; letter-spacing: -.06em; font-weight: 670; }
.lead { max-width: 590px; margin: 28px 0 0; color: #45515b; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; margin-top: 31px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font-size: 16px; font-weight: 700; }
.button.primary { background: var(--orange); color: #fff; }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { border-color: #8f9895; background: rgba(255,255,255,.55); color: #36434c; }
.button.secondary:hover { border-color: #687370; background: #fff; }
.requirements { margin: 23px 0 0; color: #536069; font-size: 16px; }

.result-panel { padding: 24px; border: 1px solid #d4d7d4; border-radius: 8px; background: var(--white); box-shadow: 0 16px 36px rgba(45, 52, 55, .07); }
.result-title { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #e5e6e4; color: #4f5b64; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.status { color: var(--green); }
.status i { display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--green); }
.change-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 17px; }
.change-row { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 13px 11px; border: 1px solid #d7d9d6; border-radius: 6px; background: #fff; }
.change-row:first-child { border-color: #f0c4aa; background: #fff8f3; }
.change-icon { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.content-icon { background: #3f596d; }
.change-row strong, .change-row code { display: block; }
.change-row strong { font-size: 16px; }
.change-row code { margin-top: 4px; color: var(--orange-dark); font-size: 14px; overflow-wrap: anywhere; }
.result-arrow { position: relative; margin: 0 0 16px 44px; color: #536069; font-size: 14px; }
.result-arrow:before { content: "↓"; margin-right: 8px; color: var(--orange); }
.tabs { display: grid; gap: 7px; }
.tab { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 12px; min-height: 58px; padding: 8px 12px; border: 1px solid #e0e2e0; border-radius: 5px; }
.tab-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 4px; background: #f0f1ef; color: #8a9298; }
.tab strong, .tab small { display: block; }
.tab strong { margin-bottom: 3px; font-size: 16px; }
.tab small { color: #536069; font-size: 14px; }
.tab b { color: #4f5b64; font-size: 14px; font-weight: 700; }
.tab.affected { border-color: #eeb995; background: #fffaf6; }
.tab.affected .tab-icon { color: #fff; background: var(--orange); }
.tab.affected b { color: var(--orange-dark); }

.summary-strip { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-strip div { padding: 26px 30px; border-right: 1px solid var(--line); }
.summary-strip div:first-child { padding-left: 0; }
.summary-strip div:last-child { border: 0; }
.summary-strip strong, .summary-strip span { display: block; }
.summary-strip strong { margin-bottom: 7px; font-size: 18px; }
.summary-strip span { color: var(--muted); font-size: 16px; line-height: 1.6; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 104px 0; }
.section-intro { display: grid; grid-template-columns: .7fr 1.35fr 1fr; gap: 42px; align-items: start; }
.section-intro .eyebrow { margin-top: 9px; }
h2 { margin: 0; font-size: clamp(34px, 4vw, 47px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; }
.section-intro > p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 55px; }
.mode-grid article { padding: 34px 36px 38px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.48); }
.mode-heading { display: flex; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.number { color: var(--orange-dark); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mode-label { color: #536069; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.mode-grid h3 { margin: 33px 0 12px; font-size: 28px; letter-spacing: -.03em; }
.mode-grid article > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.mode-grid ul { margin: 27px 0 0; padding: 0; list-style: none; }
.mode-grid li { position: relative; padding: 11px 0 11px 24px; border-top: 1px solid #d4d6d3; color: #3f4b54; font-size: 16px; }
.mode-grid li:before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.process { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; border-top: 1px solid var(--line); }
.section-intro.compact { display: block; }
.section-intro.compact h2 { max-width: 430px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 38px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #9da5a1; border-radius: 50%; color: var(--orange-dark); font-size: 14px; font-weight: 750; }
.process-list strong { font-size: 18px; }
.process-list p { margin: 7px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.process-list code { padding: 2px 4px; background: #e3e1db; color: #39454e; font-size: 14px; }

.install { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; padding: 64px; border: 1px solid var(--line); border-radius: 8px; background: #ebe9e3; }
.install-heading { grid-column: 1 / -1; padding-bottom: 36px; border-bottom: 1px solid #ceccc6; }
.install-heading h2 { font-size: 39px; }
.install-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; padding: 36px 0; }
.install-step + .install-step { border-top: 1px solid #ceccc6; }
.install-step .step-marker { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #a8aaa6; border-radius: 50%; color: var(--orange-dark); font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.install-step h3 { margin: 3px 0 0; font-size: 22px; letter-spacing: -.02em; }
.install-step > div > p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.terminal { grid-column: 2; width: 100%; margin-top: 24px; overflow: hidden; border-radius: 6px; color: #f2f2ef; background: #252a2f; box-shadow: 0 10px 22px rgba(38,42,46,.12); }
.terminal-bar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px 0 18px; border-bottom: 1px solid #697178; color: #d4d8db; font-size: 14px; }
.terminal-bar button { min-height: 44px; padding: 7px 12px; border: 1px solid #8c9399; border-radius: 3px; color: #fff; background: #33383d; font-size: 14px; cursor: pointer; }
.terminal pre { margin: 0; padding: 25px; white-space: pre-wrap; }
.terminal pre code { font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.terminal pre span { color: #ffac7c; }
.terminal pre em { color: #b9e1c8; font-style: normal; }
.composer-terminal pre { padding-top: 31px; padding-bottom: 31px; }
.install-note { grid-column: 2; margin: 14px 0 0; padding: 13px 16px; border-left: 3px solid var(--orange); border-radius: 0 4px 4px 0; background: #fff8f3; color: #3f4b54; font-size: 15px; line-height: 1.6; }
.install-note code { padding: 2px 5px; background: #f0ddcf; color: var(--orange-dark); font-size: 14px; overflow-wrap: anywhere; }
.setup-link { width: fit-content; min-height: 44px; margin: -17px 0 0 52px; padding: 10px 0; color: var(--orange-dark); font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.companion { width: min(calc(100% - 48px), var(--max)); margin: -30px auto 90px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 54px; align-items: center; padding: 38px 42px; border-left: 5px solid #3f596d; border-radius: 6px; background: #e6edef; }
.companion-label { display: inline-block; padding: 6px 9px; border-radius: 3px; color: #fff; background: #3f596d; font-size: 14px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.companion-copy h2 { max-width: 640px; margin-top: 17px; font-size: 28px; letter-spacing: -.025em; }
.companion-copy > p { max-width: 680px; margin: 17px 0 0; color: #3f4b54; font-size: 16px; line-height: 1.65; }
.companion-copy > p + p { margin-top: 10px; }
.companion-copy > p a { color: var(--ink); font-weight: 720; text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-block; min-height: 44px; margin-top: 18px; padding: 10px 0; color: var(--orange-dark); font-size: 16px; font-weight: 720; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--orange); }
.companion-flow { margin: 0; padding: 0 0 0 30px; border-left: 1px solid #aebdc1; list-style: none; }
.companion-flow > li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid #c5d0d3; }
.companion-flow > li:last-child { border-bottom: 0; }
.companion-flow > li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #3f596d; font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.companion-flow strong { font-size: 16px; }

.practical { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.practical-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.practical-grid article { min-height: 175px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.practical-grid h3 { margin: 0 0 9px; font-size: 18px; }
.practical-grid p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

.closing { width: min(calc(100% - 48px), var(--max)); margin: 15px auto 0; display: flex; justify-content: space-between; align-items: end; padding: 70px 0; border-top: 1px solid var(--ink); }
.closing h2 { font-size: 46px; }
.closing-actions { display: flex; align-items: center; gap: 22px; }
.closing-actions > a { display: inline-flex; min-height: 44px; align-items: center; color: #3f4b54; font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.closing-actions .button { color: #fff; }
footer { width: min(calc(100% - 48px), var(--max)); min-height: 92px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; border-top: 1px solid var(--line); color: #4f5b64; font-size: 14px; }
footer p { text-align: center; white-space: nowrap; }
footer p a { text-decoration: underline; text-underline-offset: 3px; }
.heart { color: currentColor; }
footer > div { display: flex; justify-content: flex-end; gap: 20px; }
footer > div a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 800px) {
    .site-header { width: min(calc(100% - 32px), var(--max)); }
    .hero { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; gap: 54px; padding: 70px 0; }
    .hero-copy { max-width: 650px; }
    .result-panel { max-width: 620px; }
    .summary-strip { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; }
    .summary-strip div, .summary-strip div:first-child { padding: 19px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .summary-strip div:last-child { border-bottom: 0; }
    .section { width: min(calc(100% - 32px), var(--max)); padding: 82px 0; }
    .section-intro { grid-template-columns: 1fr; gap: 14px; }
    .section-intro .eyebrow { margin: 0 0 4px; }
    .section-intro > p:last-child { max-width: 560px; margin-top: 8px; }
    .mode-grid { grid-template-columns: 1fr; }
    .process, .practical { grid-template-columns: 1fr; gap: 42px; }
    .companion { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
    .companion-flow { padding: 18px 0 0; border-top: 1px solid #aebdc1; border-left: 0; }
    .install { padding: 45px; }
    .install-heading { grid-column: 1; }
    .setup-link { margin-left: 52px; }
    .closing { width: min(calc(100% - 32px), var(--max)); align-items: start; gap: 45px; }
    .closing-actions { flex-direction: column; align-items: flex-start; }
    footer { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; gap: 4px; padding: 22px 0; text-align: center; }
    footer .brand { justify-self: center; }
    footer p { margin: 4px 0; white-space: normal; }
    footer > div { justify-content: center; }
}

@media (max-width: 520px) {
    .site-header { flex-direction: column; align-items: stretch; height: auto; padding: 13px 0; gap: 4px; }
    .brand span { font-size: 15px; }
    nav { gap: 20px; font-size: 15px; }
    nav a { min-height: 40px; white-space: nowrap; }
    .hero { padding: 55px 0 60px; gap: 42px; }
    h1 { font-size: 49px; }
    .lead { margin-top: 22px; font-size: 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .result-panel { padding: 17px; }
    .result-title { font-size: 13px; }
    .change-sources { grid-template-columns: 1fr; }
    .tab { grid-template-columns: 29px 1fr auto; gap: 9px; padding: 7px 8px; }
    .section { padding: 68px 0; }
    h2 { font-size: 36px; }
    .mode-grid { margin-top: 38px; }
    .mode-grid article { padding: 28px 24px 30px; }
    .process-list code { overflow-wrap: anywhere; }
    .install { padding: 35px 22px; }
    .install-heading h2 { font-size: 35px; }
    .install-step { grid-template-columns: 34px minmax(0, 1fr); }
    .terminal pre { padding: 20px 18px; }
    .terminal pre code { font-size: 13px; }
    .practical-grid { grid-template-columns: 1fr; }
    .practical-grid article { min-height: 0; }
    .companion { padding: 28px 24px; }
    .closing { display: block; padding: 57px 0; }
    .closing h2 { font-size: 38px; }
    .closing-actions { margin-top: 34px; }
    footer > div { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
