/*-- scss:defaults --*/

$body-bg: #FFFFFF;
$body-color: #000000;
$link-color: #18453B;
$presentation-heading-color: #18453B;
$presentation-heading-font: "Aptos Display", "Helvetica Neue", Arial, sans-serif;
$font-family-sans-serif: "Aptos", "Helvetica Neue", Arial, sans-serif;
$presentation-font-size-root: 36px;
$code-color: #18453B;
$code-bg: rgba(24, 69, 59, 0.08);

/*-- scss:rules --*/

.reveal {
  font-weight: 400;
}

.reveal .slides section {
  padding-top: 0.25em;
}

.reveal .slides section.present {
  position: relative;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  letter-spacing: -0.025em;
  text-transform: none;
}

.reveal h2 {
  border-bottom: 5px solid #7BBD00;
  padding-bottom: 0.18em;
  margin-bottom: 0.55em;
}

.reveal h3,
.reveal h4 {
  color: #18453B;
  font-size: 1.05em;
}

.card-title {
  display: block;
  color: #18453B;
  font-size: 1.03em;
  font-weight: 750;
  line-height: 1.15;
  margin-bottom: 0.32em;
}

.reveal p,
.reveal li {
  line-height: 1.35;
}

.reveal ul,
.reveal ol {
  margin-left: 1.1em;
}

.reveal code {
  border-radius: 0.18em;
  padding: 0.04em 0.18em;
}

.reveal pre code {
  padding: 0.8em;
  line-height: 1.3;
  max-height: 540px;
}

.reveal .slide-number {
  color: #18453B;
  background: transparent;
}

.big-claim,
.final-claim {
  font-size: 1.42em;
  line-height: 1.25;
  font-weight: 650;
  color: #18453B;
  background: #fff;
  border-left: 10px solid #7BBD00;
  border-radius: 0.25em;
  padding: 0.55em 0.7em;
  margin: 0.25em 0 0.75em;
  box-shadow: 0 6px 18px rgba(24, 69, 59, 0.10);
}

.route-columns {
  margin-top: 1.2em;
}

.route-columns .column {
  box-sizing: border-box;
  background: #fff;
  border-top: 8px solid #18453B;
  border-radius: 0.28em;
  padding: 0.8em;
  min-height: 8.2em;
  box-shadow: 0 5px 14px rgba(24, 69, 59, 0.09);
}

.route-columns .column:last-child {
  border-color: #7BBD00;
}

.room-prompt {
  background: #fff;
  border-left: 10px solid #18453B;
  border-radius: 0.25em;
  padding: 0.65em 0.85em;
  font-size: 1.15em;
  box-shadow: 0 6px 18px rgba(24, 69, 59, 0.10);
}

.compact-prompt {
  font-size: 0.9em;
  margin-top: 0.55em;
}

.say-it {
  background: rgba(123, 189, 0, 0.12);
  border-left: 8px solid #7BBD00;
  border-radius: 0.25em;
  padding: 0.45em 0.65em;
  margin-top: 0.65em;
  font-weight: 600;
}

.arc-columns h3 {
  margin-bottom: 0.25em;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45em;
  margin-top: 0.4em;
}

.decision-card {
  background: #fff;
  border-top: 8px solid #18453B;
  border-radius: 0.28em;
  padding: 0.55em;
  min-height: 7.1em;
  box-shadow: 0 5px 14px rgba(24, 69, 59, 0.09);
}

.decision-card h3,
.decision-card h4 {
  font-size: 0.92em;
}

.decision-card p {
  font-size: 0.72em;
}

.reveal table {
  width: 100%;
  font-size: 0.8em;
  border-collapse: collapse;
  margin: 0.35em auto;
}

.reveal table th {
  color: #18453B;
  border-bottom: 3px solid #18453B;
  padding: 0.36em 0.5em;
}

.reveal table td {
  border-bottom: 1px solid rgba(24, 69, 59, 0.25);
  padding: 0.36em 0.5em;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55em;
  margin: 1.1em 0 0.8em;
}

.metric-card {
  min-width: 0;
  background: #fff;
  border-top: 8px solid #18453B;
  border-radius: 0.28em;
  padding: 0.7em;
  text-align: center;
  min-height: 7.3em;
  box-shadow: 0 5px 14px rgba(24, 69, 59, 0.09);
}

.metric-card:nth-child(even) {
  border-color: #7BBD00;
}

.metric-label {
  display: block;
  color: #18453B;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  font-size: 2em;
  margin: 0.25em 0;
}

.bottom-line,
.three-questions,
.mini-caution,
.big-question {
  border-radius: 0.25em;
  padding: 0.48em 0.65em;
}

.bottom-line {
  background: rgba(24, 69, 59, 0.10);
  border-left: 8px solid #18453B;
  margin-top: 0.6em;
  font-weight: 600;
}

.dense-plot-slide .bottom-line {
  font-size: 0.64em;
  line-height: 1.14;
  margin-top: 0.24em;
  margin-bottom: 0;
  padding: 0.24em 0.5em;
}

.dense-plot-slide .slide-link {
  position: static;
  margin-top: 0.12em;
}

.mini-caution {
  background: rgba(123, 189, 0, 0.12);
  border-left: 7px solid #7BBD00;
  font-size: 0.78em;
  margin-top: 0.7em;
}

.big-question {
  background: #fff;
  border: 4px solid #008934;
  color: #18453B;
  font-size: 1.05em;
  font-weight: 700;
  margin-top: 0.7em;
}

.slide-link {
  position: absolute;
  left: 0.3em;
  bottom: 0.8em;
  z-index: 5;
  margin: 0;
}

.slide-link p {
  margin: 0;
}

.walkthrough-link {
  display: inline-block;
  padding: 0.22em 0.58em;
  color: #fff !important;
  background-color: #18453B !important;
  border-radius: 999px;
  font-size: 0.68em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(24, 69, 59, 0.20);
}

.walkthrough-link:hover {
  background-color: #008208 !important;
}

.walkthrough-link::after {
  content: "  →";
}

.flow-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.45em;
  margin: 0.7em 0;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65em;
  margin-top: 0.9em;
}

.comparison-card {
  background: #fff;
  border-top: 9px solid #18453B;
  border-radius: 0.3em;
  padding: 0.8em;
  min-height: 9em;
  box-shadow: 0 5px 14px rgba(24, 69, 59, 0.09);
}

.accent-card,
.actor-card {
  border-color: #7BBD00;
}

.dyad-card {
  border-color: #0B9A6D;
}

.handoff-flow,
.dgp-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.5em;
  margin-top: 1.2em;
}

.handoff-box,
.dgp-box {
  flex: 1;
  background: #fff;
  border: 4px solid #18453B;
  border-radius: 0.3em;
  padding: 0.75em;
  text-align: center;
}

.dgp-box {
  text-align: left;
  min-height: 8.2em;
}

.flow-box {
  flex: 1;
  background: #fff;
  border: 4px solid #18453B;
  border-radius: 0.3em;
  padding: 0.55em;
  text-align: center;
}

.choice-box {
  border-color: #7BBD00;
}

.flow-arrow {
  display: flex;
  align-items: center;
  color: #18453B;
  font-weight: 700;
}

.three-questions {
  background: #fff;
  border-left: 8px solid #7BBD00;
  margin-top: 0.5em;
}

.number-callout {
  background: #fff;
  border-left: 9px solid #18453B;
  padding: 0.45em 0.6em;
  margin: 0.45em 0;
  font-size: 1.05em;
}

.accent-number {
  border-color: #7BBD00;
}

.number-callout strong {
  font-size: 1.75em;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.38em;
}

#course-map h2 {
  font-size: 1.35em;
}

#false-positive h2,
#measurement h2 {
  font-size: 1.42em;
}

#randomization h2 {
  font-size: 1.25em;
}

#randomization p,
#randomization li {
  font-size: 0.9em;
}

#framework h2 {
  font-size: 1.35em;
}

#framework .metric-card strong {
  font-size: 1.48em;
}

#framework .metric-card p {
  font-size: 0.82em;
}

.map-card {
  background: #fff;
  border-top: 8px solid #18453B;
  border-radius: 0.25em;
  padding: 0.48em;
  min-height: 9.3em;
  box-shadow: 0 4px 12px rgba(24, 69, 59, 0.09);
}

.map-card:first-child {
  grid-column: span 2;
}

.map-card h3,
.map-card h4 {
  font-size: 0.78em;
}

.map-card p {
  font-size: 0.61em;
}

.latent-card { border-color: #18453B; }
.model-card { border-color: #008208; }
.time-card { border-color: #7BBD00; }
.inference-card { border-color: #0B9A6D; }
.frontier-card { border-color: #008934; }

.purpose-card {
  background: #fff;
  border-top: 10px solid #18453B;
  border-radius: 0.3em;
  padding: 0.8em;
  min-height: 10.5em;
  box-shadow: 0 6px 16px rgba(24, 69, 59, 0.10);
}

.estimand-card {
  border-color: #7BBD00;
}

.closing-list {
  font-size: 1.06em;
}

.final-claim {
  margin-top: 0.75em;
  font-size: 1.17em;
}

@media (max-width: 1100px) {
  .decision-grid,
  .map-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-card:first-child {
    grid-column: span 1;
  }
}
