*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --content-width: min(1600px, 88vw);
}

html {
  font-size: 150%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.45;
}

.page-header {
  text-align: center;
  padding: 28px 16px 0;
  border-bottom: 0;
}

.page-header::after {
  content: "";
  display: block;
  max-width: 60rem;
  margin: 22px auto 0;
  border-bottom: 1px solid #dedede;
}

h1 {
  margin: 0 auto;
  max-width: var(--content-width);
  font-size: clamp(1.55rem, 2.9vw, 2.35rem);
  line-height: 1.24;
  font-weight: 700;
}

.title-blue {
  color: #0a4ea2;
  font-weight: 700;
}

.title-red {
  color: #ad1f1f;
  font-weight: 700;
}

.title-nowrap {
  white-space: nowrap;
}

.title-subtitle {
  display: block;
  font-size: 1.28rem;
  line-height: 1.18;
  white-space: nowrap;
}

@media (max-width: 1580px) {
  .title-subtitle {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .title-subtitle {
    font-size: 1.08rem;
  }
}

.paper-note {
  margin: 10px 0 0;
  font-size: 1rem;
}

.container {
  width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 28px;
}

.section {
  padding: 26px 0 6px;
}

.section + .section {
  border-top: 1px solid #dedede;
  margin-top: 22px;
}

h2 {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

#part1 h2,
#part2 h2,
#part3 h2,
#part4 h2,
#part5 h2,
#part6 h2 {
  text-align: left;
}

#part1 h2 {
  color: #1f4e79;
}

#part2 h2 {
  color: #2f6f4f;
}

#part3 h2 {
  color: #7a4a12;
}

#part4 h2 {
  color: #7c2d2d;
}

#part5 h2 {
  color: #5b3a82;
}

#part6 h2 {
  color: #8a4b08;
}

.part-label {
  display: block;
  margin-bottom: 2px;
  font-size: 1.06em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.part-title {
  display: block;
  font-size: 0.92em;
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.part4-intro {
  text-align: left;
}

.part5-demo-intro {
  min-height: 0;
}

.overview-summary {
  margin: 0 auto 14px;
  max-width: var(--content-width);
  text-align: left;
  line-height: 1.55;
}

.panel,
.media-card,
.case-card {
  border: 1px solid #cfcfcf;
  background: #fff;
}

.panel,
.media-card,
.case-card {
  padding: 14px;
}

.panel ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.overview-structure {
  max-width: var(--content-width);
  margin: 0 auto;
}

.demo-nav-panel {
  padding: 0;
  overflow: hidden;
}

.demo-nav-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #d7dee8;
  background: #f8fafc;
}

.demo-nav-heading h3 {
  min-height: 0;
  margin: 0;
  color: #111;
}

.demo-nav-heading p {
  max-width: 34rem;
  margin: 0;
  color: #555;
  font-size: 0.78rem;
  line-height: 1.35;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.demo-link-groups {
  display: grid;
}

.demo-link-group {
  display: grid;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.8fr);
  gap: 18px;
  align-items: start;
  padding: 16px 16px 16px 13px;
  border-left: 4px solid #8a4a0b;
}

.demo-link-group + .demo-link-group {
  border-top: 2px solid #d7dee8;
}

.demo-link-group h4 {
  min-height: 0;
  margin: 0;
  color: #111;
  font-size: 0.9rem;
  line-height: 1.3;
}

.demo-link-group h4 span {
  display: block;
  margin-bottom: 3px;
  color: #8a4a0b;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.part-group-1 {
  border-left-color: #1f4e79;
  background: rgba(31, 78, 121, 0.045);
}

.part-group-2 {
  border-left-color: #2f6f4f;
  background: rgba(47, 111, 79, 0.045);
}

.part-group-3 {
  border-left-color: #7a4a12;
  background: rgba(122, 74, 18, 0.045);
}

.part-group-4 {
  border-left-color: #7c2d2d;
  background: rgba(124, 45, 45, 0.045);
}

.part-group-5 {
  border-left-color: #5b3a82;
  background: rgba(91, 58, 130, 0.045);
}

.part-group-6 {
  border-left-color: #25566b;
  background: rgba(37, 86, 107, 0.045);
}

#demo-nav-part1 span {
  color: #1f4e79;
}

#demo-nav-part2 span {
  color: #2f6f4f;
}

#demo-nav-part3 span {
  color: #7a4a12;
}

#demo-nav-part4 span {
  color: #7c2d2d;
}

#demo-nav-part5 span {
  color: #5b3a82;
}

#demo-nav-part6 span {
  color: #25566b;
}

.demo-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.demo-link-list a {
  display: grid;
  grid-template-columns: 4.2rem 1.25rem minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 2.25rem;
  padding: 7px 9px;
  border: 1px solid transparent;
  background: #fff;
  color: #174879;
  text-decoration: none;
  line-height: 1.25;
}

.demo-link-list a span {
  color: #5f6f82;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.demo-link-icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #50647c;
}

.demo-link-list a:hover,
.demo-link-list a:focus-visible {
  border-color: #c5d6ea;
  background: #f5f9ff;
  color: #0a4ea2;
  outline: none;
}

.demo-link-list a:hover .demo-link-icon,
.demo-link-list a:focus-visible .demo-link-icon {
  color: #174879;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-card {
  display: flex;
  flex-direction: column;
}

.media-card p {
  margin: 0 0 8px;
}

.media-card video {
  margin-top: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

video {
  width: 100%;
  display: block;
  border: 1px solid #bbbbbb;
  background: #000;
}

.full-card {
  max-width: min(920px, calc((var(--content-width) - 14px) / 2));
  margin: 0 auto;
}

.case-card + .case-card {
  margin-top: 14px;
}

.long-range-card {
  margin-top: 14px;
}

.long-range-card .case2-main {
  height: auto;
  align-items: start;
}

.long-range-card .case2-figure {
  height: auto;
}

.long-range-card .case2-figure img {
  height: auto;
  object-fit: contain;
}

.long-range-card .case2-table-wrap {
  height: auto;
  overflow-y: visible;
}

.case-header {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  align-items: center;
}

.case-intro {
  margin: 0;
}

.case-note {
  margin: 8px 0 0;
  line-height: 1.5;
}

.case1-card > .case-intro {
  margin-bottom: 12px;
}

.case1-main,
.case2-main {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  height: clamp(420px, 34vw, 620px);
  gap: 14px;
  align-items: stretch;
}

.case1-figure,
.case2-figure {
  margin: 0;
  height: 100%;
  border: 1px solid #bdbdbd;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.case1-figure img,
.case2-figure img {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  background: #fff;
  border: 0;
  display: block;
}

.case-figcaption {
  padding: 6px 10px 8px;
  font-size: 0.78rem;
  color: #555;
  text-align: center;
  line-height: 1.4;
}

.case1-table-wrap,
.case2-table-wrap {
  margin-top: 0;
  display: flex;
  height: 100%;
  overflow-y: auto;
  overflow-x: visible;
}

.case1-audio-table,
.case2-audio-table {
  min-width: 0;
  width: 100%;
  height: 100%;
  table-layout: fixed;
}

.case1-audio-table td:first-child,
.case2-audio-table td:first-child {
  width: 26%;
}

.long-range-audio-table td:first-child {
  width: 24%;
}

.long-range-audio-table {
  height: auto;
}

.case1-audio-table audio,
.case2-audio-table audio {
  min-width: 0;
}

.audio-pair {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.audio-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.audio-sub-label {
  font-size: 0.82rem;
  color: #333;
  font-weight: 700;
}

.case1-audio-table .audio-sub-label,
.case2-audio-table .audio-sub-label {
  font-size: 0.66rem;
}

.case-header img {
  width: 100%;
  border: 1px solid #bbbbbb;
  display: block;
}

.table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.case1-main > .case1-table-wrap,
.case2-main > .case2-table-wrap {
  margin-top: 0;
  overflow-x: visible;
}

.case3-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 8px;
}

.case3-figure {
  margin: 0;
  height: clamp(420px, 34vw, 620px);
  display: flex;
  flex-direction: column;
  border: 1px solid #bbbbbb;
  background: #fff;
}

.case3-figure img {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  background: #fff;
  border: 0;
  display: block;
}

.case3-explain {
  border: 1px solid #cfcfcf;
  padding: 12px;
  line-height: 1.42;
}

.case3-explain-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.case3-explain p {
  margin: 0 0 6px;
}

.case3-explain p:last-child {
  margin-bottom: 0;
}

.case3-text-list {
  margin: 0 0 0 20px;
  padding: 0;
}

.case3-text-list li {
  margin: 0 0 6px;
}

.case3-synth-line {
  margin-top: 2px;
  font-size: 0.95em;
}

.case3-inline-arrow {
  margin: 0 4px;
}

.case3-emph {
  font-weight: 700;
}

.case3-emph-red {
  font-weight: 700;
  color: #b11b1b;
}

.case3-audio-table {
  table-layout: fixed;
}

.case3-secondary-wrap {
  margin-top: 10px;
}

.stealth-card {
  display: block;
}

.stealth-intro {
  margin: 0 0 12px;
  line-height: 1.55;
}

.stealth-main {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  height: clamp(420px, 34vw, 620px);
  gap: 14px;
  align-items: stretch;
}

.stealth-figure {
  margin: 0;
  height: 100%;
  background: transparent;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: start;
}

.stealth-figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid #bdbdbd;
  display: block;
}

.stealth-figure .case-figcaption {
  padding: 6px 0 0;
  text-align: center;
}

.stealth-table-wrap {
  margin-top: 0;
  display: flex;
  height: 100%;
  overflow-y: auto;
  overflow-x: visible;
}

.stealth-audio-table {
  min-width: 0;
  width: 100%;
  height: 100%;
  table-layout: fixed;
  font-size: 0.84rem;
}

.stealth-audio-table td:first-child {
  width: 26%;
}

.stealth-audio-table th,
.stealth-audio-table td {
  padding: 6px 6px;
}

.stealth-audio-table audio {
  min-width: 0;
}

.stealth-audio-table .audio-sub-label {
  font-size: 0.66rem;
}

.audio-table.case3-audio-table th,
.audio-table.case3-audio-table td {
  width: 33.33%;
}

.audio-table.case3-audio-table td:first-child {
  width: 33.33%;
}

.audio-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.audio-table.case1-audio-table,
.audio-table.case2-audio-table {
  min-width: 0;
  font-size: 0.84rem;
}

.audio-table.case1-audio-table th,
.audio-table.case1-audio-table td,
.audio-table.case2-audio-table th,
.audio-table.case2-audio-table td {
  padding: 6px 6px;
}

.audio-table th,
.audio-table td {
  border: 1px solid #bdbdbd;
  padding: 8px 8px;
  vertical-align: top;
}

.audio-table th {
  background: #f4f4f4;
  text-align: left;
  font-weight: 700;
}

.audio-table td:first-child {
  width: 36%;
}

.audio-table audio {
  width: 100%;
  min-width: 170px;
}

.audio-table.case1-audio-table audio,
.audio-table.case2-audio-table audio {
  min-width: 0;
}

.case1-audio-table audio::-webkit-media-controls-overflow-button,
.case2-audio-table audio::-webkit-media-controls-overflow-button {
  display: none;
}

.audio-pair audio {
  min-width: 0;
}

.inline-injection {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.inline-injection audio {
  margin-top: 4px;
}

@media (max-width: 940px) {
  h1,
  .container,
  .overview-structure,
  .full-card {
    width: 94vw;
    max-width: 94vw;
  }

  .media-grid,
  .demo-link-group,
  .demo-link-list,
  .case-header,
  .case1-main,
  .case2-main,
  .case3-main {
    grid-template-columns: 1fr;
  }

  .demo-nav-heading {
    display: block;
  }

  .demo-nav-heading p {
    margin-top: 4px;
  }

  .case1-main,
  .case2-main {
    height: auto;
  }

  .case1-main > .case1-table-wrap,
  .case2-main > .case2-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
  }

  .audio-table.case1-audio-table,
  .audio-table.case2-audio-table,
  .audio-table.stealth-audio-table {
    min-width: 760px;
  }

  .case1-figure,
  .case1-table-wrap,
  .case2-figure,
  .case2-table-wrap,
  .case3-figure,
  .case3-explain {
    height: auto;
  }
}

@media (max-width: 680px) {
  .audio-table {
    min-width: 680px;
    font-size: 0.9rem;
  }

  .paper-note {
    font-size: 0.92rem;
  }

  .case1-audio-table,
  .case2-audio-table,
  .stealth-audio-table {
    min-width: 680px;
  }
}

@media (max-width: 780px) {
  .stealth-main {
    grid-template-columns: 1fr;
    height: auto;
  }

  .stealth-figure,
  .stealth-table-wrap {
    height: auto;
  }

  .stealth-main > .stealth-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #0a4ea2;
  color: #fff;
  padding: 8px 14px;
  z-index: 200;
}
.skip-link:focus {
  left: 8px;
}

.sr-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d4d4d4;
  backdrop-filter: saturate(140%) blur(4px);
}
.site-nav-inner {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.brand-eave {
  color: #ad1f1f;
}
.site-nav-brand {
  font-weight: 700;
  color: #0a4ea2;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.site-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.84rem;
}
.site-nav-links a {
  color: #333;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}
.site-nav-links a:hover {
  color: #0a4ea2;
  border-bottom-color: #0a4ea2;
}

.site-nav-links a.lang-switch,
.nav-lang-button {
  border: 1px solid #c5d6ea;
  border-radius: 999px;
  padding: 2px 10px;
  color: #0a4ea2;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-links a.lang-switch:hover,
.site-nav-links a.lang-switch:focus-visible,
.nav-lang-button:hover,
.nav-lang-button:focus-visible {
  background: #f5f9ff;
  border-color: #0a4ea2;
}

.theme-toggle {
  flex: 0 0 auto;
  border: 1px solid #c5d6ea;
  border-radius: 999px;
  padding: 4px 11px;
  background: #fff;
  color: #0a4ea2;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: #0a4ea2;
  background: #f5f9ff;
  outline: 2px solid transparent;
}

.nav-signal-demo {
  cursor: pointer;
}

.nav-signal-demo:focus-visible {
  outline: 2px solid #0a4ea2;
  outline-offset: 4px;
}

body.easter-egg-active > :not(.easter-egg-overlay) {
  filter: blur(6px);
  transition: filter 160ms ease;
}

.easter-egg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.48);
  color: #111;
  text-align: center;
  cursor: pointer;
}

.easter-egg-message {
  max-width: min(900px, 88vw);
  font-size: clamp(1.6rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.easter-egg-message::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.88em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: caret-blink 0.8s steps(1) infinite;
}

.easter-egg-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px);
  align-items: center;
  gap: 26px;
  max-width: min(980px, 92vw);
  padding: 22px;
  border: 1px solid rgba(173, 31, 31, 0.2);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(20, 37, 63, 0.16);
  backdrop-filter: blur(4px);
  text-align: left;
}

.easter-egg-card .easter-egg-message {
  max-width: none;
  font-size: clamp(1.35rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  text-transform: none;
}

.easter-egg-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.18);
  filter: grayscale(100%);
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.hero-summary {
  margin: 12px auto 0;
  max-width: 60rem;
  text-align: left;
  line-height: 1.55;
}

.scope-note {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid #d8d8d8;
  background: #f6f6f6;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.45;
}

.overview-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 52rem;
  margin: 18px auto 10px;
}

.overview-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 9.25rem;
  padding: 8px 18px;
  border: 1px solid #b8c8dd;
  border-radius: 999px;
  background: #fff;
  color: #0a4ea2;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(10, 78, 162, 0.06);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease;
}

.overview-card-conference {
  border-color: #ad1f1f;
  background: #ad1f1f;
  color: #fff;
}

.overview-card-button {
  font: inherit;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  appearance: none;
}

.overview-card:hover,
.overview-card:focus-visible,
.overview-card.is-copied {
  background: #f4f9ff;
  border-color: #0a4ea2;
  box-shadow: 0 8px 18px rgba(10, 78, 162, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.overview-card-conference:hover,
.overview-card-conference:focus-visible {
  background: #8d1919;
  border-color: #8d1919;
  box-shadow: 0 8px 18px rgba(173, 31, 31, 0.18);
}

.overview-card:active {
  transform: translateY(0);
}

.overview-card-title {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  color: inherit;
}

.visitor-badge {
  margin: 18px 0 0;
  text-align: right;
}

.visitor-badge img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.overview-video {
  max-width: min(920px, calc((var(--content-width) - 14px) / 2));
  margin: 22px auto 0;
}

.overview-video video {
  border-radius: 4px;
}

.password-prompt {
  margin: 10px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #4b5563;
  text-align: center;
}

.password-check-button {
  margin-left: 10px;
  padding: 4px 10px;
  border: 1px solid #1b4f93;
  border-radius: 999px;
  background: #f8fbff;
  color: #0a4ea2;
  font: 600 0.78rem/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  vertical-align: baseline;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.password-check-button:hover,
.password-check-button:focus {
  border-color: #0a4ea2;
  background: #eaf3ff;
}

.password-check-button:disabled {
  border-color: #c7d3e3;
  cursor: default;
  opacity: 0.72;
}

.password-answer {
  margin-left: 10px;
  font-weight: 700;
  color: #ad1f1f;
}

.page-header #summary {
  max-width: 60rem;
  margin: 34px auto 10px;
  padding-top: 26px;
  border-top: 1px solid #dedede;
}

.hero-authors {
  margin: 18px auto 0;
  max-width: 62rem;
}
.hero-author-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 30px;
}
.hero-author-list li {
  font-size: 1.12rem;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}
.author-name {
  color: #1a1a1a;
}
a.author-name {
  color: #1a1a1a;
  text-decoration: none;
}
a.author-name:hover {
  color: #0a4ea2;
}
.affil-mark {
  color: #777;
  font-weight: 400;
}
.hero-affils {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 44px;
}
.hero-affil {
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
}
.hero-affil .affil-mark {
  margin-top: 2px;
  font-size: 1.05rem;
}
.hero-affil img {
  height: 52px;
  width: auto;
}
@media (max-width: 720px) {
  .hero-author-list {
    gap: 4px 18px;
  }
  .hero-author-list li {
    font-size: 1rem;
  }
  .hero-affil img {
    height: 42px;
  }
}

h2 {
  scroll-margin-top: 64px;
}
.section[id] {
  scroll-margin-top: 64px;
}
.section-lead {
  max-width: 62rem;
  margin: 0 auto 16px;
  text-align: center;
  color: #333;
}

.glance-list {
  max-width: 70rem;
  margin: 0 auto;
  padding-left: 22px;
  line-height: 1.55;
}
.glance-list li {
  margin-bottom: 10px;
}

.figure-block {
  margin: 0 auto 14px;
  max-width: 70rem;
  text-align: center;
}
.figure-block img {
  width: 100%;
  height: auto;
  background: #fff;
}
.figure-block figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.45;
}

.figure-legend {
  display: block;
  margin-top: 4px;
  font-size: 0.92em;
  color: #666;
}

.figure-with-wave-key {
  display: grid;
  grid-template-columns: minmax(0, 28rem) max-content;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.figure-with-wave-key > .animated-figure-frame {
  grid-column: 1;
  grid-row: 1;
}

.wave-key-panel {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
}

.wave-key-panel h4 {
  margin: 0 0 8px;
  color: #1f4e79;
  font-size: 0.9rem;
}

.wave-key-row {
  display: grid;
  grid-template-columns: 48px max-content;
  gap: 8px;
  align-items: center;
  padding: 0;
  border-top: 0;
}

.wave-key-row:first-of-type {
  border-top: 0;
}

.wave-key-row p {
  margin: 0;
  line-height: 1.25;
  text-align: left;
  transform: translateY(3px);
}

.wave-key-row strong {
  display: block;
}

.wave-key-row strong {
  color: #222;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.wave-legend-svg {
  width: 48px;
  height: 32px;
  overflow: visible;
}

.wave-key-burst .em-burst-dot {
  animation: fig1-burst-dot 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.wave-key-burst .em-burst-arc {
  fill: none;
  opacity: 0.34;
  animation: fig1-burst-arc 2.4s ease-in-out infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

.key-burst-passive .em-burst-dot {
  fill: #8f949c;
}

.key-burst-passive .em-burst-arc {
  stroke: #b7bbc2;
}

.key-burst-injected .em-burst-dot {
  fill: #ef2b24;
}

.key-burst-injected .em-burst-arc {
  stroke: #ef2b24;
}

.key-burst-induced .em-burst-dot {
  fill: #28afe5;
}

.key-burst-induced .em-burst-arc {
  stroke: #28afe5;
}

.wave-key-burst .em-burst-arc-1 {
  animation-delay: 0.1s;
}

.wave-key-burst .em-burst-arc-2 {
  animation-delay: 0.24s;
}

.wave-key-burst .em-burst-arc-3 {
  animation-delay: 0.38s;
}

@media (prefers-reduced-motion: reduce) {
  .wave-key-burst .em-burst-dot {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .wave-key-burst .em-burst-arc {
    animation: none;
    opacity: 0.5;
  }
}

@media (max-width: 760px) {
  .figure-with-wave-key {
    grid-template-columns: 1fr;
  }

  .wave-key-panel {
    border: 0;
  }
}

.figure-with-model-key-layout {
  display: grid;
  grid-template-columns: minmax(0, 28rem) max-content;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.model-key-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
  background: #fff;
  transform: translateY(10px);
}

.model-key-row {
  display: grid;
  grid-template-columns: 108px max-content;
  gap: 10px;
  align-items: center;
}

.model-key-row p {
  margin: 0;
  line-height: 1.12;
  text-align: left;
}

.model-key-row strong,
.model-key-row span {
  display: block;
  white-space: nowrap;
}

.model-key-row strong {
  color: #222;
  font-size: 0.72rem;
  font-weight: 700;
}

.model-key-row span {
  color: #444;
  font-size: 0.56rem;
  font-style: italic;
}

.model-key-svg {
  width: 108px;
  height: 50px;
  overflow: visible;
}

.model-key-svg .dynamic-wave {
  fill: none;
  opacity: 0.95;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.model-key-svg .fig2-wave-inj {
  stroke: #0000ff;
}

.model-key-svg .fig2-wave-eav {
  stroke: #ff0000;
}

.model-key-svg .fig2-wave-sig {
  stroke: #008600;
}

@media (max-width: 760px) {
  .figure-with-model-key-layout {
    grid-template-columns: 1fr;
  }

  .model-key-panel {
    align-items: center;
  }
}

.key-concept-box {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.key-concept-box p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.62;
}

.key-term {
  /* color removed - bold preserved via <strong> tag */
}

.causality-part {
  max-width: 60rem;
  margin: 0 auto 30px;
}
.causality-part:last-child {
  margin-bottom: 0;
}
.causality-part h3 {
  color: #1a1a1a;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.causality-part p {
  margin: 0 0 14px;
}
.causality-part .figure-block {
  max-width: 36rem;
}
.causality-part .figure-block.figure-sm {
  max-width: 28rem;
}
.causality-part .figure-block.figure-with-key {
  max-width: 44rem;
}
.causality-part .figure-block.figure-with-model-key {
  max-width: 44rem;
}

.impl-list {
  max-width: 60rem;
  margin: 0 auto 8px;
  padding-left: 1.25rem;
  line-height: 1.6;
}
.impl-list li {
  margin-bottom: 8px;
}
.data-table {
  width: auto;
  border-collapse: collapse;
  margin: 4px auto 12px;
  font-size: 0.72rem;
  line-height: 1.2;
  border-top: 2px solid #222;
  border-bottom: 2px solid #222;
}
.data-table .table-caption {
  caption-side: top;
  padding: 0 0 6px;
  font-size: 0.78rem;
  color: #555;
  text-align: center;
  line-height: 1.4;
}
.data-table th,
.data-table td {
  padding: 2px 7px;
  text-align: center;
  vertical-align: middle;
}
.data-table thead th {
  color: #1a1a1a;
  font-weight: 700;
  border-bottom: 1.5px solid #222;
  white-space: nowrap;
}
.data-table tbody tr.grp > td {
  border-top: 1px solid #c9c9c9;
}
.data-table td:last-child,
.data-table th:last-child {
  white-space: nowrap;
}

.affected-intro {
  max-width: 62rem;
  margin: 0 auto 18px;
  line-height: 1.6;
}
.affected-intro p {
  margin: 0 0 12px;
}

.devices-article {
  max-width: 70rem;
}
.devices-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
}
.devices-layout .table-wrap {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}
.devices-figure {
  flex: 0 1 520px;
  margin: 0;
  max-width: 520px;
  align-self: center;
}
.devices-figure img {
  width: 100%;
}
.devices-figure figcaption {
  font-size: 0.72rem;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .devices-figure {
    flex-basis: 100%;
  }

  .devices-figure figcaption {
    white-space: normal;
  }
}

.pipeline-steps {
  list-style: none;
  margin: 16px auto 0;
  padding: 0;
  max-width: 72rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pipeline-steps li {
  border: 1px solid #cfcfcf;
  border-left: 4px solid #0a4ea2;
  padding: 12px 14px;
  line-height: 1.5;
}
.step-tag {
  display: block;
  font-weight: 700;
  color: #0a4ea2;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 78rem;
  margin: 0 auto;
}
.two-col p {
  line-height: 1.55;
}
.callout {
  border-left: 4px solid #2f6f4f;
  background: #f3f8f5;
  padding: 10px 14px;
}
.caveat {
  border-left: 4px solid #ad6a1f;
  background: #fbf6ef;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #4a3a25;
  max-width: 78rem;
  margin-left: auto;
  margin-right: auto;
}


.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 70rem;
  margin: 0 auto 18px;
}
.metric {
  border: 1px solid #cfcfcf;
  border-top: 3px solid #ad1f1f;
  padding: 14px 12px;
  text-align: center;
  background: #fff;
}
.metric-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ad1f1f;
  line-height: 1.1;
}
.metric-label {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: #444;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.results-table th,
.results-table td {
  border: 1px solid #bdbdbd;
  padding: 9px 10px;
  vertical-align: top;
  text-align: left;
}
.results-table th {
  background: #f4f4f4;
  font-weight: 700;
}
.results-table .muted,
.muted {
  color: #777;
  font-size: 0.9em;
}

.finding-notes {
  max-width: 78rem;
  margin: 16px auto 0;
  padding-left: 22px;
  line-height: 1.55;
}
.finding-notes li {
  margin-bottom: 8px;
}

.faq-list {
  max-width: 72rem;
  margin: 0 auto;
}
.faq-list details {
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  margin-bottom: 8px;
  background: #fff;
}
.faq-list summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  color: #1f4e79;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::before {
  content: "▸ ";
  color: #0a4ea2;
}
.faq-list details[open] summary::before {
  content: "▾ ";
}
.faq-list details p {
  margin: 0;
  padding: 0 16px 14px;
  line-height: 1.55;
}

.contact-content {
  max-width: 72rem;
  margin: 0 auto;
}

.contact-content p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 10px;
  border-bottom: 1px solid #d7dee8;
}

.contact-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.contact-copy:hover,
.contact-copy:focus-visible {
  color: #0a4ea2;
  outline: none;
}

.contact-name {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

a.contact-name:hover,
a.contact-name:focus-visible {
  color: #111;
  text-decoration: underline;
  outline: none;
}

.contact-list strong {
  color: #333;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-list em {
  color: #666;
  font-size: 0.78rem;
  font-style: normal;
  min-width: 4.5em;
  margin-left: 8px;
}

/* Justified body text (headings, buttons, nav, tables, and code stay left-aligned). */
.hero-summary,
.key-concept-box p,
.causality-part p,
.affected-intro p,
.media-card p,
.case-intro,
.stealth-intro,
.case3-explain p,
.faq-list details p,
.contact-content p,
#implementation p {
  text-align: justify;
}

html.shielded-mode {
  color-scheme: dark;
}

html.shielded-mode body {
  background:
    linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.88)),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.045) 0, rgba(148, 163, 184, 0.045) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(90deg, rgba(56, 189, 248, 0.035) 0, rgba(56, 189, 248, 0.035) 1px, transparent 1px, transparent 34px),
    #0f172a;
  color: #e5e7eb;
}

html.shielded-mode .site-nav {
  border-bottom-color: #334155;
  background: rgba(15, 23, 42, 0.94);
}

html.shielded-mode.gsap-enhanced .site-nav.is-scrolled,
html.shielded-mode .gsap-enhanced .site-nav.is-scrolled {
  border-bottom-color: #475569 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

html.shielded-mode .page-header::after,
html.shielded-mode .section + .section,
html.shielded-mode .contact-person {
  border-color: #334155;
}

html.shielded-mode .site-nav-brand,
html.shielded-mode .site-nav-links a,
html.shielded-mode a {
  color: #93c5fd;
}

html.shielded-mode .brand-eave,
html.shielded-mode .title-red,
html.shielded-mode .password-answer,
html.shielded-mode .case3-explain .risk-word {
  color: #fca5a5;
}

html.shielded-mode .title-blue,
html.shielded-mode #part1 h2,
html.shielded-mode .demo-link-list.part1 a,
html.shielded-mode .faq-list summary {
  color: #93c5fd;
}

html.shielded-mode #part2 h2,
html.shielded-mode .demo-link-list.part2 a {
  color: #86efac;
}

html.shielded-mode #part3 h2,
html.shielded-mode .demo-link-list.part3 a,
html.shielded-mode #part6 h2 {
  color: #facc15;
}

html.shielded-mode #part4 h2,
html.shielded-mode .demo-link-list.part4 a {
  color: #fca5a5;
}

html.shielded-mode #part5 h2,
html.shielded-mode .demo-link-list.part5 a {
  color: #c4b5fd;
}

html.shielded-mode .site-nav-links a:hover,
html.shielded-mode .site-nav-links a:focus-visible,
html.shielded-mode .site-nav-links a.is-active {
  color: #bfdbfe;
  border-bottom-color: #60a5fa;
}

html.shielded-mode .site-nav-links a.lang-switch,
html.shielded-mode .nav-lang-button,
html.shielded-mode .theme-toggle,
html.shielded-mode .password-check-button,
html.shielded-mode .overview-card {
  border-color: #475569;
  background: #111827;
  color: #bfdbfe;
}

html.shielded-mode .overview-card-conference {
  border-color: #f87171;
  background: #b91c1c;
  color: #f8fafc;
}

html.shielded-mode .site-nav-links a.lang-switch:hover,
html.shielded-mode .site-nav-links a.lang-switch:focus-visible,
html.shielded-mode .nav-lang-button:hover,
html.shielded-mode .nav-lang-button:focus-visible,
html.shielded-mode .theme-toggle:hover,
html.shielded-mode .theme-toggle:focus-visible,
html.shielded-mode .password-check-button:hover,
html.shielded-mode .password-check-button:focus,
html.shielded-mode .overview-card:hover,
html.shielded-mode .overview-card:focus-visible,
html.shielded-mode .overview-card.is-copied {
  border-color: #60a5fa;
  background: #172033;
  color: #dbeafe;
}

html.shielded-mode .overview-card-conference:hover,
html.shielded-mode .overview-card-conference:focus-visible {
  border-color: #fca5a5;
  background: #dc2626;
  color: #f8fafc;
}

html.shielded-mode .panel,
html.shielded-mode .media-card,
html.shielded-mode .case-card,
html.shielded-mode .faq-list details,
html.shielded-mode .demo-nav-heading,
html.shielded-mode .figure-block,
html.shielded-mode .devices-figure,
html.shielded-mode .case3-explain,
html.shielded-mode .scope-note,
html.shielded-mode .method-note,
html.shielded-mode .metric,
html.shielded-mode .pipeline-steps li,
html.shielded-mode .callout,
html.shielded-mode .caveat,
html.shielded-mode .wave-key-panel,
html.shielded-mode .model-key-panel,
html.shielded-mode .result-card,
html.shielded-mode .contact-content,
html.shielded-mode .demo-link-group {
  border-color: #334155;
  background: rgba(17, 24, 39, 0.92);
  color: #e5e7eb;
}

html.shielded-mode .demo-link-list a {
  border-color: #263244;
  background: rgba(15, 23, 42, 0.78);
}

html.shielded-mode .demo-link-list a:hover,
html.shielded-mode .demo-link-list a:focus-visible {
  border-color: #60a5fa;
  background: rgba(30, 41, 59, 0.96);
}

html.shielded-mode .demo-link-group h4,
html.shielded-mode .demo-nav-heading h3,
html.shielded-mode .overview-card-title,
html.shielded-mode .contact-name,
html.shielded-mode a.contact-name:hover,
html.shielded-mode a.contact-name:focus-visible,
html.shielded-mode .contact-copy,
html.shielded-mode .data-table thead th {
  color: #f8fafc;
}

html.shielded-mode .demo-nav-heading p,
html.shielded-mode .section-lead,
html.shielded-mode .paper-note,
html.shielded-mode .password-prompt,
html.shielded-mode .figure-block figcaption,
html.shielded-mode .figure-legend,
html.shielded-mode .table-caption,
html.shielded-mode .data-table .table-caption,
html.shielded-mode .audio-sub-label,
html.shielded-mode .contact-list strong,
html.shielded-mode .contact-list em,
html.shielded-mode .muted,
html.shielded-mode .results-table .muted,
html.shielded-mode .metric-label,
html.shielded-mode .model-key-row span,
html.shielded-mode .demo-link-list a span,
html.shielded-mode .demo-link-icon {
  color: #cbd5e1;
}

html.shielded-mode .wave-key-row strong,
html.shielded-mode .model-key-row strong,
html.shielded-mode .step-tag {
  color: #93c5fd;
}

html.shielded-mode .metric-num {
  color: #fca5a5;
}

html.shielded-mode .contact-copy:hover,
html.shielded-mode .contact-copy:focus-visible {
  color: #93c5fd;
}

html.shielded-mode .audio-table,
html.shielded-mode .data-table,
html.shielded-mode .results-table {
  color: #e5e7eb;
}

html.shielded-mode .audio-table th,
html.shielded-mode .audio-table td,
html.shielded-mode .data-table th,
html.shielded-mode .data-table td,
html.shielded-mode .results-table th,
html.shielded-mode .results-table td {
  border-color: #475569;
}

html.shielded-mode .audio-table th,
html.shielded-mode .results-table th,
html.shielded-mode .data-table thead th,
html.shielded-mode .data-table tbody tr.grp > td {
  background: #1e293b;
}

html.shielded-mode .case1-figure,
html.shielded-mode .case1-table-wrap,
html.shielded-mode .case2-figure,
html.shielded-mode .case2-table-wrap,
html.shielded-mode .stealth-figure,
html.shielded-mode .stealth-table-wrap,
html.shielded-mode .case3-figure,
html.shielded-mode .case3-secondary-wrap,
html.shielded-mode .table-wrap {
  border-color: #475569;
  background: rgba(15, 23, 42, 0.72);
}

html.shielded-mode .figure-block img,
html.shielded-mode .devices-figure img {
  background: #e5e7eb;
}

html.shielded-mode video,
html.shielded-mode audio {
  border-color: #475569;
  background: #020617;
  color-scheme: dark;
}

html.shielded-mode .easter-egg-overlay {
  background: rgba(15, 23, 42, 0.58);
  color: #f8fafc;
}

html.shielded-mode .easter-egg-card {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

html.shielded-mode .skip-link {
  background: #93c5fd;
  color: #020617;
}

html.shielded-mode .hero-author-list li {
  color: #e5e7eb;
}

html.shielded-mode .author-name {
  color: #e5e7eb;
}

html.shielded-mode a.author-name {
  color: #e5e7eb;
}

html.shielded-mode a.author-name:hover {
  color: #93c5fd;
}

html.shielded-mode .affil-mark {
  color: #94a3b8;
}

@media (max-width: 940px) {
  .site-nav-inner {
    width: 94vw;
  }
  .two-col,
  .pipeline-steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .results-table {
    font-size: 0.85rem;
  }

  .overview-cards {
    align-items: stretch;
    justify-content: stretch;
  }

  .overview-card {
    width: 100%;
    min-width: 0;
  }

}

@media (max-width: 560px) {
  :root {
    --content-width: calc(100% - 24px);
  }

  html {
    font-size: 112.5%;
  }

  body {
    overflow-x: hidden;
  }

  .page-header {
    padding: 18px 12px 0;
  }

  .page-header::after {
    margin-top: 16px;
  }

  h1 {
    width: var(--content-width);
    font-size: 1.42rem;
    line-height: 1.18;
  }

  h2 {
    font-size: 1.45rem;
    line-height: 1.15;
  }

  h3 {
    font-size: 1.05rem;
    line-height: 1.22;
  }

  .title-subtitle {
    font-size: 0.92rem;
    line-height: 1.22;
  }

  .site-nav-inner {
    width: var(--content-width);
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 6px 0;
  }

  .site-nav-brand {
    font-size: 1.25rem;
    line-height: 1.1;
  }

  .site-nav-links {
    width: 100%;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 3px;
    font-size: 0.9rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav-links::-webkit-scrollbar {
    display: none;
  }

  .site-nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .container,
  .overview-structure,
  .full-card {
    width: var(--content-width);
    max-width: var(--content-width);
  }

  .section {
    padding: 22px 0 4px;
  }

  .section + .section {
    margin-top: 18px;
  }

  .hero-summary,
  .overview-summary,
  .affected-intro,
  .section-lead,
  .causality-part,
  .impl-list {
    max-width: var(--content-width);
  }

  .hero-author-list {
    gap: 4px 16px;
  }

  .hero-author-list li {
    font-size: 0.95rem;
  }

  .hero-affils {
    gap: 10px 22px;
  }

  .hero-affil img {
    height: 36px;
  }

  .overview-video {
    max-width: var(--content-width);
  }

  .password-prompt {
    font-size: 0.82rem;
  }

  .password-check-button,
  .password-answer {
    display: inline-block;
    margin-top: 6px;
  }

  .demo-nav-heading,
  .demo-link-group {
    padding-left: 12px;
    padding-right: 12px;
  }

  .demo-link-list a {
    grid-template-columns: 3.7rem 1.1rem minmax(0, 1fr);
    gap: 7px;
    padding: 7px 6px;
    min-height: 0;
  }

  .demo-link-icon {
    width: 0.95rem;
    height: 0.95rem;
  }

  .panel,
  .media-card,
  .case-card,
  .case3-explain {
    padding: 11px;
  }

  .figure-block,
  .devices-figure,
  .causality-part .figure-block,
  .causality-part .figure-block.figure-sm {
    max-width: var(--content-width);
  }

  .case3-figure {
    max-height: 70vh;
  }

  .table-wrap,
  .case1-table-wrap,
  .case2-table-wrap,
  .stealth-table-wrap,
  .case3-secondary-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .audio-table,
  .audio-table.case1-audio-table,
  .audio-table.case2-audio-table,
  .audio-table.stealth-audio-table,
  .long-range-audio-table {
    min-width: 620px;
    font-size: 0.78rem;
  }

  .audio-table th,
  .audio-table td {
    padding: 6px 5px;
  }

  .audio-table audio {
    min-width: 138px;
  }

  .data-table {
    font-size: 0.62rem;
  }

  .data-table th,
  .data-table td {
    padding: 2px 5px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-steps {
    gap: 10px;
  }

  .faq-list summary {
    padding: 10px 12px;
  }

  .faq-list details p {
    padding: 0 12px 12px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .easter-egg-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    text-align: center;
  }

  .easter-egg-card img {
    max-width: 190px;
    max-height: 240px;
    margin: 0 auto;
  }

  /* Justification hurts readability on narrow screens; fall back to left. */
  .hero-summary,
  .key-concept-box p,
  .causality-part p,
  .affected-intro p,
  .media-card p,
  .case-intro,
  .stealth-intro,
  .case3-explain p,
  .faq-list details p,
  .contact-content p,
  #implementation p {
    text-align: left;
  }
}

@media (max-width: 390px) {
  :root {
    --content-width: calc(100% - 18px);
  }

  html {
    font-size: 106.25%;
  }

  .site-nav-links {
    gap: 10px;
    font-size: 0.86rem;
  }

  .demo-link-list a {
    grid-template-columns: 3.25rem 1rem minmax(0, 1fr);
  }

  .audio-table,
  .audio-table.case1-audio-table,
  .audio-table.case2-audio-table,
  .audio-table.stealth-audio-table,
  .long-range-audio-table {
    min-width: 560px;
  }
}

/* ── Title Injection / Leakage Animation ─────────────────── */
.title-inject-wrap,
.title-leak-wrap {
  position: relative;
  display: inline-block;
}

.title-inject-wrap::before,
.title-inject-wrap::after,
.title-leak-wrap::before,
.title-leak-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 200%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.title-inject-wrap::before {
  background: radial-gradient(ellipse, rgba(10, 78, 162, 0.35) 0%, transparent 70%);
  filter: blur(8px);
}

.title-inject-wrap::after {
  background: radial-gradient(ellipse, rgba(10, 78, 162, 0.15) 0%, transparent 70%);
  filter: blur(16px);
}

.title-leak-wrap::before {
  background: radial-gradient(ellipse, rgba(195, 75, 75, 0.35) 0%, transparent 70%);
  filter: blur(8px);
}

.title-leak-wrap::after {
  background: radial-gradient(ellipse, rgba(195, 75, 75, 0.15) 0%, transparent 70%);
  filter: blur(16px);
}

.title-inject-word {
  position: relative;
  z-index: 1;
}

.title-leak-word {
  position: relative;
  z-index: 1;
}

.title-and-bounce {
  display: inline-block;
}

.title-arrow-in,
.title-arrow-out {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  pointer-events: none;
}

.title-arrow-in {
  background: #0a4ea2;
  opacity: 0;
}

.title-arrow-left.title-arrow-in {
  right: 100%;
  margin-right: 4px;
  transform: translateY(-50%) translateX(-8px);
}

.title-arrow-right.title-arrow-in {
  left: 100%;
  margin-left: 4px;
  transform: translateY(-50%) translateX(8px);
}

.title-arrow-out {
  background: #ad1f1f;
  opacity: 0;
}

.title-arrow-left.title-arrow-out {
  left: 0;
  margin-left: -2px;
  transform: translateY(-50%) translateX(0);
}

.title-arrow-right.title-arrow-out {
  right: 0;
  margin-right: -2px;
  transform: translateY(-50%) translateX(0);
}

@keyframes inject-converge {
  0% {
    font-size: 3em;
    opacity: 1;
  }
  33.33% {
    font-size: 3em;
    opacity: 1;
  }
  100% {
    font-size: 1em;
    opacity: 1;
  }
}

@keyframes leak-diverge {
  0% {
    font-size: 1em;
    opacity: 0.3;
  }
  71.43% {
    font-size: 3em;
    opacity: 1;
  }
  85.71% {
    font-size: 3em;
    opacity: 1;
  }
  100% {
    font-size: 1em;
    opacity: 1;
  }
}

@keyframes and-bounce {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-48px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes arrow-inject-left {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(-8px);
  }
  30% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(2px);
  }
}

@keyframes arrow-inject-right {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(8px);
  }
  30% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(-2px);
  }
}

@keyframes arrow-leak-left {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(0);
  }
  30% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
  }
}

@keyframes arrow-leak-right {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(0);
  }
  30% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
  }
}

@keyframes ray-converge {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.5);
  }
  33.33% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
}

@keyframes ray-diverge {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  7.14% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.5);
  }
  92.86% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

.title-animate .title-inject-word {
  animation: inject-converge 3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title-animate .title-leak-word {
  animation: leak-diverge 3.5s cubic-bezier(0.22, 1, 0.36, 1) 3.7s both;
}

.title-animate .title-and-bounce {
  animation: and-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 3.1s both;
}

.title-animate .title-arrow-left.title-arrow-in {
  animation: arrow-inject-left 3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title-animate .title-arrow-right.title-arrow-in {
  animation: arrow-inject-right 3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title-animate .title-arrow-left.title-arrow-out {
  animation: arrow-leak-left 3.5s cubic-bezier(0.22, 1, 0.36, 1) 3.7s both;
}

.title-animate .title-arrow-right.title-arrow-out {
  animation: arrow-leak-right 3.5s cubic-bezier(0.22, 1, 0.36, 1) 3.7s both;
}

.title-animate .title-inject-wrap::before,
.title-animate .title-inject-wrap::after {
  animation: ray-converge 3s ease-out both;
}

.title-animate .title-leak-wrap::before,
.title-animate .title-leak-wrap::after {
  animation: ray-diverge 3.5s ease-in-out 3.7s both;
}

@media (prefers-reduced-motion: reduce) {
  .title-animate .title-inject-word,
  .title-animate .title-leak-word {
    animation: none !important;
    opacity: 1 !important;
    font-size: 1em !important;
  }
  .title-animate .title-and-bounce {
    animation: none !important;
    transform: none !important;
  }
  .title-animate .title-arrow-in,
  .title-animate .title-arrow-out {
    animation: none !important;
    display: none;
  }
  .title-animate .title-inject-wrap::before,
  .title-animate .title-inject-wrap::after,
  .title-animate .title-leak-wrap::before,
  .title-animate .title-leak-wrap::after {
    animation: none !important;
    display: none;
  }
}
