/* Page-specific entry points; scoped to override the shared theme safely. */
.top-entry-hero.hero-v2 .hero-v2-split {
  min-height: clamp(580px, 76svh, 740px);
}

.top-entry-hero.hero-v2 .hero-v2-text {
  padding: 48px clamp(28px, 4vw, 64px);
  min-width: 0;
}

.top-entry-hero.hero-v2 .hero-v2-image-side img {
  /* Keep the working hands and the frame in view across crop ratios. */
  object-position: center 62%;
}

@media (min-width: 721px) {
  .top-entry-hero.hero-v2 .hero-v2-image-side {
    min-width: 0;
    min-height: 0;
  }

  /* Keep the portrait image's intrinsic height out of grid row sizing. */
  .top-entry-hero.hero-v2 .hero-v2-image-side img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

.top-entry-hero.hero-v2 .hero-v2-eyebrow {
  margin-bottom: 24px;
}

.top-entry-hero.hero-v2 .hero-v2-headline {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 58px);
}

.top-entry-hero.hero-v2 .hero-v2-headline-sub {
  margin-top: 20px;
  line-height: 1.7;
}

.top-entry-hero.hero-v2 .hero-v2-lead {
  margin-bottom: 14px;
  line-height: 1.9;
}

.top-entry-hero.hero-v2 .entry-audience {
  max-width: 480px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.8;
}

.top-entry-hero .entry-actions,
.features-entry-hero .entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.top-entry-hero .entry-action,
.features-entry-hero .entry-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}

.top-entry-hero .entry-action-primary,
.features-entry-hero .entry-action-primary {
  background: #fff;
  border-color: #fff;
  color: #0a0a0a;
}

.top-entry-hero .entry-action:hover,
.features-entry-hero .entry-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.top-entry-hero .entry-action-primary:hover,
.features-entry-hero .entry-action-primary:hover {
  background: #eaf3ef;
  color: #0a0a0a;
}

.top-entry-hero.hero-v2 .hero-v2-meta {
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 20px;
}

.top-entry-cases .case-v2-entry-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.top-entry-cases .case-v2-entry-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  border-bottom: 1px solid currentColor;
}

.top-entry-cases .case-v2-entry-link:hover .case-v2-entry-label {
  color: var(--accent);
}

.features-entry-hero.hero-sub {
  padding: 64px 0 58px;
}

.features-entry-hero.hero-sub .hero-eyebrow {
  margin-bottom: 18px;
}

.features-entry-hero.hero-sub .hero-title {
  font-size: clamp(32px, 3.8vw, 48px);
  margin-bottom: 18px;
}

.features-entry-hero.hero-sub .hero-lead {
  max-width: 740px;
  line-height: 1.9;
}

.features-entry-hero .entry-actions {
  margin-top: 24px;
}

.features-intro.section,
.features-strengths.section,
.features-technology.section,
.features-testimonials.section {
  padding: 72px 0;
}

.features-intro .features-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
}

.features-intro .message-lead {
  max-width: none;
  margin: 0;
  text-align: left;
}

.features-intro .message-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}

.features-intro .message-lead-text {
  font-size: 15px;
  line-height: 1.9;
  text-wrap: pretty;
}

.features-intro .features-intro-image img {
  display: block;
  width: 100%;
  height: auto;
}

.features-intro .features-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 6px 0;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.features-strengths .editorial-section-head,
.features-technology .editorial-section-head,
.features-testimonials .editorial-section-head {
  margin-bottom: 36px;
}

.features-strengths .editorial-section-head-eyebrow,
.features-technology .editorial-section-head-eyebrow,
.features-testimonials .editorial-section-head-eyebrow {
  margin-bottom: 12px;
}

.features-strengths .editorial-section-head-title,
.features-technology .editorial-section-head-title,
.features-testimonials .editorial-section-head-title {
  margin-bottom: 14px;
}

.features-strengths .editorial-row {
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 32px;
  padding: 30px 0;
}

.features-strengths .editorial-row:first-child {
  padding-top: 0;
}

.features-strengths .editorial-row:last-child {
  padding-bottom: 0;
}

.features-strengths .editorial-row-number {
  font-size: 56px;
}

.features-strengths .editorial-row-label {
  margin-bottom: 10px;
}

.features-strengths .editorial-row-title {
  margin-bottom: 12px;
}

.features-technology .features-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.features-technology .features-tech-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.features-technology .features-tech-item h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--ink);
}

.features-technology .features-tech-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

.features-testimonials .editorial-quote {
  padding-top: 28px;
  padding-bottom: 28px;
}

.features-entry-cta.section-cta {
  padding: 72px 0;
}

@media (max-width: 960px) {
  .top-entry-hero.hero-v2 .hero-v2-text {
    padding: 40px 28px;
  }

  .top-entry-hero .entry-action {
    gap: 12px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .features-intro .features-intro-grid {
    gap: 32px;
  }

  .features-technology .features-tech-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .top-entry-hero.hero-v2 .hero-v2-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .top-entry-hero.hero-v2 .hero-v2-text {
    order: 0;
    padding: 30px 24px 32px;
  }

  .top-entry-hero.hero-v2 .hero-v2-image-side {
    order: -1;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: none;
  }

  .top-entry-hero.hero-v2 .hero-v2-image-side img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .top-entry-hero.hero-v2 .hero-v2-image-side::before {
    top: auto;
    bottom: 0;
    height: 36px;
    background: linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
  }

  .top-entry-hero.hero-v2 .hero-v2-eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .top-entry-hero.hero-v2 .hero-v2-headline {
    font-size: clamp(30px, 8.5vw, 42px);
    margin-bottom: 18px;
  }

  .top-entry-hero.hero-v2 .hero-v2-headline-sub {
    margin-top: 14px;
    font-size: 10px;
  }

  .top-entry-hero.hero-v2 .hero-v2-lead {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .top-entry-hero.hero-v2 .entry-audience {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .top-entry-hero .entry-actions,
  .features-entry-hero .entry-actions {
    gap: 10px;
  }

  .top-entry-hero .entry-action,
  .features-entry-hero .entry-action {
    flex: 1 1 130px;
    font-size: 13px;
    gap: 10px;
    padding: 12px;
  }

  .top-entry-hero.hero-v2 .hero-v2-meta {
    margin-top: 20px;
    padding-top: 16px;
    gap: 12px 18px;
  }

  .features-entry-hero.hero-sub {
    padding: 36px 0 40px;
  }

  .features-entry-hero.hero-sub .hero-eyebrow {
    margin-bottom: 12px;
  }

  .features-entry-hero.hero-sub .hero-title {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .features-entry-hero .entry-actions {
    margin-top: 20px;
  }

  .features-intro.section,
  .features-strengths.section,
  .features-technology.section,
  .features-testimonials.section,
  .features-entry-cta.section-cta {
    padding: 44px 0;
  }

  .features-intro .features-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .features-strengths .editorial-section-head,
  .features-technology .editorial-section-head,
  .features-testimonials .editorial-section-head {
    margin-bottom: 28px;
  }

  .features-strengths .editorial-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
  }

  .features-strengths .editorial-row-number {
    font-size: 40px;
  }

  .features-strengths .editorial-row-title {
    font-size: 21px;
  }

  .features-strengths .editorial-row-text {
    font-size: 14px;
    line-height: 1.9;
  }
}
