:root[data-theme="midnight"] {
  --paper: #f2f6fc;
  --white: #fff;
  --ink: #152445;
  --dim: #435775;
  --line: #c8d5e8;
  --accent: #2858bc;
  --action-hover: #19449a;
  --dark: #09152b;
  --accent-light: #b2d0ff;
  --soft: #e2ebf9;
  --control-line: #7386a8;
  --hover-wash: #5178bd20;
  --meter-rail: #dce7f7;
  --visual-grid: #8eb5ff22;
  --visual-line: #95beff60;
  --visual-core: #4880eb35;
  --surface-shadow: 0 12px 30px #172d5412;
  --report-bg: #eaf1fb;
  --intro-bg: #142d56;
  --bar: linear-gradient(90deg, #80a9f8, #2858bc);
}
.passage .photo-layer {
  background-image: url("../../assets/images/scene-0.webp");
  --position: center 48%;
}
.mountains .photo-layer {
  background-image: url("../../assets/images/scene-1.webp");
  --position: center 50%;
}
.coast .photo-layer {
  background-image: url("../../assets/images/scene-2.webp");
  --position: center 53%;
}
.site-header,
.hero-band {
  background: var(--dark);
  color: #f2f6fc;
}
.site-header {
  border-color: #294161;
}
.site-header nav {
  background: var(--dark);
  border-color: #5a7093;
}
.site-header .menu-toggle {
  border-color: #657da5;
}
.hero {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 5%;
  min-height: 595px;
}
.hero .eyebrow,
.hero .hero-text {
  color: #bad1fa;
}
.hero .action,
.header-cta {
  background: #aacaff;
  color: #102044;
  border-color: #aacaff;
}
.hero .action:hover,
.header-cta:hover {
  background: #d3e4ff;
  color: #102044;
}
.hero-art {
  border-color: #405c8a;
  background: radial-gradient(ellipse at 55% 55%, #203f7c, #101f3e 72%);
  min-height: clamp(345px, 40vw, 511px);
}
.hero-art::before {
  transform: skewY(-13deg) scale(1.23);
}
.orbit i {
  border-radius: var(--radius-panel);
  transform: rotate(-18deg);
}
.orbit b {
  display: none;
}
.hero-device {
  transform: none;
  width: 49%;
  max-width: 253px;
  border-color: #7394ce;
  box-shadow:
    0 0 0 11px #577fb032,
    0 24px 42px #0008;
}
.hero-art figcaption {
  color: #102044;
  inset-inline-start: auto;
  inset-inline-end: 16px;
  bottom: 16px;
}
.ticker {
  background: #152d55;
}
.app {
  background: #111f38;
  color: white;
}
.app .eyebrow,
.app .muted,
.app .support p {
  color: #c8ddff;
}
.app .tabs button {
  border-color: #7d99c3;
}
.app .tabs [aria-selected="true"] {
  background: #b2d0ff;
  color: #102044;
}
.app-preview {
  color: var(--ink);
  background: #e2ebf9;
}
.markets {
  background: #e2ebf9;
  color: var(--ink);
}
.markets .eyebrow,
.markets .market-note {
  color: var(--accent);
}
.markets .choices button[aria-pressed="true"],
.markets .choices button:hover {
  background: var(--accent);
  color: white;
}
.markets .light {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.performance-intro {
  border-inline-start: 6px solid #91b7ff;
}
@media (max-width: 670px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }
  .hero-art {
    min-height: 310px;
  }
  .hero-device {
    width: 52%;
    max-width: 182px;
  }
}

.coast .photo-copy .action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  min-width: 280px;
  min-height: 68px;
  padding: 18px 36px;

  font-size: 20px;
  font-weight: 700;
  border-radius: 18px;

  box-shadow: 0 8px 30px rgba(166, 199, 255, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.coast .photo-copy .action span {
  font-size: 24px;
}

.coast .photo-copy .action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(166, 199, 255, 0.28);
}

@media (max-width: 670px) {
  .coast .photo-copy .action {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 14px 20px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coast .photo-copy .action {
    transition: none;
  }

  .coast .photo-copy .action:hover {
    transform: none;
  }
}
/* Hero application carousel */

.hero-slider {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  direction: ltr;
  padding: 10px 48px 36px;
}

.hero-slider .hero-device {
  width: 100%;
  max-width: 310px;
  aspect-ratio: 9 / 19.5;
  transform: none;
}

.hero-slider .hero-device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: pan-y;
}

/* Previous and next buttons */

.slide-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #4b648c;
  background: #152d55;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}

.slide-arrow:hover {
  background: #4778f5;
}

.prev-slide {
  left: 0;
}

.next-slide {
  right: 0;
}

/* Slide indicators */

.slide-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.slide-dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.slide-dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 20px;
  background: #486187;
  transition: 0.25s ease;
}

.slide-dots button.active::after {
  width: 24px;
  background: #a6c7ff;
}

.hero-slider button:focus-visible {
  outline: 2px solid #a6c7ff;
  outline-offset: 3px;
}

@media (max-width: 670px) {
  .hero-slider {
    padding-inline: 42px;
  }

  .hero-slider .hero-device {
    max-width: 230px;
  }

  .slide-arrow {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider *,
  .hero-slider *::after {
    transition: none;
  }
}
/* Hero slider layer fix */

.hero-art .orbit {
  pointer-events: none;
}

.hero-art .hero-slider {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: visible;
}

.hero-slider .slide-arrow {
  z-index: 20;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  display: grid;
  place-items: center;
}

.hero-slider .slide-dots {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.hero-slider .hero-device {
  position: relative;
  inset: auto;
  margin: 0 auto;
  transform: none;
}
/* Compact Hero desktop layout */

@media (min-width: 992px) {
  .hero {
    min-height: auto;
    padding-block: 24px;
    align-items: center;
  }

  .hero-art {
    min-height: 0;
    height: auto;
    padding: 16px;
  }

  .hero-slider {
    padding: 0 44px 16px;
  }

  .hero-slider .hero-device {
    width: min(250px, 28vh);
    max-width: 250px;
    height: auto;
    aspect-ratio: 9 / 19.5;
    margin: 0 auto;
  }

  .hero-slider .hero-device img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-slider .slide-dots {
    margin-top: 8px;
  }
}
/* Fixed mobile header */

@media (max-width: 991px) {
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  body {
    padding-top: 65px;
  }

  html {
    scroll-padding-top: 80px;
  }
}
/* Enhanced mobile parallax */

@media (max-width: 991px), (pointer: coarse) {
  .photo {
    min-height: 420px;
    overflow: hidden;
  }

  .photo-layer {
    inset: -120px 0;
    background-attachment: scroll;
    background-size: cover;
    transform: translate3d(0, var(--shift, 0px), 0);
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-layer {
    transform: none;
    will-change: auto;
  }
}
/* Automatic mobile slideshow */

.hero-slider .slide-arrow,
.hero-slider .slide-dots {
  display: none;
}

.hero-art .hero-slider {
  padding: 0;
}

.hero-slider .hero-device img {
  transition: opacity 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider .hero-device img {
    transition: none;
  }
}
/* ==================================
   PARVAZ - New Header
   ================================== */

.site-header {
  z-index: 1000;
}

.site-header .header-row {
  gap: 16px;
}

.site-header nav {
  gap: clamp(10px, 1.3vw, 22px);
}

.site-header nav a {
  font-size: 13px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .action {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  white-space: nowrap;
}

.header-consult {
  background: transparent;
  color: #d4e5ff;
  border: 1px solid #7896c5;
}

.header-consult:hover {
  background: #203858;
  color: #ffffff;
}

.header-purchase {
  background: #aacaff;
  border-color: #aacaff;
  color: #09152b;
}

.header-purchase:hover {
  background: #d3e4ff;
  color: #09152b;
}

/* Mobile header */

@media (max-width: 991px) {
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  .site-header .header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding-block: 10px;
    min-height: 0;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: #ffffff;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .header-actions .action {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
    padding: 8px;
    gap: 6px;
  }

  .site-header nav {
    max-height: calc(100dvh - 125px);
    overflow-y: auto;
  }

  body {
    padding-top: 120px;
  }

  html {
    scroll-padding-top: 135px;
  }
}
/* Single-row mobile header */

@media (max-width: 991px) {
  .site-header .header-row {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
  }

  .site-header .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .header-actions .action {
    font-size: 11px;
    padding: 8px 10px;
  }

  body {
    padding-top: 70px;
  }

  html {
    scroll-padding-top: 85px;
  }
}
