/* Additions for the 16-slide acquisition presentation. */
:root { --presentation-topbar-height: 74px; --section-kicker-gap: 18px; }
.topbar { height: var(--presentation-topbar-height); }
.section-kicker { top: calc(var(--presentation-topbar-height) + var(--section-kicker-gap)) !important; }
@media (max-width: 800px) {
  :root { --presentation-topbar-height: 64px; }
  .topbar { height: var(--presentation-topbar-height); }
}

/* Slide 03: qualitative alternatives matrix. */
.competition-section { background: radial-gradient(circle at 82% 36%, rgba(85,216,237,.08), transparent 34%); }
.competition-content { width: min(1180px, 100%); margin: 0 auto; }
.competition-content > .eyebrow { margin-bottom: 14px; }
.competition-content h2 { max-width: 900px; margin-bottom: 12px; font-size: clamp(2.8rem, 5.2vw, 5.5rem); }
.competition-intro { max-width: 740px; margin-bottom: 24px; color: #c4d6dc; }
.competition-table-wrap { overflow-x: auto; border-top: 1px solid rgba(85,216,237,.32); border-bottom: 1px solid rgba(85,216,237,.22); }
.competition-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.competition-table th, .competition-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.competition-table thead th { color: var(--cyan); font-size: 9px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; }
.competition-table thead th:nth-child(1) { width: 22%; }
.competition-table thead th:nth-child(2) { width: 34%; }
.competition-table thead th:nth-child(3) { width: 44%; }
.competition-table tbody th { color: var(--text); font-size: 14px; font-weight: 600; }
.competition-table td { color: var(--muted); font-size: 13px; line-height: 1.45; }
.competition-table tbody tr:last-child th, .competition-table tbody tr:last-child td { border-bottom: 0; }
.competition-footnote { margin: 12px 0 0; color: #8ea5b0; font-size: 10px; line-height: 1.4; }

/* Product-status key on slide 01. */
.status-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; max-width: 850px; margin-top: 14px; }
.status-legend > div { display: inline-flex; align-items: center; gap: 6px; }
.status-legend .status { min-height: 18px; padding: 4px 6px; font-size: 7px; }
.status-legend small { color: #a4b8c2; font-size: 8px; line-height: 1.25; }
.market-bih-context { margin: 4px 0 12px; padding-left: 10px; border-left: 1px solid var(--cyan); color: #c9dbe1; font-size: 12px; line-height: 1.45; }
.market-bih-context b { color: var(--mint); font-weight: 600; }
.market-bih-context small { display: block; margin-top: 4px; color: #9fb6bd; font-size: 10px; line-height: 1.35; }

/* Presenter notes are opt-in and do not block slide navigation. */
.notes-toggle { border: 1px solid rgba(85,216,237,.22); padding: 7px 10px; background: transparent; color: var(--muted); font: inherit; font-size: 9px; letter-spacing: .12em; cursor: pointer; }
.notes-toggle span { margin-left: 4px; color: var(--cyan); }
.notes-toggle:hover, .notes-toggle[aria-expanded="true"] { color: var(--mint); border-color: rgba(85,216,237,.5); }
.notes-toggle:focus-visible, #notesClose:focus-visible { outline: 1px solid var(--mint); outline-offset: 3px; }
.speaker-notes-panel[hidden] { display: none; }
.speaker-notes-panel { position: fixed; right: 24px; bottom: 64px; z-index: 60; width: min(440px, calc(100vw - 32px)); max-height: min(55vh, 420px); overflow: auto; border: 1px solid rgba(85,216,237,.42); background: rgba(3,17,28,.97); box-shadow: 0 18px 58px rgba(0,0,0,.42); backdrop-filter: blur(18px); }
.speaker-notes-card { padding: 18px 20px; }
.speaker-notes-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: var(--cyan); font-size: 9px; letter-spacing: .14em; }
.speaker-notes-header button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 9px; letter-spacing: .1em; cursor: pointer; }
.speaker-notes-card p { margin: 13px 0 10px; color: #d1e1e6; font-size: 13px; line-height: 1.55; }
.speaker-notes-card > small { color: #8ba3ad; font-size: 9px; }

/* Scenario disclosure and final-slide attribution. */
.software-scope-note { max-width: 760px; margin: 10px 0 12px; color: #95aeb8; font-size: 9px; line-height: 1.4; }
.traction-note { margin: 8px 0 0; color: #8fa7b1; font-size: 10px; }
.price-assumption { grid-column: 1 / -1; color: #8ea5b0; font-size: 9px; line-height: 1.35; }
.preset { min-width: 0; }
.preset small { line-height: 1.35; }
.ip-contact-footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; text-transform: none; letter-spacing: .04em; }
.ip-contact-footer > span { display: inline-block; }
.confidential-badge { padding: 5px 8px; border: 1px solid rgba(85,216,237,.55); color: var(--cyan); font-size: 8px; letter-spacing: .14em; }

/* Labels appear in the clear upper margin only while their own dots are hovered/focused. */
.section-nav a.active::after { opacity: 0; }
.section-nav a::after { position: fixed; top: calc(var(--presentation-topbar-height) + 10px); right: 5vw; left: auto; transform: translateY(-4px); max-width: min(260px, 70vw); white-space: normal; text-align: right; }
.section-nav a:hover::after, .section-nav a:focus-visible::after { opacity: 1; transform: translateY(0); }
.static-mobile-nav { display: none; }
.section.is-tall-slide { height: auto; min-height: 100svh; max-height: none; overflow-x: clip; overflow-y: visible; scroll-snap-align: none; justify-content: flex-start; padding-top: 124px; padding-bottom: 88px; }
.hero-foot { bottom: 76px; }

@media (max-width: 800px) {
  .hero-foot { bottom: 54px; }
  .competition-section { min-height: 100svh; padding-top: 116px; padding-bottom: 86px; }
  .competition-content h2 { font-size: clamp(2.55rem, 10vw, 4.4rem); margin-bottom: 10px; }
  .competition-intro { margin-bottom: 16px; font-size: 13px; }
  .competition-table th, .competition-table td { padding: 11px 9px; }
  .competition-table thead th { font-size: 8px; letter-spacing: .08em; }
  .competition-table tbody th { font-size: 12px; }
  .competition-table td { font-size: 11px; line-height: 1.4; }
  .competition-footnote { font-size: 9px; }
  .status-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 8px; margin-top: 10px; max-width: 100%; }
  .status-legend > div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .status-legend small { font-size: 7px; }
  .market-bih-context { margin: 2px 0 8px; font-size: 10px; }
  .notes-toggle { padding: 6px 7px; font-size: 8px; }
  .speaker-notes-panel { right: 12px; bottom: 58px; width: calc(100vw - 24px); max-height: min(48vh, 360px); }
  .speaker-notes-card { padding: 14px 15px; }
  .speaker-notes-card p { font-size: 12px; }
  .ip-contact-footer { justify-content: flex-start; gap: 7px 12px; }
  .software-scope-note { font-size: 8px; }
  .static-mobile-nav { position: fixed; display: block; right: 6vw; top: 11px; z-index: 31; color: var(--text); }
  .static-mobile-nav summary { list-style: none; cursor: pointer; color: var(--mint); font-size: 10px; letter-spacing: .12em; }
  .static-mobile-nav summary::-webkit-details-marker { display: none; }
  .static-mobile-nav > div { position: fixed; top: 64px; left: 6vw; right: 6vw; max-height: calc(100dvh - 82px); overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line); background: rgba(3,17,28,.98); }
  .static-mobile-nav a { padding: 12px 9px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 11px; text-decoration: none; }
  .static-mobile-nav a:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (max-width: 380px) {
  .competition-table th, .competition-table td { padding: 9px 6px; }
  .competition-table tbody th { font-size: 11px; }
  .competition-table td { font-size: 10px; }
  .status-legend .status { font-size: 6px; }
}

/* Visual identity refinement / phase 1: restrained tokens and responsive type. */
html { background: var(--bg); }
body {
  background: radial-gradient(ellipse at 78% 12%, rgba(85, 216, 237, .055), transparent 34%), var(--bg);
  color: var(--text);
  font-family: var(--sans);
}
.ambient { opacity: .065; }
.ambient-one { background: var(--cyan); }
.ambient-two { background: var(--mint); opacity: .04; }
.topbar { background: rgba(11, 20, 32, .82); }
.hero-image {
  filter: saturate(.78) contrast(1.08);
  opacity: .84;
}

h1, h2, h3, h4, p, button, input, output, label, small, li, td, th {
  font-family: var(--sans);
}
h1, h2 {
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: pretty;
}
h1 { font-size: clamp(3.2rem, 7.8vw, 7.8rem) !important; }
h2 { font-size: clamp(2.15rem, 4.4vw, 4.35rem) !important; }
h1 em, h2 em {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 500;
  color: var(--mint);
}

/* Hierarchy by slide function; text itself remains unchanged. */
#top h1 { max-width: 10ch; font-size: clamp(3.5rem, 8.4vw, 8.4rem) !important; }
#problem h2, #trust h2, #customers h2, #acbi h2 { font-size: clamp(2.1rem, 4.2vw, 4.1rem) !important; }
#competition h2, #system h2, #value h2, #ecosystem h2, #revenue h2, #infrastructure h2 { font-size: clamp(2rem, 3.8vw, 3.65rem) !important; }
#market h2, #simulation h2, #scale h2 { font-size: clamp(2.2rem, 4.25vw, 4.15rem) !important; }
#marketplace h2, #intellectual-property h2 { font-size: clamp(1.9rem, 3.35vw, 3.25rem) !important; }
.section-kicker { font-family: var(--mono); letter-spacing: .12em; }
.topbar-meta, .hero-foot, .section-nav a::before { font-variant-numeric: tabular-nums; }
.ip-facts div:nth-child(2) strong, .ip-facts div:nth-child(3) strong,
.status, .section-nav a::before { font-family: var(--mono); }
.simulation-results strong, .simulation-derived strong, .market-number strong, .stat-stack strong {
  font-variant-numeric: tabular-nums lining-nums;
}

/* Preserve meaningful section labels; remove only redundant promo eyebrow lines. */
#problem .split-copy > .eyebrow.accent,
#customers .section-heading > .eyebrow.accent { display: none; }

/* Lower decorative bloom while retaining diagram and photo depth. */
.section-nav a.active { box-shadow: 0 0 8px rgba(142, 219, 200, .52); }
.trust-section, .market-section, .competition-section {
  background-color: transparent;
  background-blend-mode: normal;
}
.ring, .orbit-core, .eco-center, .acbi-core, .ip-document-frame {
  box-shadow: 0 0 24px rgba(85, 216, 237, .10);
}
.result.primary, .result.accent-result, .market-number strong, .stat-stack strong,
.accent, .flow-accent, .trust-pill, .input-tag { color: var(--mint); }

@media (max-width: 800px) {
  h1 { font-size: clamp(2.8rem, 11vw, 4.4rem) !important; line-height: 1.02; }
  h2 { font-size: clamp(1.95rem, 8.2vw, 3.1rem) !important; line-height: 1.06; }
  #top h1 { font-size: clamp(3rem, 12vw, 4.7rem) !important; }
  #competition h2, #system h2, #value h2, #ecosystem h2, #revenue h2, #infrastructure h2,
  #marketplace h2, #intellectual-property h2 { font-size: clamp(1.85rem, 7.6vw, 2.8rem) !important; }
  #market h2, #simulation h2, #scale h2 { font-size: clamp(2rem, 8.2vw, 3rem) !important; }
  .ambient { filter: blur(64px); }
}

@media (max-width: 360px) {
  #top h1 { font-size: clamp(2.75rem, 11.5vw, 3.4rem) !important; }
  h2 { font-size: clamp(1.8rem, 7.8vw, 2.45rem) !important; }
}
