/* Premium visual polish — applied after Tailwind theme */
.art-blend {
  position: relative;
  width: min(100%, 1220px);
  margin-left: auto;
  margin-right: auto;
  isolation: isolate;
}
.art-blend::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(217, 236, 248, 0.65), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.art-blend img {
  display: block;
  width: 100%;
  height: auto;
}
.art-blend.art-blend--banner {
  width: min(92%, 1380px);
  margin-top: 0.15rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, #ffffff 0%, #f7fbfe 55%, transparent 78%);
}
.art-blend.art-blend--banner img {
  mix-blend-mode: multiply;
  position: relative;
  z-index: 1;
}
/* Soft edge veils to dissolve the white rectangle into the page */
.art-blend.art-blend--banner::after {
  content: "";
  position: absolute;
  inset: -2% -1% -4%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f7fbfe 0%, rgba(247,251,254,0.92) 3%, transparent 11%, transparent 89%, rgba(247,251,254,0.92) 97%, #f7fbfe 100%),
    linear-gradient(180deg, rgba(247,251,254,0.35) 0%, transparent 10%, transparent 72%, rgba(247,251,254,0.85) 90%, #f7fbfe 100%);
}
.art-blend.art-blend--banner::before {
  inset: 6% 2% -4%;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.95), rgba(217, 236, 248, 0.5) 48%, transparent 74%);
}
.shot-band {
  position: relative;
  width: min(100vw - 1.5rem, 1544px);
  margin-left: auto;
  margin-right: auto;
}
.page-toc {
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}
.win-chrome.shot-lift {
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.win-chrome.shot-lift:hover {
  transform: translateY(-3px) scale(1.008);
  box-shadow: 0 28px 56px rgba(36, 48, 64, 0.14);
  border-color: rgba(91, 143, 184, 0.55);
}
.feature-shot {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.feature-shot-wide {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .feature-shot {
    max-width: none;
    width: 92%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .win-chrome.shot-lift:hover {
    transform: none;
  }
}

/* Center body copy under centered section titles */
.section-stack {
  max-width: var(--text-max, 680px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-stack ul,
.section-stack ol {
  list-style-position: inside;
  padding-inline-start: 0;
}
.section-stack .font-mono,
.section-stack code {
  text-align: left;
  display: inline-block;
  max-width: 100%;
}

/* Soft clean hero — cosmic dark band */
.inner-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 70% at 85% 10%, rgba(232, 135, 58, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 55% at 10% 80%, rgba(94, 200, 232, 0.07), transparent 50%),
    linear-gradient(180deg, #080b12 0%, #0b0e17 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.inner-hero::before,
.inner-hero::after {
  display: none !important;
}
.inner-hero > * {
  position: relative;
  z-index: 1;
}
.inner-hero .page-h1 {
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  color: #eef1f6 !important;
}
.inner-hero .eyebrow,
.inner-hero .eyebrow-anim {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #8b93a5 !important;
}
.inner-hero p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.7;
  color: #b0b8c8 !important;
}
.inner-hero .title-line {
  margin-top: 0.75rem;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .inner-hero .page-h1 {
    font-size: clamp(1.9rem, 7.2vw, 2.35rem);
  }
}

/* ===== Text boxes — soft lift, sky edge light, hover glow (all pages) ===== */
#main article.rounded-2xl,
#main li.rounded-2xl,
#main .rounded-2xl.border,
#main .rounded-\[14px\].border,
#main .rounded-xl.border,
#main .overflow-x-auto.rounded-2xl,
#main .overflow-x-auto.rounded-\[14px\],
.review-card,
.spec-strip {
  position: relative;
  isolation: isolate;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease,
    border-color 280ms ease,
    background-color 280ms ease;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 28px rgba(36, 48, 64, 0.05),
    0 2px 8px rgba(91, 143, 184, 0.06);
}

#main article.rounded-2xl::before,
#main li.rounded-2xl::before,
#main .rounded-2xl.border:not(.overflow-x-auto)::before,
#main .rounded-\[14px\].border:not(.overflow-x-auto)::before,
#main .rounded-xl.border::before,
.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    radial-gradient(ellipse 80% 55% at 12% 0%, rgba(217, 236, 248, 0.55), transparent 60%);
  opacity: 0.85;
  transition: opacity 280ms ease;
}

#main article.rounded-2xl > *,
#main li.rounded-2xl > *,
#main .rounded-2xl.border > *:not(table),
#main .rounded-xl.border > *,
.review-card > * {
  position: relative;
  z-index: 1;
}

#main article.rounded-2xl:hover,
#main li.rounded-2xl:hover,
#main .rounded-2xl.border:hover,
#main .rounded-\[14px\].border:hover,
#main .rounded-xl.border:hover,
.review-card:hover,
.spec-strip:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 143, 184, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 40px rgba(36, 48, 64, 0.1),
    0 0 0 1px rgba(91, 143, 184, 0.18),
    0 12px 32px rgba(91, 143, 184, 0.12);
}

#main article.rounded-2xl:hover::before,
#main li.rounded-2xl:hover::before,
#main .rounded-2xl.border:hover::before,
#main .rounded-xl.border:hover::before,
.review-card:hover::before {
  opacity: 1;
}

#main article.rounded-2xl:focus-within,
#main li.rounded-2xl:focus-within,
#main .rounded-2xl.border:focus-within {
  border-color: rgba(91, 143, 184, 0.8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px rgba(36, 48, 64, 0.09),
    0 0 0 3px rgba(217, 236, 248, 0.85);
}

/* Spec cells */
.spec-strip > div {
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.spec-strip > div:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
  box-shadow: inset 0 0 0 1px rgba(91, 143, 184, 0.2);
}

/* FAQ / accordion rows as soft interactive boxes */
.acc-item {
  border-radius: 0.85rem;
  margin: 0.2rem 0;
  padding-inline: 0.65rem;
  transition:
    background-color 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}
.acc-item:hover,
.acc-item.is-open {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 254, 0.95));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 22px rgba(36, 48, 64, 0.05);
}
.acc-item.is-open {
  border-color: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 26px rgba(91, 143, 184, 0.1),
    0 0 0 1px rgba(201, 216, 228, 0.85);
}
.acc-btn {
  transition: color 200ms ease, transform 200ms ease;
}
.acc-item:hover .acc-btn {
  color: var(--brand, #5b8fb8);
}
.acc-btn svg {
  transition: transform 260ms ease, color 200ms ease;
}
.acc-item.is-open .acc-btn svg {
  transform: rotate(45deg);
  color: var(--brand, #5b8fb8);
}

/* Entrance when scrolled into view */
.motion-ready #main article.rounded-2xl,
.motion-ready #main li.rounded-2xl,
.motion-ready #main .rounded-2xl.border,
.motion-ready #main .rounded-xl.border,
.motion-ready .spec-strip,
.motion-ready .acc-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease,
    border-color 280ms ease,
    background-color 280ms ease;
}
.motion-ready #main article.rounded-2xl.is-inview,
.motion-ready #main li.rounded-2xl.is-inview,
.motion-ready #main .rounded-2xl.border.is-inview,
.motion-ready #main .rounded-xl.border.is-inview,
.motion-ready .spec-strip.is-inview,
.motion-ready .acc-item.is-inview {
  opacity: 1;
  transform: translateY(0);
}
.motion-ready #main article.rounded-2xl.is-inview:hover,
.motion-ready #main li.rounded-2xl.is-inview:hover,
.motion-ready #main .rounded-2xl.border.is-inview:hover {
  transform: translateY(-3px);
}

.motion-ready .acc-item.is-inview:nth-child(1) { transition-delay: 0.02s; }
.motion-ready .acc-item.is-inview:nth-child(2) { transition-delay: 0.05s; }
.motion-ready .acc-item.is-inview:nth-child(3) { transition-delay: 0.08s; }
.motion-ready .acc-item.is-inview:nth-child(4) { transition-delay: 0.11s; }
.motion-ready .acc-item.is-inview:nth-child(5) { transition-delay: 0.14s; }
.motion-ready .acc-item.is-inview:nth-child(n + 6) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  #main article.rounded-2xl,
  #main li.rounded-2xl,
  #main .rounded-2xl.border,
  #main .rounded-\[14px\].border,
  #main .rounded-xl.border,
  .review-card,
  .spec-strip,
  .acc-item,
  .acc-btn svg {
    transition: none !important;
  }
  #main article.rounded-2xl:hover,
  #main li.rounded-2xl:hover,
  #main .rounded-2xl.border:hover,
  .review-card:hover,
  .spec-strip:hover {
    transform: none;
  }
  .motion-ready #main article.rounded-2xl,
  .motion-ready #main li.rounded-2xl,
  .motion-ready #main .rounded-2xl.border,
  .motion-ready #main .rounded-xl.border,
  .motion-ready .spec-strip,
  .motion-ready .acc-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .acc-item.is-open .acc-btn svg {
    transform: none;
  }
}

