.b01-order-flow {
  --eight-b01-ink: #20211f;
  --eight-b01-muted: #62645f;
  --eight-b01-base: #f5f5f2;
  --eight-b01-card: #fff;
  --eight-b01-line: #d7d7d1;
  --eight-b01-accent: #e96631;
  --eight-b01-marker: #f8dfa0;
}

.b01-order-flow.eight-b01-shell { background: var(--eight-b01-base); color: var(--eight-b01-ink); }
.b01-order-flow .eight-b01__container { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.b01-order-flow .eight-b01__hero { padding: clamp(7rem, 11vw, 10rem) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(135deg, #efeee8, #fff 70%); border-bottom: 1px solid var(--eight-b01-line); }
.b01-order-flow .eight-b01__hero h1 { max-width: 19ch; margin: .75rem 0 1rem; font-size: clamp(2rem, 5vw, 4.35rem); line-height: 1.16; letter-spacing: -.035em; }
.b01-order-flow .eight-b01__eyebrow { color: var(--eight-b01-accent); font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
.b01-order-flow .eight-b01__meta { color: var(--eight-b01-muted); }
.b01-order-flow .eight-b01__layout { padding: clamp(2.5rem, 6vw, 5.5rem) 0 8rem; }
.b01-order-flow .eight-b01__content { max-width: 820px; margin-inline: auto; font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.92; }
.b01-order-flow .eight-b01__content > p:first-child { margin-top: 0; font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; line-height: 1.8; }
.b01-order-flow .eight-b01__content h2 { margin: 5rem 0 1.4rem; padding-top: 1rem; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.35; border-top: 1px solid var(--eight-b01-line); }
.b01-order-flow .eight-b01__content h3 { margin: 2.5rem 0 1rem; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.b01-order-flow .eight-b01__content p + p { margin-top: 1.2rem; }
.b01-order-flow .eight-b01__content a { color: #9d3e1e; text-decoration-thickness: .09em; text-underline-offset: .2em; }
.b01-order-flow .eight-marker { padding: .06em .18em; background: linear-gradient(transparent 55%, var(--eight-b01-marker) 55%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.b01-order-flow .eight-underline { text-decoration: underline; text-decoration-color: var(--eight-b01-accent); text-decoration-thickness: .16em; text-underline-offset: .22em; }
.b01-order-flow .eight-wavy { text-decoration: underline wavy #bf5530; text-decoration-thickness: .1em; text-underline-offset: .22em; }
.b01-order-flow .eight-note-box { margin: 2rem 0; padding: 1.5rem; background: #fff8e8; border: 1px solid #ead4a0; border-left: 5px solid var(--eight-b01-accent); border-radius: 10px; }
.b01-order-flow .eight-note-box strong { display: block; margin-bottom: .35rem; }
.b01-order-flow .eight-state-table { width: 100%; margin: 1.75rem 0; border-collapse: collapse; background: var(--eight-b01-card); font-size: .95rem; }
.b01-order-flow .eight-state-table th,
.b01-order-flow .eight-state-table td { padding: .85rem .9rem; border: 1px solid var(--eight-b01-line); vertical-align: top; }
.b01-order-flow .eight-state-table th { background: #eaeae5; text-align: left; }
.b01-order-flow .eight-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.b01-order-flow .eight-info-card { padding: 1.2rem; background: var(--eight-b01-card); border: 1px solid var(--eight-b01-line); border-radius: 12px; box-shadow: 0 8px 24px rgb(32 33 31 / 5%); }
.b01-order-flow .eight-info-card strong { display: block; margin-bottom: .35rem; }
.b01-order-flow .eight-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 1.75rem 0 2.5rem; padding: 0; list-style: none; counter-reset: flow; }
.b01-order-flow .eight-flow li { position: relative; min-height: 7.5rem; padding: 1.2rem 1rem; background: var(--eight-b01-card); border: 1px solid var(--eight-b01-line); border-radius: 12px; }
.b01-order-flow .eight-flow li::before { counter-increment: flow; content: "0" counter(flow); display: block; color: var(--eight-b01-accent); font-weight: 800; font-size: .78rem; }
.b01-order-flow .eight-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -1.55rem; top: 2.6rem; color: var(--eight-b01-accent); font-size: 1.2rem; }
.b01-order-flow .eight-reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.b01-order-flow .eight-reference-card { display: flex; flex-direction: column; min-height: 10rem; padding: 1.3rem; background: #fff; border: 1px solid var(--eight-b01-line); border-radius: 12px; text-decoration: none; }
.b01-order-flow .eight-reference-card span { margin-bottom: .55rem; color: var(--eight-b01-accent); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.b01-order-flow .eight-reference-card strong { color: var(--eight-b01-ink); }
.b01-order-flow .eight-reference-card small { margin-top: auto; padding-top: 1rem; color: var(--eight-b01-muted); }
.b01-order-flow .eight-b01-cta { margin: 4rem 0 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: #262724; color: #fff; border-radius: 16px; }
.b01-order-flow .eight-b01-cta h2 { margin: 0 0 1rem; padding: 0; border: 0; color: #fff; }
.b01-order-flow .eight-b01-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.b01-order-flow .eight-b01-cta__actions a { display: inline-flex; align-items: center; min-height: 48px; padding: .75rem 1rem; border-radius: 999px; background: #fff; color: #222; font-weight: 800; text-decoration: none; }
.b01-order-flow .eight-b01-cta__actions a:first-child { background: var(--eight-b01-accent); color: #fff; }

@media (max-width: 767px) {
  .b01-order-flow .eight-b01__container { width: min(100% - 28px, 820px); }
  .b01-order-flow .eight-b01__hero { padding-top: 6.75rem; }
  .b01-order-flow .eight-b01__content h2 { margin-top: 3.75rem; }
  .b01-order-flow .eight-card-grid,
  .b01-order-flow .eight-reference-grid { grid-template-columns: 1fr; }
  .b01-order-flow .eight-state-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .b01-order-flow .eight-flow { grid-template-columns: 1fr; gap: .8rem; }
  .b01-order-flow .eight-flow li { min-height: auto; }
  .b01-order-flow .eight-flow li:not(:last-child)::after { content: "↓"; right: 1rem; top: auto; bottom: -.95rem; z-index: 1; }
  .b01-order-flow .eight-b01-cta__actions { flex-direction: column; }
  .b01-order-flow .eight-b01-cta__actions a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .b01-order-flow * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
