:root {
    --paper: #edece5;
    --paper-light: #f7f6f1;
    --ink: #20251f;
    --muted: #777c74;
    --sage: #667b69;
    --sage-dark: #435648;
    --rust: #a35d43;
    --line: rgba(32,37,31,.14);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 80% 8%, rgba(160,173,147,.22), transparent 30%), var(--paper); }
button, a { font: inherit; }
.grain { position: fixed; inset: 0; z-index: -1; opacity: .18; pointer-events: none; background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.55) 0 1px, transparent 1.5px) 0 0 / 9px 9px; }

.site-header { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 2px 12px 2px 2px; color: #fff; background: var(--ink); font-family: Georgia, serif; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: inherit; background: #fff; }
.brand-mark img[hidden] { display: none; }
.brand-mark.has-image { overflow: hidden; background: transparent; }
.brand-mark.has-image > span { display: none; }
.brand.logo-right .brand-mark { order: 2; }
.brand.logo-right .brand-copy { order: 1; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand b { font-size: 15px; letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.demo-badge { padding: 8px 13px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; color: #59635a; background: rgba(255,255,255,.3); font-size: 11px; }
.demo-badge i { width: 7px; height: 7px; border-radius: 50%; background: #6e9773; box-shadow: 0 0 0 4px rgba(110,151,115,.12); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.experience-link { padding: 9px 16px; border-radius: 999px; color: #fff; background: var(--ink); text-decoration: none; font-size: 11px; transition: transform .2s ease, background .2s ease; }
.experience-link:hover { transform: translateY(-1px); background: var(--sage-dark); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 90px 0 72px; display: grid; grid-template-columns: 1fr .72fr; column-gap: 80px; align-items: end; }
.eyebrow { grid-column: 1 / -1; margin: 0 0 22px; color: var(--rust); font-size: 10px; font-weight: 700; letter-spacing: .22em; }
.hero h1 { margin: 0; font: 400 clamp(42px, 6.2vw, 82px)/1.06 Georgia, "Songti SC", serif; letter-spacing: -.04em; }
.hero h1 em { color: var(--sage); font-weight: 400; }
.hero-copy { margin: 0 0 7px; max-width: 460px; color: #5f655e; font-size: 14px; line-height: 1.9; }
.hero-actions { grid-column: 2; margin-top: 24px; display: flex; align-items: center; gap: 18px; }
.experience-cta { min-width: 250px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 2px 14px 2px 2px; color: #fff; background: var(--sage-dark); text-decoration: none; font-size: 12px; font-weight: 700; box-shadow: 0 14px 30px rgba(45,61,50,.14); transition: transform .2s ease; }
.experience-cta:hover { transform: translateY(-2px); }
.experience-cta span { font-size: 18px; font-weight: 400; }
.case-jump { color: var(--ink); text-underline-offset: 4px; font-size: 11px; }
.hero-meta { grid-column: 1 / -1; margin-top: 48px; padding-top: 18px; display: flex; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .08em; }


.flow-demo { margin-bottom: 80px; }
.flow-demo [hidden] { display: none !important; }
.flow-demo-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.flow-demo-heading .eyebrow { margin-bottom: 12px; }
.flow-demo-heading h2 { margin: 0; font: 400 clamp(30px, 4vw, 48px)/1.15 Georgia, "Songti SC", serif; letter-spacing: -.025em; }
.flow-demo-heading > div > p:last-child { margin: 12px 0 0; max-width: 680px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.flow-reset { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #5c635d; background: rgba(255,255,255,.35); cursor: pointer; font-size: 10px; }
.flow-track { display: grid; grid-template-columns: .9fr 1.18fr .92fr; border: 1px solid var(--line); border-radius: 3px 26px 3px 3px; overflow: hidden; background: rgba(247,246,241,.82); box-shadow: 0 24px 70px rgba(38,46,38,.07); }
.flow-step { position: relative; min-width: 0; min-height: 600px; padding: 22px; border-right: 1px solid var(--line); transition: background .25s ease, opacity .25s ease; }
.flow-step:last-child { border-right: 0; }
.flow-step.active { background: rgba(255,255,255,.52); }
.flow-step.locked { background: rgba(226,227,218,.28); }
.flow-step > header { margin-bottom: 18px; display: flex; align-items: center; gap: 11px; }
.flow-step > header > span { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--rust); font: italic 11px Georgia, serif; }
.flow-step > header div { display: grid; gap: 2px; }
.flow-step > header small { color: var(--sage); font-size: 7px; font-weight: 700; letter-spacing: .18em; }
.flow-step > header h3 { margin: 0; font: 400 20px Georgia, "Songti SC", serif; }
.flow-image-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px 16px 2px 2px; background: #dfe1da; }
.flow-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.flow-image-frame > span { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(24,29,24,.64); font-size: 8px; }
.flow-upload-meta, .flow-result-meta { margin: 13px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.flow-upload-meta span, .flow-result-meta span { padding: 6px 8px; border-radius: 999px; color: #5d665e; background: #e7e9e2; font-size: 9px; }
.flow-primary { width: 100%; padding: 12px 16px; border: 0; border-radius: 2px 12px 2px 2px; color: #fff; background: var(--sage-dark); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .05em; transition: transform .2s ease, opacity .2s ease; }
.flow-primary:hover:not(:disabled) { transform: translateY(-1px); }
.flow-primary:disabled { opacity: .38; cursor: not-allowed; }
.flow-locked-copy { height: 480px; display: grid; place-content: center; justify-items: center; gap: 12px; color: #90958e; text-align: center; }
.flow-locked-copy i { width: 38px; height: 38px; display: block; border: 1px dashed #aeb3ac; border-radius: 50%; }
.flow-locked-copy p { margin: 0; max-width: 180px; font-size: 10px; line-height: 1.7; }
.flow-analysis-content { animation: flow-reveal .35s ease both; }
.flow-score { padding: 12px 14px; display: flex; align-items: baseline; border-radius: 2px 13px 2px 2px; color: #fff; background: var(--sage-dark); }
.flow-score span { margin-right: auto; color: #d4ddd4; font-size: 9px; }
.flow-score strong { font: 400 35px Georgia, serif; }
.flow-score small { margin-left: 4px; color: #c8d0c8; font-size: 9px; }
.flow-summary { margin: 12px 0; color: #5f655e; font-size: 10px; line-height: 1.7; }
.flow-analysis-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.flow-analysis-items article { padding: 9px; border: 1px solid var(--line); border-radius: 2px 9px 2px 2px; background: rgba(255,255,255,.54); }
.flow-analysis-items b { display: block; margin-bottom: 4px; color: var(--rust); font-size: 9px; }
.flow-analysis-items p { margin: 0; color: #6a7069; font-size: 8px; line-height: 1.55; }
.flow-selects { margin: 13px 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.flow-selects label { display: grid; gap: 5px; color: #6d736c; font-size: 8px; }
.flow-selects select { min-width: 0; width: 100%; padding: 9px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fff; font-size: 9px; }
.flow-generating { height: 480px; display: grid; place-content: center; gap: 10px; text-align: center; }
.flow-generating strong { font: 400 18px Georgia, "Songti SC", serif; }
.flow-generating small { color: var(--muted); font-size: 9px; }
.flow-progress { width: 170px; height: 4px; overflow: hidden; border-radius: 999px; background: #d8dbd3; }
.flow-progress span { width: 45%; height: 100%; display: block; border-radius: inherit; background: var(--rust); animation: flow-progress 1.1s ease-in-out infinite alternate; }
.flow-output-content { animation: flow-reveal .4s ease both; }
.flow-output-content .flow-image-frame { aspect-ratio: 4 / 3; }
.flow-output-content > p { margin: 12px 0 0; color: #626961; font-size: 9px; line-height: 1.7; }
@keyframes flow-progress { from { transform: translateX(-35%); } to { transform: translateX(160%); } }
@keyframes flow-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.demo-shell { overflow: hidden; min-height: 760px; display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--line); border-radius: 3px 30px 3px 3px; background: rgba(247,246,241,.84); box-shadow: 0 28px 80px rgba(38,46,38,.08); }
.case-rail { padding: 30px 24px; border-right: 1px solid var(--line); background: rgba(226,227,218,.45); }
.section-kicker { display: flex; justify-content: space-between; color: var(--rust); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.section-kicker b { color: var(--ink); }
.case-rail h2 { margin: 10px 0 8px; font: 400 29px Georgia, "Songti SC", serif; }
.case-rail > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.case-list { margin-top: 28px; display: grid; gap: 8px; }
.case-button { width: 100%; padding: 14px; display: grid; grid-template-columns: 26px 1fr; gap: 10px; border: 1px solid transparent; border-radius: 2px 12px 2px 2px; color: var(--ink); text-align: left; background: transparent; cursor: pointer; transition: .2s ease; }
.case-button:hover { background: rgba(255,255,255,.5); }
.case-button.active { border-color: rgba(66,87,71,.18); background: #fff; box-shadow: 0 8px 22px rgba(32,37,31,.06); }
.case-button > span:first-child { color: var(--rust); font: italic 13px Georgia, serif; }
.case-button > span:last-child { min-width: 0; display: grid; gap: 4px; }
.case-button b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.case-button small { color: var(--muted); font-size: 9px; }
.static-note { margin-top: 30px; padding: 16px; border-radius: 2px 12px 2px 2px; color: #59625a; background: rgba(255,255,255,.55); }
.static-note b { font-size: 10px; letter-spacing: .08em; }
.static-note p { margin: 7px 0 0; font-size: 9px; line-height: 1.65; }

.case-stage { min-width: 0; padding: 34px; }
.case-heading { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.case-heading > div:first-child span { color: var(--rust); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.case-heading h2 { margin: 7px 0 0; font: 400 32px Georgia, "Songti SC", serif; }
.case-facts { display: flex; gap: 8px; }
.case-facts span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #656b64; font-size: 9px; }
.visual-card { overflow: hidden; border-radius: 2px 22px 2px 2px; background: #dfe1da; }
.view-tabs { padding: 10px; display: flex; gap: 6px; overflow-x: auto; background: var(--ink); scrollbar-width: thin; }
.view-tabs button { flex: 0 0 auto; padding: 9px 13px; border: 0; border-radius: 999px; color: #aeb3ac; background: transparent; cursor: pointer; font-size: 10px; }
.view-tabs button.active { color: var(--ink); background: #f3f2ec; }
.visual-card figure { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #d9dbd4; }
.visual-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.visual-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 36px 16px 14px; display: flex; justify-content: space-between; color: #fff; background: linear-gradient(transparent, rgba(18,22,18,.72)); font-size: 9px; letter-spacing: .1em; }
.report-grid { margin-top: 16px; display: grid; grid-template-columns: .68fr 1.32fr; gap: 12px; }
.report-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 2px 16px 2px 2px; background: rgba(255,255,255,.55); }
.report-grid article > span { color: var(--rust); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.report-grid h3 { margin: 8px 0 10px; font: 400 20px Georgia, "Songti SC", serif; }
.score-card { grid-row: span 2; color: #fff; background: var(--sage-dark) !important; }
.score-card > span { color: #cbd5ca !important; }
.score-card div { margin: 28px 0 18px; display: flex; align-items: baseline; }
.score-card strong { font: 400 70px Georgia, serif; }
.score-card small { margin-left: 6px; color: #c9d0c8; }
.score-card p, .analysis-card p { margin: 0; color: inherit; font-size: 11px; line-height: 1.8; }
.analysis-card p { color: #666c65; }
.advice-card ol { margin: 10px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; counter-reset: advice; }
.advice-card li { position: relative; padding-left: 28px; color: #5e645d; font-size: 10px; line-height: 1.55; counter-increment: advice; }
.advice-card li::before { content: counter(advice, decimal-leading-zero); position: absolute; left: 0; color: var(--rust); font: italic 10px Georgia, serif; }
.empty-stage { padding: 80px 40px; display: grid; place-content: center; text-align: center; }
.empty-stage span { color: var(--rust); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.empty-stage h2 { margin: 12px 0 8px; font: 400 32px Georgia, "Songti SC", serif; }
.empty-stage p { margin: 0; color: var(--muted); font-size: 12px; }

.product-story { padding: 80px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.product-story > div { padding: 28px; border-left: 1px solid var(--line); }
.product-story span { color: var(--rust); font: italic 13px Georgia, serif; }
.product-story h3 { margin: 18px 0 8px; font: 400 23px Georgia, "Songti SC", serif; }
.product-story p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.final-cta { margin: 0 0 80px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: 3px 24px 3px 3px; color: #fff; background: var(--sage-dark); }
.final-cta > div > span { color: #cbd5ca; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.final-cta h2 { margin: 9px 0 7px; font: 400 clamp(28px, 4vw, 44px)/1.1 Georgia, "Songti SC", serif; }
.final-cta p { margin: 0; color: #d5ddd5; font-size: 11px; line-height: 1.7; }
.final-cta > a { flex: 0 0 210px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 2px 13px 2px 2px; color: var(--ink); background: #f4f2e9; text-decoration: none; font-size: 11px; font-weight: 700; }
.final-cta > a span { font-size: 18px; font-weight: 400; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0 32px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
footer b { color: var(--ink); letter-spacing: .12em; }

@media (max-width: 820px) {
    .hero { padding: 58px 0; grid-template-columns: 1fr; gap: 28px; }
    .hero-actions { grid-column: 1; margin-top: 0; }
    .hero-meta { margin-top: 12px; overflow-x: auto; }
    .demo-shell { grid-template-columns: 1fr; }
    .case-rail { border-right: 0; border-bottom: 1px solid var(--line); }
    .case-list { grid-template-columns: repeat(3, minmax(190px, 1fr)); overflow-x: auto; }
    .static-note { display: none; }
    .flow-track { grid-template-columns: 1fr; }
    .flow-step { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .flow-step:last-child { border-bottom: 0; }
    .flow-locked-copy, .flow-generating { height: 260px; }
}

@media (max-width: 620px) {
    .site-header, main, footer { width: min(100% - 24px, 1180px); }
    .demo-badge { padding: 7px 10px; font-size: 9px; }
    .demo-badge { display: none; }
    .experience-link { padding: 8px 12px; font-size: 10px; }
    .hero h1 { font-size: 44px; }
    .hero-meta { gap: 18px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
    .experience-cta { min-width: 0; }
    .flow-demo { margin-bottom: 56px; }
    .flow-demo-heading { align-items: flex-start; flex-direction: column; }
    .flow-analysis-items, .flow-selects { grid-template-columns: 1fr; }
    .case-stage { padding: 18px; }
    .case-heading { align-items: flex-start; flex-direction: column; }
    .case-heading h2 { font-size: 27px; }
    .view-tabs { overflow-x: auto; }
    .view-tabs button { flex: 0 0 auto; }
    .visual-card figure { aspect-ratio: 4 / 3; }
    .report-grid { grid-template-columns: 1fr; }
    .score-card { grid-row: auto; }
    .score-card strong { font-size: 58px; }
    .product-story { padding: 56px 0; grid-template-columns: 1fr; }
    .final-cta { margin-bottom: 56px; padding: 28px 24px; align-items: stretch; flex-direction: column; }
    .final-cta > a { flex-basis: auto; }
    footer { gap: 10px; flex-direction: column; }
}

.product-workbench .workbench-heading { align-items: flex-start; }
.product-workbench .workbench-step-title h3 { margin: 0; }

/* Three-step static AI renovation walkthrough. */
.workbench-heading { align-items: flex-start; }
.workbench-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.workbench-column { min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.workbench-column:last-child { border-right: 0; }
.workbench-step-title { margin-bottom: 20px; padding-bottom: 15px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.workbench-step-title > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(163,93,67,.28); border-radius: 50%; color: var(--rust); font: italic 12px Georgia, serif; }
.workbench-step-title div { display: grid; gap: 2px; }
.workbench-step-title small { color: var(--rust); font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.workbench-step-title h3 { margin: 0; font: 600 23px Georgia, "Songti SC", serif; }
.workbench-column .workbench-photo { margin-top: 0; aspect-ratio: 16 / 11; }
.workbench-column .workbench-params { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.workbench-column .workbench-params label { margin-top: 0; }
.workbench-room-state { margin-top: auto; padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 3px 10px 3px 3px; background: rgba(232,232,224,.72); }
.workbench-room-state span { color: var(--muted); font-size: 8px; }
.workbench-room-state strong { font-size: 10px; }
.workbench-analysis-summary { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; }
.workbench-analysis-summary .workbench-score-number { margin: 0; display: grid; grid-template-columns: auto auto; align-items: baseline; }
.workbench-analysis-summary .workbench-score-number strong { font-size: 48px; }
.workbench-analysis-summary .workbench-score-number small { grid-column: 1 / -1; margin-top: -3px; color: var(--muted); font-size: 8px; }
.workbench-analysis-summary > p { margin: 0; color: #656b64; font-size: 9px; line-height: 1.7; }
.workbench-radar-wrap { margin-top: 14px; display: grid; grid-template-columns: 178px 1fr; gap: 14px; align-items: center; }
.workbench-radar { position: relative; width: 164px; height: 164px; margin: 5px auto; }
.workbench-radar .grid, .workbench-radar > b { position: absolute; clip-path: polygon(50% 0, 97.55% 34.55%, 79.39% 90.45%, 20.61% 90.45%, 2.45% 34.55%); }
.workbench-radar .grid-1 { inset: 16px; background: rgba(163,93,67,.15); }
.workbench-radar .grid-2 { inset: 32px; background: var(--paper-light); }
.workbench-radar .grid-3 { inset: 47px; background: rgba(163,93,67,.13); }
.workbench-radar .axis { position: absolute; top: 16px; left: calc(50% - .5px); width: 1px; height: 66px; transform-origin: 50% 100%; background: rgba(32,37,31,.17); }
.workbench-radar .axis-2 { transform: rotate(72deg); }
.workbench-radar .axis-3 { transform: rotate(144deg); }
.workbench-radar .axis-4 { transform: rotate(216deg); }
.workbench-radar .axis-5 { transform: rotate(288deg); }
.workbench-radar > b { inset: 28px 24px 31px 30px; z-index: 2; background: rgba(163,93,67,.42); clip-path: polygon(50% 5%, 91% 37%, 69% 84%, 24% 75%, 11% 39%); }
.radar-label { position: absolute; z-index: 3; color: #5e645d; font-size: 8px; white-space: nowrap; }
.radar-label.label-1 { top: 0; left: 50%; transform: translateX(-50%); }
.radar-label.label-2 { top: 48px; right: -3px; }
.radar-label.label-3 { right: 2px; bottom: 8px; }
.radar-label.label-4 { left: 1px; bottom: 8px; }
.radar-label.label-5 { top: 48px; left: -2px; }
.workbench-analysis .workbench-metrics { margin-top: 0; }
.workbench-analysis .workbench-metrics > div { grid-template-columns: 50px 1fr 22px; }
.workbench-analysis .workbench-advice { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.workbench-analysis .workbench-advice h4 { margin: 0 0 7px; font-size: 11px; }
.workbench-analysis .workbench-advice ol { margin: 0; }
.workbench-analysis .workbench-advice li { padding: 6px 0; grid-template-columns: 26px 1fr; }
.workbench-generation .workbench-compare { margin-top: 0; aspect-ratio: 16 / 10; }
.workbench-generation .workbench-advice { margin-top: 17px; }
.workbench-generation .workbench-advice h4 { margin: 0; font-size: 10px; }
.workbench-generation .workbench-advice ol { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.workbench-generation .workbench-advice li { padding: 8px; display: block; border: 1px solid var(--line); border-radius: 3px; }
.workbench-generation .workbench-advice li > span { display: block; margin-bottom: 5px; }
.workbench-generation .workbench-advice li p { font-size: 8px; line-height: 1.5; }
.workbench-generation .workbench-details { margin-top: auto; }
.workbench-generation .workbench-details dl { margin: 14px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workbench-generation .workbench-details dl > div { padding: 10px; display: grid; gap: 5px; border: 0; border-right: 1px solid var(--line); }
.workbench-generation .workbench-details dl > div:last-child { border-right: 0; }
.workbench-generation .workbench-details dd { font-size: 16px; }
.workbench-generation > a { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-radius: 3px; color: #fff; background: #20251f; text-decoration: none; font-size: 9px; font-weight: 700; }

@media (max-width: 1080px) {
    .workbench-radar-wrap { grid-template-columns: 1fr; }
    .workbench-analysis .workbench-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .workbench-columns { grid-template-columns: 1fr; }
    .workbench-column { border-right: 0; border-bottom: 1px solid var(--line); }
    .workbench-column:last-child { border-bottom: 0; }
    .workbench-radar-wrap { grid-template-columns: 210px 1fr; }
}

@media (max-width: 520px) {
    .workbench-column { padding: 18px; }
    .workbench-radar-wrap { grid-template-columns: 1fr; }
    .workbench-analysis .workbench-metrics { grid-template-columns: 1fr; }
    .workbench-generation .workbench-advice ol { grid-template-columns: 1fr; }
}

.product-workbench { margin-bottom: 74px; }
.product-workbench[hidden] { display: none; }
.workbench-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.workbench-heading > div:first-child > span { color: var(--rust); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.workbench-heading h2 { margin: 10px 0 7px; font: 600 clamp(28px, 3vw, 40px)/1.15 Georgia, "Songti SC", serif; }
.workbench-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.workbench-tabs { display: flex; align-items: center; gap: 4px; }
.workbench-tabs button { min-width: 130px; padding: 13px 16px; border: 0; border-radius: 4px; color: #8b8f88; background: transparent; cursor: pointer; font-size: 11px; }
.workbench-tabs button b { margin-right: 8px; color: inherit; font: 700 13px Georgia, serif; }
.workbench-tabs button.active { color: var(--rust); background: rgba(255,255,255,.72); box-shadow: 0 10px 28px rgba(36,42,36,.08); }
.workbench-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 4px 22px 4px 4px; background: rgba(255,255,255,.62); box-shadow: 0 24px 60px rgba(38,46,38,.07); }
.workbench-shell h3 { margin: 0 0 8px; font-size: 12px; }
.workbench-shell article > p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.workbench-top { display: grid; grid-template-columns: 1fr .82fr 1.42fr .96fr; }
.workbench-top > article { min-width: 0; min-height: 330px; padding: 22px; border-right: 1px solid var(--line); }
.workbench-top > article:last-child { border-right: 0; }
.workbench-photo { position: relative; margin-top: 16px; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 3px 13px 3px 3px; background: #dcded7; }
.workbench-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.workbench-photo span { position: absolute; right: 8px; bottom: 8px; padding: 5px 7px; border-radius: 999px; color: #fff; background: rgba(31,36,32,.72); font-size: 8px; }
.workbench-upload button, .workbench-params button { width: 100%; margin-top: 14px; padding: 12px 14px; display: flex; justify-content: space-between; border: 0; border-radius: 3px; color: #fff; background: #20251f; cursor: pointer; font-size: 10px; font-weight: 700; }
.workbench-params { display: flex; flex-direction: column; }
.workbench-params label { margin-top: 18px; display: grid; gap: 7px; color: #676d66; font-size: 9px; }
.workbench-params select { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: rgba(255,255,255,.85); font-size: 10px; }
.workbench-params button { margin-top: auto; background: var(--rust); }
.workbench-score-number { margin: 26px 0 0; display: flex; align-items: baseline; }
.workbench-score-number strong { font: 600 58px Georgia, serif; }
.workbench-score-number span { margin-left: 5px; font-size: 14px; }
.workbench-score > p { margin-top: -2px !important; }
.workbench-metrics { margin-top: 25px; display: grid; gap: 13px; }
.workbench-metrics > div { display: grid; grid-template-columns: 64px 1fr 24px; gap: 9px; align-items: center; }
.workbench-metrics span, .workbench-metrics b { color: #626861; font-size: 8px; }
.workbench-metrics i { position: relative; height: 5px; overflow: hidden; border-radius: 999px; background: #dedfd9; }
.workbench-metrics i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value); border-radius: inherit; background: var(--rust); }
.workbench-diagnosis > strong { margin-top: 25px; padding: 15px; display: block; border-radius: 3px 11px 3px 3px; background: rgba(235,233,225,.85); font-size: 11px; line-height: 1.6; }
.workbench-diagnosis > p { margin-top: 22px !important; }
.workbench-bottom { display: grid; grid-template-columns: .92fr 1.62fr .78fr; border-top: 1px solid var(--line); }
.workbench-bottom > article { min-width: 0; padding: 22px; border-right: 1px solid var(--line); }
.workbench-bottom > article:last-child { border-right: 0; }
.workbench-advice ol { margin: 18px 0 0; padding: 0; list-style: none; }
.workbench-advice li { padding: 12px 0; display: grid; grid-template-columns: 28px 1fr; gap: 8px; border-top: 1px solid var(--line); }
.workbench-advice li > span { color: var(--rust); font: italic 11px Georgia, serif; }
.workbench-advice li p { margin: 0; color: #626861; font-size: 9px; line-height: 1.65; }
.workbench-compare { --split: 50%; position: relative; margin-top: 15px; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 3px 15px 3px 3px; background: #d9dbd4; }
.workbench-compare img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; user-select: none; pointer-events: none; }
.workbench-compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.workbench-compare .label { position: absolute; top: 10px; z-index: 4; padding: 5px 8px; border-radius: 999px; color: #fff; font-size: 7px; font-weight: 700; }
.workbench-compare .before-label { left: 10px; background: rgba(31,36,32,.8); }
.workbench-compare .after-label { right: 10px; background: var(--rust); }
.workbench-compare .divider { position: absolute; top: 0; bottom: 0; left: var(--split); z-index: 3; width: 2px; transform: translateX(-1px); background: #fff; }
.workbench-compare .divider i { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; color: var(--ink); background: #fff; font: 700 12px Georgia, serif; box-shadow: 0 7px 18px rgba(24,29,24,.18); }
.workbench-compare input { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.workbench-details dl { margin: 22px 0; }
.workbench-details dl > div { padding: 14px 0; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); }
.workbench-details dt { color: var(--muted); font-size: 8px; }
.workbench-details dd { margin: 0; font: 600 20px Georgia, serif; }
.workbench-details a { margin-top: 16px; padding: 13px 14px; display: flex; justify-content: space-between; border-radius: 3px; color: #fff; background: #20251f; text-decoration: none; font-size: 9px; font-weight: 700; }
.product-workbench.generated .workbench-shell { box-shadow: 0 24px 60px rgba(163,93,67,.12); }

@media (max-width: 960px) {
    .workbench-heading { align-items: flex-start; flex-direction: column; }
    .workbench-tabs { width: 100%; overflow-x: auto; }
    .workbench-tabs button { flex: 1 0 120px; }
    .workbench-top { grid-template-columns: 1fr 1fr; }
    .workbench-top > article { min-height: 300px; border-bottom: 1px solid var(--line); }
    .workbench-top > article:nth-child(2) { border-right: 0; }
    .workbench-bottom { grid-template-columns: 1fr; }
    .workbench-bottom > article { border-right: 0; border-bottom: 1px solid var(--line); }
    .workbench-bottom > article:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
    .product-workbench { margin-bottom: 54px; }
    .workbench-heading h2 { font-size: 30px; }
    .workbench-top { grid-template-columns: 1fr; }
    .workbench-top > article { min-height: 0; border-right: 0; }
    .workbench-photo { aspect-ratio: 16 / 10; }
    .workbench-params button { margin-top: 20px; }
}

/* Reference-led homepage: compact product story with draggable before/after comparison. */
body { background: radial-gradient(circle at 80% 8%, rgba(160,173,147,.22), transparent 30%), var(--paper); }
.grain { opacity: .08; }
.landing-header { position: sticky; top: 0; z-index: 20; width: 100%; padding: 18px max(24px, calc((100% - 1180px) / 2)); border-bottom: 1px solid rgba(32,37,31,.1); background: rgba(237,236,229,.94); backdrop-filter: blur(16px); }
.landing-nav { display: flex; align-items: center; gap: 32px; }
.landing-nav > a { color: var(--ink); text-decoration: none; font-size: 11px; }
.landing-nav > a:not(.experience-link):hover { color: var(--rust); }
.landing-nav .experience-link { padding: 9px 18px; border: 1px solid rgba(32,37,31,.28); color: var(--ink); background: transparent; }
.landing-nav .experience-link:hover { color: #fff; border-color: var(--rust); background: var(--rust); }

.hero-v2 { padding: 70px 0 46px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 52px; align-items: center; }
.hero-v2-copy .eyebrow { margin-bottom: 20px; color: var(--rust); }
.hero-v2 h1 { margin: 0; font: 600 clamp(38px, 3.25vw, 50px)/1.22 Georgia, "Songti SC", serif; letter-spacing: -.04em; }
.hero-v2 h1 span { white-space: nowrap; }
.hero-v2 h1 em { color: var(--ink); font-style: normal; }
.hero-v2-copy > p:not(.eyebrow) { max-width: 430px; margin: 26px 0 0; color: #686d67; font-size: 13px; line-height: 1.9; }
.hero-v2-actions { margin-top: 30px; display: flex; align-items: center; gap: 22px; }
.hero-v2-actions > a { color: var(--ink); text-underline-offset: 5px; font-size: 11px; }
.hero-v2-actions .orange-cta { min-width: 150px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; border-radius: 3px; color: #fff; background: var(--rust); text-decoration: none; font-weight: 700; box-shadow: 0 14px 28px rgba(163,93,67,.18); transition: transform .2s ease, background .2s ease; }
.hero-v2-actions .orange-cta:hover { transform: translateY(-2px); background: #8e4f39; }
.orange-cta span { font-size: 20px; font-weight: 400; }

.hero-compare { --split: 50%; position: relative; min-height: 410px; overflow: hidden; border: 1px solid rgba(32,37,31,.12); border-radius: 3px 22px 3px 3px; background: #deded8; box-shadow: 0 24px 60px rgba(34,39,34,.13); isolation: isolate; }
.hero-compare img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; user-select: none; pointer-events: none; }
.hero-compare .compare-before { z-index: 1; }
.hero-compare .compare-after { position: absolute; inset: 0; z-index: 2; overflow: hidden; clip-path: inset(0 0 0 var(--split)); }
.compare-label { position: absolute; top: 16px; z-index: 5; padding: 7px 10px; border-radius: 3px; color: #fff; font-size: 10px; font-weight: 700; box-shadow: 0 5px 16px rgba(20,24,21,.15); pointer-events: none; }
.compare-label.before { left: 16px; background: rgba(28,32,29,.82); }
.compare-label.after { right: 16px; background: var(--rust); }
.compare-divider { position: absolute; top: 0; bottom: 0; left: var(--split); z-index: 4; width: 2px; transform: translateX(-1px); background: rgba(255,255,255,.92); pointer-events: none; }
.compare-divider span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(32,37,31,.16); border-radius: 50%; color: var(--ink); background: #fff; font: 700 16px/1 Georgia, serif; box-shadow: 0 8px 20px rgba(25,29,25,.18); }
.hero-compare input { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.hero-compare:has(input:focus-visible) { outline: 3px solid rgba(163,93,67,.34); outline-offset: 4px; }

.process-strip { margin-bottom: 74px; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(32,37,31,.13); border-radius: 4px; background: rgba(255,255,255,.55); }
.process-strip article { position: relative; min-height: 86px; padding: 20px 24px; display: grid; grid-template-columns: 34px 1fr; align-items: center; border-right: 1px solid rgba(32,37,31,.11); }
.process-strip article:last-child { border-right: 0; }
.process-strip article:not(:last-child)::after { content: "›"; position: absolute; top: 50%; right: -8px; z-index: 2; transform: translateY(-50%); color: #9ca098; background: var(--paper); font: 26px Georgia, serif; }
.process-strip b { font: 400 19px Georgia, serif; }
.process-strip div { display: grid; gap: 5px; }
.process-strip strong { font-size: 12px; }
.process-strip span { color: #737871; font-size: 10px; }

.flow-demo { display: none !important; }
.flow-demo-heading { padding-top: 18px; border-top: 1px solid rgba(32,37,31,.12); }
.flow-track { border-radius: 4px; background: rgba(255,255,255,.68); box-shadow: none; }
.flow-step { min-height: 560px; }
.flow-primary { border-radius: 3px; background: var(--rust); }
.flow-score { border-radius: 3px; background: #20251f; }
.flow-progress span { background: var(--rust); }

.decision-section { margin-bottom: 74px; }
.compact-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.compact-heading > span { color: #20251f; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.compact-heading h2 { margin: 0; color: #737871; font-size: 12px; font-weight: 400; }
.decision-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(32,37,31,.13); border-radius: 4px; background: rgba(255,255,255,.55); }
.decision-grid article { min-height: 215px; padding: 24px; border-right: 1px solid rgba(32,37,31,.11); }
.decision-grid article:last-child { border-right: 0; }
.decision-grid span { color: var(--rust); font: italic 13px Georgia, serif; }
.decision-card-title { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.decision-card-title strong { font-size: 12px; letter-spacing: .01em; }
.decision-grid h3 { margin: 5px 0 18px; font: 600 21px Georgia, "Songti SC", serif; }
.decision-grid p { min-height: 74px; margin: 0; color: #696f68; font-size: 10px; line-height: 1.75; }
.decision-grid b { display: inline-block; margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--rust); font-size: 9px; }

.demo-shell { border-radius: 4px; background: rgba(255,255,255,.66); box-shadow: none; }
.case-rail { background: #f1f0eb; }
.case-button.active { border-left: 3px solid var(--rust); }
.view-tabs { background: #20251f; }
.view-tabs button.active { box-shadow: inset 0 -2px var(--rust); }
.score-card { background: #20251f !important; }
.product-story { margin-top: 12px; border-top: 1px solid rgba(32,37,31,.12); }
.product-story span, .section-kicker, .report-grid article > span { color: var(--rust); }
.final-cta { border-radius: 4px; background: #20251f; }
.final-cta > a { color: #fff; background: var(--rust); }

.empty-stage { display: none !important; }

@media (max-width: 960px) {
    .hero-v2 { grid-template-columns: 1fr; gap: 34px; }
    .hero-v2-copy > p:not(.eyebrow) { max-width: 650px; }
    .hero-compare { min-height: 440px; }
    .process-strip { grid-template-columns: repeat(2, 1fr); }
    .process-strip article:nth-child(2) { border-right: 0; }
    .process-strip article:nth-child(-n+2) { border-bottom: 1px solid rgba(32,37,31,.11); }
    .decision-grid { grid-template-columns: repeat(2, 1fr); }
    .decision-grid article:nth-child(2) { border-right: 0; }
    .decision-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(32,37,31,.11); }
}

@media (max-width: 620px) {
    .landing-header { padding: 13px 12px; }
    .brand small { display: none; }
    .landing-nav { gap: 12px; }
    .landing-nav > a:not(.experience-link) { display: none; }
    .hero-v2 { padding: 46px 0 30px; }
    .hero-v2 h1 { font-size: clamp(30px, 7.6vw, 42px); }
    .hero-v2-actions { align-items: stretch; flex-direction: column; }
    .hero-v2-actions .orange-cta { min-width: 0; }
    .hero-compare { min-height: 330px; border-radius: 3px 16px 3px 3px; }
    .process-strip { margin-bottom: 54px; padding: 0; grid-template-columns: 1fr 1fr; }
    .process-strip article { min-height: 78px; padding: 15px 13px; grid-template-columns: 28px 1fr; }
    .process-strip article::after { display: none; }
    .decision-section { margin-bottom: 54px; }
    .compact-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .decision-grid { grid-template-columns: 1fr; }
    .decision-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(32,37,31,.11); }
    .decision-grid article:last-child { border-bottom: 0; }
    .decision-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(32,37,31,.11); }
    .decision-grid p { min-height: 0; }
}
