.concept-b {
  --b-line: var(--muted);
  background: var(--ink);
  color: var(--bg);
}

.concept-b .skip-link {
  background: var(--primary);
  color: var(--ink);
}

.b-system-line {
  height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--bg);
  background: var(--primary);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.b-system-line .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.b-system-line span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.b-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: currentColor;
}

.b-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--b-line);
  background: var(--ink);
}

.b-header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.b-wordmark {
  width: max-content;
  font-family: "Black Han Sans", sans-serif;
  font-size: 22px;
  text-decoration: none;
}

.b-wordmark span {
  margin-left: 8px;
  color: var(--primary);
  font-family: "Space Mono", monospace;
  font-size: 10px;
}

.b-nav {
  display: flex;
  gap: 28px;
}

.b-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.b-nav a:hover {
  color: var(--primary);
}

.b-header-cta {
  justify-self: end;
  border-color: var(--bg);
  font-family: "Space Mono", monospace;
  font-size: 10px;
}

.b-header .icon-button {
  justify-self: end;
  border-color: var(--bg);
  background: transparent;
  color: var(--bg);
}

.b-mobile-nav {
  border-color: var(--bg);
  background: var(--ink);
  color: var(--bg);
}

.b-mobile-nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding-inline: 20px;
  border-bottom: 1px solid var(--b-line);
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.b-hero {
  min-height: max(700px, calc(100svh - 160px));
  padding-block: 62px 24px;
  border-bottom: 4px solid var(--primary);
}

.b-hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 22px;
}

.b-hero-copy,
.b-program-monitor {
  min-height: 590px;
  border: 3px solid var(--bg);
}

.b-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.b-panel-meta,
.b-monitor-bar,
.b-work-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.b-ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.b-problem {
  margin: 34px 0 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.b-hero h1 {
  margin-bottom: 25px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 72px;
  font-weight: 400;
  line-height: .93;
  word-break: keep-all;
}

.b-hero h1 mark {
  padding-inline: 6px;
  background: var(--primary);
  color: var(--ink);
}

.b-hero-copy > p:not(.b-problem) {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--bg);
  font-size: 17px;
  line-height: 1.7;
}

.b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.b-hero-actions .site-button--ghost {
  border-color: var(--bg);
}

.b-input-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--b-line);
}

.b-input-summary small,
.b-input-summary strong {
  display: block;
}

.b-input-summary small {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 8px;
}

.b-input-summary strong {
  font-size: 13px;
}

.b-program-monitor {
  display: grid;
  grid-template-rows: 46px 1fr auto;
  overflow: hidden;
  background: var(--ink);
}

.b-monitor-bar {
  padding: 0 16px;
  border-bottom: 1px solid var(--b-line);
}

.b-monitor-screen {
  position: relative;
  margin: 16px 16px 0;
  overflow: hidden;
  border: 1px solid var(--b-line);
}

.b-monitor-screen img {
  aspect-ratio: 16 / 9;
}

.b-safe-area {
  position: absolute;
  inset: 9%;
  border: 1px solid var(--bg);
  pointer-events: none;
}

.b-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56%;
  width: 2px;
  background: var(--primary);
}

.b-playhead b {
  position: absolute;
  top: 12px;
  left: 8px;
  padding: 7px;
  background: var(--primary);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 8px;
  white-space: nowrap;
}

.b-timeline {
  display: grid;
  gap: 6px;
  padding: 13px 16px 16px;
}

.b-timeline > div {
  height: 23px;
  display: grid;
  grid-template-columns: 18% 44% 1fr;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--b-line);
}

.b-timeline span {
  background: var(--muted);
}

.b-timeline .is-lime {
  background: var(--primary);
}

.b-timeline .is-pink {
  background: var(--accent);
}

.b-timeline .b-audio-track {
  height: 17px;
  grid-template-columns: 1fr;
}

.b-audio-track span {
  background: var(--bg);
  opacity: .55;
  transform: scaleY(.28);
}

.b-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 21px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.b-flow {
  padding-block: 104px 112px;
  background: var(--bg);
  color: var(--ink);
}

.b-flow-head,
.b-output-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 44px;
  border-bottom: 4px solid var(--line);
}

.b-label {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 9px 11px;
  border: 2px solid currentColor;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.b-flow h2,
.b-output h2,
.b-work h2,
.b-about h2,
.b-contact h2 {
  margin-bottom: 0;
  font-family: "Black Han Sans", sans-serif;
  font-size: 62px;
  font-weight: 400;
  line-height: .98;
  word-break: keep-all;
}

.b-flow-head > p,
.b-output-head > p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.7;
}

.b-flow-console {
  display: grid;
  grid-template-columns: 300px 1fr;
  margin-top: 30px;
  border: 3px solid var(--line);
}

.b-step-tabs {
  display: grid;
  align-content: start;
  border-right: 3px solid var(--line);
  background: var(--ink);
}

.b-step-tab {
  min-height: 74px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--b-line);
  background: transparent;
  color: var(--bg);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
}

.b-step-tab span {
  color: var(--muted);
}

.b-step-tab.is-active {
  background: var(--primary);
  color: var(--ink);
}

.b-step-tab.is-active span {
  color: var(--ink);
}

.b-step-display {
  min-width: 0;
  background: var(--surface);
}

.b-step-panel {
  min-height: 410px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 42px;
}

.b-step-panel[hidden] {
  display: none;
}

.b-panel-id {
  display: block;
  margin-bottom: 28px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.b-step-panel h3 {
  margin-bottom: 20px;
  font-size: 31px;
  line-height: 1.25;
}

.b-step-panel p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.7;
}

.b-brief-board,
.b-feedback-board,
.b-output-board {
  display: grid;
  border: 3px solid var(--line);
}

.b-brief-board span,
.b-feedback-board span,
.b-output-board span {
  min-height: 70px;
  display: grid;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 2px solid var(--line);
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.b-brief-board span:last-child,
.b-feedback-board span:last-child,
.b-output-board span:last-child {
  border-bottom: 0;
}

.b-brief-board b {
  margin-top: 7px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
}

.b-brief-board span:nth-child(2) {
  background: var(--accent);
}

.b-format-map {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1.5fr 40px .65fr .8fr;
  align-items: end;
  gap: 12px;
  padding: 20px;
  border: 3px solid var(--line);
}

.b-format-map span {
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--primary);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  text-align: center;
}

.b-ratio-main {
  aspect-ratio: 16 / 9;
}

.b-ratio-short {
  aspect-ratio: 9 / 16;
  background: var(--accent) !important;
}

.b-ratio-square {
  aspect-ratio: 1;
}

.b-format-map svg {
  align-self: center;
  width: 24px;
  height: 24px;
}

.b-feedback-board span {
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
}

.b-feedback-board em {
  padding: 7px;
  background: var(--primary);
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.b-feedback-board span:nth-child(2) em {
  background: var(--accent);
}

.b-output-board span {
  grid-template-columns: 28px 1fr;
  font-weight: 700;
}

.b-output-board span:nth-child(2) {
  background: var(--primary);
}

.b-output-board span:nth-child(3) {
  background: var(--accent);
}

.b-output-board svg {
  width: 20px;
  height: 20px;
}

.b-scope-note {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.b-output {
  padding-block: 104px;
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
}

.b-output-head {
  border-color: var(--bg);
}

.b-output-head > p {
  color: var(--bg);
}

.b-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border: 3px solid var(--bg);
}

.b-output-grid article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  padding: 26px;
  border-right: 3px solid var(--bg);
}

.b-output-grid article:last-child {
  border-right: 0;
}

.b-output-grid article > span,
.b-output-grid small {
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.b-output-grid strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 46px;
  font-weight: 400;
}

.b-output-grid mark {
  padding: 4px 7px;
  background: var(--primary);
  color: var(--ink);
}

.b-output-grid article:nth-child(2) mark {
  background: var(--accent);
}

.b-output-grid svg {
  width: 25px;
  height: 25px;
}

.b-output .demo-metric-note {
  margin: 16px 0 0;
  color: var(--bg);
}

.b-work {
  padding-block: 112px 126px;
  background: var(--ink);
}

.b-work-head {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 1fr 1.2fr .8fr;
  gap: 34px;
  align-items: end;
  margin: 0 auto 56px;
}

.b-work-head .b-label {
  justify-self: start;
}

.b-work-head p {
  margin-bottom: 0;
  color: var(--bg);
  font-size: 17px;
  line-height: 1.7;
}

.b-monitor-wall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.b-work-monitor {
  grid-column: span 4;
  display: block;
  overflow: hidden;
  border: 2px solid var(--bg);
  color: var(--bg);
  text-decoration: none;
}

.b-monitor-feature {
  grid-column: span 8;
}

.b-monitor-wide {
  grid-column: 5 / span 8;
}

.b-work-bar {
  min-height: 37px;
  padding: 0 11px;
  border-bottom: 1px solid var(--b-line);
}

.b-work-bar span:last-child {
  color: var(--primary);
}

.b-work-info {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--b-line);
}

.b-work-info h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.b-work-info span {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  text-align: right;
}

.b-about {
  padding-block: 112px;
  background: var(--bg);
  color: var(--ink);
}

.b-about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.b-about figure {
  margin: 0;
  border: 3px solid var(--line);
}

.b-about figure img {
  aspect-ratio: 16 / 10;
  filter: grayscale(1) contrast(1.15);
}

.b-about figcaption {
  padding: 11px 13px;
  border-top: 2px solid var(--line);
  font-family: "Space Mono", monospace;
  font-size: 8px;
}

.b-about h2 {
  margin-bottom: 28px;
}

.b-about p {
  font-size: 18px;
  line-height: 1.75;
}

.b-about-callout {
  margin-top: 34px;
  padding: 18px 0 0;
  border-top: 3px solid var(--line);
  font-family: "Black Han Sans", sans-serif;
  font-size: 28px !important;
}

.b-contact {
  padding-block: 110px;
  border-top: 4px solid var(--accent);
}

.b-contact-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.b-contact-ready {
  display: grid;
  border-top: 1px solid var(--b-line);
}

.b-contact-ready span {
  min-height: 50px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--b-line);
  font-size: 14px;
  font-weight: 800;
}

.b-contact-ready b {
  color: var(--accent);
  font-family: "Space Mono", monospace;
  font-size: 10px;
}

.b-contact-body {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: 24px;
}

.b-direct {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 2px solid var(--bg);
  background: var(--primary);
  color: var(--ink);
}

.b-direct p {
  margin-bottom: auto;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
}

.b-direct a {
  min-height: 36px;
  display: flex;
  align-items: center;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.b-form {
  padding: 30px;
  border: 2px solid var(--bg);
}

.b-form .form-field input,
.b-form .form-field textarea {
  border-color: var(--bg);
  color: var(--bg);
}

.b-form .form-field input::placeholder,
.b-form .form-field textarea::placeholder {
  color: var(--muted);
}

.b-form .site-button {
  width: 100%;
  border-color: var(--bg);
}

.b-footer {
  padding-block: 48px;
  border-top: 1px solid var(--b-line);
}

.b-footer .site-container,
.b-footer .site-container > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.b-footer strong {
  font-family: "Space Mono", monospace;
  font-size: 11px;
}

.b-footer span {
  color: var(--muted);
  font-size: 13px;
}

.b-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.concept-b .demo-notice {
  border-color: var(--b-line);
  background: var(--ink);
  color: var(--muted);
}

@media (max-width: 1100px) {
  .b-hero h1 {
    font-size: 62px;
  }

  .b-flow h2,
  .b-output h2,
  .b-work h2,
  .b-about h2,
  .b-contact h2 {
    font-size: 52px;
  }

  .b-flow-console {
    grid-template-columns: 250px 1fr;
  }

  .b-step-panel {
    padding: 30px;
  }

  .b-output-grid strong {
    font-size: 38px;
  }
}

@media (max-width: 900px) {
  .b-header-inner {
    grid-template-columns: 1fr auto;
  }

  .b-nav,
  .b-header-cta {
    display: none;
  }

  .b-hero {
    min-height: auto;
    padding-block: 20px 10px;
  }

  .b-hero-grid,
  .b-flow-head,
  .b-output-head,
  .b-work-head,
  .b-about-grid,
  .b-contact-head,
  .b-contact-body {
    grid-template-columns: 1fr;
  }

  .b-hero-copy,
  .b-program-monitor {
    min-height: 0;
  }

  .b-hero-copy {
    min-height: 452px;
  }

  .b-program-monitor {
    height: 282px;
    min-height: 265px;
    grid-template-rows: 38px 1fr auto;
  }

  .b-monitor-screen {
    min-height: 0;
  }

  .b-monitor-screen img {
    height: 100%;
    aspect-ratio: auto;
  }

  .b-input-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .b-timeline > div:nth-child(n+3) {
    display: none;
  }

  .b-hero-footer {
    display: none;
  }

  .b-flow,
  .b-output,
  .b-work,
  .b-about,
  .b-contact {
    padding-block: 82px;
  }

  .b-flow-console {
    grid-template-columns: 1fr;
  }

  .b-step-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .b-step-tab {
    min-height: 70px;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px;
    border-right: 1px solid var(--b-line);
    border-bottom: 0;
    text-align: center;
  }

  .b-step-panel {
    grid-template-columns: 1fr;
  }

  .b-output-grid {
    grid-template-columns: 1fr;
  }

  .b-output-grid article {
    min-height: 180px;
    border-right: 0;
    border-bottom: 3px solid var(--bg);
  }

  .b-output-grid article:last-child {
    border-bottom: 0;
  }

  .b-work-monitor,
  .b-monitor-feature,
  .b-monitor-wide {
    grid-column: span 6;
  }

  .b-contact-body {
    gap: 30px;
  }

  .b-direct {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .b-system-line {
    height: 32px;
    font-size: 7px;
  }

  .b-system-line span:last-child {
    display: none;
  }

  .b-wordmark {
    font-size: 18px;
  }

  .b-hero {
    padding-block: 16px 8px;
  }

  .b-hero-copy {
    min-height: 435px;
    padding: 20px;
  }

  .b-hero h1 {
    margin-bottom: 15px;
    font-size: 43px;
  }

  .b-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0;
  }

  .b-input-summary {
    display: none;
  }

  .b-program-monitor {
    height: 215px;
    min-height: 215px;
    grid-template-rows: 30px 1fr 38px;
  }

  .b-monitor-bar {
    font-size: 7px;
  }

  .b-monitor-screen {
    margin: 8px 8px 0;
  }

  .b-timeline {
    gap: 0;
    padding: 5px 8px 8px;
  }

  .b-timeline > div {
    height: 18px;
  }

  .b-timeline > div:nth-child(n+2) {
    display: none;
  }

  .b-flow h2,
  .b-output h2,
  .b-work h2,
  .b-about h2,
  .b-contact h2 {
    font-size: 41px;
  }

  .b-step-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b-step-tab:nth-child(2) {
    border-right: 0;
  }

  .b-step-tab:nth-child(-n+2) {
    border-bottom: 1px solid var(--b-line);
  }

  .b-step-panel {
    min-height: 540px;
    padding: 20px;
  }

  .b-step-panel h3 {
    font-size: 26px;
  }

  .b-format-map {
    min-height: 220px;
    grid-template-columns: 1.4fr 20px .65fr .8fr;
    gap: 7px;
    padding: 10px;
  }

  .b-feedback-board span {
    grid-template-columns: 42px 1fr;
  }

  .b-feedback-board em {
    grid-column: 2;
    justify-self: start;
  }

  .b-output-grid strong {
    font-size: 36px;
  }

  .b-monitor-wall {
    grid-template-columns: 1fr;
  }

  .b-work-monitor,
  .b-monitor-feature,
  .b-monitor-wide {
    grid-column: 1;
  }

  .b-work-info {
    display: block;
  }

  .b-work-info span {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .b-form {
    padding: 20px;
  }

  .b-footer .site-container,
  .b-footer .site-container > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b-playhead {
    left: 56% !important;
  }
}
