/* Content layouts share the deck's typography, color tokens and page rail. */
.case-slide {
  padding-bottom: 36px;
}
.case-slide .s-section {
  font-size: 18px;
  letter-spacing: 0.015em;
}
.case-slide .s-title {
  font-size: 42px;
  max-width: none;
  letter-spacing: -0.035em;
  text-wrap: initial;
}
.case-slide .s-key {
  font-size: 22px;
  line-height: 1.55;
}
.case-slide .s-body {
  gap: 20px;
  padding-top: 24px;
}
.case-slide .s-body h3 {
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.033em;
  line-height: 1.32;
}
.case-slide .s-body p,
.case-slide .s-body dd,
.scope-compare li {
  font-size: 21px;
  line-height: 1.56;
  color: var(--muted);
}
.case-slide [hidden] {
  display: none !important;
}
.case-strip {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 17px;
  align-items: baseline;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  padding: 15px 20px;
  margin-top: auto;
}
.case-strip strong {
  font-size: 20px;
  color: var(--green-dk);
}
.case-slide .case-strip p {
  font-size: 20px;
  color: var(--navy);
}
.case-flow {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  counter-reset: none;
}
.case-flow li {
  position: relative;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 15px;
  border-radius: 8px;
}
.case-flow li + li::before {
  content: "→";
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--green);
}
.case-flow strong {
  font-size: 20px;
  line-height: 1.25;
  color: var(--navy);
}
.case-flow span {
  font-size: 17px;
  line-height: 1.35;
  color: var(--muted);
}
.case-flow .is-selected {
  border-color: #a3b4f1;
  background: var(--green-soft);
}
.data-architecture {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: stretch;
  gap: 46px;
}
.data-sources {
  display: grid;
  gap: 12px;
}
.data-sources > div,
.data-architecture article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 19px 22px;
  border-radius: 9px;
}
.data-architecture article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.data-architecture article::before {
  content: "→";
  position: absolute;
  right: calc(100% + 10px);
  top: 45%;
  color: var(--green);
  font-size: 30px;
}
.case-slide .source-size {
  font-size: 17px;
  font-weight: 650;
  color: var(--green-dk);
  margin-top: 8px;
}
.data-architecture .data-output {
  background: var(--green-soft);
  border-color: #aabaf0;
}
.case-join > h3 {
  margin-bottom: 12px;
}
.criteria-case {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: 24px;
}
.case-definition {
  margin: 0;
}
.case-definition > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.case-definition dt {
  font-size: 22px;
  font-weight: 750;
  color: var(--navy);
}
.case-definition dt span {
  display: block;
  font-size: 16px;
  font-weight: 650;
  color: var(--green-dk);
}
.filter-demo {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 9px;
}
.demo-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}
.demo-title span {
  font-size: 16px;
  color: var(--muted);
}
.filter-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.filter-controls label {
  display: grid;
  gap: 4px;
  font: 650 16px var(--font);
  color: var(--navy);
}
.filter-controls select {
  width: 100%;
  font: inherit;
  color: inherit;
  background: white;
  border: 1px solid #c6cfe0;
  border-radius: 5px;
  padding: 5px 6px;
}
.filter-visual {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin-top: 10px;
}
.filter-map {
  position: relative;
  width: 230px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(#c2cce2 1px, transparent 1.4px) 0 0/12px 12px,
    #e9eef8;
}
.filter-ring,
.filter-anchor,
.filter-point {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.filter-ring {
  width: var(--ring-size, 62%);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  border: 1px solid #5871cb;
  background: #5871cb17;
  transition: width 0.2s ease;
}
.filter-anchor {
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--navy);
  z-index: 1;
}
.filter-point {
  width: 8px;
  height: 8px;
  background: #8492a9;
}
.filter-point.is-match {
  background: var(--green);
  outline: 2px solid white;
}
.filter-results output {
  display: block;
  font-size: 17px;
  font-weight: 750;
  color: var(--green-dk);
  margin-bottom: 4px;
}
.filter-results ul {
  list-style: none;
}
.filter-results li {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: var(--navy);
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.choice-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.choice-comparison > div {
  padding: 13px 16px;
  border-top: 2px solid #bcc6d5;
  background: var(--panel);
}
.choice-comparison > div + div {
  background: var(--green-soft);
  border-color: var(--green);
}
.case-slide .choice-comparison h3 {
  font-size: 20px;
  margin-bottom: 5px;
}
.case-slide .choice-comparison p {
  font-size: 18px;
}
.case-tabs {
  margin-top: 3px;
  padding-bottom: 7px;
}
.case-tabs button {
  font-size: 18px;
}
.case-evidence {
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  gap: 21px;
  align-items: stretch;
  min-height: 0;
}
.evidence-detail {
  padding: 18px;
  background: var(--panel);
  border-radius: 8px;
}
.evidence-detail p {
  margin-top: 10px;
}
.demo-window {
  border: 1px solid #c7d1e4;
  border-radius: 9px;
  background: #f8fafd;
  padding: 16px 19px;
  min-width: 0;
}
.demo-window h4 {
  font-size: 21px;
  color: var(--navy);
}
.case-slide .demo-filter-summary {
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  padding: 8px;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--navy);
}
.case-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: white;
}
.case-table th,
.case-table td {
  padding: 11px 9px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.case-table th {
  background: var(--green-soft);
  color: var(--navy);
}
.case-table td:first-child {
  font-weight: 700;
  color: var(--navy);
}
.demo-bars {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 16px 0;
}
.demo-bars li {
  display: grid;
  grid-template-columns: 115px 1fr 52px;
  gap: 8px;
  align-items: center;
  font-size: 19px;
  color: var(--navy);
}
.demo-bars i {
  display: block;
  width: var(--share);
  height: 12px;
  background: var(--green);
  border-radius: 3px;
}
.scope-compare,
.ai-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.scope-compare article,
.ai-evidence article {
  padding: 23px 26px;
  background: var(--panel);
  border-top: 4px solid #bcc6d5;
}
.scope-compare article + article,
.ai-evidence article + article {
  background: var(--green-soft);
  border-color: var(--green);
}
.scope-compare ul {
  margin-top: 15px;
  padding-left: 1.2em;
}
.scope-compare li + li {
  margin-top: 14px;
}
.handoff-lanes {
  display: grid;
  gap: 20px;
}
.handoff-lanes article {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.handoff-lanes article + article {
  border-color: #aabaf0;
  background: var(--green-soft);
}
.handoff-lanes h3 {
  margin-bottom: 12px;
}
.handoff-lanes article + article li {
  background: #fff;
}
.ai-cycle {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
#review-steps li:nth-child(2) {
  background: var(--green-soft);
  border-color: #aabaf0;
}
.case-slide .ai-cycle > p {
  margin-top: 12px;
  color: var(--green-dk);
  font-size: 18px;
}
.ai-evidence p {
  margin-top: 10px;
}
.apply-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.65fr;
  gap: 28px;
}
.apply-feature {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  padding: 22px;
}
.apply-feature strong {
  display: block;
  color: var(--green-dk);
  font-size: 70px;
  letter-spacing: -0.07em;
  line-height: 1.1;
}
.apply-feature strong span {
  font-size: 27px;
  letter-spacing: -0.035em;
  margin-left: 5px;
}
.apply-feature p {
  margin-top: 13px;
}
.apply-layout .case-definition > div {
  grid-template-columns: 200px 1fr;
}
@media (max-width: 1100px) {
  .case-slide .s-section {
    font-size: 13px;
  }
  .case-slide .s-title {
    font-size: 29px;
  }
  .case-slide .s-key {
    font-size: 16px;
  }
  .case-slide .s-body {
    gap: 15px;
    padding-top: 15px;
  }
  .case-slide .s-body h3 {
    font-size: 19px;
  }
  .case-slide .s-body p,
  .case-slide .s-body dd,
  .scope-compare li {
    font-size: 15px;
  }
  .case-strip {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 13px;
  }
  .case-strip strong,
  .case-slide .case-strip p {
    font-size: 15px;
  }
  .case-flow {
    gap: 19px;
  }
  .case-flow li {
    padding: 10px;
  }
  .case-flow strong {
    font-size: 15px;
  }
  .case-flow span {
    font-size: 13px;
  }
  .case-flow li + li::before {
    font-size: 14px;
    right: calc(100% + 3px);
  }
  .data-architecture {
    gap: 23px;
  }
  .data-architecture article::before {
    font-size: 18px;
    right: calc(100% + 4px);
  }
  .data-sources > div,
  .data-architecture article,
  .scope-compare article,
  .ai-evidence article,
  .handoff-lanes article,
  .ai-cycle,
  .apply-feature {
    padding: 13px;
  }
  .case-slide .source-size,
  .demo-title span {
    font-size: 13px;
  }
  .case-definition > div,
  .apply-layout .case-definition > div {
    grid-template-columns: 108px 1fr;
    gap: 9px;
    padding: 10px 0;
  }
  .case-definition dt {
    font-size: 15px;
  }
  .case-definition dt span {
    font-size: 12px;
  }
  .filter-map {
    width: 150px;
  }
  .filter-controls label,
  .filter-results li,
  .filter-results output,
  .case-table th,
  .case-table td,
  .case-tabs button,
  .demo-window h4,
  .demo-bars li {
    font-size: 14px;
  }
  .case-slide .demo-filter-summary {
    font-size: 13px;
  }
  .demo-window {
    padding: 12px;
  }
  .case-table th,
  .case-table td {
    padding: 8px 5px;
  }
  .apply-feature strong {
    font-size: 46px;
  }
  .apply-feature strong span {
    font-size: 19px;
  }
}
@media (max-width: 720px) {
  .case-slide .s-title {
    font-size: 25px;
  }
  .data-architecture,
  .criteria-case,
  .choice-comparison,
  .case-evidence,
  .scope-compare,
  .ai-evidence,
  .apply-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .data-architecture article::before {
    display: none;
  }
  .case-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .case-flow li + li::before {
    display: none;
  }
  .handoff-lanes .case-flow,
  .case-join .case-flow {
    grid-template-columns: 1fr;
  }
  .case-flow li {
    gap: 3px;
    padding: 9px;
  }
  .case-tabs {
    flex-wrap: wrap;
  }
  .case-tabs button {
    padding: 8px 9px;
    font-size: 13px;
  }
  .filter-visual {
    gap: 10px;
  }
  .filter-map {
    width: 126px;
  }
  .case-table th,
  .case-table td {
    font-size: 12px;
  }
  .demo-bars li {
    grid-template-columns: 75px 1fr 32px;
  }
  .evidence-detail {
    padding: 12px;
  }
}

@media (min-width: 1101px) {
  #overview .s-title {
    font-size: 42px;
    letter-spacing: -0.035em;
  }
  #overview .s-key {
    font-size: 22px;
  }
  .data-architecture {
    flex: 1;
    min-height: 245px;
  }
  .data-sources > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .case-join .case-flow li {
    padding: 20px;
  }
  .case-evidence {
    flex: 1;
  }
  .demo-window {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  .evidence-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .scope-compare {
    flex: 1;
  }
  .scope-compare article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 34px;
  }
  .scope-compare li {
    line-height: 1.58;
  }
  .handoff-lanes {
    flex: 1;
    grid-template-rows: repeat(2, 1fr);
  }
  .handoff-lanes article {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .handoff-lanes .case-flow li {
    padding: 20px;
  }
  .ai-evidence {
    flex: 1;
  }
  .ai-evidence article {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .apply-layout {
    flex: 1;
  }
  .apply-feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .apply-layout .case-definition {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media (min-width: 1101px) {
  .side-nav {
    overflow-y: auto;
  }
}
