/* One source of truth for the case-study narrative, not the product UI. */
body[data-case="onepin"] {
  --op-ink: #20252c;
  --op-body-color: #4d5662;
  --op-muted: #65717f;
  --op-rule: #dce2e8;
  --op-surface: #f5f7fa;
  --op-link: #265dab;
  --op-title: 44px;
  --op-h2: 30px;
  --op-h3: 21px;
  --op-body: 16px;
  --op-caption: 13px;
  --op-media-radius: 6px;
  --case-ink: var(--op-ink);
  --case-soft: var(--op-body-color);
  --case-faint: var(--op-muted);
  --case-rule: var(--op-rule);
  --case-prose: 680px;
  --case-media: 1000px;
  color: var(--op-ink);
  letter-spacing: 0;
}

body[data-case="onepin"] > :is(header.hero, section, footer) > .wrap {
  width: min(1000px, calc(100% - 64px));
  padding-inline: 0;
  margin-inline: auto;
}

/* Neutral product canvas; color is reserved for actions and evaluation states. */
body[data-case="onepin"] #jv3 .stage {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-case="onepin"] #jv3 :is(.steph, .big, .tx, .fx, .nc .h, .nc .d b) { color: #202b30; }
body[data-case="onepin"] #jv3 :is(.listen, .leg, .mod, .pay, .nc .d, .big .dim) { color: #59616c; }
body[data-case="onepin"] #jv3 .nc .ready { color: #265dab; }
body[data-case="onepin"] #jv3 .stepk {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: #59616c;
  margin-bottom: 12px;
}
body[data-case="onepin"] #jv3 .steph {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 24px;
}
body[data-case="onepin"] #jv3 :is(.tx, .leg, .mod, .listen, .more, .nc .ready) {
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 700px) {
  body[data-case="onepin"] #jv3 .steph { font-size: 19px; }
}
body[data-case="onepin"] #jv3 .caret { background: #265dab; }
body[data-case="onepin"] #jv3 .hear {
  color: #343b44;
  background: #f6f7f8;
  border-color: #b8bec6;
  letter-spacing: 0;
}
body[data-case="onepin"] #jv3 .hear:hover { border-color: #265dab; color: #265dab; }
body[data-case="onepin"] #jv3 .hear.playing { background: #265dab; color: #fff; }
body[data-case="onepin"] #jv3 .fx .was { color: #69757c; text-decoration-color: #a65b28; }
body[data-case="onepin"] #jv3 .fx .arr { color: #69757c; }
body[data-case="onepin"] #jv3 :is(.fx .now, .scs i, .nc .chip) { background: #dfefe5; color: #246b43; }
body[data-case="onepin"] #jv3 .scs i.bad { background: #fff0d5; color: #8b5415; }
body[data-case="onepin"] #jv3 .nc { background: #fff; border-color: #dfe2e6; border-radius: 6px; box-shadow: 0 2px 6px rgba(32, 43, 48, 0.05); }
body[data-case="onepin"] #jv3 .nc .ic svg { stroke: #4d5968; }
body[data-case="onepin"] #jv3 .more { color: #59616c; border-color: #b8bec6; }
body[data-case="onepin"] #jv3 .canvasbg { background-image: radial-gradient(#e3e5e8 1px, transparent 1px); background-size: 24px 24px; }
body[data-case="onepin"] #jv3 .wire { background: repeating-linear-gradient(180deg, #9da5b0 0 4px, transparent 4px 8px); }
body[data-case="onepin"] #jv3 .wvbox,
body[data-case="onepin"] #jv3 .row.on .wvbox { color: #6c7988; }
body[data-case="onepin"] #jv3 .row.lit .wvbox { color: #167d8d; }
body[data-case="onepin"] #jv3 .prog i { background: #d8dce1; }
body[data-case="onepin"] #jv3 .prog i.on { background: #167d8d; }
body[data-case="onepin"] #jv3scores .row:nth-child(1) { --voice-color: #2563c4; }
body[data-case="onepin"] #jv3scores .row:nth-child(2) { --voice-color: #b45309; }
body[data-case="onepin"] #jv3scores .row:nth-child(3) { --voice-color: #7c3fc6; }
body[data-case="onepin"] #jv3scores .row:nth-child(4) { --voice-color: #0e7a78; }
body[data-case="onepin"] #jv3scores .row:nth-child(5) { --voice-color: #ae3669; }
body[data-case="onepin"] #jv3 #jv3scores .row .wvbox { color: var(--voice-color); }
body[data-case="onepin"] #jv3scores .mod { color: #4d5662; }
body[data-case="onepin"] #jv3scores .scs i {
  background: #d8f3e3;
  color: #146b42;
  border: 1px solid #97cfae;
  border-radius: 6px;
  font-weight: 500;
}
body[data-case="onepin"] #jv3 #jv3scores .scs i.bad {
  background: #fff0ce;
  color: #8b4b08;
  border-color: #d8ac55;
}

/* Workload illustration follows the same restrained media and type system. */
body[data-case="onepin"] #pu3 .panel {
  background: #fff;
  border: 1px solid var(--op-rule);
  border-radius: var(--op-media-radius);
  box-shadow: none;
}
body[data-case="onepin"] #pu3 .pkick { font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--op-muted); }
body[data-case="onepin"] #pu3 .pnum { font-size: 64px; line-height: 1.1; letter-spacing: 0; color: var(--op-ink); }
body[data-case="onepin"] #pu3 .pcap { font-size: 18px; line-height: 1.5; letter-spacing: 0; color: var(--op-body-color); }
body[data-case="onepin"] #pu3 .pcap b { color: #265dab; }
body[data-case="onepin"] #pu3 .belt { width: min(680px, calc(100% - 48px)); }
body[data-case="onepin"] #pu3 .take { border-color: #dce2e8; border-radius: 6px; box-shadow: none; }
body[data-case="onepin"] #pu3 .take .fn { font-size: 12px; color: #374151; }
body[data-case="onepin"] #pu3 .take .wv { color: #2563c4; }
body[data-case="onepin"] #pu3 .take .st { font-size: 11px; font-weight: 500; background: #fff0ce; color: #8b4b08; border-color: #d8ac55; border-radius: 6px; }
body[data-case="onepin"] #pu3 .take.ok { border-color: #97cfae; }
body[data-case="onepin"] #pu3 .take.ok .wv { color: #146b42; }
body[data-case="onepin"] #pu3 .take.ok .st { background: #d8f3e3; color: #146b42; border-color: #97cfae; }
@media (max-width: 700px) {
  body[data-case="onepin"] #pu3 .pnum { font-size: 44px; }
  body[data-case="onepin"] #pu3 .pcap { font-size: 16px; }
  body[data-case="onepin"] #pu3 .belt { width: calc(100% - 32px); }
  body[data-case="onepin"] #pu3 .take { gap: 8px; padding-inline: 10px; }
  body[data-case="onepin"] #pu3 .take .fn { font-size: 11px; }
  body[data-case="onepin"] #pu3 .take .st { padding-inline: 6px; }
}

/* Public context and a compact passcode form, without a modal-style card. */
body[data-case="onepin"] #gate {
  background: #fff;
  color: var(--op-ink);
  text-align: left;
  padding: 48px 28px;
  overflow-y: auto;
}
body[data-case="onepin"] #gate .gate-content { width: min(100%, 640px); margin: auto; }
body[data-case="onepin"] #gate .gback { display: inline-block; margin: 0 0 40px; font-size: 14px; line-height: 1.5; text-transform: none; letter-spacing: 0; color: var(--op-body-color); }
body[data-case="onepin"] #gate .gate-brand { display: block; width: 132px; height: auto; margin-bottom: 28px; }
body[data-case="onepin"] #gate .eyebrow { font-size: 14px; font-weight: 400; color: var(--op-muted); margin-bottom: 8px; }
body[data-case="onepin"] #gate h2 { font-size: 44px; font-weight: 500; line-height: 1.15; letter-spacing: 0; color: var(--op-ink); margin: 0 0 12px; }
body[data-case="onepin"] #gate .gate-subtitle { font-size: 22px; line-height: 1.45; color: var(--op-body-color); max-width: 36ch; margin: 0; }
body[data-case="onepin"] #gate .gate-signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 320px);
  height: 40px;
  margin-top: 16px;
  gap: 3px;
}
body[data-case="onepin"] #gate .gate-signal span {
  flex: 1 1 0;
  min-width: 2px;
  max-width: 4px;
  height: var(--signal-height);
  border-radius: 2px;
  background: #265dab;
  opacity: 0.45;
  transform: scaleY(0.55);
}
body[data-case="onepin"] #gate .gate-signal span:nth-child(3n) { background: #0e7a78; }
body[data-case="onepin"] #gate .gate-summary { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; width: 100%; margin: 28px 0; padding: 20px 0; background: none; border: 0; border-block: 1px solid var(--op-rule); border-radius: 0; text-align: left; }
body[data-case="onepin"] #gate .gate-summary > div { background: none; padding: 0; }
body[data-case="onepin"] #gate dt { font-size: 14px; color: var(--op-muted); margin: 0 0 6px; }
body[data-case="onepin"] #gate dd { font-size: 16px; line-height: 1.5; color: var(--op-ink); margin: 0; }
body[data-case="onepin"] #gate .gate-explanation { max-width: none; margin: 0 0 20px; color: var(--op-body-color); font-size: 15px; line-height: 1.6; }
body[data-case="onepin"] #gate label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
body[data-case="onepin"] #gate .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
body[data-case="onepin"] #gate input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  text-align: left;
  letter-spacing: 0;
  border: 1px solid #84909e;
  border-radius: 6px;
  background: #fff;
  color: var(--op-ink);
  box-shadow: none;
  transition: border-color 160ms ease;
}
body[data-case="onepin"] #gate input::placeholder { color: #65717f; }
body[data-case="onepin"] #gate input:hover { border-color: #4d5662; }
body[data-case="onepin"] #gate input:focus,
body[data-case="onepin"] #gate input:focus-visible {
  border-color: #265dab;
  outline: 1px solid #265dab;
  outline-offset: -1px;
  box-shadow: none;
}
body[data-case="onepin"] #gate input[aria-invalid="true"] { border-color: #ad322f; }
body[data-case="onepin"] #gate button { height: 48px; padding: 12px 20px; border: 1px solid #265dab; border-radius: 6px; background: #265dab; color: #fff; font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; white-space: nowrap; }
body[data-case="onepin"] #gate button:hover { background: #1e4c8c; border-color: #1e4c8c; }
body[data-case="onepin"] #gate :is(button, a):focus-visible { outline: 2px solid #265dab; outline-offset: 3px; box-shadow: none; }
body[data-case="onepin"] #gate .err { color: #ad322f; font-size: 14px; line-height: 1.5; letter-spacing: 0; height: auto; min-height: 21px; margin-top: 8px; }
body[data-case="onepin"] #gate .hint { font-size: 14px; line-height: 1.5; color: var(--op-body-color); margin: 12px 0 0; max-width: none; }
body[data-case="onepin"] #gate .hint a { color: var(--op-link); text-underline-offset: 3px; }
body[data-case="onepin"] #gate { transition: opacity 280ms ease, visibility 280ms ease; }
body[data-case="onepin"] #gate .gate-content { transition: opacity 240ms ease, transform 240ms ease; }
body[data-case="onepin"] #gate.open .gate-content { opacity: 0; transform: translateY(-4px); }
body[data-case="onepin"] #gate label { transition: color 160ms ease; }
body[data-case="onepin"] #gate form:focus-within label { color: #265dab; }
body[data-case="onepin"] #gate button { min-width: 160px; transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease; }
body[data-case="onepin"] #gate button:hover { transform: translateY(-1px); }
body[data-case="onepin"] #gate button:active { transform: scale(0.98); }
body[data-case="onepin"] #gate button:disabled { cursor: default; transform: none; }
body[data-case="onepin"] #gate .hint a { transition: text-underline-offset 160ms ease; }
body[data-case="onepin"] #gate .hint a:hover { text-underline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  body[data-case="onepin"] #gate,
  body[data-case="onepin"] #gate :is(.gate-content, label, button, .hint a) { transition: none; }
  body[data-case="onepin"] #gate.open .gate-content,
  body[data-case="onepin"] #gate button:hover,
  body[data-case="onepin"] #gate button:active { transform: none; }
}
@media (max-width: 600px) {
  body[data-case="onepin"] #gate { padding: 28px 24px; }
  body[data-case="onepin"] #gate .gback { margin-bottom: 28px; }
  body[data-case="onepin"] #gate h2 { font-size: 36px; }
  body[data-case="onepin"] #gate .gate-subtitle { font-size: 20px; }
  body[data-case="onepin"] #gate .gate-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block: 24px; }
  body[data-case="onepin"] #gate .row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-case="onepin"] #gate input { transition: none; }
}

/* Match the assistant launcher to the adaptive menu without changing chat UI. */
body[data-case="onepin"] #gachat .gachat-launch {
  min-height: 44px;
  padding: 10px 16px;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0;
  color: #20252c;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(32, 37, 44, 0.16);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
body[data-case="onepin"] #gachat .gachat-launch:hover { transform: none; background: rgba(255, 255, 255, 0.8); }
body[data-case="onepin"] #gachat[data-surface-tone="dark"] .gachat-launch {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}
body[data-case="onepin"] #gachat[data-surface-tone="dark"] .gachat-launch:hover { background: rgba(255, 255, 255, 0.16); }
body[data-case="onepin"] #gachat .gachat-launch .spark { color: currentColor; animation: none; }
body[data-case="onepin"] #gachat .gachat-launch:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 600px) {
  body[data-case="onepin"] #gachat .gachat-launch { width: 44px; height: 44px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-case="onepin"] #gachat .gachat-launch { transition: none; }
}

/* Chapter rules live on the inner wrapper: shared styles reset section borders. */
body[data-case="onepin"] > section[id] {
  padding-block: 0 64px;
  scroll-margin-top: 88px;
}
body[data-case="onepin"] > section[id] > .wrap::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--op-rule);
  margin-bottom: 32px;
}
body[data-case="onepin"] #project-summary {
  padding-block: 0 48px;
}
body[data-case="onepin"] #project-summary > .wrap::before {
  display: none;
}
body[data-case="onepin"] #project-summary :is(dt, .contribution-label) {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--op-body-color);
  margin-bottom: 8px;
}
body[data-case="onepin"] #project-summary dd {
  font-size: 18px;
  line-height: 1.5;
}
body[data-case="onepin"] #project-summary :is(dd span, .project-contribution .ownership-note) {
  font-size: 15px;
  line-height: 1.6;
  color: var(--op-body-color);
}
body[data-case="onepin"] > section:not([id]):has(> .wrap) {
  padding-block: 0 56px;
}

body[data-case="onepin"] header.hero {
  padding-block: 64px 40px;
}
body[data-case="onepin"] header.hero h1 {
  max-width: 24ch;
  font-size: var(--op-title);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: 0;
  margin: 12px 0 20px;
}
body[data-case="onepin"] :is(.sec-head, #context .context-intro) {
  margin-bottom: 20px;
}
body[data-case="onepin"] .sec-head > :last-child { margin-bottom: 0; }
body[data-case="onepin"] .sec-head {
  max-width: 760px;
}
body[data-case="onepin"] :is(.sec-head h2, #context h2, #strategy h2, .handoff h2, .rs-big) {
  font-size: var(--op-h2);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: 0;
  max-width: 30ch;
  color: var(--op-ink);
  margin: 12px 0 16px;
}
body[data-case="onepin"] :is(.eyebrow, .voices-label, .agentic-kicker, .qlabel) {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--op-muted);
}
body[data-case="onepin"] :is(.lede, .section-lede, .body-col > p, .rs-body > p, .handoff > p, #context .context-copy, .onepin-evidence-note > p, .onepin-decisions article > div > p) {
  max-width: 65ch;
  font-size: var(--op-body);
  line-height: 1.7;
  font-weight: 400;
  color: var(--op-body-color);
  letter-spacing: 0;
}
body[data-case="onepin"] .section-lede {
  margin-top: 12px;
}
body[data-case="onepin"] :is(.note, figcaption, .cap, .agentic-caption, .decision-visual figcaption, #context figcaption, #strategy figcaption, #product-recordings figcaption) {
  font-size: var(--op-caption);
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--op-muted);
  text-align: left;
}
body[data-case="onepin"] :is(.body-col, .onepin-evidence-note, .project-contribution) a {
  color: var(--op-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
body[data-case="onepin"] :is(.body-col, .rs-body, .onepin-decisions) p + p {
  margin-top: 14px;
}

/* Metadata and outcomes are quiet rows, not marketing cards. */
body[data-case="onepin"] .metrics {
  margin-top: 32px;
  border: 0;
  border-top: 1px solid var(--op-rule);
  border-bottom: 1px solid var(--op-rule);
  border-radius: 0;
  box-shadow: none;
}
body[data-case="onepin"] .metric {
  padding: 24px;
  border-color: var(--op-rule);
}
body[data-case="onepin"] .metric:first-child { padding-left: 0; }
body[data-case="onepin"] .metric:hover { background: none; }
body[data-case="onepin"] .metric .big {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--op-ink);
}
body[data-case="onepin"] .metric .label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--op-body-color);
  margin-top: 10px;
}
body[data-case="onepin"] .metric .tag { margin-top: 12px; }
body[data-case="onepin"] #project-summary :is(dt, .contribution-label) {
  color: var(--op-body-color);
  font-size: 16px;
  letter-spacing: 0;
}
body[data-case="onepin"] #project-summary .project-contribution {
  border-color: var(--op-rule);
  margin-top: 24px;
  padding-top: 20px;
}

/* Repeated findings and principles share one baseline and spacing rhythm. */
body[data-case="onepin"] :is(.cards, .words, .dnotes, .impact) {
  display: grid;
  gap: 24px;
  align-items: start;
}
body[data-case="onepin"] .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-case="onepin"] :is(.card, .dnote, .imp) {
  padding: 20px 0 0;
  background: transparent;
  border: 0;
  border-top: 2px solid var(--op-rule);
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  transform: none;
}
body[data-case="onepin"] :is(.card, .dnote, .imp):hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}
body[data-case="onepin"] .card h3 {
  font-size: 18px;
  line-height: 1.4;
  color: var(--op-ink);
  letter-spacing: 0;
  margin: 10px 0 8px;
}
body[data-case="onepin"] :is(.card p, .dnote p, .imp p, .agentic-beat p, .usability-principle p) {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--op-body-color);
}
body[data-case="onepin"] .words { gap: 24px; margin-block: 20px 36px; }
body[data-case="onepin"] #research .portrait-note { font-size: 13px; line-height: 1.6; color: var(--op-muted); margin: -4px 0 16px; max-width: none; }
body[data-case="onepin"] .portrait-note a { color: var(--op-link); text-underline-offset: 3px; }
body[data-case="onepin"] .wcard .wav { width: 48px; height: 48px; object-fit: cover; object-position: center 40%; }
body[data-case="onepin"] .wcard .portrait-office { object-position: 85% center; }
body[data-case="onepin"] #solution .dnotes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  margin-top: 0;
}
body[data-case="onepin"] #solution .dnote {
  padding-top: 16px;
  border-top-width: 1px;
}
body[data-case="onepin"] #solution .dnote h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--op-ink);
  margin: 0 0 8px;
}
body[data-case="onepin"] #solution .dnote p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 40ch;
  margin: 0;
}
@media (max-width: 760px) {
  body[data-case="onepin"] #solution .dnotes { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
body[data-case="onepin"] .wcard {
  padding: 20px;
  gap: 24px;
  border-radius: 6px;
  border: 1px solid var(--op-rule);
  background: var(--op-surface);
  box-shadow: none;
}
body[data-case="onepin"] .wcard .wq {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
body[data-case="onepin"] .wcard :is(.wname, .wctx) {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

/* Text introduces media once. Visuals retain their original proportions. */
body[data-case="onepin"] :is(.agentic-demo, .decision-visual, #product-recordings figure, .bnt figure, .seoul-strip figure, .context-photo, .shift-comparison figure) {
  margin-block: 0;
}
body[data-case="onepin"] :is(.agentic-stage, .opin, .bnt figure, .seoul-shot) {
  border-radius: var(--op-media-radius);
  border-color: var(--op-rule);
  box-shadow: none;
}
body[data-case="onepin"] :is(.agentic-stage, .opin, .opin-rec, .bnt figure, .seoul-shot, .seoul-team, .control-proof-image) { overflow: hidden; border-radius: var(--op-media-radius); }
body[data-case="onepin"] :is(#product-recordings video, .context-photo img, .shift-after img, .decision-compare img, .form-schematic, .seoul-team) {
  border-radius: var(--op-media-radius);
}
body[data-case="onepin"] :is(.bnt figure, .seoul-shot, .seoul-team) img { border-radius: 0; }
body[data-case="onepin"] .agentic-video-crop {
  overflow: hidden;
  aspect-ratio: 14 / 9;
  transform-origin: 50% 48%;
}
body[data-case="onepin"] .agentic-stage .agentic-video-crop video {
  width: 114.285714%;
  max-width: none;
  margin-left: -14.285714%;
  object-fit: contain;
}
body[data-case="onepin"] :is(.bnt, .seoul-strip) { gap: 24px; }
body[data-case="onepin"] :is(.seoul-strip, .bflow) { margin-top: 0; }
body[data-case="onepin"] .voices-label { margin-bottom: 12px; }
body[data-case="onepin"] .bnt figure:hover,
body[data-case="onepin"] .seoul-shot:hover { transform: none; box-shadow: none; }
body[data-case="onepin"] .product-explorer { margin-top: 40px; }
body[data-case="onepin"] .product-explorer > h3 { font-size: 25px; line-height: 1.3; font-weight: 500; letter-spacing: 0; margin: 0 0 16px; }
body[data-case="onepin"] .surface-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--op-rule); margin-bottom: 16px; }
body[data-case="onepin"] .surface-tabs[hidden],
body[data-case="onepin"] .surface-panel[hidden] { display: none; }
body[data-case="onepin"] .surface-tabs button {
  appearance: none;
  min-height: 44px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--op-body-color);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease;
}
body[data-case="onepin"] .surface-tabs button:hover { color: var(--op-ink); background: #f5f7fa; }
body[data-case="onepin"] .surface-tabs button[aria-selected="true"] { color: var(--op-link); border-bottom-color: var(--op-link); font-weight: 500; }
body[data-case="onepin"] #solution .surface-panel { margin: 0; }
body[data-case="onepin"] .surface-panel > a { display: block; aspect-ratio: 1544 / 784; border: 1px solid var(--op-rule); border-radius: var(--op-media-radius); overflow: hidden; background: #fff; cursor: zoom-in; }
body[data-case="onepin"] .surface-panel img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
body[data-case="onepin"] .surface-panel figcaption { min-height: 3.2em; margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--op-body-color); }
body[data-case="onepin"] .surface-panel figcaption strong { font-weight: 500; color: var(--op-ink); }
body[data-case="onepin"] .product-explorer :is(button, a, [role="tabpanel"]):focus-visible { outline: 2px solid #265dab; outline-offset: 3px; box-shadow: none; }
@media (max-width: 600px) {
  body[data-case="onepin"] .surface-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-case="onepin"] .product-explorer > h3 { font-size: 22px; }
  body[data-case="onepin"] .surface-panel figcaption { min-height: 4.8em; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-case="onepin"] .surface-tabs button { transition: none; }
}
body[data-case="onepin"] #product-recordings .recordings-list { gap: 40px; }
body[data-case="onepin"] .quincy-chapters-intro { margin-bottom: 24px; }
body[data-case="onepin"] .quincy-chapters-intro h3 { font-size: 25px; line-height: 1.3; font-weight: 500; letter-spacing: 0; margin: 0 0 8px; }
body[data-case="onepin"] .quincy-chapters-intro p { font-size: 16px; line-height: 1.6; margin: 0; }
body[data-case="onepin"] .quincy-chapter {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--op-rule);
}
body[data-case="onepin"] .chapter-index { display: block; font-size: 14px; line-height: 1.5; color: var(--op-muted); margin-bottom: 12px; }
body[data-case="onepin"] .chapter-copy h4 { font-size: 21px; line-height: 1.35; font-weight: 500; letter-spacing: 0; margin: 0 0 12px; }
body[data-case="onepin"] .chapter-copy p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--op-body-color); }
body[data-case="onepin"] #product-recordings .quincy-chapter figure { margin: 0; }
body[data-case="onepin"] #product-recordings .quincy-chapter video { aspect-ratio: 2908 / 1490; object-fit: contain; }
@media (max-width: 760px) {
  body[data-case="onepin"] .quincy-chapter { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 24px; }
}
body[data-case="onepin"] #product-recordings .recording-title {
  font-size: var(--op-h3);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: 0;
}

body[data-case="onepin"] #agentic .agentic-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 20px;
}
body[data-case="onepin"] #agentic .agentic-intro .eyebrow {
  margin-bottom: 12px;
}
body[data-case="onepin"] #agentic .agentic-intro h2 {
  font-size: var(--op-h2);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--op-ink);
  max-width: 25ch;
  margin: 0;
}
body[data-case="onepin"] #agentic .agentic-intro-copy {
  font-size: 15px;
  line-height: 1.65;
  color: var(--op-body-color);
  letter-spacing: 0;
  margin: 0;
  max-width: 40ch;
}
body[data-case="onepin"] .agentic-demo { margin-top: 0; }
body[data-case="onepin"] .agentic-beats { margin-top: 24px; gap: 24px; }
body[data-case="onepin"] .agentic-beat h3 {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 6px;
}
body[data-case="onepin"] .agentic-rationale {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--op-rule);
}
body[data-case="onepin"] .agentic-rationale-copy h3 {
  font-size: var(--op-h3);
  line-height: 1.4;
  letter-spacing: 0;
}
body[data-case="onepin"] .agentic-rationale-copy > p { margin-top: 12px; }
body[data-case="onepin"] .agentic-loop {
  font-size: 17px;
  line-height: 1.5;
  margin-block: 28px;
  letter-spacing: 0;
}
body[data-case="onepin"] .usability-principles { gap: 28px; }

body[data-case="onepin"] #agentic .control-proof-title {
  margin: 0 0 12px;
  font-size: var(--op-h3);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--op-ink);
}
body[data-case="onepin"] #agentic .quincy-control-proof { margin: 0; }
body[data-case="onepin"] .control-proof-image {
  position: relative;
  display: block;
  border: 1px solid var(--op-rule);
  border-radius: 6px;
  background: #fff;
}
body[data-case="onepin"] .control-proof-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2934 / 1518;
  border-radius: inherit;
}
body[data-case="onepin"] .control-region {
  position: absolute;
  border: 1px solid rgba(192, 75, 33, 0.28);
  border-radius: 4px;
  pointer-events: none;
}
body[data-case="onepin"] .control-region > span {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: #fff5ed;
  color: #a43f1d;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid #dca88e;
  border-radius: 50%;
}
body[data-case="onepin"] .control-region-intent { left: 13%; top: 81.5%; width: 52.5%; height: 15.5%; }
body[data-case="onepin"] .control-region-choice { left: 13%; top: 28.5%; width: 32.5%; height: 49%; }
body[data-case="onepin"] .control-region-graph { left: 76%; top: 30%; width: 22.5%; height: 63%; }
body[data-case="onepin"] .control-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #c04b21;
  stroke-width: 2px;
  stroke-linecap: round;
}
body[data-case="onepin"] .control-trace rect {
  stroke-dasharray: 10 90;
  animation: control-outline-trace 12s linear infinite;
}
body[data-case="onepin"] .control-region-choice .control-trace rect { animation-delay: -4s; }
body[data-case="onepin"] .control-region-graph .control-trace rect { animation-delay: -8s; }
@keyframes control-outline-trace {
  to { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-case="onepin"] .control-trace { display: none; }
  body[data-case="onepin"] .control-region { border-color: #c04b21; }
}
body[data-case="onepin"] .proof-fullsize {
  color: var(--op-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
}
body[data-case="onepin"] .control-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 20px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--op-rule);
}
body[data-case="onepin"] .control-legend li { display: flex; gap: 12px; align-items: start; }
body[data-case="onepin"] .control-legend li > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border-radius: 50%;
  background: #fff5ed;
  color: #a43f1d;
}
body[data-case="onepin"] .control-legend strong { font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
body[data-case="onepin"] .control-legend p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; letter-spacing: 0; color: var(--op-body-color); }

body[data-case="onepin"] .onepin-evidence-note {
  margin: 24px 0 32px;
  padding-block: 20px;
  border-color: var(--op-rule);
}
body[data-case="onepin"] .onepin-evidence-note h3,
body[data-case="onepin"] .onepin-decisions > h3 {
  font-size: var(--op-h3);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0;
}
body[data-case="onepin"] .onepin-decisions { margin-block: 40px 32px; }
body[data-case="onepin"] .onepin-decisions article {
  padding-block: 28px;
  gap: 16px;
  border-color: var(--op-rule);
}
body[data-case="onepin"] .onepin-decisions h4 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0;
}
body[data-case="onepin"] .onepin-decisions article > div > p {
  margin: 0 0 20px;
}
body[data-case="onepin"] .decision-compare {
  gap: 12px 24px;
  align-items: start;
}
body[data-case="onepin"] :is(.decision-visual, .quincy-control-proof, #product-recordings figure, .context-photo, .shift-comparison figure) > figcaption {
  margin-top: 8px;
}
body[data-case="onepin"] #stepper { padding-left: 28px; }
body[data-case="onepin"] #stepper .step-panel h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
}
body[data-case="onepin"] #stepper .step-panel::before {
  width: 10px;
  height: 10px;
  left: -27px;
  top: 30px;
  background: #167d8d;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
body[data-case="onepin"] #stepper.lit .step-panel::before {
  background: #167d8d;
  box-shadow: none;
  transform: none;
}
body[data-case="onepin"] #stepper::before,
body[data-case="onepin"] #stepper::after {
  top: var(--process-start, 35px);
  bottom: auto;
  height: var(--process-length, calc(100% - 70px));
}
body[data-case="onepin"] #stepper::after {
  content: "";
  position: absolute;
  left: 5px;
  width: 2px;
  background: #167d8d;
  transform-origin: top;
  transform: scaleY(var(--process-progress, 0));
}
body[data-case="onepin"] #stepper .step-panel::before {
  transition: box-shadow 220ms ease, transform 220ms ease;
  transition-delay: 0s;
}
body[data-case="onepin"] #stepper .step-panel[data-reading="true"]::before {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px #e8f4f5;
}
body[data-case="onepin"] #stepper .step-panel h3 { transition: color 220ms ease; }
body[data-case="onepin"] #stepper .step-panel[data-reading="true"] h3 { color: #126773; }
@media (prefers-reduced-motion: reduce) {
  body[data-case="onepin"] #stepper .step-panel::before,
  body[data-case="onepin"] #stepper .step-panel h3 { transition: none; }
  body[data-case="onepin"] #stepper .step-panel[data-reading="true"]::before { transform: none; }
}
body[data-case="onepin"] .impact-sky { background: none; padding: 0; }
body[data-case="onepin"] #impact #onepin-measurement-note { margin-bottom: 0; }
body[data-case="onepin"] #impact .impact-live-note {
  width: 100%;
  max-width: none;
  text-align: left;
  margin: 16px 0 0;
}
body[data-case="onepin"] #impact .impact-live-note a { color: var(--op-link); text-underline-offset: 3px; }
body[data-case="onepin"] > #impact { padding-bottom: 40px; }
body[data-case="onepin"] .impact-sky .imp .ibig {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 12px;
}
body[data-case="onepin"] .impact-sky .imp .eyebrow::before { display: none; }
body[data-case="onepin"] .refl-split { gap: 36px; }
body[data-case="onepin"] .refl-split .rs-big { position: static; }
body[data-case="onepin"] .quote {
  padding-top: 28px;
  border-top: 1px solid var(--op-rule);
  text-align: left;
  max-width: 680px;
  margin-inline: 0;
}
body[data-case="onepin"] .quote::before { display: none; }
body[data-case="onepin"] .quote .q {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0 0 16px;
}
body[data-case="onepin"] .quote .who {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}
body[data-case="onepin"] .nextcase .t {
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body[data-case="onepin"] {
    --op-title: 34px;
    --op-h2: 25px;
    --op-h3: 20px;
    --op-body: 15px;
    --op-caption: 12px;
  }
  body[data-case="onepin"] > :is(header.hero, section, footer) > .wrap {
    width: calc(100% - 40px);
  }
  body[data-case="onepin"] > section[id] { padding-bottom: 44px; }
  body[data-case="onepin"] > section[id] > .wrap::before { margin-bottom: 24px; }
  body[data-case="onepin"] header.hero { padding-block: 44px 32px; }
  body[data-case="onepin"] :is(.sec-head, #context .context-intro) { margin-bottom: 20px; }
  body[data-case="onepin"] :is(.cards, .words, .dnotes, .impact) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body[data-case="onepin"] .card { padding-top: 16px; }
  body[data-case="onepin"] #agentic .agentic-intro { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 20px; }
  body[data-case="onepin"] .agentic-rationale { margin-top: 32px; padding-top: 24px; }
  body[data-case="onepin"] .control-legend { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body[data-case="onepin"] .onepin-decisions { margin-top: 32px; }
  body[data-case="onepin"] .metric { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--op-rule); }
  body[data-case="onepin"] .metric:last-child { border-bottom: 0; }
  body[data-case="onepin"] .metrics { grid-template-columns: minmax(0, 1fr); }
  body[data-case="onepin"] .refl-split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body[data-case="onepin"] .quote .q { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-case="onepin"] { scroll-behavior: auto; }
}
