/* Blueprint frame — square corners, 1px hairline border, small "+"
   registration marks at all four corners. Marks are drawn on a single
   ::before layer (no extra markup) so .frame works on any element:
   cards, panels, and (per the handoff) the primary button. */
.frame {
  position: relative;
  border: 1px solid var(--hairline);
}

.frame::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)),
    linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)),
    linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)),
    linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue));
  background-size:
    1px 9px, 9px 1px,
    1px 9px, 9px 1px,
    1px 9px, 9px 1px,
    1px 9px, 9px 1px;
  background-position:
    left 4px top 0,    left 0 top 4px,
    right 4px top 0,   right 0 top 4px,
    left 4px bottom 0, left 0 bottom 4px,
    right 4px bottom 0, right 0 bottom 4px;
}

/* Section label — 12x12 blue square, uppercase Orbitron label */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-label::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--blue);
  flex: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  position: relative;
  background: var(--blue);
  color: var(--navy);
  padding: 16px 24px;
  transition: background-color 200ms ease;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

/* Text links — trailing arrow is part of the exact copy, not generated here */
.text-link {
  color: var(--blue-text);
  font-size: 1rem;
  font-weight: 600;
  transition: color 200ms ease;
}

.text-link:hover {
  color: var(--navy);
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(0, 25, 100, .1);
}

.site-header__inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (min-width: 900px) {
  .site-header__inner {
    height: 76px;
    gap: 48px;
  }
}

.site-header__logo {
  display: flex;
  flex: none;
}

.site-header__logo img {
  height: 16px;
  width: auto;
}

@media (min-width: 900px) {
  .site-header__logo img {
    height: 22px;
  }
}

.site-nav {
  display: none;
}

@media (min-width: 900px) {
  .site-nav {
    display: block;
    margin-left: auto;
  }
}

.site-nav__list {
  display: flex;
  gap: 32px;
}

.site-nav__link {
  display: inline-block;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
  padding-bottom: 4px;
  box-shadow: none;
}

.site-nav__link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--blue);
}

.site-header__cta {
  margin-left: auto;
  font-size: 0.8125rem;
  padding: 9px 12px;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .site-header__cta {
    margin-left: 0;
    font-size: 0.9375rem;
    padding: 12px 20px;
  }
}

/* Mobile menu — <details>/<summary>, works with no JS. Native summary
   semantics already expose the expanded state to assistive tech, so
   nav.js only adds Escape-to-close. */
.mobile-menu {
  display: block;
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: -11px -11px -11px auto;
  list-style: none;
  cursor: pointer;
}

.mobile-menu__toggle .mobile-menu__bar {
  width: 22px;
}

.mobile-menu__toggle::-webkit-details-marker {
  display: none;
}

.mobile-menu__bar {
  height: 2px;
  background: var(--navy);
}

.mobile-menu__panel {
  position: fixed;
  top: 60px;
  right: 0;
  left: 0;
  z-index: 5;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.mobile-menu__panel .site-nav__list {
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__panel .site-nav__link {
  display: block;
  padding: 12px 0;
}

/* Site footer */
.site-footer {
  background: var(--graphite);
  color: var(--silver);
  padding: 64px 0 40px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 600px) {
  .site-footer__top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.site-footer__logo {
  height: 20px;
  width: auto;
}

.site-footer__email {
  color: var(--white);
  font-size: 0.9375rem;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}

.site-footer__col-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 10px;
}

.site-footer__col li + li {
  margin-top: 6px;
}

.site-footer__col a {
  display: inline-block;
  padding: 3px 0;
  color: var(--silver);
}

.site-footer__copyright {
  font-size: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
  color: var(--silver);
}

/* 404 page */
.not-found {
  padding: 72px 0 96px;
}

.not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: 32px;
}

.not-found__heading {
  font-size: 2.75rem;
}

@media (min-width: 900px) {
  .not-found__heading {
    font-size: 4rem;
  }
}

.not-found__accent {
  color: var(--blue);
}

.not-found__body {
  font-size: 1.125rem;
  max-width: 40ch;
}

.not-found__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

/* Home: hero */
.hero-home {
  padding: 44px 0 96px;
}

.hero-home__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-home__mark {
  width: 88px;
  height: auto;
}

.hero-home h1 {
  font-size: 2.625rem;
  line-height: 1.08;
}

@media (min-width: 900px) {
  .hero-home h1 {
    font-size: 6.5rem;
    line-height: 1.02;
  }
}

.hero-home__lead {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 620px;
}

@media (min-width: 900px) {
  .hero-home__lead {
    font-size: 1.4375rem;
  }
}

.hero-cta {
  align-self: stretch;
}

@media (min-width: 900px) {
  .hero-cta {
    align-self: center;
  }
}

.hero-cta__short {
  display: inline;
}

.hero-cta__long {
  display: none;
}

@media (min-width: 900px) {
  .hero-cta__short {
    display: none;
  }
  .hero-cta__long {
    display: inline;
  }
}

.hero-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 960px;
  margin-top: 16px;
}

.hero-steps__caption {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
}

.hero-steps__note {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 auto;
}

.hero-steps__grid {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--hairline);
  text-align: left;
}

@media (min-width: 900px) {
  .hero-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: none;
    box-shadow: var(--shadow-card);
  }
}

@media (max-width: 899px) {
  .hero-steps__grid.frame {
    border: none;
  }
  .hero-steps__grid.frame::before {
    content: none;
  }
}

.hero-steps__item {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 900px) {
  .hero-steps__item {
    padding: 22px 24px;
    border-bottom: none;
    border-left: 1px solid var(--hairline);
  }
  .hero-steps__item:first-child {
    border-left: none;
  }
}

.hero-steps__num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-text);
}

.hero-steps__text {
  font-size: 1rem;
}

/* Home: shared section layout */
.home-section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .home-split {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: center;
  }
  .home-split--start {
    align-items: start;
  }
}

/* Home: choose your robot */
.home-robots {
  background: var(--bg-alt);
  padding: 88px 0;
}

.robot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 900px) {
  .robot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.robot-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
}

@media (min-width: 900px) {
  .robot-card {
    padding: 40px;
  }
}

.robot-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.robot-card__tag {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-text);
}

.robot-card__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--navy);
}

@media (min-width: 900px) {
  .robot-card__headline {
    font-size: 2rem;
  }
}

.robot-card__bullets {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  border-top: 1px solid var(--hairline);
}

.robot-card__bullets li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

/* Home: your AI team member + chart */
.home-team {
  padding: 96px 0;
}

.home-team__body {
  font-size: 1.25rem;
  line-height: 1.6;
}

.chart-card {
  background: var(--navy);
  color: var(--text-on-navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-navy);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .chart-card {
    padding: 36px;
    gap: 24px;
  }
}

.chart-card__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.chart-card__illustrative {
  color: var(--silver);
  font-weight: 500;
}

.chart-grid {
  display: grid;
  grid-template-columns: 92px repeat(7, 1fr);
  gap: 6px 3px;
  font-size: 0.6875rem;
  align-items: center;
}

@media (min-width: 900px) {
  .chart-grid {
    grid-template-columns: 120px repeat(7, 1fr);
    gap: 8px 5px;
    font-size: 0.8125rem;
  }
}

.chart-grid__day {
  color: var(--silver);
  text-align: center;
}

.chart-grid__label {
  color: var(--text-on-navy);
}

.chart-legend {
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: center;
}

.chart-legend img {
  width: 18px;
  height: auto;
}

.chart-bar {
  height: 18px;
}

.chart-bar--off {
  background: rgba(255, 255, 255, .07);
}

.chart-bar--human {
  background: linear-gradient(90deg, rgba(255, 255, 255, .07) 37%, var(--silver) 37% 71%, rgba(255, 255, 255, .07) 71%);
}

.chart-bar--consultant {
  background: linear-gradient(90deg, rgba(255, 255, 255, .07) 37%, var(--consultant-grey) 37% 71%, rgba(255, 255, 255, .07) 71%);
}

.chart-bar--robo {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0, 150, 255, .7);
}

.chart-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 18px;
  gap: 8px;
}

@media (min-width: 900px) {
  .chart-stats {
    gap: 12px;
  }
}

.chart-stats__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chart-stats__label {
  font-size: 0.6875rem;
  color: var(--silver);
}

@media (min-width: 900px) {
  .chart-stats__label {
    font-size: 0.75rem;
  }
}

.chart-stats__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

/* Home: trust by design */
.home-trust {
  background: var(--bg-alt);
  padding: 96px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-item {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 600px) {
  .trust-item:nth-child(odd) {
    padding-right: 28px;
  }
  .trust-item:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--hairline);
  }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-bottom: none;
  }
}

.trust-item__title {
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--navy);
}

.trust-item__body {
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Sub-page template: hero with status panel */
.subpage-hero {
  padding: 72px 0 88px;
}

.subpage-hero--about {
  padding: 72px 0 96px;
}

@media (min-width: 900px) {
  .subpage-hero--about {
    padding-top: 104px;
  }
}

.subpage-hero--about .subpage-hero__content {
  max-width: 900px;
}

.subpage-hero--about .subpage-hero__lead {
  max-width: 640px;
  font-size: 1.1875rem;
}

.subpage-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .subpage-hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 72px;
    align-items: end;
  }
}

.subpage-hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.subpage-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
}

.subpage-hero__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-text);
  margin-left: 10px;
}

/* Variant for product names with an extra wrapping badge (RoboDPO's
   "COMING SOON", Robo4U) — the prototype uses flex+gap here instead of
   tag margin-left, with a negative margin pulling the accent-colored
   suffix back against the name. */
.subpage-hero__eyebrow--flex {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.subpage-hero__eyebrow--flex .text-accent {
  margin-left: -12px;
}

.subpage-hero__eyebrow--flex .subpage-hero__tag {
  margin-left: 0;
}

.eyebrow-badge--soon {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--yellow);
  padding: 5px 10px;
}

.subpage-hero h1 {
  font-size: 2.5rem;
  line-height: 1.08;
}

@media (min-width: 900px) {
  .subpage-hero h1 {
    font-size: 4rem;
  }
}

.subpage-hero__lead {
  font-size: 1.3125rem;
  line-height: 1.55;
  max-width: 560px;
}

.subpage-hero__cta {
  align-self: flex-start;
}

.status-panel {
  background: var(--white);
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
}

.status-panel__head {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(0, 25, 100, .1);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.status-panel__status {
  color: var(--blue-text);
  font-size: 0.75rem;
}

/* Every panel's figures are examples (CLAUDE.md section 11). */
.status-panel__note {
  margin-top: auto;
  padding: 10px 22px;
  border-top: 1px solid rgba(0, 25, 100, .1);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}

.status-panel__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.875rem;
}

.status-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-row__top {
  display: flex;
  justify-content: space-between;
}

.status-row__value {
  color: var(--blue-text);
  font-weight: 600;
}

.status-row__value--muted {
  color: var(--text-2);
  font-weight: 600;
}

.status-bar {
  height: 6px;
  background: var(--blue);
}

.status-bar--dashed {
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 10px, var(--blue-50) 10px 16px);
}

.status-list {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}

.status-list__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(0, 25, 100, .07);
}

.status-list__row:last-child {
  border-bottom: none;
}

.status-list__row--tint {
  background: var(--yellow-tint);
}

.status-list__row--muted {
  color: var(--text-2);
}

.status-list__value {
  color: var(--blue-text);
  font-weight: 600;
}

.status-list__value--strong {
  color: var(--navy);
  font-weight: 700;
}

.status-list__value--muted {
  font-weight: 600;
}

/* Sub-page template: "Sound familiar?" */
.familiar {
  padding: 88px 0;
  background: var(--bg-alt);
}

.familiar__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.familiar__head h2 {
  font-weight: 700;
  line-height: 1;
  font-size: 2.5rem;
}

@media (min-width: 900px) {
  .familiar__head h2 {
    font-size: 5.75rem;
  }
}

.familiar__head p {
  font-size: 1.25rem;
}

.familiar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 700px) {
  .familiar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.familiar-card {
  padding: 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
}

.familiar-card__mark {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.familiar-card__text {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .familiar-card__text {
    font-size: 1.5rem;
  }
}

/* Sub-page template: three-card row (two variants) + 24/7/365 strip */
.trio {
  padding: 96px 0;
}

.trio__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
  max-width: 820px;
}

.trio-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 56px;
}

@media (min-width: 900px) {
  .trio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trio-card__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-text);
}

.trio-card h3 {
  font-size: 1.6875rem;
  margin: 0;
}

.trio-card p {
  font-size: 1.25rem;
  line-height: 1.6;
}

/* RoboAuditor-style: shared top rule, column dividers, no card frame */
.trio-grid--divided {
  border-top: 2px solid var(--navy);
}

.trio-grid--divided .trio-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .trio-grid--divided .trio-card {
    padding: 32px 32px 0 0;
    border-bottom: none;
  }
  .trio-grid--divided .trio-card:not(:first-child) {
    border-left: 1px solid var(--hairline);
    padding-left: 32px;
  }
  .trio-grid--divided .trio-card:last-child {
    padding-right: 0;
  }
}

/* RoboCISO-style: gapped grid of individually framed cards */
.trio-grid--framed {
  gap: 24px;
}

.trio-grid--framed .trio-card {
  padding: 32px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.strip {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

@media (max-width: 599px) {
  .strip {
    grid-template-columns: auto 1fr;
  }
  .strip__badge {
    grid-column: 2;
  }
}

.strip__mark {
  width: 50px;
  height: auto;
}

.strip__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strip__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.strip__sub {
  font-size: 0.9375rem;
  color: var(--text-on-navy);
}

.strip__badge {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--blue);
}

/* Sub-page template: "Expanding" section */
.expanding {
  padding: 80px 0;
  background: var(--bg-alt);
}

.expanding__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .expanding__inner {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: center;
  }
}

.expanding__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expanding__body {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
}

/* When the right column pairs a paragraph with a CTA (RoboDPO, Robo4U) */
.expanding__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.btn-primary--snug {
  font-size: 0.9375rem;
  padding: 14px 22px;
}

/* About: mission statement (generic for v1 — no founder cards) */
.mission {
  padding: 80px 0;
  background: var(--bg-alt);
}

.mission__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
}

.expanding-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.expanding-chip {
  padding: 12px 20px;
  background: var(--white);
  font-weight: 600;
}

.expanding-chip--dashed {
  padding: 12px 20px;
  border: 1px dashed var(--blue);
  font-weight: 600;
  color: var(--blue-text);
}

/* Book a demo pop-up. The Microsoft Forms frame inside it is created by
   book-demo.js only when a visitor opens the dialog. */
.is-dialog-open {
  overflow: hidden;
}

.demo-dialog {
  width: min(720px, calc(100% - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 20px 16px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-navy);
  overflow: visible;
}

@media (min-width: 600px) {
  .demo-dialog {
    padding: 28px;
  }
}

.demo-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-dialog::backdrop {
  background: rgba(0, 25, 100, .55);
}

.demo-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.demo-dialog__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

@media (min-width: 600px) {
  .demo-dialog__title {
    font-size: 1.75rem;
  }
}

.demo-dialog__close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 0;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.demo-dialog__close:hover {
  color: var(--blue-text);
}

.demo-dialog__note,
.demo-dialog__fallback {
  font-size: 0.875rem;
  color: var(--text-2);
}

.demo-dialog__note a,
.demo-dialog__fallback a {
  color: var(--blue-text);
  font-weight: 600;
  text-decoration: underline;
}

.demo-dialog__frame {
  display: block;
  width: 100%;
  height: min(640px, calc(100vh - 240px));
  min-height: 320px;
  border: 1px solid var(--hairline);
  background: var(--bg-alt);
}

/* /book-a-demo/ landing page (no-JS and direct-visit fallback) */
.book-demo__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.book-demo__next {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.book-demo__next li {
  position: relative;
  padding-left: 22px;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-2);
}

.book-demo__next li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--blue);
}

.book-demo__email a {
  color: var(--blue-text);
  font-weight: 600;
  text-decoration: underline;
}
