/* Home 8.3.6: public presentation only. Does not style authenticated cloud sessions. */
.hero.hero-with-video {
  min-height: 620px;
  padding-block: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "title video" "details video";
  column-gap: 48px;
  row-gap: 0;
  align-content: center;
}
.hero-with-video .hero-copy { grid-area: title; align-self: end; min-width: 0; }
.hero-with-video .hero-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.5rem, 4.3vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.hero-with-video .eyebrow { line-height: 1.5; }
.hero-with-video .hero-details { grid-area: details; align-self: start; min-width: 0; }
.hero-with-video .hero-lead { margin: 0; font-size: 1rem; line-height: 1.7; }
.hero-with-video .cloud-model-highlight { margin-top: 20px; padding: 16px 18px; border-left: 3px solid #56defa; border-radius: 0 12px 12px 0; background: rgba(63,129,231,.1); }
.hero-with-video .cloud-model-highlight > span { display: block; color: #a8c8ef; font-size: .875rem; line-height: 1.5; letter-spacing: .06em; }
.hero-with-video .cloud-model-highlight > strong { display: block; margin-top: 4px; color: #fff; font-size: 1.375rem; line-height: 1.35; }
.hero-with-video .cloud-model-highlight > p { margin: 6px 0 0; color: #b9cbe5; font-size: .875rem; line-height: 1.6; }
.hero-with-video .hero-actions { flex-wrap: wrap; margin-top: 24px; }
.hero-with-video .trust-row { margin-top: 23px; gap: 10px 17px; color: #c2d3ea; font-size: .9375rem; line-height: 1.5; }
.hero-presentation { grid-area: video; align-self: center; min-width: 0; width: 100%; margin: 0; }
.presentation-heading { margin-bottom: 17px; }
.presentation-heading .eyebrow { color: #56defa; font-size: .75rem; }
.presentation-heading h2 { margin: 7px 0 0; color: #f3f7ff; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; letter-spacing: -.025em; }
.presentation-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #386095; border-radius: 20px; background: #030919; box-shadow: 0 20px 65px rgba(0,0,0,.3), 0 0 36px rgba(53,107,255,.16); }
.presentation-frame video, .presentation-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #030919; }
.hero-presentation.has-youtube .presentation-heading { text-align: center; }
/* The current presentation is a 1080 x 1920 video. Fit the player, not a crop. */
.presentation-frame.is-youtube { width: min(100%, 340px); aspect-ratio: 9 / 16; margin-inline: auto; }
/* Only the decorative cover fills the frame; the playing video is never cropped. */
.presentation-frame.is-youtube > img { object-fit: cover; }
.presentation-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #030919; }
.presentation-help a { color: #91e6ff; text-decoration: underline; text-underline-offset: 3px; }
.presentation-frame video:focus-visible, .presentation-play:focus-visible, .presentation-error button:focus-visible { outline: 3px solid #79e7ff; outline-offset: -5px; }
.presentation-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px; border: 0; border-radius: inherit; background: linear-gradient(0deg,rgba(3,9,25,.6),rgba(3,9,25,.08)); color: #fff; cursor: pointer; font-size: 1rem; font-weight: 800; text-shadow: 0 2px 7px #030919; }
.presentation-play-icon { width: 64px; height: 64px; display: grid; place-items: center; padding-left: 4px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: linear-gradient(120deg,#0bc4e5,#456dfc); box-shadow: 0 0 0 8px rgba(44,189,237,.18); font-size: 1.5rem; text-shadow: none; }
.presentation-play:hover .presentation-play-icon { background: linear-gradient(120deg,#31dcff,#7961ff); }
.presentation-help { margin: 12px 0 0; color: #a9bbd5; font-size: .8125rem; line-height: 1.5; }
.presentation-error { margin: 12px 0 0; padding: 12px; border: 1px solid #78643a; border-radius: 10px; color: #ffe7b9; background: #28231c; font-size: .875rem; line-height: 1.5; }
.presentation-error button { min-height: 44px; margin-left: 6px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 8px; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
.presentation-unavailable { position: absolute; inset: auto 0 0; padding: 18px 14px 13px; color: #fff; background: linear-gradient(transparent,rgba(3,9,25,.92)); text-align: center; font-size: .875rem; font-weight: 700; }
.presentation-play[hidden], .presentation-error[hidden] { display: none; }

/* Readable public benefits; the authenticated dashboard keeps its own styles. */
.marketing-page .proof-grid > div { min-width: 0; padding-right: 20px; }
.marketing-page .proof-grid strong, .marketing-page .proof-link { font-size: 1.125rem; line-height: 1.45; }
.marketing-page .proof-grid > div > span { font-size: .875rem; line-height: 1.6; }
.marketing-page .proof-link { display: inline-flex; align-items: center; min-height: 44px; margin-block: -8px 0; color: #65e6ff; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.marketing-page .proof-link:hover { color: #fff; }
.marketing-page .proof-link:focus-visible { outline: 3px solid #65e6ff; outline-offset: 4px; border-radius: 4px; }
.marketing-page .benefit-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #225fc7; background: #e9f2ff; }
.marketing-page .benefit-icon svg { display: block; width: 28px; height: 28px; }
.marketing-page .benefit-card h3 { margin-top: 20px; }
.marketing-page .benefit-card p, .marketing-page .steps p, .marketing-page .number-options p { font-size: 1rem; }
.marketing-page .section-intro p, .marketing-page .how-copy p { font-size: 1rem; line-height: 1.7; }
.marketing-page .how-copy, .marketing-page .steps, .marketing-page .steps li > div { min-width: 0; }
.marketing-page .steps li { grid-template-columns: 38px minmax(0,1fr); }
.marketing-page .service-note { font-size: .875rem; }

@media (max-width: 1000px) {
  .marketing-page .how-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .hero.hero-with-video { min-height: auto; grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "video" "details"; row-gap: 24px; padding-block: 38px 48px; text-align: center; }
  .hero-with-video .hero-copy { display: block; }
  .hero-with-video .hero-copy h1 { max-width: 720px; margin: 12px auto 0; font-size: clamp(2.1rem,6.5vw,3.4rem); }
  .hero-with-video .hero-presentation { max-width: 680px; margin-inline: auto; }
  .hero-with-video .hero-details { width: 100%; max-width: 680px; margin-inline: auto; }
  .hero-with-video .hero-lead { margin-inline: auto; }
  .hero-with-video .hero-actions, .hero-with-video .trust-row { justify-content: center; }
  .presentation-heading { margin-bottom: 12px; }
}
@media (max-width: 760px) {
  .marketing-page .proof-grid > div { padding-inline: 0; }
  .marketing-page .proof-link { justify-content: center; }
  .marketing-page .number-options article { grid-template-columns: 44px minmax(0,1fr); }
  .hero.hero-with-video { padding-block: 28px 36px; row-gap: 20px; }
  .hero-with-video .eyebrow { font-size: .6875rem; letter-spacing: .11em; }
  .hero-with-video .hero-copy h1 { font-size: clamp(2rem,9vw,3rem); line-height: 1.1; letter-spacing: -.045em; }
  .presentation-heading h2 { font-size: 1.125rem; }
  .presentation-frame { border-radius: 14px; }
  .presentation-play { font-size: .875rem; gap: 11px; }
  .presentation-play-icon { width: 52px; height: 52px; font-size: 1.15rem; }
  .hero-with-video .hero-actions { margin-top: 18px; }
  .hero-with-video .trust-row { margin-top: 18px; }
  .hero-with-video .hero-lead { font-size: 1rem; line-height: 1.6; }
  .public-header .header-inner { gap: 8px; min-height: 68px; height: auto; padding-block: 12px; }
  .public-header .brand { min-width: 0; gap: 7px; }
  .public-header .brand b { font-size: clamp(.9rem,3.8vw,1.15rem); letter-spacing: -.035em; }
  .public-header .brand-icon { flex: 0 0 34px; width: 34px; height: 34px; }
  .public-header .brand-icon img { width: 32px; height: 32px; }
  .public-header .header-actions { flex-shrink: 0; gap: 6px; }
  .public-header .header-download-menu > summary { min-height: 44px; padding-inline: 9px; }
  .public-header .header-login { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; }
}
@media (max-width: 360px) {
  .public-header .header-inner { flex-wrap: wrap; justify-content: center; }
  .public-header .brand { justify-content: center; }
  .hero-with-video .hero-copy h1 { font-size: 2rem; }
}
