/* More modals + spine section helpers (3020) */
.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bright);
}

.section.alt {
  background: rgba(255, 255, 255, 0.18);
}

.feature-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.feature-card.static {
  cursor: default;
}
.feature-card.static:hover {
  transform: none;
}

.sec-foot {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--signal);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.more-link:hover { color: var(--navy); }
.band-light .more-link { color: var(--signal); }
.band-light .more-link:hover { color: var(--navy); }

.stage-video {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: 280px;
  color: #fff;
}
.stage-play {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.stage-video strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.stage-video span { color: var(--muted); font-size: 0.9rem; }
/* Section 2 uses the hero phone frame. Video fills the glass. */
#section-02 .s02-phone {
  width: min(320px, 100%);
  justify-content: center;
  justify-self: center;
  align-self: center;
}
#section-02 .s02-phone .hero-phone__screen {
  padding: 0;
  height: 520px;
}
#section-02 .s02-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section 11: same phone frame, copy column sized to the taller glass. */
#section-11 .split {
  align-items: center;
}
#section-11 .s11-phone {
  width: min(320px, 100%);
  justify-content: center;
  justify-self: center;
  align-self: center;
}
#section-11 .s11-phone .hero-phone__screen {
  height: 520px;
  padding: 1.35rem 1.25rem 1.5rem;
  background:
    radial-gradient(ellipse 70% 45% at 72% 18%, rgba(63, 169, 245, 0.28), transparent 58%),
    #0a2233;
  color: #fff;
  justify-content: center;
  gap: 0.55rem;
}
#section-11 .s11-phone .stage-play {
  margin-bottom: 0.15rem;
}
#section-11 .s11-phone strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
#section-11 .s11-phone span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}
#section-11 .split-copy h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.16;
  margin-bottom: 0.9rem;
}
#section-11 .split-copy p {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 0.72rem;
  color: #3d4750;
}
#section-11 .split-copy .more-link {
  margin-top: 0.15rem;
}
#section-02 .os-detail {
  margin: 0.35rem 0 1rem;
  color: var(--char-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Section 04: desk Peer Review filling a landscape video card */
#section-04 .split { align-items: center; }
#section-04 .peer-stage {
  container-type: size;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: #f1f3f5;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(12, 27, 42, 0.22),
    0 14px 28px rgba(12, 27, 42, 0.14),
    0 26px 46px rgba(12, 27, 42, 0.12);
}
.peer-desk {
  display: grid;
  grid-template-columns: 28% 1fr;
  width: 100%;
  height: 100%;
  min-height: 0;
  color: #2d333b;
  font-family: Inter, system-ui, sans-serif;
}
.peer-nav {
  background: #3a424e;
  color: #f1f3f5;
  padding: 1.35rem 8% 5% 9%;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-size: 2.15cqw;
  line-height: 1.25;
}
.peer-nav__brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6em;
  font-size: 1.05em;
}
.peer-nav__brand span { color: #1e9fff; }
.peer-nav__group {
  font-size: 0.72em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5ccd4;
  margin: 0.4em 0 0.15em;
}
.peer-nav__item {
  padding: 0.38em 0.55em;
  border-radius: 6px;
  color: #f1f3f5;
  white-space: nowrap;
}
.peer-nav__item.is-on {
  background: #1e9fff;
  color: #fff;
  font-weight: 700;
}
.peer-main {
  display: flex;
  flex-direction: column;
  gap: 2.2%;
  min-width: 0;
  min-height: 0;
  padding: 1.15rem 3.2% 2.6%;
  background: #f1f3f5;
}
.peer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6em;
  flex: 0 0 auto;
}
.peer-head h3 {
  margin: 0;
  font-size: 2.7cqw;
  line-height: 1.15;
  color: #0b3d5c;
  font-weight: 700;
}
.peer-head p {
  margin: 0.15em 0 0;
  font-size: 1.85cqw;
  color: #5a6570;
}
.peer-pills {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 0.3em;
}
.peer-pills span {
  font-size: 1.55cqw;
  font-weight: 600;
  padding: 0.28em 0.55em;
  border-radius: 5px;
  border: 1px solid #4b5563;
  background: #fff;
  color: #374151;
}
.peer-pills span.is-on {
  background: #f3f4f6;
  border-width: 1.5px;
  border-color: #374151;
  color: #0b3d5c;
}
.peer-block {
  flex: 1 1 0;
}
.peer-block:nth-child(2) { flex: 0.85 1 0; }
.peer-block:nth-child(4) { flex: 1.35 1 0; }
.peer-block {
  min-height: 0;
  background: #fff;
  border: 1px solid #4b5563;
  border-radius: 8px;
  padding: 1.6% 2.2%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.peer-block__label {
  flex: 0 0 auto;
  font-size: 1.55cqw;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35em;
}
.peer-chart {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: block;
}
.peer-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.2em;
  flex: 1 1 auto;
  min-height: 0;
}
.peer-bar {
  display: grid;
  grid-template-columns: 3.2em 1fr auto;
  align-items: center;
  gap: 0.45em;
  font-size: 1.7cqw;
}
.peer-bar b { color: #0b3d5c; font-weight: 700; }
.peer-bar:first-child b { font-weight: 800; }
.peer-bar i {
  display: block;
  height: 0.85em;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}
.peer-bar em {
  display: block;
  height: 100%;
  background: #9ca3af;
  border-radius: 3px;
}
.peer-bar:first-child em { background: #0b3d5c; }
.peer-bar span { color: #374151; font-weight: 600; white-space: nowrap; }
.peer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.7cqw;
  flex: 1 1 auto;
}
.peer-table th {
  text-align: left;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  padding: 0.15em 0.3em 0.25em 0;
  border-bottom: 1px solid #4b5563;
}
.peer-table td {
  padding: 0.18em 0.3em 0.18em 0;
  color: #374151;
}
.peer-table tr.is-you td {
  font-weight: 700;
  color: #0b3d5c;
  background: #eef2f6;
}
.peer-table .up { color: #16a34a; font-weight: 700; }
.peer-table .down { color: #dc2626; font-weight: 700; }
.peer-block:nth-child(2) { animation: peer-lit 10s infinite; }
.peer-block:nth-child(3) { animation: peer-lit 10s infinite 3.33s; }
.peer-block:nth-child(4) { animation: peer-lit 10s infinite 6.66s; }
@keyframes peer-lit {
  0%, 34%, 100% { border-color: #4b5563; box-shadow: none; }
  3%, 30% { border-color: #1e9fff; box-shadow: 0 0 0 2px rgba(30, 159, 255, 0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .peer-block { animation: none; }
  .peer-block:nth-child(2) {
    border-color: #1e9fff;
    box-shadow: 0 0 0 2px rgba(30, 159, 255, 0.4);
  }
}

/* Section 05: strategy sequence, one live card at a time */
#section-05 .strategy-card {
  --step: #0096ce;
  --title: #0c1b2a;
  --line: #3d4750;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 168px;
  background: #fff;
  border: 1.5px solid #3d4750;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(12, 27, 42, 0.06),
    0 12px 24px rgba(12, 27, 42, 0.12);
  padding: 1.15rem 1.05rem 1.2rem;
  gap: 0.35rem;
  animation: strategy-live 10s infinite;
}
#section-05 .strategy-card:hover {
  transform: none;
}
#section-05 .strategy-step {
  color: var(--step);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
#section-05 .strategy-card h3 {
  margin: 0.15rem 0 0;
  color: var(--title);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
#section-05 .strategy-card p {
  margin: 0;
  color: var(--line);
  font-size: 0.95rem;
  line-height: 1.35;
}
#section-05 .strategy-card:nth-child(2) { animation-delay: 2s; }
#section-05 .strategy-card:nth-child(3) { animation-delay: 4s; }
#section-05 .strategy-card:nth-child(4) { animation-delay: 6s; }
#section-05 .strategy-card:nth-child(5) { animation-delay: 8s; }
@keyframes strategy-live {
  0%, 16% {
    --step: #000;
    --title: #000;
    --line: #000;
    background: #9ed9f0;
    border-color: #0096ce;
    box-shadow:
      0 0 0 2px rgba(0, 150, 206, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      0 12px 24px rgba(12, 27, 42, 0.14);
  }
  22%, 100% {
    --step: #0096ce;
    --title: #0c1b2a;
    --line: #3d4750;
    background: #fff;
    border-color: #3d4750;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 1px 2px rgba(12, 27, 42, 0.06),
      0 12px 24px rgba(12, 27, 42, 0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  #section-05 .strategy-card { animation: none; }
  #section-05 .strategy-card:first-child {
    --step: #000;
    --title: #000;
    --line: #000;
    background: #9ed9f0;
    border-color: #0096ce;
    box-shadow:
      0 0 0 2px rgba(0, 150, 206, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      0 12px 24px rgba(12, 27, 42, 0.14);
  }
}

/* Large centered More modal */
.more-modal[hidden] { display: none !important; }
.more-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.site-header {
  z-index: 110;
}
.more-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 20, 0.72);
  backdrop-filter: blur(6px);
}
.more-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(82vh, 820px);
  overflow: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 14px;
  background: linear-gradient(180deg, #0c2436 0%, #071824 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  color: #e8eef4;
}
.more-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}
.more-body p {
  margin: 0 0 0.9rem;
  color: rgba(232, 238, 244, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
}
.more-body p:last-child { margin-bottom: 0; }
.more-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.more-close:hover { background: rgba(255, 255, 255, 0.16); }
body.more-open { overflow: hidden; }

/* Sections dropdown. Keep it visible and unclipped. */
.nav-links {
  gap: 0;
  flex-wrap: nowrap;
  overflow: visible;
  max-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

@media (max-width: 1100px) {
  .nav-links {
    display: flex;
    max-width: none;
    overflow: visible;
  }
}
@media (max-width: 980px) {
  .feature-grid--4,
  .feature-grid--5 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .feature-grid--4,
  .feature-grid--5 {
    grid-template-columns: 1fr;
  }
}

/* Section 10: site headline color, wider chart, More only. */
#section-10 .section-head h2 span {
  color: #0096ce;
}
#section-10 .cosm-proof {
  width: min(1020px, 100%);
  margin-inline: auto;
  text-align: center;
}
#section-10 .section-head {
  margin-bottom: 0.85rem;
}
#section-10 .cosm-proof__name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3d4750;
}
#section-10 .cosm-proof__from {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  color: var(--char-soft);
}
#section-10 .cosm-chart {
  width: 100%;
  margin: 0.85rem 0 0;
  text-align: left;
}
#section-10 .cosm-legend {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #3d4750;
}
#section-10 .cosm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
#section-10 .cosm-swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 3px;
}
#section-10 .cosm-swatch--was { background: var(--nasdaq); }
#section-10 .cosm-swatch--gain { background: #16a34a; }
#section-10 .cosm-swatch--room { background: #c5ccd4; }
#section-10 .cosm-row {
  display: grid;
  grid-template-columns: 9.25rem minmax(0, 1fr) 5.5rem;
  align-items: center;
  gap: 0.75rem;
  margin: 0.32rem 0;
}
#more-10 .more-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.35rem;
}
#more-10 .more-stat {
  padding: 0.9rem 0.85rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
#more-10 .more-stat span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bright);
}
#more-10 .more-stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
#more-10 .more-stat em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(232, 238, 244, 0.72);
}
#more-10 .more-stat:last-child em {
  color: #16a34a;
  font-weight: 700;
}
@media (max-width: 560px) {
  #more-10 .more-stats {
    grid-template-columns: 1fr;
  }
}
#section-10 .cosm-date {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3d4750;
  text-align: right;
}
#section-10 .cosm-track {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
}
#section-10 .cosm-seg--was { background: var(--nasdaq); }
#section-10 .cosm-seg--gain { background: #16a34a; }
#section-10 .cosm-seg--room { background: #c5ccd4; }
#section-10 .cosm-lab {
  font-weight: 700;
  font-size: 0.95rem;
  color: #3d4750;
  text-align: left;
  line-height: 1;
}
#section-10 .cosm-lab small {
  margin-left: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #16a34a;
}
#section-10 .sec-foot {
  margin-top: 1.15rem;
}

@media (max-width: 720px) {
  #section-10 .cosm-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.35rem 0.75rem;
    margin: 0.55rem 0;
  }
  #section-10 .cosm-date {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }
  #section-10 .cosm-lab {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  #section-10 .cosm-track {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 22px;
  }
  #section-04 .peer-stage {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    min-height: 240px;
    overflow: hidden;
  }
  #section-04 .peer-desk {
    height: 100%;
    min-height: 0;
    grid-template-columns: 34% 1fr;
  }
  .peer-nav {
    font-size: 13px;
    padding: 14px 10px 12px;
  }
  .peer-head {
    flex-direction: column;
    align-items: stretch;
  }
  .peer-head h3 { font-size: 15px; }
  .peer-head p { font-size: 12px; }
  .peer-pills {
    flex-shrink: 1;
    max-width: 100%;
    justify-content: flex-start;
  }
  .peer-pills span { font-size: 11px; }
  .peer-block {
    flex: none;
    min-height: 96px;
  }
  .peer-block__label { font-size: 11px; }
  .peer-bar,
  .peer-table { font-size: 12px; }
  #section-11 .s11-phone { margin-inline: auto; }
}
