/* The logo and the two galaxies use Novaire's own artwork. */
.marketing-page .section.intro {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  text-align: left;
}
.universe-copy { min-width: 0; }
.universe-copy h2 { font-size: clamp(38px, 4.4vw, 68px); }
.marketing-page .intro .intro-bottom { align-items: start; margin-top: 26px; gap: 18px; }
.universe-visual {
  position: relative;
  width: min(100%, 510px);
  justify-self: center;
  isolation: isolate;
}
.universe-orbits { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; overflow: clip; }
.universe-orbits::before {
  content: ""; position: absolute; inset: -3%; pointer-events: none;
  background: radial-gradient(closest-side, #7a95e623, #29355a1a 50%, transparent);
}
.universe-core {
  position: absolute; inset: 37.5%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(ellipse at 35% 5%, #34343e, #191a20 45%, #0b0b10 85%);
  box-shadow: none;
}
.universe-core > span { width: 77%; height: 77%; position: relative; overflow: hidden; }
.universe-core img { position: absolute; width: 195.9375%; max-width: none; height: auto; top: -34.0625%; left: -47.96875%; }
.orbit-track {
  margin: 0; padding: 0; list-style: none; border: 1px dashed #a6b7e331;
  position: absolute; border-radius: 50%;
  animation: orbit-turn var(--period) linear infinite;
}
.track-inner { inset: 24%; --period: 46s; animation-direction: reverse; }
.track-outer { inset: 10%; --period: 76s; }
.satellite { position: absolute; inset: 0; pointer-events: none; transform: rotate(var(--phase)); }
.track-inner > :nth-child(1) { --phase: 70deg; }
.track-inner > :nth-child(2) { --phase: 190deg; }
.track-inner > :nth-child(3) { --phase: 310deg; }
.track-outer > :nth-child(1) { --phase: 28deg; }
.track-outer > :nth-child(2) { --phase: 118deg; }
.track-outer > :nth-child(3) { --phase: 208deg; }
.track-outer > :nth-child(4) { --phase: 298deg; }
.satellite-seat {
  display: grid; place-items: center; position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -50%) rotate(calc(0deg - var(--phase)));
}
.satellite-face {
  width: clamp(33px, 9.4cqw, 49px); aspect-ratio: 1; border-radius: 34%; display: grid; place-items: center;
  color: #dce6fc; background: transparent;
  box-shadow: none;
  animation: orbit-turn var(--period) linear infinite reverse;
}
.track-inner .satellite-face { animation-direction: normal; }
.satellite-face svg { width: 57%; height: 57%; }
.satellite-trophy { color: #efc986; }
.satellite-trophy .satellite-face { color: inherit; }
.satellite-audio .satellite-face { color: #d4c5ff; }
.satellite-graph .satellite-face { color: #aacffa; }
.satellite-planner .satellite-face { color: #aad3c5; }
:is(.satellite-sombrero, .satellite-ngc1300) .satellite-face {
  width: clamp(62px, 18cqw, 91px); background: none; box-shadow: none;
}
.satellite-face img {
  width: 100%; height: 100%; object-fit: contain;
  mask-image: radial-gradient(closest-side, black 73%, transparent 100%);
}
@keyframes orbit-turn { to { transform: rotate(1turn); } }
.peak-picker[hidden] { display: none; }

.provider-band { position: relative; background: #030303; border-block: 1px solid #ffffff15; }
.provider-inner { width: min(var(--width, 1240px), 100%); margin: auto; padding: 26px var(--gutter, 24px) 32px; }
.provider-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.provider-heading h2 { margin: 0; font-size: 15px; color: #b1b1b7; font-weight: 500; letter-spacing: -.015em; }
.provider-window { overflow: hidden; }
.provider-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; margin: 0; padding: 0; list-style: none;
}
.provider-list li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: clamp(19px, 2.1vw, 27px); font-weight: 550; letter-spacing: -.055em; color: #ececea; }
.provider-list img { width: 1.12em; height: 1.12em; object-fit: contain; filter: brightness(0) invert(1); }
.provider-band[data-marquee] .provider-window {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.provider-band[data-marquee] .provider-belt { display: flex; width: max-content; animation: provider-loop 52s linear infinite; }
.provider-band[data-marquee] .provider-list {
  flex: none; flex-wrap: nowrap; align-items: center; gap: clamp(40px, 5vw, 80px);
  padding-inline-end: clamp(40px, 5vw, 80px);
}
@keyframes provider-loop { to { transform: translateX(-50%); } }
[data-showcase-motion][data-away] :is(.orbit-track, .satellite-face, .provider-belt) { animation-play-state: paused; }
.peak-picker select:focus-visible, .peak-method summary:focus-visible {
  outline: 2px solid #aecaff; outline-offset: 2px;
}
.marketing-page .section.growth-section {
  display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.55fr);
  gap: 24px clamp(28px, 5vw, 70px); align-items: center;
}
.growth-section .growth-copy h2 { margin: 0; font-size: clamp(34px, 4.1vw, 62px); line-height: 1.05; }
.growth-section .growth-copy > p { margin: 20px 0 0; }
.peak-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; color: #c4c6d0; font-size: 14px; }
.peak-picker select {
  font: inherit; color: #f0f1f5; border: 0; border-radius: 8px;
  background: #16181e url('assets/chevron-down.svg') right 14px center / 12px no-repeat;
  appearance: none; padding: 0 36px 0 16px; min-height: 44px; cursor: pointer;
}
.peak-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.peak-card {
  --accent: #8dbaff;
  margin: 0; position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  aspect-ratio: 1; min-width: 0;
  background: transparent; color: white;
  display: flex; flex-direction: column; justify-content: space-between;
}
.peak-pro { --accent: #96d6c1; }
.peak-card::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 9%, transparent), transparent);
}
.peak-head { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin: 8% 8.4% 0; }
.peak-head h3 { margin: 0; font-size: clamp(19px, 6.5cqw, 26px); font-weight: 530; letter-spacing: -.035em; }
.peak-head > span { font-size: clamp(10px, 3.4cqw, 13px); color: #d9e0e7; }
.peak-plot { width: 94%; align-self: center; display: block; overflow: visible; cursor: crosshair; touch-action: pan-y; }
.peak-path { stroke: var(--accent); stroke-linecap: round; stroke-width: 2.8; }
.peak-point { fill: var(--accent); stroke: #f4ffff; stroke-width: 1.2;  }
.peak-card figcaption { display: grid; gap: 6px; margin: 0 8.4% 15%; }
.peak-number { font-size: clamp(34px, 16cqw, 68px); font-weight: 400; letter-spacing: -.07em; font-variant-numeric: tabular-nums; line-height: .98; }
.peak-card figcaption > span { min-height: 2.6em; line-height: 1.3; font-size: clamp(12px, 4.5cqw, 16px); color: #e0e5ef; }
.peak-method { grid-column: 2; color: #a9adb9; font-size: 13px; line-height: 1.6; }
.peak-method summary { cursor: pointer; width: fit-content; padding-block: 8px; }
.peak-method p { margin: 6px 0; max-width: 65ch; }
@media (max-width: 800px) {
  .marketing-page .section.growth-section { grid-template-columns: 1fr; }
  .peak-method { grid-column: 1; }
  .peak-pair { max-width: 650px; width: 100%; }
}
@media (max-width: 700px) {
  .marketing-page .section.intro { grid-template-columns: 1fr; gap: 28px; }
  .universe-visual { width: min(100%, 400px); }
}
@media (max-width: 550px) {
  .peak-pair { grid-template-columns: 1fr; max-width: 340px; justify-self: center; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-track, .satellite-face { animation: none; }
}

.universe-visual:not([data-animated]) :is(.orbit-track, .satellite-face) { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .peak-reveal .peak-path { stroke-dasharray: 1; animation: peak-draw 1s ease-out both; }
  .peak-reveal .peak-point { animation: peak-appear .35s .7s ease both; }
  @keyframes peak-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes peak-appear { from { opacity: 0; } to { opacity: 1; } }
}

.satellite-face:has(canvas) { position: relative; }
.satellite-face canvas, .plate-community canvas {
  position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; opacity: 0; pointer-events: none;
}
.plate-community { container-type: size; }
.plate-community canvas { width: min(100cqw, 100cqh); height: min(100cqw, 100cqh); }
:is(.satellite-face, .plate-community) canvas.is-rendered { opacity: 1; }
:is(.satellite-face, .plate-community):has(canvas.is-rendered) img { visibility: hidden; }

/* Screen gallery: one readable feature and its original screen, on the page itself. */
.marketing-page :is(.product-section, .demo-section) > .section-heading {
  margin: 0 0 clamp(28px, 4vw, 54px); text-align: left;
}
.feature-tabs:not([hidden]) {
  display: flex; flex-wrap: wrap; gap: 0 clamp(12px, 3.5vw, 48px); border-bottom: 1px solid #ffffff25;
}
.feature-tabs button {
  position: relative; padding: 12px 0; min-height: 46px; border: 0; background: transparent;
  color: #a4a5ae; font: inherit; font-size: clamp(13px, 1.3vw, 16px); cursor: pointer;
}
.feature-tabs button[aria-selected=true], .feature-tabs button:hover { color: #fff; }
.feature-tabs button[aria-selected=true]::after {
  content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: currentColor;
}
.feature-panel:not([hidden]) {
  display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(32px, 4.2vw, 58px) 0;
}
.feature-caption { max-width: 29rem; }
.feature-caption h3 {
  margin: 0; max-width: 15ch; font-size: clamp(32px, 4.8vw, 70px);
  font-weight: 520; letter-spacing: -.053em; line-height: 1.05; text-wrap: balance;
}
.feature-caption p { margin: 22px 0 0; max-width: 40ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.feature-shot {
  position: relative; justify-self: center; display: block; width: min(100%, 244px);
  isolation: isolate; cursor: zoom-in; color: #e9ebf1;
}
.feature-shot::before {
  content: ''; position: absolute; z-index: -1; inset: -4% -32%; pointer-events: none;
  background: radial-gradient(ellipse, var(--screen-light, #888cc01c), transparent 69%);
}
#feature-podcast { --screen-light: #75af9726; }
.feature-shot img { display: block; width: 100%; height: auto; border-radius: 16px; }
.feature-expand {
  position: absolute; bottom: 0; left: calc(100% + 10px); display: grid; place-items: center;
  width: 40px; height: 40px; font-size: 21px; color: #d9dbe4;
}
@media (prefers-reduced-motion: no-preference) {
  .feature-panel[role=tabpanel]:not([hidden]) { animation: feature-in .32s ease-out both; }
  @keyframes feature-in { from { opacity: 0; transform: translateY(5px); } }
}
.feature-tabs button:focus-visible, .feature-shot:focus-visible {
  outline: 2px solid currentColor; outline-offset: 4px;
}

/* Recordings retain their full native aspect ratio and playback controls. */
.demo-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 58px clamp(18px, 2.6vw, 40px); align-items: start;
}
.demo-film { min-width: 0; margin: 0; }
.demo-film .app-demo {
  width: 100%; height: auto; display: block; object-fit: contain;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.film-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 21px 0 9px;
  color: #b3b4bf; font-size: 11px; font-weight: 540; letter-spacing: .09em;
}
.film-meta span:last-child { font-weight: 400; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.film-caption h3 { margin: 0; font-size: clamp(21px, 1.85vw, 30px); line-height: 1.14; font-weight: 530; letter-spacing: -.035em; }
.film-caption p { margin: 12px 0 0; max-width: 38ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.film-caption .demo-direct-link { font-size: 13px; margin-top: 3px; }
.marketing-page .onboarding-section .phone-visual {
  width: fit-content; max-width: 100%; height: auto; margin-inline: auto; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; overflow: visible;
}
.onboarding-section .phone-visual > img {
  width: clamp(190px, 22vw, 250px); max-width: 100%; height: auto; border: 0; box-shadow: none;
}
.onboarding-section .expand { bottom: 0; right: -42px; background: transparent; border: 0; box-shadow: none; }
.onboarding-section .product-caption { max-width: 34ch; margin-inline: auto; }
@media (max-width: 950px) {
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .feature-panel:not([hidden]) { grid-template-columns: 1fr; gap: 28px; }
  .feature-caption h3 { max-width: 21ch; }
  .feature-caption p { margin-top: 12px; }
  .feature-shot { width: min(68%, 222px); }
  .feature-tabs:not([hidden]) { justify-content: space-between; gap: 0 10px; }
  .feature-tabs button { font-size: 13px; }
}
@media (max-width: 520px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); width: min(100%, 320px); }
  .onboarding-section .expand { right: -30px; }
}
@media (forced-colors: active) {
  .feature-tabs button[aria-selected=true] { color: Highlight; }
  .feature-tabs button[aria-selected=true]::after { background: Highlight; }
}
