/* Growth V2 pilot. Orbital v10 chrome and artwork around the existing home content. */
.cockpit-pilot {
  --cockpit-night: #040a14;
  --cockpit-ink: #edf3f6;
  --cockpit-muted: #b9ccd7;
  --ink: #183040;
  --ink-mute: #475c6b;
  padding-bottom: var(--cockpit-dock-reserve, calc(112px + env(safe-area-inset-bottom, 0px)));
  background: var(--cockpit-night);
}
:root:has(.cockpit-pilot) { scroll-padding-block-end: var(--cockpit-dock-reserve, calc(112px + env(safe-area-inset-bottom, 0px))); }
.cockpit-pilot .skip { z-index: 60; }
.cockpit-pilot main { background: #f2f7f9; }
.cockpit-pilot :is(.section--soft, .calc-section--reference) { background: #e8f0f4; }
.cockpit-pilot :is(.text-link, .eyebrow) { color: #285268; }
.cockpit-pilot .step__num { color: #435b6c; }
.cockpit-pilot .step { overflow-wrap: anywhere; }
.cockpit-pilot .calc-card--reference label.calc-rate { display: flex; }
.cockpit-pilot .small-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.cockpit-pilot :is(.btn, .platform-card, .proof-card):hover { transform: none; }
.cockpit-pilot .platform-card {
  background: linear-gradient(145deg, #f9fcfd, #e5edf1);
  border-color: #c8d8e0;
  box-shadow: 0 8px 20px #142f4214;
}
.cockpit-pilot .platform-card:first-child {
  background: linear-gradient(145deg, #344f65, #142738);
  border-color: #416579;
}
.cockpit-pilot .platform-icon { background: #dcebf0; color: #285268; box-shadow: none; }
.cockpit-pilot .platform-card:first-child .platform-icon { background: #446779; color: #edf3f6; }
.cockpit-pilot .site-footer { color: var(--cockpit-ink); background: #0d1b2c; }
.cockpit-pilot .site-footer :is(a, small) { color: var(--cockpit-muted); }
.cockpit-top {
  position: relative;
  z-index: 45;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: max(8px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 8px max(14px, env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, #050c17, #08121e);
  border-top: 1px solid #1a2b38;
  border-bottom: 1px solid #1f3442;
}
.cockpit-top .dp-cockpit__brand { position: static; column-gap: 6px; white-space: nowrap; min-height: 44px; }
.cockpit-tools { display: flex; align-items: center; gap: 5px; }
.cockpit-lang, .cockpit-settings summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 3px 6px;
  font-size: .79rem;
  color: var(--cockpit-muted);
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
}
.cockpit-settings summary::-webkit-details-marker { display: none; }
.cockpit-settings[open] summary, .cockpit-tools :is(.cockpit-lang, summary):hover {
  background: #152636;
  border-color: #354f60;
}
.cockpit-panel {
  position: absolute;
  z-index: 2;
  top: 100%;
  right: max(8px, env(safe-area-inset-right, 0px));
  width: min(335px, calc(100% - 16px));
  max-height: calc(100vh - 160px);
  max-height: var(--cockpit-panel-room, calc(var(--cockpit-visible-height, 100dvh) - 160px));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #3f5b69;
  color: var(--cockpit-ink);
  background: linear-gradient(155deg, #142232, #091420 85%);
  box-shadow: 0 16px 36px #0009;
  color-scheme: dark;
}
.cockpit-panel fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.cockpit-panel__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  padding-block-end: .75rem;
}
.cockpit-panel__groups { display: grid; gap: 8px; }
.cockpit-panel__group {
  min-inline-size: 0;
  padding: 9px;
  border: 1px solid #31495b;
  border-radius: 10px;
  background: #102030;
}
.cockpit-panel__group > label:first-child { margin-block-start: 0; }
.cockpit-panel__group [data-space-open] { width: 100%; }
.cockpit-panel__group [type="range"] { margin-inline: 0; }
.cockpit-tilt-actions:not(:has(button:not([hidden]))) { display: none; }
.cockpit-panel fieldset:disabled { opacity: .55; }
.cockpit-panel label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .15em .5em;
  font-size: .84rem;
  margin-block: 8px 4px;
}
.cockpit-panel output { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cockpit-panel [role="status"] { color: var(--cockpit-muted); font-size: .82rem; margin: 8px 0; }
.cockpit-panel__status :is([data-flight-status], [data-reactive-status]) { flex: 1 1 8rem; margin: 0; }
.cockpit-panel :is(button, select) {
  min-height: 44px;
  border: 1px solid #456173;
  border-radius: 8px;
  background: #152838;
  color: var(--cockpit-ink);
  font: inherit;
  font-size: .85rem;
  padding: 4px 6px;
}
.cockpit-panel button[aria-pressed="true"] { border-color: #addbe6; background: #294759; }
.cockpit-panel button:disabled { opacity: .55; cursor: default; }
.cockpit-panel :is(select, input) { width: 100%; min-height: 44px; accent-color: #93cadb; }
.cockpit-effect-actions, .cockpit-course { display: grid; gap: 6px; }
.cockpit-course { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
.cockpit-effect-actions {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr));
  margin-top: 8px;
}
.cockpit-steering[hidden] { display: none; }
.cockpit-steering {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  color: var(--cockpit-ink);
}
.cockpit-steering__surface {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.cockpit-steering__surface:active { cursor: grabbing; }
.cockpit-steering__surface:focus-visible { outline: 2px solid #94c9d9; outline-offset: -4px; }
.cockpit-steering__guide {
  position: absolute;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  justify-items: start;
  gap: 8px;
  top: max(15px, env(safe-area-inset-top, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  width: min(310px, calc(100% - 28px));
  padding: 12px;
  border: 1px solid #375264;
  border-radius: 14px;
  background: #0b1929ed;
  font-size: .86rem;
}
.cockpit-steering__guide p { display: grid; align-content: start; gap: .45em; margin: 0; overflow-wrap: anywhere; }
.cockpit-pilot [data-space-close] {
  pointer-events: auto;
  min-height: 44px;
  border-radius: 8px;
  padding: 4px 8px;
  color: inherit;
  background: #152838;
  border: 1px solid #456173;
}
.cockpit-pilot [data-space-close]:focus-visible { outline: 2px solid #caeaf0; outline-offset: 3px; }
.steering-help-touch, .steering-help-desktop { display: none; }
.steering-help-keys { display: block; }
@media (any-pointer: coarse) {
  .steering-help-touch { display: block; }
}
@media (any-pointer: fine) {
  .steering-help-desktop { display: block; }
}
@media (prefers-reduced-transparency: reduce) {
  .cockpit-steering__guide { background: #0b1929; }
}
.cockpit-pilot[data-flight-view="space"] .hero-ref-inner { visibility: hidden; }
.cockpit-pilot[data-flight-view="space"] .cockpit-scene::after { opacity: .23; }
.cockpit-pilot[data-flight-view="space"] .cockpit-reticle { left: 50%; top: 46%; }
.cockpit-pilot .hero--reference {
  min-height: calc(100svh - 62px);
  background: var(--cockpit-night);
  color: var(--cockpit-ink);
}
.cockpit-pilot .hero--reference::before, .cockpit-pilot .hero--reference::after { content: none; }
.cockpit-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  contain: paint;
}
.cockpit-scene::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, #040a14ed, #040a14a6 45%, #040a140a 80%), linear-gradient(0deg, #040a14, transparent 28%);
}
.cockpit-sky {
  --cockpit-starfield-image: url('assets/stars-far.svg');
  position: absolute;
  inset: -18px;
  background: var(--cockpit-starfield-image) center / cover, url('assets/nebula-wide.webp') center / cover;
  opacity: .82;
  transform: translateX(var(--cockpit-sky-x, 0px));
}
@supports (container-type: size) {
  .cockpit-global > .cockpit-scene { container: cockpit-scene / size; }
  /* Wait for the size query before requesting either image. */
  .cockpit-global .cockpit-sky { --cockpit-starfield-image: none; }
  @container cockpit-scene (aspect-ratio <= 3/5) {
    .cockpit-global .cockpit-sky { --cockpit-starfield-image: url('assets/stars-far-portrait.svg'); }
  }
  @container cockpit-scene (aspect-ratio > 3/5) {
    .cockpit-global .cockpit-sky { --cockpit-starfield-image: url('assets/stars-far.svg'); }
  }
}
.cockpit-beacon {
  position: absolute;
  width: min(82vw, 1180px);
  aspect-ratio: 1;
  right: -4%;
  top: -18%;
  background: url('assets/orbital-beacon-v10.svg') center / contain no-repeat;
  opacity: .74;
  transform: translate(var(--cockpit-x, 0px), var(--cockpit-y, 0px)) rotate(var(--cockpit-bank, 0deg));
}
.cockpit-reticle {
  position: absolute;
  top: 45%;
  left: 70%;
  width: min(31vw, 410px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed #a3d6ec38;
  box-shadow: 0 0 0 22px #7ab4da0b, 0 0 0 45px #b1a1d306;
  transform: translate(-50%, -50%) rotate(var(--cockpit-bank, 0deg));
}
.cockpit-reticle::after { content: ''; position: absolute; inset: 42%; border: 1px solid #bddfe84d; border-radius: 50%; }
.cockpit-scene .dp-flight, .cockpit-scene .dp-flight__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cockpit-scene .dp-flight { z-index: 1; }
.cockpit-scene .dp-flight[data-dp-paused="true"] .dp-flight__canvas { visibility: hidden; }
.cockpit-pilot .hero-ref-inner {
  z-index: 3;
  min-height: max(650px, calc(100svh - 185px));
  padding: clamp(40px, 7vh, 95px) 0 85px;
}
.cockpit-pilot .hero-kicker { color: #aec5d0; letter-spacing: .12em; white-space: normal; overflow-wrap: anywhere; }
.cockpit-pilot .hero-ref-inner h1 {
  max-width: 690px;
  font-size: clamp(1.85rem, 4.25vw, 4.6rem);
  font-weight: 540;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-shadow: none;
  overflow-wrap: anywhere;
}
.cockpit-pilot .hero-ref-inner h1 span { display: block; color: #bedae5; text-shadow: none; }
.cockpit-pilot .hero-ref-sub, .cockpit-pilot .hero-ref-evidence { color: var(--cockpit-muted); }
.cockpit-pilot .hero-ref-list svg { background: #163449; color: #d1eef1; border: 0; box-shadow: none; }
.cockpit-pilot .hero-ref-actions .btn { min-width: 0; max-width: 100%; min-height: 48px; border-radius: 12px; white-space: normal; }
.cockpit-pilot .hero-ref-actions .btn--primary { background: linear-gradient(130deg, #e0ebea, #b9d5dd); color: #14212a; border: 1px solid #d8e9eb; box-shadow: none; }
.cockpit-pilot .hero-ref-actions .btn--outline, .cockpit-pilot .evidence-pill {
  color: #dbecf0;
  background: #0c1b2c;
  border-color: #375264;
  box-shadow: none;
}
.cockpit-pilot .hero-ref-benefits > div { background: #0e1c2b; border-color: #2e4859; box-shadow: none; backdrop-filter: none; }
.cockpit-pilot .hero-ref-benefits svg { color: #c4dfe7; filter: none; }
.cockpit-pilot .hero-ref-down { background: #102334; border-color: #547685; box-shadow: none; }
.cockpit-pilot .dp-cockpit__console { background: linear-gradient(150deg, #172739, #0d1b2c 47%, #0a1424); }
.cockpit-pilot .dp-cockpit__bearing b { box-shadow: 0 0 7px #9bdae952; transform: translateX(var(--cockpit-needle, 0px)); }
.cockpit-pilot .dp-cockpit[data-dp-quality="D0"] .dp-cockpit__bearing b { transition: none; }
.cockpit-pilot .dp-cockpit__label {
  --cockpit-label-size: .875rem;
  font-size: var(--cockpit-label-size);
  white-space: normal;
  overflow-wrap: anywhere;
}
.cockpit-pilot:not(.cockpit-global) [data-dp-quality="D2"] .dp-cockpit__item:active::before { animation: dp8-charge 180ms ease-out both; }
.cockpit-pilot:not(.cockpit-global) [data-dp-quality="D2"] .dp-cockpit__item:active .dp-cockpit__mist i { animation: dp8-absorb 180ms ease-out both; }
.cockpit-pilot .dp-cockpit__item:active { background-color: #254758; }
.cockpit-pilot :is(.cockpit-top a, summary, .cockpit-panel button, .hero a):focus-visible { outline: 2px solid #caeaf0; outline-offset: 3px; }
@media (min-width: 700px) {
  .cockpit-top { padding-inline: max(40px, env(safe-area-inset-left, 0px)) max(40px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 699px) {
  .cockpit-scene::after { background: linear-gradient(90deg, #040a14e6, #040a1470 85%), linear-gradient(0deg, #040a14, transparent 35%); }
  .cockpit-sky { background-image: var(--cockpit-starfield-image), url('assets/nebula-portrait.webp'); }
  .cockpit-beacon { width: 134vw; right: -58%; top: -3%; }
  .cockpit-reticle { left: 81%; width: 59vw; }
  .cockpit-pilot .hero-ref-inner { width: min(90%, 540px); min-height: 0; }
  .cockpit-pilot .hero-ref-inner h1 { font-size: clamp(1.85rem, 9vw, 3.8rem); }
}
@media (max-width: 410px) {
  .cockpit-pilot .hero-ref-list { grid-template-columns: 1fr; }
  .cockpit-pilot .hero-ref-benefits { grid-template-columns: 1fr; }
  .cockpit-pilot .hero-ref-benefits > div { min-height: 40px; padding-block: 5px; }
  .cockpit-pilot .dp-cockpit__label { --cockpit-label-size: clamp(.62rem, 3vw, .82rem); }
}
@media (max-width: 290px) {
  .cockpit-top .dp-cockpit__brand { font-size: .65rem; letter-spacing: .025em; }
  .cockpit-top .dp-cockpit__brand svg { width: 16px; }
  .cockpit-top { padding-inline: 7px; }
  .cockpit-tools { gap: 0; }
  .cockpit-pilot .hero-ref-evidence { flex-wrap: wrap; }
  .cockpit-pilot .dp-cockpit__console {
    left: max(2px, env(safe-area-inset-left, 0px));
    right: max(2px, env(safe-area-inset-right, 0px));
    width: auto;
    transform: none;
    padding-inline: 2px;
  }
  .cockpit-pilot .dp-cockpit__nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (orientation: landscape) and (max-height: 530px) {
  .cockpit-pilot { padding-bottom: var(--cockpit-dock-reserve, calc(82px + env(safe-area-inset-bottom, 0px))); }
  .cockpit-pilot .hero-ref-inner { min-height: 0; }
  .cockpit-panel { max-height: var(--cockpit-panel-room, calc(var(--cockpit-visible-height, 100dvh) - 130px)); }
}
@media (min-width: 680px) and (max-height: 540px) {
  .cockpit-panel { width: min(560px, calc(100% - 32px)); padding: 10px; }
  .cockpit-panel__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (forced-colors: active) {
  .cockpit-scene { display: none; }
  .cockpit-top, .cockpit-panel, .cockpit-panel__group { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .cockpit-pilot .dp-cockpit__console { background: Canvas; }
  .cockpit-pilot :is(.cockpit-top a, summary, .cockpit-panel button, .hero a):focus-visible { outline-color: Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  :root:has(.cockpit-pilot) { scroll-behavior: auto; }
  .cockpit-pilot .cockpit-beacon, .cockpit-pilot .cockpit-sky { transform: none; }
}
