/*
 * Codex course C3 review theme
 * Layer: design tone only. Content and legacy layout geometry stay separate.
 * Direction: Baigie-inspired readability, restrained navy/blue, no decorative English.
 */

:root {
  --hb-bg: #f7f5ef;
  --hb-white: #fffefa;
  --hb-black: #111827;
  --hb-gold: #2563eb;
  --hb-gold-light: #93b9f6;
  --hb-gold-deep: #1e3a8a;
  --hb-gold-pale: #e8eef9;
  --hb-gold-faint: rgba(37, 99, 235, 0.08);
  --hb-grad: linear-gradient(90deg, #2563eb, #2563eb);
  --hb-grad-light: linear-gradient(90deg, #93b9f6, #93b9f6);
  --hb-grad-vivid: linear-gradient(90deg, #2563eb, #2563eb);
  --hb-green: #2563eb;
  --hb-green-light: #93b9f6;
  --hb-green-pale: rgba(37, 99, 235, 0.08);
  --hb-green-faint: rgba(37, 99, 235, 0.05);
  --hb-teal: #2563eb;
  --hb-navy: #0f1d33;
  --hb-slate: #687386;
  --hb-gray-100: #efede6;
  --hb-gray-200: #d8d4ca;
  --hb-gray-500: #6b7280;
  --hb-gray-600: #3f4652;
  --font-h: "Noto Sans JP", sans-serif;
  --font-b: "Noto Sans JP", sans-serif;
  --font-m: "JetBrains Mono", "Noto Sans JP", monospace;
}

body,
body.bulls-mode {
  --hb-gold: #2563eb;
  --hb-gold-light: #93b9f6;
  --hb-gold-deep: #1e3a8a;
  --hb-gold-pale: #e8eef9;
  --hb-gold-faint: rgba(37, 99, 235, 0.08);
  --hb-grad: linear-gradient(90deg, #2563eb, #2563eb);
  --hb-grad-light: linear-gradient(90deg, #93b9f6, #93b9f6);
  --hb-grad-vivid: linear-gradient(90deg, #2563eb, #2563eb);
  background: #23272f;
}

.deck {
  background: #23272f;
}

.stage {
  border: 1px solid #606875;
  border-radius: 0;
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.42);
}

.slide {
  border-radius: 0;
  background: var(--hb-bg);
}

.s-inner {
  padding: 54px 74px 58px;
}

.s-overline {
  margin-bottom: 13px;
  color: #48607e;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  gap: 10px;
}

.s-overline::before {
  content: "";
  width: 24px;
  height: 2px;
  background: #2563eb;
}

.s-title {
  color: #111827;
  font-family: var(--font-h);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.s-title .accent,
.card3 .c3-title .accent,
.callout .co-text b {
  color: #1e40af;
}

.s-rule {
  width: 100%;
  height: 1px;
  margin: 18px 0 22px;
  border-radius: 0;
  background: #cbc7bd;
}

.s-lead {
  color: #434a56;
  font-size: 18px;
  line-height: 1.75;
}

.s-footer {
  padding: 16px 74px;
  border-top: 1px solid rgba(203, 199, 189, 0.62);
}

.s-footer-brand {
  color: #68707d;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.s-footer-page {
  color: #68707d;
  font-size: 11px;
}

.slide--content::before,
.slide--twocol::before,
.slide--stats::before,
.slide--timeline::before,
.slide--compare::before,
.slide--agenda::before,
.slide--profile::before,
.slide--story::before,
.slide--diagram::before {
  display: none;
}

.s-blob,
.s-radial,
.s-grid {
  display: none;
}

/* Title, chapter, and closing slides share the C3 navy surface. */
.slide--title,
.slide--lead,
.slide--thanks {
  background: #0f1d33;
}

.slide--title .t-brandrow {
  margin-bottom: 34px;
}

.slide--title .t-mark {
  display: none;
}

.slide--title .t-brand {
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.slide--title .s-overline {
  display: none;
}

.slide--title .t-h1 {
  color: #ffffff;
  font-family: var(--font-h);
  font-size: 58px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.slide--title .t-h1 .accent {
  color: #9abcf6;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.slide--title .t-sub {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-b);
  font-size: 20px;
  line-height: 1.65;
}

.slide--title .t-line {
  width: 72px;
  height: 3px;
  margin: 28px 0 20px;
  border-radius: 0;
  background: #6fa0ee;
}

.slide--title .t-meta {
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-b);
  font-size: 13px;
}

.slide--title .s-footer,
.slide--lead .s-footer,
.slide--thanks .s-footer {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.slide--title .s-footer-brand,
.slide--title .s-footer-page,
.slide--lead .s-footer-brand,
.slide--lead .s-footer-page,
.slide--thanks .s-footer-brand,
.slide--thanks .s-footer-page {
  color: rgba(255, 255, 255, 0.5);
}

.slide--lead .l-kicker {
  margin-bottom: 24px;
  color: #9abcf6;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
}

.slide--lead .l-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin: 0 10px 4px 0;
  background: #6fa0ee;
}

.slide--lead .l-big {
  color: #ffffff;
  font-family: var(--font-h);
  font-size: 56px;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.slide--lead .l-big .accent {
  color: #9abcf6;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.slide--lead .l-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.8;
}

.slide--thanks .th-brand {
  color: #9abcf6;
  font-family: var(--font-b);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.slide--thanks .th-msg {
  color: #ffffff;
  font-family: var(--font-h);
  letter-spacing: -0.03em;
}

.slide--thanks .th-line {
  border-radius: 0;
  background: #6fa0ee;
}

.slide--thanks .th-contact {
  color: rgba(255, 255, 255, 0.62);
}

/* Bullet lists: readable rows, not a stack of mini-cards. */
.slide--content .blist,
.slide--biglist .blist {
  max-width: 1080px;
  margin-top: 2px;
  gap: 4px;
}

.slide--content .bitem,
.slide--biglist .bitem {
  min-height: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #3f4652;
  font-size: 18.5px;
  line-height: 1.58;
  align-items: flex-start;
  gap: 14px;
}

.slide--biglist .bitem {
  font-size: 19.5px;
}

.slide--content .bdot,
.slide--biglist .bdot {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border: 1px solid #b8c8e4;
  border-radius: 2px;
  background: #edf2fa;
  color: #1e40af;
}

.slide--content .bdot i,
.slide--biglist .bdot i {
  width: 16px;
  height: 16px;
}

.callout {
  margin-top: 18px;
  padding: 17px 22px;
  border-left: 4px solid #2563eb;
  border-radius: 0;
  background: #ece9e1;
}

.callout .co-strong {
  font-family: var(--font-b);
  font-size: 18px;
}

.callout .co-text {
  color: #434a56;
  font-size: 15.5px;
  line-height: 1.7;
}

.cardrow {
  gap: 18px;
  margin-top: 22px;
}

.card3 {
  padding: 24px 23px;
  border: 1px solid #d1cdc4;
  border-radius: 3px;
  background: rgba(255, 254, 250, 0.82);
  box-shadow: none;
}

.card3::before {
  height: 3px;
  background: #2563eb;
}

.card3 .c3-ic {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  border-radius: 2px;
  background: #e8eef9;
  color: #1e40af;
}

.card3 .c3-kicker {
  color: #51637d;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.card3 .c3-title {
  font-family: var(--font-h);
  font-size: 21px;
}

.card3 .c3-text {
  color: #59606c;
  font-size: 14.5px;
}

.tree {
  padding: 20px 24px;
  border: 1px solid #d1cdc4;
  border-radius: 2px;
  background: #fffefa;
  color: #414957;
  font-size: 14px;
  line-height: 1.72;
}

.tree .tg {
  color: #1e40af;
}

.slide--timeline .tl-row {
  gap: 10px;
  margin-top: 22px;
}

.slide--timeline .tl-step {
  min-height: 178px;
  padding: 22px 19px;
  border: 1px solid #d1cdc4;
  border-radius: 2px;
  background: #fffefa;
  box-shadow: none;
  justify-content: flex-start;
}

.slide--timeline .tl-step::before {
  height: 3px;
  border-radius: 0;
  background: #2563eb;
}

.slide--timeline .tl-num {
  width: max-content;
  margin-bottom: 14px;
  padding: 3px 9px;
  border-radius: 2px;
  background: #e8eef9;
  color: #1e40af;
  font-size: 15px;
}

.slide--timeline .tl-num::before {
  content: "";
}

.slide--timeline .tl-title {
  font-size: 19px;
}

.slide--timeline .tl-desc {
  color: #59606c;
  font-size: 14px;
}

.compare-col {
  border: 1px solid #d1cdc4;
  border-radius: 2px;
  box-shadow: none;
}

.compare-before,
.compare-after {
  background: #fffefa;
}

.compare-after {
  border-top: 3px solid #2563eb;
}

.compare-header {
  font-family: var(--font-b);
}

.agenda-num {
  color: #1e40af;
}

.slide--profile .pf-card {
  border: 1px solid #d1cdc4;
  border-radius: 3px;
  background: #ece9e1;
}

.slide--profile .pf-avatar {
  border-radius: 2px;
  background: #1e3a8a;
}

.slide--profile .pf-name {
  font-family: var(--font-h);
}

.slide--profile .pf-role {
  color: #4b5e79;
  font-family: var(--font-b);
}

.s-figure img {
  border-radius: 0;
  box-shadow: none;
}

.viz-node,
.viz-chip,
.viz-center {
  border-radius: 3px;
  box-shadow: none;
}

.viz-node {
  background: #fffefa;
}

.viz-center {
  background: #1e3a8a;
}

.viz-ic {
  border-radius: 2px;
  background: #e8eef9;
  color: #1e40af;
}

.viz-kicker {
  font-family: var(--font-b);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Viewer chrome: deliberately different from the slide canvas. */
.bulls-toggle {
  display: none !important;
}

.review-label {
  position: fixed;
  top: 18px;
  left: 20px;
  z-index: 20;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(14, 17, 23, 0.84);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav {
  background: rgba(15, 18, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.nav button,
.nav-count,
.hint {
  color: rgba(255, 255, 255, 0.82);
}

.hint {
  background: rgba(15, 18, 24, 0.78);
}

@media (max-width: 720px) {
  .review-label {
    top: 8px;
    left: 8px;
  }
}
