/* Keep the main action easy to reach and let the product preview carry the motion. */
.top { top: 12px; }
.top .top-pricing-link { display: none; }

.top .top-inner,
body.landing .top:not(.is-scrolled) .top-inner {
  background: rgba(12, 24, 37, 0.92);
  border-color: rgba(183, 213, 241, 0.22);
  box-shadow: 0 12px 28px -18px #03080e;
  backdrop-filter: blur(16px);
}

.top .button.top-cta-btn {
  background: #c6e0f6;
  border-color: transparent;
  box-shadow: none;
  color: #132c42;
}

.top .button.top-cta-btn:hover {
  background: #e0f0fe;
  border-color: transparent;
  box-shadow: none;
  color: #132c42;
}

.wc-hero {
  padding-top: clamp(6.3rem, 9vw, 8.25rem);
  background:
    radial-gradient(ellipse 72% 58% at 50% 62%, rgba(89, 141, 189, 0.22), transparent 72%),
    linear-gradient(180deg, rgba(7, 16, 27, 0.7), rgba(8, 18, 29, 0.28) 72%, transparent);
}

.wc-hero .hero-copy { max-width: 890px; }
.hero-kicker { color: #bde0f9; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }

.wc-hero .hero-copy h1 {
  font-size: clamp(2.85rem, 1.75rem + 4.6vw, 5.75rem);
  line-height: 0.99;
  margin-bottom: 1rem;
  text-shadow: 0 3px 26px rgba(4, 12, 22, 0.45);
}

.wc-hero .hero-sub {
  max-width: 39rem;
  color: #d6e4f2;
}

.wc-hero .hero-cta-row .primary,
.quick-price--trial .primary,
.pricing-trial .primary {
  background: #c6e0f6;
  border-color: transparent;
  box-shadow: 0 12px 30px -14px rgba(115, 172, 221, 0.58);
  color: #132c42;
}

.wc-hero .hero-cta-row .primary:hover,
.quick-price--trial .primary:hover,
.pricing-trial .primary:hover {
  background: #e0f0fe;
  border-color: transparent;
  color: #132c42;
}

.trial-line {
  margin: 0.85rem 0 0;
  color: #c1d4e8;
  font-size: 0.875rem;
  line-height: 1.5;
}

.trial-line strong { color: #f1f6fb; }

.customer-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: #c1d4e8;
  font-size: 0.875rem;
}

.customer-stats strong { color: #f1f6fb; }

.hero-stage-wrap {
  max-width: 1000px;
  margin-top: clamp(1.65rem, 3.6vw, 2.8rem);
  padding-bottom: clamp(1.8rem, 4vw, 3rem);
  scroll-margin-top: 5.5rem;
}

.hero-glass-shell[data-hero-stage] {
  padding: clamp(0.5rem, 1.2vw, 0.85rem);
  border-radius: clamp(1rem, 2.5vw, 1.6rem);
  background: linear-gradient(155deg, #243b53 0%, #14263a 58%, #182b40 100%);
  border-color: rgba(187, 216, 241, 0.32);
  box-shadow: 0 34px 85px -40px #010509, inset 0 1px 0 rgba(219, 237, 253, 0.13);
  backdrop-filter: none;
}

.hero-glass-shell[data-hero-stage]::before { display: none; }
.hero-glass-shell[data-hero-stage]::after { opacity: 0; }

.hero-stage-bar { padding: 0 0.15rem; }

.hero-stage-bar .glass-pill-tabs button,
.hero-capture .preview-tabs button {
  min-block-size: 40px;
  font-size: 0.875rem;
}

.hero-capture {
  border-radius: clamp(0.7rem, 2vw, 1.15rem);
  background: linear-gradient(135deg, #152a40, #101f31);
  padding: clamp(0.5rem, 1.9vw, 1rem);
  border-color: rgba(187, 216, 241, 0.17);
  box-shadow: none;
  backdrop-filter: none;
}

.hero-capture .preview-tabs { margin-bottom: 0.65rem; }
.hero-capture picture { display: block; }
.hero-capture .app-capture { display: block; box-shadow: none; }
.hero-capture figcaption { font-size: 0.875rem; }

/* Keep the native playback controls clear of the clip selection buttons. */
.hero-video-overlay-bar {
  position: static;
  border-radius: 0;
  border-width: 1px 0 0;
  backdrop-filter: none;
}

.hero-video-overlay-bar .video-chip-actions { flex-wrap: wrap; }
.video-chip-btn { min-block-size: 36px; font-size: 0.875rem; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-glass-shell[data-hero-stage] {
    transform: perspective(1250px) rotateX(var(--preview-rx, 0deg)) rotateY(var(--preview-ry, 0deg));
    transition: transform 260ms ease-out, box-shadow 200ms ease-out;
  }
  .hero-glass-shell[data-preview-tilt] { transition-duration: 115ms, 200ms; }
  .hero-glass-shell[data-preview-tilt]::after { opacity: 0.7; }
}

.home-quick-pricing {
  padding: clamp(2.3rem, 4.5vw, 4.4rem) 0;
  background: rgba(10, 21, 33, 0.66);
  border-block: 1px solid rgba(175, 208, 237, 0.16);
  scroll-margin-top: 5.5rem;
}

.home-quick-pricing h2 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 1.6rem + 2vw, 3.45rem);
  font-weight: 400;
  line-height: 1.05;
}

.quick-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.3rem 0;
}

.quick-price,
.pricing-trial,
.cost-check {
  border: 1px solid rgba(175, 208, 237, 0.24);
  border-radius: 1rem;
  background: #14273b;
}

.quick-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.quick-price h3,
.pricing-trial h2 { font-size: 1.15rem; line-height: 1.25; }
.quick-price p,
.pricing-trial p { margin: 0; font-size: 1rem; }
.quick-price p > strong { color: #f1f6fb; font-size: 1.55rem; }
#paid-plans, #stealth, #languages { scroll-margin-top: 5.5rem; }
.quick-price .button { margin-top: auto; }

.quick-price--trial,
.pricing-trial {
  border-color: rgba(185, 219, 246, 0.54);
  background: linear-gradient(145deg, #243f58, #15293f);
}

.pricing-trial {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0.9rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  margin-block: 0 1.45rem;
}

.pricing-trial h2 { margin-bottom: 0.35rem; }
.pricing-trial .button { flex-shrink: 0; }

.cost-check {
  margin-block: 1.5rem;
  padding: clamp(1rem, 2.3vw, 1.6rem);
}

.cost-check h2 { margin-bottom: 0.65rem; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.cost-check table { width: 100%; }
.cost-check :where(th, td) { padding: 0.7rem; vertical-align: top; }
.cost-check th { text-align: start; }

@media (max-width: 660px) {
  .quick-price-grid { grid-template-columns: minmax(0, 1fr); gap: 0.65rem; }
  .cost-check { overflow-x: auto; }
}

@media (max-width: 780px) {
  .top .top-pricing-link { display: inline-flex; white-space: nowrap; }
}

@media (max-width: 560px) {
  .top .top-inner { gap: 0.45rem; padding-inline: 0.55rem; }
  .top .brand { gap: 0.3rem; }
  .top .brand-mark { width: 26px; height: 21px; }
  .top .brand-wordmark { width: clamp(84px, 28vw, 122px); height: auto; }
  .top .top-cta-btn {
    display: inline-flex;
    padding-inline: 0.65rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .top .top-pricing-link { padding-inline: 0.55rem; font-size: 0.8rem; }
  .top .top-right-actions { gap: 0.35rem; }
  .top .top-cta-btn .win-icon { display: none; }
  .hero-stage-bar { gap: 0.35rem; margin-bottom: 0.45rem; }
  .hero-stage-bar .glass-pill-tabs,
  .hero-capture .preview-tabs { flex-wrap: wrap; }
  .hero-stage-bar .glass-pill-tabs button,
  .hero-capture .preview-tabs button { padding-inline: 0.56rem; }
  .hero-capture figcaption { line-height: 1.5; }
}

@media (max-width: 355px) {
  .top .brand-wordmark { width: 78px; }
  .top .top-inner { gap: 0.3rem; }
  .top .top-right-actions { gap: 0.22rem; }
}
