/* Marketing layout. Product previews, alerts and captions have their own space;
   the shared Session tokens, application UI and brand assets remain intact. */
.sky { --sky-sect: clamp(64px, 7vw, 96px); }
.sky-h2, .sky-h3, .sky-hero__h1 { text-wrap: balance; }
.sky-nav { border-bottom-color: var(--sky-line); }
.sky-nav__link { white-space: nowrap; }

/* Home hero: one copy column, one contained product preview. */
.sky-hero--home { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 88px); }
.sky-hero--home .sky-hero__in {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}
.sky-hero--home .sky-hero__copy { max-width: 640px; }
.sky-hero--home .sky-term { margin-bottom: 20px; color: var(--sky-blue-t); }
.sky-hero--home .sky-term::before { background: var(--sky-blue); }
.sky-hero--home .sky-hero__title {
  max-width: none;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.sky-hero--home .sky-hero__title :where(em) {
  display: inline;
  padding: 0;
  transform: none;
  color: var(--sky-blue-t);
}
.sky-hero--home .sky-hero__title :where(em)::before { content: none; }
.sky-hero--home .sky-hero__sub { margin-top: 24px; max-width: 48ch; font-size: 18px; line-height: 1.75; }
.sky-hero--home .sky-hero__cta { margin-top: 28px; gap: 12px; }
.sky-hero--home .sky-hero__note { display: block; margin-top: 20px; font-size: 13px; line-height: 1.8; }
.sky-hero--home .sky-hero__note .sky-dot { display: inline-block; margin-inline-end: 6px; }
.sky-hero--home .sky-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: auto;
  max-width: 100%;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 24px;
}
.sky-hero--home .sky-facts :where(li) {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-inline: 0;
  border-inline-start: 0;
  font-size: 13px;
  line-height: 1.7;
}
.sky-hero--home .sky-facts .sky-ic { margin-top: 3px; color: var(--sky-ink); }
.sky-hero--home .sky-hero__art {
  width: 100%;
  max-width: 680px;
  padding: 0;
  justify-self: center;
}
.sky-hero--home .sky-frame { box-shadow: var(--sky-sh-2); }
.sky-hero--home .sky-frame__bar { padding: 10px 14px; background: var(--sky-white); }
.sky-hero--home .sky-frame__url { display: block; max-width: 240px; font-size: 10px; }
.sky-hero--home .sky-app__rail { width: 120px; padding: 16px 8px; }
.sky-hero--home .sky-app__brand { gap: 6px; padding-inline: 4px; }
.sky-hero--home .sky-app__nav { font-size: 10px; padding: 10px 8px; gap: 7px; }
.sky-hero--home .sky-app__nav .sky-ic { width: 13px; height: 13px; }
.sky-app__session {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 24px 6px 4px;
  color: var(--sky-ink-inv-2);
  font-size: 9px;
}
.sky-app__session .sky-dot { width: 5px; height: 5px; background: var(--sky-ink-inv-2); }
.sky-hero--home .sky-app__body { padding: 16px; gap: 14px; }
.sky-app__greeting { display: block; color: var(--sky-ink-3); font-size: 10px; margin-bottom: 6px; }
.sky-hero--home .sky-app__title { display: block; font-size: 15px; }
.sky-hero--home .sky-app__chip { font-size: 9px; padding: 5px 7px; }
.sky-hero--home .sky-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sky-hero--home .sky-tile { padding: 12px; min-width: 0; }
.sky-hero--home .sky-tile__l { font-size: 11px; }
.sky-hero--home .sky-tile__v { font-size: 23px; }
.sky-hero--home .sky-tile__d { font-size: 10px; }
.sky-hero--home .sky-panel__h { gap: 8px; padding: 11px 12px; font-size: 11px; flex-wrap: wrap; }
.sky-hero--home .sky-panel__h :where(span) { font-size: 10px; }
.sky-hero--home .sky-row { padding: 10px 12px; font-size: 11px; }
.sky-hero--home .sky-row .sky-pill { font-size: 10px; }

/* Notifications are separate rows, at every width. No card covers a screen. */
.sky-hero--home .sky-notif.sky-hero__toast,
.sky-phone-stage .sky-notif.sky-phone__notif {
  position: static;
  inset: auto;
  transform: none;
  width: 100%;
  max-width: none;
  margin: 20px 0 0;
  box-shadow: none;
  border: 1px solid var(--sky-line);
}
.sky-hero__caption { position: static; margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--sky-ink-3); }

/* Sample attendance data is contained within the product preview. */
.sky-overview-chart { border: 1px solid var(--sky-line); border-radius: var(--sky-r); overflow: hidden; }
.sky-overview-chart__plot { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 10px; padding: 14px; }
.sky-overview-chart__axis { display: flex; flex-direction: column; justify-content: space-between; height: 84px; font-size: 8px; color: var(--sky-ink-3); }
.sky-overview-chart__plot :where(svg) { width: 100%; height: 88px; overflow: visible; }
.sky-overview-chart__guide { fill: none; stroke: var(--sky-line); stroke-width: 1; }
.sky-overview-chart__area { fill: var(--sky-blue-50); }
.sky-overview-chart__line { fill: none; stroke: var(--sky-blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sky-overview-chart__points { fill: var(--sky-white); stroke: var(--sky-blue); stroke-width: 2; }
.sky-overview-chart__days { grid-column: 2; display: flex; justify-content: space-between; font-size: 9px; color: var(--sky-ink-3); }

/* Give paragraphs full reading width rather than squeezing them beside cards. */
.sky-outcomes__in { display: grid; gap: 40px; }
.sky-outcomes .sky-head { max-width: 820px; }
.sky-outcomes .sky-h2 { max-width: none; }
.sky-outcomes .sky-lead { max-width: 68ch; }
.sky-outcomes .sky-shift { margin-top: 0; }
.sky-outcomes .sky-shift__row { padding-block: 28px; gap: 24px; }
.sky-outcomes .sky-shift__ft { font-size: 15px; line-height: 1.75; }
.sky-outcomes .sky-shift__tt { font-size: 16px; line-height: 1.75; }
.sky-rail .sky-rail__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  padding-block-start: 0;
}
.sky-rail .sky-rail__st { margin-bottom: 0; padding: 16px 10px 22px; gap: 6px; }
.sky-rail .sky-rail__riser, .sky-rail .sky-rail__crossing { display: none; }
.sky-panes { margin-top: 32px; }
.sky-pane { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--sky-line); border-radius: var(--sky-r-lg); background: var(--sky-white); }
.sky-pane .sky-plate { min-width: 0; margin: 0; }
.sky-pane .sky-plate__cap { padding-top: 8px; }
.sky-pane__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.sky-pane__grid > * { min-width: 0; }
.sky-plate__cap { overflow-wrap: anywhere; }
.sky-facts--roles { padding-bottom: 24px; border-bottom: 1px solid var(--sky-line); }
.sky-facts--roles :where(li) { min-width: 0; }
.sky-demo .sky-role { min-width: 0; }
.sky-demo__go { white-space: normal; line-height: 1.5; }
.sky-mobile__benefits { display: block; }
.sky-phone-stage { display: flex; flex-direction: column; align-items: center; gap: 0; min-height: 0; padding-block: 0; }
.sky-phone-stage .sky-notif.sky-phone__notif { max-width: 320px; }

/* Keep prices and badges inside their own card instead of overlapping rows. */
.sky-price { gap: 24px; }
.sky-plan { padding: 28px; min-width: 0; }
.sky-plan--top { margin-block: 0; padding-block: 28px; box-shadow: none; border: 2px solid var(--sky-navy); }
.sky-plan__flag { position: relative; top: auto; inset-inline-start: auto; align-self: flex-start; margin-bottom: 20px; box-shadow: none; border: 1px solid var(--sky-line); }
.sky-plan__n { font-size: 18px; }
.sky-plan__for { min-height: 0; }
.sky-plan__p { margin-top: 20px; gap: 8px; }
.sky-plan__amt { font-size: clamp(1.875rem, 2.6vw, 2.25rem); }
.sky-plan__f { gap: 14px; }
.sky-faq { max-width: 880px; }
.sky-faq :where(details) { padding-inline: 16px; }
.sky-faq :where(details[open]) { background: var(--sky-white); }
.sky-faq :where(summary) { padding-block: 24px; }
.sky-faq__a { padding-inline: 39px 0; line-height: 1.8; }
.sky-form-card { padding: clamp(24px, 3vw, 36px); }
.sky-form-card__fields { gap: 20px; }

/* Closing illustration gets its own row; copy and actions cannot cross it. */
.sky-cta__crest { display: block; position: static; width: 88px; margin-block: 12px 24px; margin-inline: auto var(--sky-gut); }
.sky-cta__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.sky-cta__copy { max-width: 650px; }
.sky-cta__t { line-height: 1.25; text-wrap: pretty; }
.sky-cta__b { margin-top: 0; align-items: stretch; }
.sky-foot__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.sky-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.sky-foot__l { gap: 14px; }
.sky-foot__l :where(a) { line-height: 1.7; }

@media (min-width: 1100px) {
  .sky-hero--home .sky-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .sky-pane__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
  .sky-pane__grid--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .sky-cta__in { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
  .sky-cta__b { flex-direction: column; }
  .sky-foot__top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 64px; }
  .sky-foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 640px) {
  .sky-outcomes .sky-shift__row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .sky-hero--home .sky-hero__title { font-size: 48px; max-width: 20ch; }
  .sky-hero--home .sky-facts { max-width: 600px; }
}
@media (max-width: 1099px) {
  .sky-demo__intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sky-vignette--leaders { justify-self: start; }
  .sky-facts--roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .sky-facts--roles :where(li) { padding-inline: 0; border-inline-start: 0; }
}
@media (max-width: 639px) {
  .sky-hero--home .sky-hero__sub { font-size: 16px; }
  .sky-hero--home .sky-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sky-hero--home .sky-app__rail { display: none; }
  .sky-hero--home .sky-app__body { padding: 12px; }
  .sky-hero--home .sky-frame__url { font-size: 9px; }
  .sky-hero--home .sky-app__title { font-size: 14px; }
  .sky-hero--home .sky-tile { padding: 10px; }
  .sky-hero--home .sky-row { padding-inline: 10px; }
  .sky-hero--home .sky-panel__h { padding-inline: 10px; }
  .sky-facts--roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sky-facts--roles :where(li:last-child) { grid-column: auto; justify-content: flex-start; }
  .sky-faq :where(details) { padding-inline: 8px; }
  .sky-faq__a { padding-inline-start: 0; }
  .sky-pane { padding: 24px 16px; }
  .sky-pane .sky-app__rail { display: none; }
  .sky-cta__b { flex-direction: column; }
}
@media (max-width: 379px) {
  .sky-hero--home .sky-frame__dots { display: none; }
  .sky-hero--home .sky-app__chip { display: none; }
  .sky-hero--home .sky-panel__h :where(span) { margin-inline-start: 0; }
}
