/* vertoKit — per-tool page persona styles.
   Each layout skeleton has a distinct hero + content rhythm so no two tool
   pages read as the same template. Purely presentational. */

/* ============ shared bits ============ */
.hp-kicker, .hc-kicker, .hpl-index { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--p-a); }
.faq-list details.faq-item { border-bottom: 1px solid var(--line); padding: 0; }
.faq-list details.faq-item:last-child { border-bottom: 0; }
.faq-list details.faq-item summary { list-style: none; cursor: pointer; }
.faq-list details.faq-item summary::-webkit-details-marker { display: none; }
.faq-list details.faq-item[open] .faq-chev { transform: rotate(45deg); }
.faq-chev { color: var(--p-a); font-size: 1.4rem; line-height: 1; font-weight: 400; }

/* ============ 1. EDITORIAL (calm original) ============ */
.hero-editorial .dh-intro { border-left-color: var(--p-a); }
.hero-editorial .dh-ic { background: var(--p-s) !important; }
.layout-editorial .deep-card:hover { border-color: var(--p-a); }

/* ============ 2. PROBLEM-FIRST ============ */
.hero-problem { background: linear-gradient(135deg, var(--p-s), #fff 70%); border-bottom: 3px solid var(--p-a); padding-bottom: 40px; }
.hero-problem .hp-kicker { display: inline-block; margin: 14px 0 20px; padding: 5px 12px; background: var(--p-a); color: #fff; border-radius: 20px; letter-spacing: .1em; }
.hp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hp-main .dh-ic { width: 72px; height: 72px; border-radius: 20px; background: #fff !important; box-shadow: var(--shadow); margin-bottom: 18px; }
.hp-main h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; font-weight: 800; line-height: 1.12; }
.hp-pain { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--p-a); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); }
.hp-pain-label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; color: var(--p-a); margin-bottom: 10px; }
.hp-pain p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text); }
.layout-problem .uses-cards h2, .layout-problem .steps-timeline h2 { color: var(--p-a); }
.layout-problem .use-ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.layout-problem .use-ul li { position: relative; padding: 12px 14px 12px 40px; background: var(--p-s); border-radius: 12px; font-size: .9rem; line-height: 1.5; }
.layout-problem .use-ul li::before { content: '\2192'; position: absolute; left: 16px; color: var(--p-a); font-weight: 800; }
.layout-problem .steps-timeline .hows { border-left: 2px solid var(--p-s); padding-left: 0; }
.layout-problem .steps-timeline .how-step { position: relative; padding-left: 36px; margin-bottom: 24px; }
.layout-problem .steps-timeline .how-step .hn { position: absolute; left: -18px; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--p-a); color: #fff; }

/* ============ 3. STEPS-DRIVEN ============ */
.hero-steps { padding-bottom: 10px; }
.hero-steps .hs-head { display: flex; gap: 20px; align-items: flex-start; }
.hero-steps .hs-head .dh-ic { border-radius: 22px; }
.hs-intro-bar { background: var(--p-s); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hs-intro-bar .container { display: flex; gap: 20px; align-items: baseline; padding-top: 18px; padding-bottom: 18px; }
.hs-intro-bar span { flex: none; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; color: var(--p-a); }
.hs-intro-bar p { margin: 0; font-size: 1rem; line-height: 1.65; color: #3a363f; }
.layout-steps .steps-feature { border-top: 4px solid var(--p-a); }
.layout-steps .steps-feature .hows { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.layout-steps .steps-feature .how-step { background: var(--p-s); border-radius: 14px; padding: 20px; }
.layout-steps .steps-feature .how-step .hn { background: var(--p-a); color: #fff; border-radius: 50%; }
.layout-steps .fit-compact { background: #f5f7fa; }

/* ============ 4. GUIDE / deep-read ============ */
.hero-guide { background: #fff; }
.hg-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 8px; }
.hg-copy .dh-ic { margin-bottom: 18px; }
.hg-side { position: relative; background: var(--p-s); border-radius: 18px; padding: 28px 30px 26px 46px; }
.hg-quote-mark { position: absolute; left: 18px; top: 12px; font-size: 3.4rem; line-height: 1; color: var(--p-a); opacity: .5; font-family: Georgia, serif; }
.hg-side p { margin: 0; font-size: .98rem; line-height: 1.7; font-style: italic; color: #3a363f; }
.layout-guide .fit-guide { background: linear-gradient(135deg, var(--p-s), #fff); }
.layout-guide .steps-guide .hows { counter-reset: none; }
.layout-guide .steps-guide .how-step { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.layout-guide .steps-guide .how-step:last-child { border-bottom: 0; }
.layout-guide .steps-guide .hn { flex: none; }
.layout-guide .tip-inline .tip-box { background: var(--p-s); border-left-color: var(--p-a); color: #3a363f; }

/* ============ 5. COMPARE / split ============ */
.hero-compare { padding-bottom: 20px; }
.hc-bar { display: flex; align-items: center; gap: 16px; margin: 16px 0 22px; }
.hc-tag { background: var(--p-a); color: #fff; font-size: .76rem; font-weight: 800; padding: 5px 12px; border-radius: 8px; }
.hc-rule { flex: 1; height: 1px; background: var(--line); }
.hc-head { display: flex; gap: 20px; align-items: flex-start; }
.layout-compare .fit-split .fit-grid { gap: 20px; }
.layout-compare .fit-split .fit-col { border-radius: 16px; padding: 22px 24px; }
.layout-compare .steps-columns .hows { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; }
.layout-compare .steps-columns .how-step { padding: 0 20px; border-right: 1px solid var(--line); }
.layout-compare .steps-columns .how-step:last-child { border-right: 0; }
.layout-compare .faq-rows .faq-item { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 14px 0; align-items: start; }
.layout-compare .faq-rows .faq-item summary { display: contents; }

/* ============ 6. PLAYBOOK ============ */
.hero-playbook { background: var(--footer); color: #fff; padding-bottom: 34px; }
.hero-playbook .breadcrumb a, .hero-playbook .breadcrumb { color: var(--footer-text); }
.hero-playbook .hpl-head { max-width: 760px; margin-top: 14px; }
.hero-playbook .hpl-index { display: inline-block; color: #fff; background: var(--p-a); padding: 5px 12px; border-radius: 6px; margin-bottom: 18px; }
.hero-playbook .dh-ic { background: var(--p-a) !important; color: #fff !important; margin-bottom: 18px; }
.hero-playbook h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin: 0 0 8px; font-weight: 800; }
.hero-playbook .tagline { color: #d9d2c8; }
.hero-playbook .dh-meta span { background: rgba(255,255,255,.1); color: #e8e2d9; }
.layout-playbook .play-lead { background: var(--p-s); border-radius: 16px; padding: 22px 26px; margin-bottom: 20px; }
.play-step-tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--p-a); }
.play-lead p { margin: 8px 0 0; font-size: 1.02rem; line-height: 1.7; color: #3a363f; }
.layout-playbook .steps-play { border-left: 4px solid var(--p-a); }
.layout-playbook .uses-numbered h2 { color: var(--p-a); }
.layout-playbook .uses-numbered .use-ul { counter-reset: u; list-style: none; padding: 0; margin: 0; }
.layout-playbook .uses-numbered .use-ul li { counter-increment: u; position: relative; padding: 12px 0 12px 46px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.layout-playbook .uses-numbered .use-ul li::before { content: counter(u); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 8px; background: var(--p-s); color: var(--p-a); display: grid; place-items: center; font-weight: 800; }
.layout-playbook .faq-play details.faq-item { background: #f5f7fa; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }

/* ============ caveat banner (problem / compare) ============ */
.caveat-banner { background: #fff8f4; border: 1px solid #f3d6c4; border-radius: 14px; padding: 18px 22px; margin-bottom: 20px; }
.caveat-banner strong { color: #9a4a20; font-size: .95rem; }
.caveat-banner ul { margin: 8px 0 0; padding-left: 20px; }
.caveat-banner li { font-size: .88rem; line-height: 1.6; color: #6b4a38; margin: 4px 0; }

/* ============ responsive ============ */
@media (max-width: 860px) {
  .hp-grid, .hg-inner { grid-template-columns: 1fr; gap: 22px; }
  .layout-problem .use-ul { grid-template-columns: 1fr; }
  .layout-steps .steps-feature .hows,
  .layout-compare .steps-columns .hows { grid-template-columns: 1fr; gap: 16px; }
  .layout-compare .steps-columns .how-step { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .layout-compare .faq-rows .faq-item { grid-template-columns: 1fr; gap: 4px; }
  .hs-intro-bar .container { flex-direction: column; gap: 6px; }
}

/* ============================================================
   Clean value blocks — replace the old generic filler cards.
   Only three things earn space below the tool: what it does,
   a real worked example (input -> output), and related tools.
   ============================================================ */
.deep-clean { padding: 6px 0 10px; }
.value-block { padding: 34px 0; border-bottom: 1px solid var(--line); }
.value-block:last-child { border-bottom: 0; }
.vb-head { margin-bottom: 16px; }
.vb-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--brand); background: var(--brand-soft); padding: 5px 11px; border-radius: 20px; margin-bottom: 12px; }
.vb-head h2, .vb-related h2 { font-size: 1.55rem; font-weight: 800; margin: 0; color: var(--text); letter-spacing: -.02em; }
.vb-text { font-size: 1.02rem; line-height: 1.75; color: #3c3a42; max-width: 820px; margin: 0; }

/* Real example: two panels + arrow */
.demo-grid { display: grid; grid-template-columns: minmax(0,1fr) 46px minmax(0,1.15fr); gap: 14px; align-items: stretch; margin-top: 22px; }
.demo-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; box-shadow: var(--shadow); }
.demo-card h3 { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 800; margin: 0 0 14px; color: var(--text); }
.demo-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.demo-in .demo-dot { background: #9aa0aa; }
.demo-out .demo-dot { background: var(--brand); }
.demo-rows { display: flex; flex-direction: column; gap: 8px; }
.demo-row { display: flex; flex-direction: column; gap: 3px; padding: 9px 11px; background: #f2f5f8; border: 1px solid var(--line); border-radius: 9px; }
.demo-k { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.demo-v { font-size: .9rem; color: var(--text); word-break: break-word; white-space: pre-wrap; }
.demo-arrow { display: grid; place-items: center; font-size: 1.6rem; color: var(--brand); font-weight: 800; }
.demo-result { margin: 0; padding: 13px 14px; background: var(--brand-soft); border: 1px solid #dbe4ee; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.6; color: var(--brand-ink); white-space: pre-wrap; word-break: break-word; max-height: 240px; overflow: auto; }

.vb-related { padding-bottom: 8px; }
.vb-related .rel-grid { margin-top: 18px; }
@media (max-width: 720px) {
  .demo-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .demo-arrow { transform: rotate(90deg); padding: 2px 0; }
  .vb-head h2, .vb-related h2 { font-size: 1.35rem; }
  .value-block { padding: 26px 0; }
}

/* ==================================================================
   EIGHT STRUCTURAL SKELETONS
   Each hero + workbench is a genuinely different layout architecture.
   Variables --p-a (accent), --p-s (soft), --p-d (deep) are set per page.
   ================================================================== */
.sk-wb.workbench { display: block; padding: 10px 0 22px; }
.sk-wb .wb-field textarea, .sk-wb .wb-field input[type=text], .sk-wb .wb-field input:not([type]),
.sk-wb .wb-field select, .sk-wb .wb-field input[type=number], .sk-wb .wb-field input[type=date],
.sk-wb .wb-field input[type=time], .sk-wb .wb-field input[type=datetime-local] {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: .92rem; background: #fff; color: var(--text); font-family: inherit;
}
.sk-wb .wb-field textarea { min-height: 110px; resize: vertical; }
.sk-wb .range-row { display: flex; align-items: center; gap: 12px; }
.sk-wb .range-row input { flex: 1; accent-color: var(--p-a); }
.sk-wb .range-row b { color: var(--p-a); min-width: 54px; text-align: right; font-size: .9rem; }
.sk-wb .check-row { display: flex !important; align-items: center; gap: 8px; font-weight: 600 !important; }
.sk-wb .dropzone { padding: 24px 16px; }
.sk-wb .result-body { min-height: 300px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 18px; overflow: auto; }
.sk-wb .result-body .rplaceholder { display: grid; place-items: center; min-height: 250px; color: var(--muted); text-align: center; gap: 10px; }
.sk-wb .result-empty-ic { width: 46px; height: 46px; opacity: .5; }
.sk-wb .result-note { font-size: .82rem; color: var(--muted); margin-top: 8px; min-height: 1em; }
.sk-wb .status-tip { font-size: .76rem; color: var(--muted); margin: 14px 0 0; }
.sk-wb .result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sk-wb .result-head h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.sk-wb .wb-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.sk-wb .wb-actions .btn { padding: 10px 16px; font-size: .86rem; }
.sk-wb .result-head-btns { display: flex; gap: 6px; }
.sk-wb .result-head-btns .btn { padding: 6px 11px; font-size: .78rem; }

/* deep content shared inner pieces */
.sk-deep .vb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sk-deep .vb-list li { position: relative; padding: 12px 16px 12px 40px; background: var(--p-s); border-radius: 10px; font-size: .92rem; line-height: 1.6; color: #38343c; }
.sk-deep .vb-list li::before { content: '\2192'; position: absolute; left: 16px; color: var(--p-a); font-weight: 800; }
.sk-deep .vb-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.sk-deep .vb-steps li { display: flex; gap: 16px; align-items: flex-start; }
.sk-deep .vb-step-n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--p-a); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.sk-deep .vb-steps b { font-size: 1rem; }
.sk-deep .vb-steps p { margin: 3px 0 0; color: #4a4650; line-height: 1.65; font-size: .94rem; }
.sk-deep .vb-eyebrow { color: var(--p-a); background: var(--p-s); }
.sk-deep .vb-faq .faq-item { border-bottom: 1px solid var(--line); }
.sk-deep .vb-faq .faq-item summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.sk-deep .vb-faq .faq-item summary::-webkit-details-marker { display: none; }
.sk-deep .vb-faq .faq-item p { margin: 0 0 14px; color: #4a4650; line-height: 1.7; }

/* ---------------- 1. STUDIO ---------------- */
.hero-studio { background: linear-gradient(180deg, var(--p-s), #fff 82%); }
.hero-studio .su-top { display: flex; gap: 20px; align-items: center; margin-top: 6px; }
.hero-studio .su-top .dh-ic { width: 74px; height: 74px; border-radius: 20px; background: #fff !important; box-shadow: var(--shadow); }
.hero-studio .dh-intro { border-left-color: var(--p-a); }
.wb-studio.wb-grid { display: grid; grid-template-columns: minmax(0,1fr) 40px minmax(0,1.1fr); gap: 0; align-items: stretch; }
.wb-studio .wb-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.wb-studio .wb-panel-tag { font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--p-a); margin-bottom: 8px; }
.wb-studio .wb-connector { display: grid; place-items: center; }
.wb-studio .wb-connector span { width: 100%; height: 2px; background: var(--p-s); position: relative; }
.wb-studio .wb-connector span::after { content: '\25B6'; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); color: var(--p-a); font-size: .9rem; }

/* ---------------- 2. CONSOLE ---------------- */
.hero-console { background: var(--p-d); color: #e8edf5; padding-bottom: 30px; }
.hero-console .breadcrumb, .hero-console .breadcrumb a { color: #9fb0c9; }
.hero-console .co-window { margin-top: 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.hero-console .co-bar { display: flex; gap: 7px; align-items: center; padding: 11px 15px; background: rgba(255,255,255,.06); }
.hero-console .co-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; }
.hero-console .co-bar span:nth-child(2) { background: #ffbd2e; }
.hero-console .co-bar span:nth-child(3) { background: #27c93f; }
.hero-console .co-bar em { margin-left: 10px; font-style: normal; font-family: ui-monospace, monospace; font-size: .78rem; color: #8fa0ba; }
.hero-console .co-body { padding: 22px 26px 26px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-console .co-prompt { color: #7ee0b8; font-size: .9rem; margin-bottom: 14px; }
.hero-console .co-prompt b { color: #7ee0b8; }
.hero-console .co-caret { display: inline-block; width: 8px; height: 16px; background: #7ee0b8; vertical-align: middle; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-console h1 { font-family: ui-monospace, monospace; font-size: clamp(1.5rem,3.4vw,2.2rem); margin: 0 0 6px; }
.hero-console .tagline { color: #b7c4d8; }
.hero-console .dh-meta span { background: rgba(255,255,255,.1); color: #c8d4e6; }
.hero-console .dh-intro { color: #c8d4e6; border-left-color: #7ee0b8; }
.wb-console.wb { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 0; border-radius: 14px; overflow: hidden; border: 1px solid #1b2740; box-shadow: 0 18px 44px rgba(16,24,40,.22); }
.wb-console .wbc-input, .wb-console .wbc-output { padding: 22px; min-width: 0; }
.wb-console .wbc-input { background: #f7f9fc; }
.wb-console .wbc-output { background: #0e1626; color: #dce6f5; }
.wb-console .wbc-label { font-family: ui-monospace, monospace; font-size: .76rem; font-weight: 800; letter-spacing: .1em; color: var(--p-a); margin-bottom: 16px; }
.wb-console .wbc-output .wbc-label { color: #7ee0b8; }
.wb-console .wbc-live { color: #7ee0b8; font-size: .68rem; background: rgba(126,224,184,.15); padding: 2px 8px; border-radius: 10px; margin-left: 8px; }
.wb-console .wbc-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.wb-console .wbc-actions .btn-primary { background: var(--p-d); }
.wb-console .wbc-output .result-body { background: #0a1120; border-color: #263450; color: #dce6f5; }
.wb-console .wbc-output .result-body pre { color: #dce6f5; }
.wb-console .wbc-output .result-body .rplaceholder { color: #7b8ba6; }
.wb-console .wbc-output .result-note, .wb-console .wbc-output .status-tip { color: #8fa0ba; }
.wb-console .cb-copy { margin-top: 10px; }

/* ---------------- 3. LAB ---------------- */
.hero-lab { background: linear-gradient(120deg, var(--p-s), #fff 60%); }
.hero-lab .la-kicker { font-family: ui-monospace, monospace; font-size: .76rem; font-weight: 800; color: var(--p-a); letter-spacing: .08em; margin: 12px 0 18px; }
.hero-lab .la-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 34px; align-items: center; }
.hero-lab .la-main .dh-ic { margin-bottom: 16px; }
.hero-lab .la-note { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--p-a); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.hero-lab .la-note span { font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 800; color: var(--p-a); letter-spacing: .1em; }
.hero-lab .la-note p { margin: 8px 0 0; line-height: 1.65; color: #403c46; font-size: .94rem; }
.wb-lab.wb { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 18px; align-items: start; }
.wb-lab .wbl-controls, .wb-lab .wbl-stage { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.wb-lab .wbl-controls { border-top: 4px solid var(--p-a); }
.wb-lab .wbl-stage { background: linear-gradient(180deg, #fff, var(--p-s)); }
.wb-lab .wbl-stamp { font-family: ui-monospace, monospace; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--p-a); margin-bottom: 10px; }

/* ---------------- 4. SCALE ---------------- */
.hero-scale { text-align: center; background: linear-gradient(180deg, var(--p-s), #fff 78%); }
.hero-scale .sc-wrap { max-width: 780px; margin: 0 auto; }
.hero-scale .dh-ic { margin: 0 auto 14px; width: 70px; height: 70px; border-radius: 50%; background: #fff !important; box-shadow: var(--shadow); }
.hero-scale .sc-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: var(--p-a); }
.hero-scale h1 { font-size: clamp(1.7rem,4vw,2.5rem); margin: 8px 0; }
.hero-scale .sc-rule { width: 80px; height: 3px; background: var(--p-a); margin: 16px auto; }
.hero-scale .dh-meta { justify-content: center; }
.hero-scale .dh-intro { border: 0; padding: 0; margin: 20px auto 0; }
.wb-scale.wb { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 18px; align-items: stretch; }
.wb-scale .wbs-fields, .wb-scale .wbs-readout { border-radius: 16px; padding: 24px; min-width: 0; }
.wb-scale .wbs-fields { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.wb-scale .wbs-readout { background: var(--p-d); color: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.wb-scale .wbs-label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; color: var(--p-a); margin-bottom: 16px; }
.wb-scale .wbs-readout .wbs-label { color: rgba(255,255,255,.7); }
.wb-scale .wbs-readout .result-body { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.wb-scale .wbs-readout .result-body pre { color: #fff; }
.wb-scale .wbs-readout .result-body .rplaceholder { color: rgba(255,255,255,.7); }
.wb-scale .wbs-readout .result-head h3, .wb-scale .wbs-readout .result-note, .wb-scale .wbs-readout .status-tip { color: rgba(255,255,255,.85); }
.wb-scale .wbs-readout .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.wb-scale .wbs-readout .wb-field label { color: #fff; }

/* ---------------- 5. PRESS ---------------- */
.hero-press { background: #fff; }
.hero-press .pr-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--p-a); margin: 12px 0 18px; }
.hero-press .pr-head .dh-ic { margin-bottom: 18px; }
.hero-press h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem,5vw,3.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.hero-press .pr-rule { display: block; width: 64px; height: 4px; background: var(--p-a); margin: 18px 0; }
.hero-press .tagline { font-family: Georgia, serif; font-size: 1.12rem; color: #4a4650; }
.hero-press .pr-pull { margin: 24px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--p-a); font-family: Georgia, serif; font-style: italic; font-size: 1.08rem; color: #524d57; max-width: 760px; }
.wb-press.wb { display: block; }
.wb-press .wbp-input { background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 0 0; padding: 26px; box-shadow: var(--shadow); }
.wb-press .wbp-tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--p-a); margin-bottom: 16px; }
.wb-press .wbp-divider { height: 34px; display: grid; place-items: center; position: relative; }
.wb-press .wbp-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.wb-press .wbp-divider span { position: relative; background: var(--p-s); color: var(--p-a); font-size: .7rem; font-weight: 800; letter-spacing: .14em; padding: 4px 16px; border-radius: 20px; }
.wb-press .wbp-proof { background: var(--p-s); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; padding: 26px; }

/* ---------------- 6. LOOM ---------------- */
.hero-loom { background: linear-gradient(180deg, var(--p-s), #fff 76%); }
.hero-loom .lo-band { display: flex; align-items: center; gap: 16px; margin: 12px 0 20px; }
.hero-loom .lo-idx { font-family: ui-monospace, monospace; font-size: .8rem; font-weight: 800; color: var(--p-a); background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 8px; }
.hero-loom .lo-rule { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--p-a) 0 8px, transparent 8px 14px); opacity: .5; }
.hero-loom .lo-cat { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.hero-loom .lo-head { display: flex; gap: 18px; align-items: center; }
.hero-loom .dh-intro { border-left-color: var(--p-a); }
.wb-loom.wb { display: grid; grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr); gap: 0; align-items: stretch; }
.wb-loom .wbl-track { background: #fff; border: 1px solid var(--line); padding: 24px; min-width: 0; }
.wb-loom .wblt-source { border-radius: 16px 0 0 16px; }
.wb-loom .wblt-result { border-radius: 0 16px 16px 0; background: var(--p-s); }
.wb-loom .wblt-label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; color: var(--p-a); margin-bottom: 16px; }
.wb-loom .wbl-seam { background: repeating-linear-gradient(0deg, var(--p-a) 0 6px, transparent 6px 12px); opacity: .35; }

/* ---------------- 7. ATLAS ---------------- */
.hero-atlas { background: linear-gradient(135deg, #fff, var(--p-s)); }
.hero-atlas .at-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; margin-top: 10px; }
.hero-atlas .at-coord { display: block; font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--p-a); margin: 14px 0 8px; }
.hero-atlas .at-badge { width: 92px; height: 92px; border-radius: 18px; border: 2px dashed var(--p-a); background: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; color: var(--p-a); font-size: 1rem; }
.hero-atlas .at-badge small { display: block; font-size: .62rem; letter-spacing: .14em; color: var(--muted); }
.hero-atlas .dh-intro { border-left-color: var(--p-a); }
.wb-atlas.wb { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 18px; align-items: start; }
.wb-atlas .wba-inspector, .wb-atlas .wba-viewport { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; min-width: 0; box-shadow: var(--shadow); }
.wb-atlas .wba-inspector { border-left: 4px solid var(--p-a); }
.wb-atlas .wba-viewport { background: linear-gradient(180deg, #fff, var(--p-s)); }
.wb-atlas .wba-label { font-family: ui-monospace, monospace; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--p-a); margin-bottom: 14px; }

/* ---------------- 8. ATELIER ---------------- */
.hero-atelier { background: #fff; }
.hero-atelier .at2-frame { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 30px; margin-top: 12px; background: linear-gradient(135deg, var(--p-s), #fff); }
.hero-atelier .at2-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--p-a); }
.hero-atelier .at2-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hero-atelier .at2-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hero-atelier .at2-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hero-atelier .at2-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hero-atelier .at2-label { display: block; font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--p-a); margin: 12px 0 6px; }
.wb-atelier.wb { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 18px; align-items: start; }
.wb-atelier .wba2-dock { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.wb-atelier .wba2-canvas { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: repeating-linear-gradient(45deg, #f2f5f8 0 12px, #e8edf3 12px 24px); min-width: 0; }
.wb-atelier .wba2-canvas-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.wb-atelier .wba2-canvas-head > span { font-family: ui-monospace, monospace; font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--p-a); }
.wb-atelier .wba2-canvas .result-head { margin: 0; }

/* deep rhythm per skeleton — a subtle structural signature */
.sk-deep.sk-console .value-block { border-left: 3px solid var(--p-d); padding-left: 20px; }
.sk-deep.sk-scale .vb-head h2 { font-family: Georgia, serif; }
.sk-deep.sk-lab .vb-list li { border-radius: 4px; border-left: 3px solid var(--p-a); background: var(--p-s); }
.sk-deep.sk-atelier .demo-card { background: repeating-linear-gradient(45deg,#fff 0 10px,#f2f5f8 10px 20px); }

/* responsive: collapse all skeletons to one column, keep results usable */
@media (max-width: 900px) {
  .wb-studio.wb-grid, .wb-console.wb, .wb-lab.wb, .wb-scale.wb, .wb-loom.wb, .wb-atlas.wb, .wb-atelier.wb { grid-template-columns: minmax(0,1fr) !important; }
  .wb-studio .wb-connector { height: 26px; }
  .wb-studio .wb-connector span { width: 2px; height: 100%; margin: 0 auto; }
  .wb-studio .wb-connector span::after { content: '\25BC'; right: 50%; top: auto; bottom: -4px; transform: translateX(50%); }
  .wb-loom .wbl-seam { height: 18px; background: repeating-linear-gradient(90deg, var(--p-a) 0 6px, transparent 6px 12px); }
  .wb-loom .wblt-source, .wb-loom .wblt-result { border-radius: 12px; }
  .hero-lab .la-grid, .hero-atlas .at-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-atlas .at-badge { width: 72px; height: 72px; }
}
@media (max-width: 560px) {
  .hero-studio .su-top, .hero-loom .lo-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-console .co-body { padding: 18px 16px; }
  .sk-wb .result-head { flex-direction: column; align-items: flex-start; }
  .hero-atelier .at2-frame { padding: 22px 16px; }
}
