.methodology-page { color: var(--promo-ink); padding-bottom: 3rem; }
.methodology-page .content-section { padding-block: clamp(2rem, 5vw, 4rem); border: 0; background: transparent; }
.methodology-page .content-section__inner { padding-block: 0; background: transparent; border: 0; box-shadow: none; }
.methodology-page #intro { padding-bottom: 0; }
.methodology-page #intro .section-subtitle { margin-bottom: 0; }
.methodology-page :is(h1, h2, h3, h4) { color: var(--promo-ink); }
.methodology-page h1 { color: var(--promo-blue); font-size: clamp(2.25rem, 5vw, 3.5rem); }
.methodology-page h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; }
.methodology-page :is(.section-subtitle, .markdown-content, .feature-item p) { color: #cbd5e1; }
.methodology-page .markdown-content strong { color: var(--promo-ink); }
.methodology-page .section-kicker { display: none; }
.methodology-page .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.methodology-page .feature-item { border: 1px solid var(--promo-border); border-radius: 1.25rem; background: var(--promo-surface); padding: 1.5rem; }
.methodology-page .feature-item h3 { font-size: 1.2rem; line-height: 1.45; }
.methodology-page .feature-item p { font-size: 1rem; line-height: 1.75; }
.methodology-page .feature-item__content { padding: 0; }
.methodology-page #intro .section-body { max-width: none; margin-top: 1.25rem; }
.method-process { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.method-process > .content-section { min-width: 0; padding: 0; }
.method-process .content-section__inner { width: 100%; padding: 0; }
.method-process .content-section__layout { display: block; }
.methodology-page #process .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: method-step; }
.methodology-page #process { padding-bottom: 1.25rem; }
.methodology-page #process .feature-item { counter-increment: method-step; border-top-color: var(--step-color, #38bdf8); }
.methodology-page #process .feature-item::before { content: '0' counter(method-step); display: inline-block; margin-bottom: 1rem; padding: 0.3rem 0.6rem; border: 1px solid currentColor; border-radius: 0.7rem; color: var(--step-color, #38bdf8); font-weight: 800; }
.methodology-page #process .feature-item:nth-child(2) { --step-color: #fcbc27; }
.methodology-page #process .feature-item:nth-child(3) { --step-color: #a98bff; }
.method-afterword { color: #cbd5e1; line-height: 1.75; }
.method-correction-visual { margin-block: 0 1rem; padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--promo-border); border-top-color: var(--promo-gold); border-radius: 1.25rem; background: var(--promo-surface); color: #cbd5e1; }
.method-correction-visual h3 { margin: 0 0 0.65rem; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.method-correction-visual figcaption > p { margin: 0 0 1rem; }
.method-correction-visual__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.25rem; }
.method-correction-visual__panel { min-width: 0; padding: clamp(0.85rem, 2vw, 1.5rem); border: 1px solid #344866; border-radius: 1rem; background: #101b2d; }
.method-correction-visual__panel h4 { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.5; }
.method-correction-visual__panel > p { margin: 1rem 0 0; color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; }
.method-correction-visual__monitor, .method-correction-visual .method-perception__brain { display: block; width: 100%; height: auto; max-width: 440px; max-height: none; aspect-ratio: 440 / 300; margin: 0 auto; }
.method-correction-visual__device { fill: #16243a; stroke: #7994bb; stroke-width: 2; }
.method-correction-visual.is-animated .method-perception__impulse { animation: method-perception-flow 6s linear infinite; }
.method-correction-visual.is-animated .method-perception__nodes { animation: method-perception-nodes 6s ease-in-out infinite; }
.method-correction-visual__explanation { margin: 1.25rem 0 0; color: #cbd5e1; font-size: 1rem; line-height: 1.75; }
.method-correction-visual__note { margin: 1.25rem 0 0; color: #b8c6d9; font-size: 0.85rem; line-height: 1.7; }
.method-session-devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-block: -1rem 1.5rem; }
.method-session-devices__card { min-width: 0; margin: 0; padding: 1.25rem; border: 1px solid var(--promo-border); border-radius: 1rem; background: var(--promo-surface); text-align: center; }
.method-session-devices__card svg { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto 1rem; fill: #16243a; stroke: #88a9d4; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.method-session-devices__card .method-session-devices__screen { fill: #344f7b; stroke: #6c92c7; }
.method-session-devices__card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.method-session-devices__card p { margin: 0; color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; }
.methodology-page #method_documents .content-section__inner { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--promo-border); border-radius: 1.25rem; background: var(--promo-surface); }
.methodology-page #method_documents .section-body { max-width: none; }
.methodology-page #method_documents .text-link { color: var(--promo-blue); }
@media (max-width: 48rem) { .method-correction-visual__grid, .method-session-devices { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
    .method-correction-visual.is-animated :is(.method-perception__impulse, .method-perception__nodes) { animation: none; }
}
.method-demo { min-width: 0; width: 100%; margin: 0 0 2rem; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--promo-border); border-top-color: var(--promo-gold); border-radius: 1.25rem; background: var(--promo-surface); }
.method-demo h2 { margin: 0.8rem 0 0.4rem; font-size: 1.2rem; line-height: 1.4; }
.method-demo > p { color: #cbd5e1; font-size: 0.95rem; }
.method-demo .method-demo__badge { display: inline-block; margin: 0; padding: 0.3rem 0.65rem; border: 1px solid #786026; border-radius: 2rem; color: var(--promo-gold); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.method-demo__screen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); padding: 1rem; margin-top: 1rem; border-radius: 1rem; background: #0b1220; }
.method-demo__work { min-width: 0; }
html[data-js="true"] .method-demo[data-state="idle"] .method-demo__screen { opacity: 0.3; pointer-events: none; user-select: none; }
.method-demo .method-demo__start { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 0.75rem; padding: 0.65rem 1.15rem; border: 1px solid #5fa8ff; border-radius: 0.65rem; background: #2563eb; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.method-demo__phase { min-height: 2.8em; margin: 0 0 0.75rem; color: #f8fafc; font-size: 0.85rem; font-weight: 700; }
.method-demo__image { position: relative; overflow: hidden; border-radius: 0.75rem; aspect-ratio: 16 / 9; }
.method-demo__image :is(img, canvas) { display: block; width: 100%; height: 100%; object-fit: contain; }
.method-demo [hidden] { display: none; }
.method-demo__toolbar { display: grid; width: 100%; max-width: 540px; grid-template-columns: minmax(0, 1fr) 116px; align-items: start; gap: 12px; margin: 1rem auto 0; }
.method-demo__palette { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, 40px); gap: 8px; }
.method-demo__color { min-width: 0; min-height: 40px; height: 40px; padding: 4px 0; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; background: var(--color-button-background); color: var(--color-button-ink, #fff); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 20px rgba(0,0,0,0.25); font: inherit; font-weight: 700; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
.method-demo__color[data-demo-delta="1"] { grid-row: 1; }
.method-demo__color[data-demo-delta="-1"] { grid-row: 2; }
.method-demo__color[data-demo-component="0"] { grid-column: 1; }
.method-demo__color[data-demo-component="1"] { grid-column: 2; }
.method-demo__color[data-demo-component="2"] { grid-column: 3; }
.method-demo__color[data-demo-component="3"] { grid-column: 4; }
.method-demo__color[data-demo-component="4"] { grid-column: 5; }
.method-demo__color[data-demo-component="5"] { grid-column: 6; }
.method-demo__color[data-demo-color="0"] { --color-button-background: linear-gradient(135deg, #991b1b, #ef4444); }
.method-demo__color[data-demo-color="1"] { --color-button-background: linear-gradient(135deg, #a16207, #facc15); --color-button-ink: #111; }
.method-demo__color[data-demo-color="2"] { --color-button-background: linear-gradient(135deg, #166534, #22c55e); }
.method-demo__color[data-demo-color="3"] { --color-button-background: linear-gradient(135deg, #0f766e, #22d3ee); --color-button-ink: #082f49; }
.method-demo__color[data-demo-color="4"] { --color-button-background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.method-demo__color[data-demo-color="5"] { --color-button-background: linear-gradient(135deg, #a21caf, #e879f9); }
.method-demo .method-demo__color:not(:disabled):hover { transform: translateY(-1px); filter: brightness(1.06); }
.method-demo .method-demo__color:not(:disabled):active, .method-demo .method-demo__color.is-held { transform: scale(0.98); }
.method-demo .method-demo__color:disabled { opacity: 0.7; filter: grayscale(0.15); }
.method-demo__mobile { display: none; }
.method-demo__channels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.method-demo__channels .is-active { box-shadow: 0 0 0 2px rgba(255,255,255,0.95), 0 0 24px rgba(255,255,255,0.16), inset 0 1px 0 rgba(255,255,255,0.24); }
.method-demo__comparison { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.method-demo__comparison::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid rgba(255, 255, 255, 0.85); }
.method-demo__comparison span { align-self: start; justify-self: center; max-width: calc(100% - 0.5rem); margin-top: 0.5rem; padding: 0.25rem 0.45rem; border-radius: 0.35rem; background: rgba(7, 17, 31, 0.82); color: #f8fafc; font-size: 0.75rem; text-align: center; }
.method-demo__controls { display: grid; grid-template-rows: repeat(2, 40px); gap: 8px; }
.method-demo__controls button { min-width: 0; min-height: 40px; height: 40px; padding: 0.35rem 0.5rem; border: 1px solid #475569; border-radius: 0.5rem; color: #f8fafc; background: #19263e; font: inherit; font-size: 0.85rem; white-space: nowrap; cursor: pointer; }
.method-demo button:not(.method-demo__color):not(:disabled):hover { background: #253857; }
.method-demo button:disabled { opacity: 0.45; cursor: default; }
.method-demo__fallback { margin-block: 1rem 0; color: #cbd5e1; font-size: 0.9rem; }
.method-demo .method-demo__note { margin-bottom: 0; font-size: 0.85rem; line-height: 1.65; }
.method-perception { min-width: 0; padding: 1rem; border: 1px solid var(--promo-border); border-radius: 0.85rem; background: #131e31; }
.method-perception h3 { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.method-perception__intro { margin: 0.5rem 0 0; color: #cbd5e1; font-size: 0.85rem; line-height: 1.6; }
.method-perception__brain { display: block; width: 100%; max-width: 440px; height: auto; max-height: 240px; margin: 0.25rem auto; }
.method-perception__outline { fill: #1b2c46; stroke: #6d89b2; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.method-perception__outline path:last-child { fill: none; opacity: 0.65; }
.method-perception__links { fill: none; stroke: #6e93c5; stroke-width: 1.2; opacity: 0.6; }
.method-perception__nodes { fill: #8caff0; stroke: #192b48; stroke-width: 2; }
.method-perception__impulse { fill: none; stroke: #fcbc27; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 91; opacity: 0; }
.method-perception__stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin: 0.5rem 0 0; padding: 0; list-style: none; counter-reset: perception-stage; }
.method-perception__stages li { counter-increment: perception-stage; padding: 0.45rem; border: 1px solid #344866; border-radius: 0.4rem; color: #cbd5e1; font-size: 0.8rem; line-height: 1.5; }
.method-perception__stages li::before { content: counter(perception-stage) '. '; color: #94baff; }
.method-perception__note { margin: 0.85rem 0 0; color: #cbd5e1; font-size: 0.8rem; line-height: 1.65; }
.method-perception.is-active .method-perception__impulse { animation: method-perception-flow 1.2s linear infinite; }
.method-perception.is-active .method-perception__nodes { animation: method-perception-nodes 1.2s ease-in-out infinite; }
.method-perception.is-active .method-perception__stages li { animation: method-perception-stage 1.2s ease-in-out var(--stage-delay, 0s) infinite; }
.method-perception__stages li:nth-child(2) { --stage-delay: 0.25s; }
.method-perception__stages li:nth-child(3) { --stage-delay: 0.5s; }
.method-perception__stages li:nth-child(4) { --stage-delay: 0.75s; }
.methodology-page #perception .section-body { max-width: none; }
.methodology-page #perception .markdown-content > p:last-child { color: #b8c6d9; font-size: 0.9rem; line-height: 1.7; }
@keyframes method-perception-flow { from { stroke-dashoffset: 10; opacity: 0.9; } to { stroke-dashoffset: -90; opacity: 0.9; } }
@keyframes method-perception-nodes { 0%, 100% { fill: #8caff0; } 50% { fill: #d4bdff; } }
@keyframes method-perception-stage { 0%, 40%, 100% { background: transparent; } 20% { background: #263d5d; border-color: #799dd1; } }
@media (prefers-reduced-motion: reduce) {
    .method-perception.is-active :is(.method-perception__impulse, .method-perception__nodes, .method-perception__stages li) { animation: none; }
    .method-perception.is-active .method-perception__nodes { fill: #d4bdff; }
    .method-perception.is-active .method-perception__stages li { border-color: #799dd1; }
}
.methodology-page :is(a, button, input):focus-visible { outline: 3px solid var(--promo-blue); outline-offset: 4px; }
.method-illustration { margin-block: 0 2rem; }
.method-illustration button { display: block; width: 100%; padding: 0; border: 1px solid var(--promo-border); border-radius: 1rem; overflow: hidden; background: #080e1b; cursor: zoom-in; }
.method-illustration img { display: block; width: 100%; height: auto; }
.method-illustration figcaption { margin-top: 0.75rem; color: #cbd5e1; font-size: 0.85rem; text-align: center; }
@media (max-width: 68rem) { .method-demo__screen { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 64rem) { .methodology-page #process .feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
    .method-demo__toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "channels channels channels" "less more done" "reset reset reset"; gap: 10px; }
    .method-demo__palette { display: none; }
    .method-demo__color, .method-demo__controls button { min-height: 44px; height: 44px; }
    .method-demo__mobile, .method-demo__controls { display: contents; }
    .method-demo__channels { grid-area: channels; }
    .method-demo__color[data-demo-mobile-delta="-1"] { grid-area: less; }
    .method-demo__color[data-demo-mobile-delta="1"] { grid-area: more; }
    .method-demo__controls [data-demo-done] { grid-area: done; }
    .method-demo__controls [data-demo-reset] { grid-area: reset; }
}
@media (max-width: 40rem) { .methodology-page .feature-grid { grid-template-columns: 1fr; } .method-demo__channels { gap: 6px; } .method-demo__color { font-size: 15px; } .method-perception__stages { grid-template-columns: 1fr; } }
