/* Product and reusable walkthrough sections; scoped away from legacy manga. */
.product-page {
  background:
    radial-gradient(circle, rgba(35, 30, 23, .07) .6px, transparent .9px) 0 0 / 5px 5px,
    #e5e1d8;
  color: #171a16;
}
.process-container { max-width: 1200px; margin: auto; }
.process-intro { margin-bottom: 30px; }
.process-eyebrow { font: 12px/1.6 Consolas, monospace; letter-spacing: .08em; color: #dd252a; text-transform: uppercase; }
.process-intro h1, .process-intro h2 { font: 700 clamp(30px, 4vw, 50px)/1.08 Arial, sans-serif; letter-spacing: -.045em; margin: 12px 0 18px; }
.process-intro h1 span { color: #dd252a; }
.process-intro > p:last-child { color: #62675d; font-size: 16px; line-height: 1.6; }
.process-home {
 position: relative;
 isolation: isolate;
 background:
  radial-gradient(circle at 18% 22%, rgba(255,255,255,.16) 1px, transparent 2px) 0 0 / 28px 28px,
  linear-gradient(135deg, #030303 0%, #0c0c0c 46%, #020202 100%);
 padding: clamp(28px, 5vw, 70px);
}
.process-home::before {
 content: ""; position: absolute; inset: 0;
 background: url('/assets/speedlines.webp') center / cover no-repeat;
 opacity: .16; mix-blend-mode: screen; pointer-events: none;
}
.process-home .process-container { position: relative; z-index: 1; }
.process-frame { display: block; width: 100%; border: 0; border-radius: 10px; background: #f7f7f2; min-height: 0; }
.process-link { display: inline-block; font-size: 13px; font-weight: 700; margin-top: 26px; line-height: 1.6; }
.process-link:hover { color: #dd252a; text-decoration: underline; }
.process-home > .process-container > .process-link { background: #f7f7f2; padding: 12px 18px; }
.product-tour { padding: 48px clamp(20px, 5vw, 70px) 24px; }
.product-chapters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; padding: 24px; border-block: 1px solid #dce0d5; font: 12px/1.6 Consolas, monospace; }
.product-chapters a:hover { color: #dd252a; }
.product-steps { max-width: 1080px; padding: 0 28px; margin: auto; }
.product-step { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; border-bottom: 1px solid #dce0d5; align-items: center; scroll-margin-top: 110px; }
.step-copy h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -.045em; margin: 18px 0; max-width: 370px; }
.step-copy > p:not(.process-eyebrow), .step-copy li { color: #62675d; font-size: 14px; line-height: 1.7; }
.step-copy ul { list-style: none; padding: 0; margin: 22px 0; }
.step-copy li { padding-left: 22px; position: relative; margin: 10px 0; }
.step-copy li::before { content: '✓'; position: absolute; left: 0; color: #33734a; }
.step-panel { padding: 26px; border: 1px solid #dce0d5; background: #eff0e9; border-radius: 5px; box-shadow: 0 15px 20px -20px #374b2c; min-width: 0; }
.step-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #d4d9cc; }
.step-panel h3 { font-size: 16px; margin: 0; letter-spacing: -.025em; }
.step-panel-heading > span { font-size: 9px; line-height: 1.5; color: #62675d; background: #fff; border: 1px solid #dce0d5; padding: 6px 9px; }
.step-panel dt { color: #62675d; font: 700 10px/1.6 Consolas, monospace; letter-spacing: .07em; margin: 24px 0 8px; }
.step-panel dd { margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.step-note { background: #edf4e9; border: 1px solid #d1dfc7; border-radius: 3px; padding: 16px; margin: 24px 0 0; font-size: 13px; line-height: 1.6; }
.product-outro { text-align: center; padding: 70px 24px; }
.product-outro h2 { font-size: 32px; letter-spacing: -.04em; }
.product-outro p { color: #62675d; line-height: 1.6; }
.product-cta { display: inline-block; padding: 16px 26px; background: #dd252a; color: white; border-radius: 4px; font-weight: 700; margin-top: 12px; }
.product-page a:focus-visible, .process-home a:focus-visible { outline: 3px solid #dd252a; outline-offset: 4px; }
@media (max-width: 760px) {
 .product-step { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
 .product-tour { padding-top: 30px; }
 .process-home { padding: 28px 14px; }
 .step-panel { padding: 20px; }
 .product-chapters { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* API request examples match the dark endpoint reference panel. */
.api-request { margin-top: 24px; border: 1px solid #39432e; border-radius: 5px; overflow: hidden; background: #1b2215; color: #dce5d0; font: 13px/1.8 Consolas, "Liberation Mono", monospace; }
.api-request-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #39432e; color: #b6c3a4; }
.api-request button { flex-shrink: 0; font: inherit; font-size: 12px; background: transparent; color: #dce5d0; border: 1px solid #5b6949; border-radius: 2px; padding: 7px 10px; cursor: pointer; }
.api-request button:hover { background: #303b25; }
.api-request button:focus-visible { outline: 3px solid #b6c3a4; outline-offset: -4px; }
.api-request pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; padding: 22px 20px; font: inherit; }
.api-request code { font: inherit; user-select: text; }
.api-request-status { display: block; padding: 0 20px; color: #b6c3a4; font-size: 11px; }
.api-request-status:not(:empty) { padding-bottom: 16px; }
.api-request-note { color: #62675d; font-size: 12px; line-height: 1.6; }
