:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f3f5f2;
  --ink: #17201e;
  --muted: #66706d;
  --soft: #8a928f;
  --line: #d8d3c9;
  --line-strong: #a9a399;
  --teal: #0f5b55;
  --teal-dark: #0b413d;
  --teal-hover: #0b413d;
  --teal-soft: #e2efeb;
  --terracotta: #c54f2e;
  --terracotta-soft: #f7e8e1;
  --amber: #9b650e;
  --amber-soft: #fbf0d4;
  --green: #22714d;
  --green-soft: #e3f1e9;
  --red: #ad332d;
  --red-soft: #f8e5e2;
  --focus: #2a7f76;
  --shadow: 0 12px 32px rgb(23 32 30 / 7%);
  --font: "Hanken Grotesk", "Segoe UI Variable", "Segoe UI", sans-serif;
  --header-bg: rgb(255 255 255 / 97%);
  --hero-surface: #f6f1e7;
  --hero-line: #ddd5c5;
  --featured-surface: #fbf8f1;
  --article-ink: #303a38;
  --subtle-ink: #52606f;
  --on-accent: #ffffff;
  --table-head: #f1f4f7;
  --table-row: #fafbfc;
  --table-line: #dce1e6;
  --quote-surface: #f2f6fb;
  --quote-ink: #34485b;
  --code-surface: #12243a;
  --code-ink: #edf4fc;
  --footer-bg: #0b413d;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1210;
  --surface: #151a17;
  --surface-muted: #1c231f;
  --ink: #edf3ef;
  --muted: #aeb8b2;
  --soft: #839087;
  --line: #313a34;
  --line-strong: #5a655e;
  --teal: #70c8bd;
  --teal-dark: #071d1a;
  --teal-hover: #8bd9cf;
  --teal-soft: #173b36;
  --terracotta: #e48667;
  --terracotta-soft: #43261f;
  --amber: #e2ad53;
  --amber-soft: #352b18;
  --green: #78c79d;
  --green-soft: #193425;
  --red: #ee8a82;
  --red-soft: #40211f;
  --focus: #8bd9cf;
  --shadow: 0 16px 38px rgb(0 0 0 / 32%);
  --header-bg: rgb(14 18 16 / 96%);
  --hero-surface: #151a17;
  --hero-line: #333c36;
  --featured-surface: #171d1a;
  --article-ink: #dce4df;
  --subtle-ink: #b7c1bb;
  --on-accent: #071d1a;
  --table-head: #222a26;
  --table-row: #171e1a;
  --table-line: #364139;
  --quote-surface: #172722;
  --quote-ink: #d7e8df;
  --code-surface: #080d0b;
  --code-ink: #e5eee9;
  --footer-bg: #071d1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.experience-page {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

.experience-page button, .experience-page input, .experience-page select { color: var(--ink); }
.experience-page button, .experience-page select { cursor: pointer; }
.experience-page :focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 52%, transparent); outline-offset: 3px; }
.experience-page [hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.oc-skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}
.oc-skip-link:focus { transform: translateY(0); }

.oc-site-shell { min-height: 100vh; background: var(--paper); }
.oc-container { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }

/* Global header */
.oc-header {
  position: sticky;
  z-index: 30;
  top: 0;
  color: var(--ink);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.oc-header-inner {
  width: min(1280px, calc(100% - 80px));
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.oc-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.oc-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--on-accent);
  background: var(--teal);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.05em;
}
.oc-brand-mark.small { width: 25px; height: 25px; color: var(--on-accent); background: var(--teal); border-radius: 7px; font-size: 10px; }
.oc-brand-name { font-size: 14px; font-weight: 650; letter-spacing: -.015em; text-transform: lowercase; }
.oc-nav { display: flex; align-items: stretch; align-self: stretch; gap: 4px; }
.oc-nav a { position: relative; display: inline-flex; align-items: center; padding: 0 13px; color: var(--muted); font-size: 14px; font-weight: 600; }
.oc-nav a::after { position: absolute; right: 13px; bottom: 0; left: 13px; height: 3px; content: ""; background: transparent; border-radius: 3px 3px 0 0; }
.oc-nav a:hover { color: var(--teal); }
.oc-nav a.active { color: var(--teal); }
.oc-nav a.active::after { background: var(--teal); }
.oc-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.oc-icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--teal);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.oc-icon-button:hover { color: var(--teal-hover); background: var(--teal-soft); }
.oc-icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.oc-theme-toggle { flex: 0 0 auto; }
.oc-saved-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; color: var(--teal); border: 1px solid var(--line); border-radius: 7px; font-size: 13px; font-weight: 600; }
.oc-saved-link span { font-size: 18px; line-height: 1; }
.oc-saved-link b { min-width: 18px; padding: 1px 5px; color: var(--on-accent); background: var(--teal); border-radius: 5px; font-size: 11px; text-align: center; }
.oc-menu-toggle { display: none; margin-left: auto; width: 40px; height: 40px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 7px; }
.oc-menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--teal); border-radius: 2px; }

/* Shared typography and controls */
.oc-kicker, .oc-section-label { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.oc-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 15px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 650; }
.oc-button.primary { color: var(--on-accent); background: var(--teal); border-color: var(--teal); }
.oc-button.primary:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
.oc-button.secondary { color: var(--teal); background: var(--surface); border-color: var(--line-strong); }
.oc-button.quiet { color: var(--muted); background: transparent; border-color: transparent; }
.oc-button.quiet:hover { color: var(--teal); background: var(--teal-soft); }
.oc-status-chip { display: inline-flex; align-items: center; width: max-content; min-height: 27px; padding: 4px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.oc-status-chip.ready { color: var(--green); background: var(--green-soft); }
.oc-status-chip.needs-review { color: var(--amber); background: var(--amber-soft); }
.oc-status-chip.blocked { color: var(--red); background: var(--red-soft); }
.oc-status-chip.neutral { color: var(--muted); background: var(--surface-muted); }

/* Discovery hero */
.oc-hero { padding: 72px 0 46px; border-bottom: 1px solid var(--line); }
.oc-hero .oc-kicker { margin: 0 0 16px; }
.oc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 72px; align-items: end; }
.oc-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 400; }
.oc-hero-lede { max-width: 490px; margin: 0 0 4px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.oc-goal-block { margin-top: 50px; }
.oc-goal-heading { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.oc-goal-heading p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.oc-goal-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.oc-goal-tabs button { position: relative; min-height: 118px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 18px; text-align: left; background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; transition: color 140ms ease, background 140ms ease; }
.oc-goal-tabs button:last-child { border-right: 0; }
.oc-goal-tabs button:hover { color: var(--teal); background: var(--surface-muted); }
.oc-goal-tabs button[aria-selected="true"] { color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 -4px 0 var(--teal); }
.oc-goal-tabs button[aria-selected="true"]::after { position: absolute; right: 18px; bottom: 17px; content: "→"; color: var(--teal); font-size: 20px; }
.oc-goal-index { display: none; }
.oc-goal-tabs button[aria-selected="true"] .oc-goal-index { color: var(--terracotta); }
.oc-goal-tabs strong { max-width: 210px; font-size: 17px; line-height: 1.16; letter-spacing: -.015em; }
.oc-goal-tabs small { max-width: 230px; color: var(--muted); font-size: 12px; line-height: 1.42; }
.oc-goal-tabs button[aria-selected="true"] small { color: var(--subtle-ink); }
.oc-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 20px; padding: 7px 7px 7px 17px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 13px; box-shadow: 0 6px 20px rgb(23 32 30 / 4%); }
.oc-search svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; }
.oc-search input { min-width: 0; height: 46px; padding: 0; background: transparent; border: 0; outline: 0; font-size: 16px; }
.oc-search input::placeholder { color: var(--soft); }
.oc-search button { height: 44px; padding: 0 20px; color: var(--on-accent); background: var(--teal); border: 0; border-radius: 9px; font-weight: 650; }
.oc-goal-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 13px; padding: 12px 14px; color: var(--subtle-ink); background: var(--surface-muted); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.oc-note-icon { display: grid; place-items: center; width: 22px; height: 22px; color: var(--teal); background: var(--teal-soft); border-radius: 50%; font-size: 12px; font-weight: 700; }
.oc-goal-note p { margin: 0; }
.oc-goal-note a { color: var(--teal); font-weight: 650; white-space: nowrap; }

/* Discovery results */
.oc-results-section { padding: 42px 0 80px; }
.oc-results-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: start; }
.oc-filter-panel { position: sticky; top: 94px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.oc-filter-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.oc-filter-top h2 { margin: 5px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.oc-filter-top button { padding: 3px 0; color: var(--teal); background: transparent; border: 0; font-size: 13px; font-weight: 650; }
.oc-filter-group { margin: 0; padding: 17px 0; border: 0; border-bottom: 1px solid var(--line); }
.oc-filter-group legend { width: 100%; margin-bottom: 9px; color: var(--ink); font-size: 13px; font-weight: 700; }
.oc-filter-group label { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 8px; padding: 6px 0; color: #4f5b58; font-size: 13px; line-height: 1.35; }
.oc-filter-group input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--teal); }
.oc-filter-group small { display: block; margin-top: 2px; color: var(--soft); font-size: 11px; }
.oc-filter-method { display: inline-flex; margin-top: 16px; color: var(--teal); font-size: 13px; font-weight: 650; }
.oc-results-panel { min-width: 0; }
.oc-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.oc-results-heading h2 { margin: 5px 0 4px; font-size: 32px; line-height: 1.15; letter-spacing: -.035em; }
.oc-results-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; }
.oc-results-tools { display: flex; align-items: center; gap: 10px; }
.oc-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.oc-sort select { min-height: 40px; padding: 0 32px 0 11px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.oc-mobile-filter { display: none; }
.oc-results-summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; color: var(--muted); font-size: 13px; }
.oc-active-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.oc-active-filters button { padding: 4px 7px; color: var(--teal); background: var(--teal-soft); border: 0; border-radius: 5px; font-size: 11px; font-weight: 650; }
.oc-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.oc-project-card { min-width: 0; position: relative; display: flex; flex-direction: column; padding: 17px; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.oc-project-card:hover { transform: translateY(-2px); border-color: #a9b9b5; box-shadow: var(--shadow); }
.oc-project-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 52%, transparent); outline-offset: 3px; }
.oc-card-visual { position: relative; height: 150px; overflow: hidden; margin-bottom: 16px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 10px; }
.oc-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.oc-card-source { min-width: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.oc-card-github-stars { flex: 0 0 auto; padding: 4px 7px; color: #8a6414; background: var(--amber-soft); border-radius: 5px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.oc-project-card h3 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.025em; }
.oc-card-summary { min-height: 47px; margin: 8px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.48; }
.oc-card-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: auto; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 8px; }
.oc-card-fact { min-height: 64px; padding: 9px 10px; background: var(--surface-muted); }
.oc-card-fact span { display: block; color: var(--soft); font-size: 10px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.oc-card-fact strong { display: block; margin-top: 5px; font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.oc-card-evidence { margin: 12px 0 0; color: var(--soft); font-size: 11px; }
.oc-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.oc-card-footer a { color: var(--teal); font-size: 13px; font-weight: 700; }
.oc-card-footer button { padding: 5px 7px; color: var(--muted); background: transparent; border: 0; font-size: 12px; font-weight: 650; }
.oc-card-footer button.saved { color: var(--teal); background: var(--teal-soft); border-radius: 5px; }
.oc-empty-state { grid-column: 1 / -1; padding: 50px 28px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.oc-empty-state h3 { margin: 0 0 7px; font-size: 24px; }
.oc-empty-state p { max-width: 560px; margin: auto; color: var(--muted); }
.oc-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.oc-pagination nav { display: flex; gap: 5px; }
.oc-pagination button { min-width: 34px; height: 34px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.oc-pagination button.active { color: var(--on-accent); background: var(--teal); border-color: var(--teal); }

/* Product detail */
.oc-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 24px 0 17px; color: var(--muted); font-size: 13px; }
.oc-breadcrumb a { color: var(--teal); font-weight: 600; }
.oc-product-hero { padding: 0 0 42px; border-bottom: 1px solid var(--line); }
.oc-product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); grid-template-areas: "summary media" "decision decision"; gap: 42px 56px; align-items: start; }
.oc-product-hero-grid.no-media { grid-template-columns: 1fr; }
.oc-product-media { min-width: 0; grid-area: media; }
.oc-media-stage { min-height: 360px; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 0; }
.oc-media-stage img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: contain; }
.oc-media-thumbs { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 9px; border-bottom: 1px solid var(--line); }
.oc-media-tab { min-height: 57px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px; color: var(--teal); border-bottom: 2px solid var(--teal); }
.oc-media-tab span { font-size: 17px; }
.oc-media-thumbs small { font-size: 10px; line-height: 1.2; }
.oc-media-review-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.oc-media-thumbs small { font-size: 10px; line-height: 1.2; }
.oc-product-summary { grid-area: summary; padding: 18px 0 0; }
.oc-product-summary h1 { margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 4.5vw, 66px); line-height: 1.02; letter-spacing: -.045em; font-weight: 400; overflow-wrap: anywhere; }
.oc-product-byline { margin: 0 0 18px; color: var(--teal); font-size: 14px; font-weight: 650; }
.oc-product-description { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.oc-product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 25px 0 0; border-top: 1px solid var(--line); }
.oc-key-facts div { padding: 12px 8px 9px 0; border-bottom: 1px solid var(--line); }
.oc-key-facts dt { color: var(--soft); font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.oc-key-facts dd { margin: 5px 0 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.oc-decision-card { position: static; grid-area: decision; display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 0 56px; padding: 28px 0 26px; background: transparent; border: 0; border-top: 4px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.oc-decision-card.needs-review { border-top-color: var(--amber); }
.oc-decision-card.blocked { border-top-color: var(--red); }
.oc-decision-card.ready { border-top-color: var(--green); }
.oc-decision-card.blocked { border-top-color: var(--red); }
.oc-decision-top { grid-column: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.oc-decision-card h2 { grid-column: 1; margin: 18px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.12; letter-spacing: -.025em; font-weight: 400; }
.oc-decision-card > p { grid-column: 1; margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.oc-decision-list { grid-column: 2; grid-row: 1 / span 5; }
.oc-decision-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; }
.oc-decision-row span:first-child { color: var(--muted); }
.oc-decision-row strong { text-align: right; }
.oc-decision-row strong.blocked { color: var(--red); }
.oc-decision-row strong.needs-review { color: var(--amber); }
.oc-decision-row strong.ready { color: var(--green); }
.oc-decision-next { grid-column: 1; margin-top: 16px; padding: 16px; background: var(--surface-muted); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 8px; }
.oc-decision-next span { display: block; color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.oc-decision-next strong { display: block; margin-top: 6px; color: var(--ink); font-size: 15px; line-height: 1.5; font-weight: 600; }
.oc-decision-card > a { grid-column: 1; display: inline-flex; align-items: center; gap: 6px; width: max-content; margin-top: 16px; padding: 8px 14px; color: var(--teal); background: var(--teal-soft); border-radius: 6px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background 150ms ease; }
.oc-decision-card > a:hover { background: var(--surface-muted); text-decoration: underline; }
.oc-detail-body { display: grid; grid-template-columns: minmax(0, 820px) minmax(190px, 260px); justify-content: space-between; gap: 72px; padding: 22px 0 86px; }
.oc-detail-main { min-width: 0; display: block; }
.oc-article-toc { position: sticky; top: 98px; grid-column: 2; grid-row: 1; align-self: start; padding: 24px 0; border-top: 2px solid var(--teal); }
.oc-article-toc strong { display: block; margin-bottom: 10px; font-size: 13px; }
.oc-article-toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.oc-article-toc a:hover { color: var(--teal); text-decoration: underline; }
.oc-detail-section { min-width: 0; padding: 48px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; scroll-margin-top: 86px; }
.oc-section-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 23px; }
.oc-section-heading.split { justify-content: space-between; gap: 32px; }
.oc-section-heading-main { display: flex; align-items: flex-start; gap: 15px; }
.oc-section-heading.compact { margin-bottom: 16px; }
.oc-section-number { display: none; }
.oc-section-heading, .oc-section-heading-main { gap: 0; }
.oc-section-heading h2 { margin: 7px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 36px; line-height: 1.12; letter-spacing: -.03em; font-weight: 400; }
.oc-section-heading > p { max-width: 410px; margin: 4px 0 0 auto; color: var(--muted); font-size: 13px; text-align: right; }
.oc-overview-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 32px; }
.oc-overview-copy { color: var(--article-ink); font-size: 18px; line-height: 1.72; }
.oc-overview-copy p:first-child { margin-top: 0; }
.oc-use-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.oc-use-list li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); background: transparent; border-radius: 0; font-size: 14px; }
.oc-use-list li::before { position: absolute; top: 10px; left: 0; content: "✓"; color: var(--teal); font-weight: 800; }
.oc-research-provenance { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr); gap: 24px; margin-bottom: 34px; padding: 17px 0; border-top: 3px solid var(--teal); border-bottom: 1px solid var(--line); }
.oc-research-provenance.working { border-top-color: var(--amber); }
.oc-research-provenance strong { font-size: 13px; }
.oc-research-provenance span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.oc-research-article { max-width: 760px; }
.oc-research-article h2 { margin: 40px 0 17px; padding-top: 38px; border-top: 1px solid var(--line); font-family: var(--font); font-size: 30px; line-height: 1.15; letter-spacing: -.025em; }
.oc-research-article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.oc-research-article p, .oc-research-article li { color: var(--article-ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.75; }
.oc-research-article p { margin: 0 0 24px; }
.oc-research-article ul, .oc-research-article ol { margin: 0 0 27px; padding-left: 30px; }
.oc-research-article li { margin-bottom: 12px; padding-left: 4px; }
.oc-research-article strong { color: var(--ink); }
.oc-research-article em { color: var(--muted); }
.oc-research-article a { color: var(--teal); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.oc-research-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line-strong); }
.oc-research-support h3, .oc-research-models > h3 { margin: 7px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.2; font-weight: 400; }
.oc-research-checklist, .oc-research-sources { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.oc-research-checklist li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.oc-research-checklist li > span { width: 9px; height: 9px; margin-top: 5px; background: var(--amber); border-radius: 50%; }
.oc-research-checklist li.complete > span { background: var(--green); }
.oc-research-checklist strong, .oc-research-sources a { display: block; color: var(--ink); font-size: 13px; line-height: 1.35; }
.oc-research-checklist small, .oc-research-sources small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.oc-research-sources li { padding: 12px 0; border-top: 1px solid var(--line); }
.oc-research-sources a { color: var(--teal); }
.oc-research-models { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--line-strong); }
.oc-research-models > div { border-top: 1px solid var(--line); }
.oc-research-models article { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.oc-research-models article > span { grid-row: 1 / span 2; color: var(--soft); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.oc-research-models h3 { margin: 0; font-size: 16px; }
.oc-research-models h3 a { color: var(--teal); }
.oc-research-models p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.oc-research-reviewed { margin: 42px 0 0; padding: 24px; border: 1px solid var(--line); background: var(--surface-muted); }
.oc-research-reviewed h2 { margin: 7px 0 9px; }
.oc-research-reviewed h3 { margin: 18px 0 8px; font-size: 15px; }
.oc-research-reviewed > p { max-width: 760px; color: var(--muted); }
.oc-research-reviewed ul { display: grid; gap: 8px; margin: 8px 0 0; padding-left: 20px; }
.oc-research-reviewed li { color: var(--ink); line-height: 1.55; }
.oc-research-reviewed li strong { margin-right: 8px; }
.oc-research-reviewed li small { display: block; color: var(--muted); }
.oc-research-reviewed li a { color: var(--teal); font-weight: 750; }
.oc-reviewed-status { display: inline-block; margin-right: 8px; padding: 3px 6px; border-radius: 4px; font-size: 10px; font-weight: 800; }
.oc-reviewed-status.ready { color: #087c58; background: #e1f3e9; }
.oc-reviewed-status.needs-review { color: #a26400; background: #fff0d1; }
.oc-reviewed-status.blocked { color: #a13a2c; background: #fbe4df; }
.oc-spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.oc-spec { min-height: 96px; padding: 16px 18px 16px 0; background: transparent; border-right: 1px solid var(--line); }
.oc-spec + .oc-spec { padding-left: 18px; }
.oc-spec:last-child { border-right: 0; }
.oc-spec span { display: block; color: var(--soft); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.oc-spec strong { display: block; margin-top: 7px; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.oc-spec small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.oc-rights-matrix { overflow-x: auto; }
.oc-matrix-row { min-width: 760px; display: grid; grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(130px, 1fr)) minmax(180px, 1.2fr); align-items: stretch; border-bottom: 1px solid var(--line); }
.oc-matrix-row.header { color: var(--soft); background: transparent; border-top: 1px solid var(--line-strong); border-bottom-color: var(--line-strong); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.oc-matrix-row > div { padding: 11px 12px; font-size: 12px; }
.oc-matrix-row:not(.header) > div:first-child { font-weight: 700; }
.oc-matrix-row .condition { color: var(--muted); }
.oc-channel-table { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.oc-channel-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(110px, .65fr) minmax(190px, 1.2fr) minmax(170px, 1fr) minmax(220px, 1.25fr); gap: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.oc-channel-row > div { min-width: 0; padding: 15px 18px 15px 0; background: transparent; font-size: 12px; }
.oc-channel-row > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.oc-channel-row > div span { display: block; margin-bottom: 4px; color: var(--soft); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.oc-channel-row > div strong { display: block; line-height: 1.35; }
.oc-channel-row > div p { margin: 0; color: var(--muted); line-height: 1.42; }
.oc-revenue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.oc-revenue-card { padding: 15px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.oc-revenue-card h3 { margin: 11px 0 6px; font-size: 16px; line-height: 1.25; }
.oc-revenue-card p { margin: 0; color: var(--muted); font-size: 12px; }
.oc-economics { margin-top: 28px; padding: 2px 0 2px 20px; background: transparent; border-left: 4px solid var(--teal); border-radius: 0; }
.oc-economics strong { font-size: 13px; }
.oc-economics code { display: block; margin-top: 7px; color: var(--muted); font-family: var(--font); font-size: 12px; }
.oc-evidence-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.oc-evidence-note { min-height: 130px; padding: 16px 0; color: var(--muted); background: transparent; border-top: 1px solid var(--line); border-radius: 0; }
.oc-evidence-note h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; }
.oc-evidence-note p { margin: 0; font-size: 13px; }
.oc-evidence-note ul { margin: 9px 0 0; padding-left: 18px; font-size: 13px; }
.oc-related-grid { display: block; border-top: 1px solid var(--line); }
.oc-related-card { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.oc-related-card span { color: var(--soft); font-size: 10px; text-transform: uppercase; }
.oc-related-card strong { display: block; margin: 6px 0; font-size: 14px; }
.oc-related-card a { color: var(--teal); font-size: 12px; font-weight: 700; }
.oc-source-details { overflow: hidden; margin-top: 40px; background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; scroll-margin-top: 86px; }
.oc-source-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; font-weight: 700; }
.oc-source-details summary small { color: var(--muted); font-size: 11px; font-weight: 500; }
.oc-source-details[open] summary { border-bottom: 1px solid var(--line); }
.oc-source-details > div { padding: 18px 20px; }
.oc-source-entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.oc-source-entry:last-child { border-bottom: 0; }
.oc-source-entry span { color: var(--soft); }
.oc-source-entry a { color: var(--teal); overflow-wrap: anywhere; }
.oc-not-found { max-width: 720px; margin: 60px auto 100px; padding: 42px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.oc-not-found h1 { margin: 0 0 9px; font-size: 38px; }
.oc-not-found p { color: var(--muted); }

/* Footer */
.oc-footer { color: #d8e6e3; background: var(--footer-bg); }
.oc-footer-grid { min-height: 92px; display: grid; grid-template-columns: auto minmax(260px, 1fr) auto; align-items: center; gap: 32px; }
.oc-footer-grid > div { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 13px; }
.oc-footer-grid p { margin: 0; text-align: center; font-size: 13px; }
.oc-footer-grid nav { display: flex; gap: 16px; font-size: 12px; }
.oc-footer-grid a:hover { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 1120px) {
  .oc-container, .oc-header-inner { width: min(100% - 48px, 1040px); }
  .oc-header-inner { gap: 18px; }
  .oc-nav a { padding-inline: 9px; }
  .oc-hero-grid { gap: 42px; }
  .oc-goal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-goal-tabs button { min-height: 122px; }
  .oc-results-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
  .oc-project-grid { grid-template-columns: 1fr; }
  .oc-card-visual { height: 190px; }
  .oc-product-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); }
  .oc-decision-card { position: static; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 0 26px; }
  .oc-decision-top, .oc-decision-card h2, .oc-decision-card > p { grid-column: 1; }
  .oc-decision-list { grid-column: 2; grid-row: 1 / span 4; }
  .oc-decision-next, .oc-decision-card > a { grid-column: 1; }
  .oc-revenue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-channel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-channel-row > div:last-child { grid-column: 1 / -1; }
  .oc-detail-body { grid-template-columns: minmax(0, 1fr) 210px; gap: 44px; }
}

@media (max-width: 820px) {
  .oc-container, .oc-header-inner { width: calc(100% - 32px); }
  .oc-header-inner { min-height: 62px; }
  .oc-brand-name { display: none; }
  .oc-menu-toggle { display: block; }
  .oc-nav { position: fixed; z-index: 35; top: 62px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; padding: 8px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .oc-nav.open { display: flex; }
  .oc-nav a { min-height: 44px; color: var(--ink); padding: 0 12px; border-radius: 7px; }
  .oc-nav a.active { color: var(--teal); background: var(--teal-soft); }
  .oc-nav a::after { display: none; }
  .oc-header-actions { margin-left: 0; }
  .oc-saved-link { padding-inline: 10px; }
  .oc-saved-link b { display: none; }
  .oc-hero { padding-top: 47px; }
  .oc-hero-grid { display: block; }
  .oc-hero h1 { font-size: clamp(40px, 9vw, 58px); }
  .oc-hero-lede { margin-top: 20px; }
  .oc-goal-block { margin-top: 36px; }
  .oc-goal-tabs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .oc-goal-tabs button { min-width: min(290px, 82vw); scroll-snap-align: start; }
  .oc-goal-note { grid-template-columns: auto minmax(0, 1fr); }
  .oc-goal-note a { grid-column: 2; }
  .oc-results-layout { display: block; }
  .oc-filter-panel { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(340px, calc(100% - 44px)); overflow-y: auto; border-radius: 0 16px 16px 0; transform: translateX(-105%); transition: transform 180ms ease; }
  .oc-filter-panel.open { transform: translateX(0); }
  .oc-filter-backdrop { position: fixed; z-index: 55; inset: 0; background: rgb(23 32 30 / 46%); }
  .oc-mobile-filter { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 11px; color: var(--teal); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 650; }
  .oc-mobile-filter span { display: inline-grid; place-items: center; min-width: 19px; height: 19px; color: #fff; background: var(--teal); border-radius: 5px; font-size: 10px; }
  .oc-product-hero-grid { display: flex; flex-direction: column; }
  .oc-product-summary { order: 1; }
  .oc-product-media { order: 2; width: 100%; }
  .oc-decision-card { order: 3; }
  .oc-product-summary { padding: 26px 0 18px; }
  .oc-decision-card { display: block; margin-top: 12px; }
  .oc-overview-grid, .oc-evidence-split, .oc-research-support { grid-template-columns: 1fr; }
  .oc-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-section-heading.split { display: block; }
  .oc-section-heading > p { margin: 12px 0 0; text-align: left; }
  .oc-channel-row { grid-template-columns: 1fr; }
  .oc-channel-row > div:last-child { grid-column: auto; }
  .oc-channel-row > div + div { padding-left: 0; border-left: 0; }
  .oc-related-card { grid-template-columns: 1fr; gap: 5px; }
  .oc-detail-body { display: block; padding-top: 12px; }
  .oc-article-toc { position: static; display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0 0 10px; padding: 18px 0; }
  .oc-article-toc strong { width: 100%; }
  .oc-article-toc a { padding: 5px 0; }
  .oc-footer-grid { grid-template-columns: 1fr; padding: 22px 0; gap: 11px; }
  .oc-footer-grid p { text-align: left; }
}

@media (max-width: 560px) {
  .oc-header-actions .oc-icon-button:not(.oc-theme-toggle) { display: none; }
  .oc-hero { padding: 38px 0 32px; }
  .oc-hero h1 { font-size: 40px; line-height: 1.01; }
  .oc-hero-lede { font-size: 16px; }
  .oc-search { grid-template-columns: auto minmax(0, 1fr); padding-right: 12px; }
  .oc-search button { grid-column: 1 / -1; }
  .oc-goal-note { align-items: start; }
  .oc-results-section { padding-top: 29px; }
  .oc-results-heading { display: block; }
  .oc-results-heading h2 { font-size: 28px; }
  .oc-results-tools { margin-top: 14px; justify-content: space-between; }
  .oc-results-summary { align-items: flex-start; flex-direction: column; }
  .oc-active-filters { justify-content: flex-start; }
  .oc-card-visual { height: 170px; }
  .oc-card-summary { min-height: 0; }
  .oc-card-facts { grid-template-columns: 1fr; }
  .oc-pagination { align-items: flex-start; flex-direction: column; }
  .oc-pagination nav { max-width: 100%; flex-wrap: wrap; }
  .oc-breadcrumb { padding-top: 17px; }
  .oc-media-stage { min-height: 330px; }
  .oc-product-summary h1 { font-size: 38px; }
  .oc-product-actions { display: grid; grid-template-columns: 1fr; }
  .oc-key-facts { grid-template-columns: 1fr; }
  .oc-detail-body { padding-top: 8px; }
  .oc-detail-section { padding: 36px 0; border-radius: 0; }
  .oc-section-heading h2 { font-size: 30px; }
  .oc-section-heading > p { margin-left: 0; }
  .oc-research-provenance { grid-template-columns: 1fr; gap: 7px; }
  .oc-research-article h2 { font-size: 26px; }
  .oc-research-article p, .oc-research-article li { font-size: 17px; line-height: 1.7; }
  .oc-research-models article { grid-template-columns: 1fr; gap: 7px; }
  .oc-research-models article > span { grid-row: auto; }
  .oc-spec-grid, .oc-revenue-grid { grid-template-columns: 1fr; }
  .oc-related-grid { grid-template-columns: 1fr; }
  .oc-source-details summary { align-items: flex-start; flex-direction: column; }
  .oc-source-entry { grid-template-columns: 1fr; gap: 3px; }
  .oc-footer-grid nav { flex-wrap: wrap; gap: 9px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

.oc-turnstile-gate {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-soft);
}
.oc-turnstile-gate h2 { margin: 7px 0 8px; color: var(--ink); font-size: clamp(24px, 3vw, 34px); }
.oc-turnstile-gate p { max-width: 700px; color: var(--muted); }
.oc-turnstile-gate [data-turnstile-widget] { min-height: 65px; margin: 15px 0 8px; }
.oc-gate-status { margin: 8px 0 0; font-size: 12px; }
.oc-gate-status[data-state="error"] { color: #9b3f2a; }
.oc-access-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.oc-model-prose-grid, .oc-channel-prose-grid { display: grid; gap: 16px; margin: 20px 0 28px; }
.oc-working-model-item, .oc-working-channel-item { padding: 18px 20px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 8px; }
.oc-working-model-item h3, .oc-working-channel-item h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; font-weight: 600; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.oc-working-model-item h3 a { color: var(--teal); text-decoration: none; }
.oc-working-model-item h3 a:hover { text-decoration: underline; }
.oc-working-model-item p, .oc-working-channel-item p { margin: 0 0 10px; color: var(--article-ink); font-family: var(--font); font-size: 15px; line-height: 1.6; }
.oc-working-model-item p:last-child, .oc-working-channel-item p:last-child { margin-bottom: 0; }
.oc-model-action { margin-top: 10px; }
.oc-model-link, .oc-entity-link { color: var(--teal); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.oc-channel-role { color: var(--muted); font-size: 13px; font-weight: 400; }
.oc-channel-test { font-size: 14px; color: var(--ink); }
.oc-channel-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.oc-channel-meta em { font-style: normal; font-weight: 600; color: var(--ink); }
.oc-evidence-prose { margin: 16px 0 24px; padding: 16px 20px; background: var(--surface-muted); border-left: 3px solid var(--teal); border-radius: 0 6px 6px 0; }
.oc-evidence-prose p { margin: 0 0 12px; font-family: var(--font); font-size: 15px; }
.oc-evidence-prose ul { margin: 0 0 12px; padding-left: 20px; font-family: var(--font); font-size: 14px; }
.oc-evidence-prose li { margin-bottom: 6px; }
.oc-questions-list, .oc-sources-list { margin: 16px 0 28px; padding-left: 24px; font-family: var(--font); font-size: 15px; line-height: 1.6; }
.oc-questions-list li, .oc-sources-list li { margin-bottom: 10px; }
