/* V4 adjustments only. styles.css is byte-identical to the V2 baseline. */
/* Keep its grids, proportions, native typography, buttons and eight sections. */
.hero-eyebrow {
  font-size: 16px;
}
.hero-note {
  font-size: 16px;
  line-height: 1.5;
}
.label-share {
  font-size: 14px;
}
.ai-preview-heading {
  font-size: 14px;
  padding: 8px 16px;
  min-height: 48px;
}
.ai-preview {
  bottom: -16px;
}
.demo-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 10px;
  min-height: 36px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  border: 2px solid #1c29401a;
  border-radius: 8px;
  background: #fff;
  white-space: nowrap;
}
.demo-open:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.hero-bottom > p,
.hero-bottom > div {
  font-size: 14px;
}
.surfaces > div > span,
.screen-label,
.invitation-pair figcaption,
.window-top,
.window-status,
.assistant-figure figcaption,
.figure-note,
.agent-diagram small,
.site-footer > div,
.site-footer > div > span,
.image-dialog > p {
  font-size: 14px;
  line-height: 1.5;
}
.screen-label b {
  font-size: inherit;
}
.access-note,
.ai-story .access-note {
  font-size: 16px;
  line-height: 1.5;
}
.agent-diagram small {
  text-align: center;
}
.original-image-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.image-dialog > img {
  max-height: calc(100dvh - 250px);
}
@media (max-width: 1000px) {
  .hero-eyebrow {
    font-size: 14px;
  }
  .hero-bottom > div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
  .agent-node,
  .talkable-node {
    min-width: 0;
  }
  .agent-diagram small {
    font-size: 14px;
  }
}
@media (max-width: 650px) {
  .hero-eyebrow {
    font-size: 14px;
  }
  .hero-note {
    font-size: 16px;
    margin-top: 24px;
  }
  .label-share {
    font-size: 14px;
  }
  .ai-preview-heading {
    font-size: 14px;
    padding: 8px 10px;
    gap: 6px;
  }
  .ai-preview-heading .spark {
    display: none;
  }
  .demo-open {
    min-height: 40px;
    padding-inline: 8px;
  }
  .hero-bottom > div {
    gap: 16px 20px;
    font-size: 14px;
  }
  .screen-label {
    min-height: 42px;
  }
  .surfaces > div > span {
    font-size: 14px;
  }
  .window-top {
    height: 44px;
  }
  .window-status {
    font-size: 14px;
  }
  .window-dots {
    display: none;
  }
  .assistant-figure figcaption {
    font-size: 14px;
    padding: 12px;
  }
  .platform-tabs button {
    font-size: 14px;
    gap: 6px;
    padding: 14px 5px;
  }
  .platform-tabs button .site-icon {
    font-size: 14px;
  }
  .figure-note {
    font-size: 14px;
    line-height: 1.5;
  }
  .agent-node,
  .talkable-node {
    flex: 1;
    width: 130px;
    max-width: 150px;
    padding: 8px;
  }
  .connection-line {
    min-width: 20px;
    flex: 0 1 40px;
  }
  .agent-diagram {
    padding-inline: 0;
  }
  .closing-inner .eyebrow,
  .closing-inner .closing-note {
    font-size: 14px;
  }
  .site-footer > div,
  .site-footer > div > span {
    font-size: 14px;
  }
  .image-dialog > p {
    font-size: 14px;
    line-height: 1.5;
  }
  .image-dialog > img {
    max-height: calc(100dvh - 340px);
  }
}
@media (max-width: 374px) {
  .site-header.wrap {
    width: calc(100% - 24px);
  }
  .brand img {
    width: 104px;
  }
  .site-header {
    gap: 8px;
  }
  .header-cta {
    font-size: 16px;
    padding: 8px;
  }
  .menu-toggle {
    width: 36px;
    padding: 4px;
  }
  .hero-eyebrow {
    font-size: 14px;
  }
  .hero-bottom > div {
    gap: 16px 10px;
    font-size: 14px;
  }
  .ai-preview-heading {
    font-size: 14px;
  }
  .demo-open {
    padding-inline: 6px;
    gap: 0;
  }
  .demo-open > span {
    display: none;
  }
  .platform-tabs button {
    flex-direction: column;
    gap: 6px;
    align-self: stretch;
  }
}
