/* Glass belongs to the navigation, while the Orbit field is visible behind the hero. */
body[data-route="/"] {
  --home-glass: rgb(255 255 255 / .78);
  --home-glass-edge: rgb(31 39 52 / .13);
  --home-glass-highlight: rgb(255 255 255 / .85);
}
html[data-theme="dark"] body[data-route="/"] {
  --home-glass: rgb(25 27 32 / .82);
  --home-glass-edge: rgb(240 243 248 / .14);
  --home-glass-highlight: rgb(255 255 255 / .09);
}

.hub-hero .hub-intro {
  padding-block: clamp(42px, 6vw, 87px) clamp(22px, 3.8vw, 50px);
}
.hub-hero .hub-hero-main h1 {
  font-size: clamp(2.125rem, 5.4vw, 4.75rem);
  letter-spacing: -.04em;
}
html .hub-hero .hub-hero-main h1 span,
html[data-theme="dark"] .hub-hero .hub-hero-main h1 span {
  background: none;
  color: var(--link);
}
.hub-hero-main > p { max-width: 50ch; font-weight: 550; }
.hub-hero .hub-hero-services { margin-top: 25px; }
.hub-hero .hub-hero-services > a {
  min-height: 48px;
  border-color: var(--home-glass-edge);
  border-radius: 13px;
  background: var(--home-glass);
  box-shadow: none;
  backdrop-filter: none;
}
.hub-hero .hub-hero-services > a:hover {
  background: var(--surface);
}
.hub-hero .hub-hero-services > a > img,
.orbit-collection .orbit-choices > a > img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.orbit-collection .orbit-choices > a > img:is([src$="/chatgpt.svg"], [src$="/claude.svg"]) { padding: 1px; }
body[data-route="/"] .header-account [data-hub-profile-icon] > svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.65;
}

.hub-hero + .orbit-collection { padding-top: clamp(12px, 2.5vw, 36px); }
.hub-section-title h2 { font-size: clamp(1.65rem, 4.05vw, 3.55rem); }
.orbit-collection .orbit-choices {
  border-color: var(--home-glass-edge);
  border-radius: 15px;
  background: var(--home-glass);
  box-shadow: inset 0 1px var(--home-glass-highlight);
  backdrop-filter: blur(12px) saturate(105%);
  isolation: isolate;
}
.orbit-collection .orbit-choices > a { z-index: 1; }
.orbit-collection .orbit-choices > a:hover {
  background: color-mix(in srgb, var(--surface) 94%, var(--ink));
}
.orbit-collection .orbit-choices > a[aria-selected="true"] {
  background: transparent;
  color: var(--link);
}
.orbit-collection .orbit-choice-indicator {
  inset: 0 auto auto 0;
  z-index: 0;
  border: 1px solid var(--home-glass-edge);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: inset 0 -2px var(--link);
}
.orbit-collection .orbit-offer.orbit-service-panel {
  border-color: var(--home-glass-edge);
  background: var(--surface);
  box-shadow: none;
  backdrop-filter: none;
}
.orbit-collection .orbit-offer.orbit-service-panel .orbit-service-intro {
  background: color-mix(in srgb, var(--surface) 96%, var(--ink));
}
.orbit-collection .orbit-service-panel[hidden] { display: none; }
.orbit-collection .orbit-plan-price { font-variant-numeric: tabular-nums; }

.hub-catalog-links { display: flex; flex-wrap: wrap; gap: 4px 17px; margin-top: 12px; }
.hub-catalog-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.hub-catalog-links a:hover { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.hub-catalog-links a > svg { width: 14px; }
.hub-catalog-links a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

@media (min-width: 901px) {
  .dh2-site[data-route="/"] .site-head .head-inner {
    background: var(--home-glass);
    border-color: var(--home-glass-edge);
    box-shadow: inset 0 1px var(--home-glass-highlight);
  }
}
@media (max-width: 700px) {
  .hub-hero .hub-intro { padding-block: 35px 21px; }
  .hub-hero .hub-hero-main h1 { font-size: clamp(1.82rem, 8.3vw, 3.2rem); }
  .hub-hero-main > p { margin-top: 14px; }
  .hub-hero .hub-hero-services { margin-top: 17px; }
  .hub-hero .hub-hero-services > a { min-height: 44px; padding-inline: 9px; font-size: 12px; }
  .orbit-collection .orbit-choices > a { min-width: 0; }
  .orbit-collection .orbit-choices > a > img { width: 20px; height: 20px; }
}
@media (max-width: 355px) {
  .hub-hero .hub-hero-main h1 { font-size: clamp(1.5rem, 8.1vw, 1.76rem); }
  .dh2-site[data-context="site"] .hub-hero .hub-intro-actions > a { padding-inline: 9px; }
  .hub-hero .hub-intro-actions > a > svg { display: none; }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  body[data-route="/"], html[data-theme="dark"] body[data-route="/"] {
    --home-glass: var(--surface);
    --home-glass-highlight: transparent;
  }
  .dh2-site[data-route="/"] .site-head,
  .orbit-collection .orbit-choices { backdrop-filter: none; }
}
@media (scripting: none) and (max-width: 1050px) {
  .dh2-site[data-context="site"] .site-head { position: static; }
  .dh2-site[data-context="site"] .head-inner { flex-wrap: wrap; }
  .dh2-site[data-context="site"] .head-inner .menu-toggle { display: none; }
  .dh2-site[data-context="site"] #main-nav {
    position: static;
    order: 1;
    flex-basis: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 0 0 4px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .dh2-site[data-context="site"] #main-nav > a { justify-content: center; min-height: 44px; padding-inline: 0; font-size: 12px; }
}
