/* Shared factual landing-page modules for Selra, Luce and Incisa.
   Keep this file presentation-only: product claims stay in the Series-08 HTML
   where their source contracts and task-specific tests can review them. */

.product-hero .hero-copy h1 {
  max-width: 11.5ch;
}

@media (min-width: 761px) {
  .product-hero .hero-copy {
    max-width: 31rem;
  }
}

.clarity-kicker {
  margin: 0 0 .9rem;
  color: var(--accent-soft);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-hero .hero-copy > .hero-subline {
  max-width: 30rem;
}

.hero-license {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem .8rem;
  align-items: center;
  max-width: 29rem;
  margin: 1.55rem 0 0;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 86%, transparent);
}

.hero-license__channel {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: .45rem .65rem;
  border: 1px solid color-mix(in srgb, var(--accent-soft) 58%, transparent);
  color: var(--accent-soft);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-license strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero-license > span:last-child {
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.45;
}

.product-hero .hero-copy > .hero-assurance {
  margin: .75rem 0 0;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .025em;
}

.capability-section,
.screenshot-refresh,
.social-proof {
  width: min(100% - 2.5rem, 75rem);
  margin: clamp(5rem, 10vw, 9rem) auto 0;
}

.capability-header,
.screenshot-refresh__header,
.social-proof__header {
  display: grid;
  grid-template-columns: minmax(16rem, .82fr) minmax(19rem, 1.18fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.capability-header h2,
.screenshot-refresh__header h2,
.social-proof__header h2 {
  max-width: 13ch;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .94;
}

.capability-header > p:last-child,
.screenshot-refresh__header > p:last-child,
.social-proof__header > p:last-child {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.62;
}

.capability-groups {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.capability-group {
  display: grid;
  grid-template-columns: minmax(12rem, .34fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  background: var(--panel);
}

.capability-group__heading h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1;
}

.capability-group__heading p {
  margin: .65rem 0 0;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.5;
}

.capability-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-chip {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: .4rem;
  align-items: baseline;
  min-height: 2.2rem;
  padding: .55rem .7rem;
  border: 1px solid color-mix(in srgb, var(--accent-soft) 32%, var(--line));
  background: color-mix(in srgb, var(--panel-raised) 78%, transparent);
  color: var(--text);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .02em;
}

.capability-chip small {
  color: var(--accent-soft);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.capability-chip--secondary {
  border-color: var(--line);
}

.capability-chip--secondary small {
  color: var(--muted);
}

.screenshot-refresh {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 88%, var(--page));
}

.screenshot-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.screenshot-slot {
  position: relative;
  display: grid;
  grid-template-columns: 27% 1fr;
  min-height: clamp(12.5rem, 26vw, 19.5rem);
  margin: 0;
  padding: .8rem;
  overflow: hidden;
  background: var(--page);
}

.screenshot-slot::before {
  content: "";
  margin: 0 0 1.7rem;
  border: 1px dashed color-mix(in srgb, var(--accent-soft) 42%, var(--line));
  border-right: 0;
  background: color-mix(in srgb, var(--panel-raised) 58%, var(--page));
}

.screenshot-slot::after {
  content: "";
  display: grid;
  place-items: center;
  margin: 0 0 1.7rem;
  border: 1px dashed color-mix(in srgb, var(--accent-soft) 42%, var(--line));
  border-right: 1px dashed color-mix(in srgb, var(--accent-soft) 30%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 24%, transparent), transparent);
}

.social-proof {
  padding-block: clamp(2rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
}

.evidence-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.evidence-slot {
  min-height: 8rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}

.evidence-slot span,
.evidence-slot small {
  display: block;
}

.evidence-slot span {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: -.03em;
}

.evidence-slot small {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .58rem;
  line-height: 1.45;
}

/* Keep both purchase paths visible on common laptop-height viewports. */
@media (min-width: 761px) and (max-height: 850px) {
  .product-hero {
    min-height: 100svh;
    padding-block: 5.25rem 1.5rem;
  }

  .product-hero .hero-copy h1 {
    font-size: clamp(3.5rem, 4.8vw, 4.8rem);
  }

  .product-hero .hero-copy > .hero-subline {
    margin-top: 1rem;
    line-height: 1.48;
  }

  .hero-license {
    margin-top: 1rem;
    padding-block: .7rem;
  }

  .product-hero .hero-actions {
    margin-top: 1.1rem;
  }

  .product-hero .hero-copy > .hero-assurance {
    margin-top: .5rem;
  }

  .product-hero .hero-visual {
    min-height: min(30rem, calc(100svh - 8rem));
  }
}

@media (max-width: 760px) {
  .capability-header,
  .screenshot-refresh__header,
  .social-proof__header,
  .capability-group {
    grid-template-columns: 1fr;
  }

  .capability-header,
  .screenshot-refresh__header,
  .social-proof__header {
    gap: 1.25rem;
  }

  .screenshot-slot-grid,
  .evidence-slot-grid {
    grid-template-columns: 1fr;
  }

  .evidence-slot {
    min-height: 5.5rem;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .product-hero {
    padding-top: 3.75rem;
  }

  .product-hero .hero-copy h1 {
    font-size: clamp(3.15rem, 15vw, 3.6rem);
  }

  .product-hero .hero-copy > .hero-subline,
  .hero-license,
  .product-hero .hero-actions {
    margin-top: 1rem;
  }

  .hero-license {
    padding-block: .7rem;
  }

  .product-hero .hero-copy > .hero-assurance {
    margin-top: .5rem;
  }
}

@media (max-width: 480px) {
  .capability-section,
  .screenshot-refresh,
  .social-proof {
    width: min(100% - 2rem, 75rem);
  }

  .capability-chip {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
}
