/* Shared presentation for the platform pages and their homepage entry points. */
.has-product-nav .eyebrow {
  color: #f28d13;
  font-size: 1.08rem;
  line-height: 1.62;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 50;
  padding: 12px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.has-product-nav .site-header-content {
  grid-template-columns: auto 1fr auto;
  gap: 32px;
}

.product-nav,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.product-nav {
  font-size: 0.88rem;
  font-weight: 650;
}

.product-nav a {
  padding: 10px 0;
  color: var(--muted);
}

.product-nav a:hover,
.product-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--orange);
  color: #161616;
  font-size: 0.92rem;
  font-weight: 750;
}

.button:hover {
  border-color: currentColor;
}

.button-small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.82rem;
}

.hero-actions {
  gap: 18px 24px;
  margin-top: 28px;
}

.homepage-title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.02;
  text-wrap: balance;
}

.artifact-panel-heading h3 {
  font-size: inherit;
}

.text-link {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.access-note,
.compatibility-note,
.section-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.access-note {
  max-width: 620px;
  margin: 16px 0 0;
}

.compatibility-note {
  margin: 20px 0 0;
}

.product-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 34px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 48px 0 100px;
}

.product-hero h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.7rem);
  line-height: 1.02;
  text-wrap: balance;
}

.product-hero .lead {
  font-size: 1.1rem;
}

.product-section {
  padding-bottom: 96px;
  scroll-margin-top: 120px;
}

.product-section > .section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.product-section h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  text-wrap: balance;
}

.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.feature-copy h3 {
  max-width: 440px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.15;
}

.feature-copy p:not(.eyebrow),
.feature-copy li,
.metric-groups dd,
.setup-steps p,
.faq-list p {
  color: var(--muted);
  line-height: 1.75;
}

.feature-copy ul {
  padding-left: 20px;
}

.feature-copy li + li {
  margin-top: 8px;
}

.product-media {
  margin: 0;
  min-width: 0;
}

/* Replace the reserve inside a named slot with a reviewed image later. */
.media-reserve {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  aspect-ratio: 4 / 3;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-elevated) 55%, transparent);
  color: var(--muted);
}

.product-media-wide .media-reserve {
  aspect-ratio: 16 / 10;
}

.media-device {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-caption {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.2;
  font-weight: 650;
}

.product-media > img {
  display: block;
  width: 100%;
  height: auto;
}

.metric-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 54px;
  margin: 0;
}

.metric-groups > div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.metric-groups dt {
  font-size: 1.08rem;
  font-weight: 700;
}

.metric-groups dd {
  margin: 10px 0 0;
}

.section-note {
  max-width: 780px;
  margin: 28px 0 0;
}

.setup-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 58px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.setup-section > .section-heading {
  max-width: none;
  container-type: inline-size;
}

.setup-section h2 {
  font-size: min(clamp(2rem, 3.6vw, 3.1rem), 5.5cqi);
  white-space: nowrap;
}

.setup-steps li {
  counter-increment: steps;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.setup-steps li::before {
  display: block;
  margin-bottom: 20px;
  content: "0" counter(steps);
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--muted);
}

.setup-steps h3 {
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  white-space: nowrap;
}

.setup-steps p {
  margin: 10px 0 0;
}

.faq-list {
  max-width: 860px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 22px 4px;
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 650;
  line-height: 1.5;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.faq-list p {
  margin: 0 4px 24px;
  max-width: 740px;
}

.product-download {
  max-width: 860px;
}

.product-download > p:not(.eyebrow):not(.access-note) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.product-download .app-store-badge {
  margin-top: 26px;
}

.product-download > .text-link {
  display: inline-block;
  margin-top: 18px;
}

.platform-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.related-platforms .platform-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 650;
}

#platforms .platform-link {
  border-top: 0;
}

.platform-link:hover {
  border-bottom-color: currentColor;
}

.platform-link span:first-child {
  display: grid;
  gap: 10px;
}

.platform-link small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.6;
}

.has-product-nav #widgets,
.has-product-nav #platforms,
.has-product-nav #app,
.has-product-nav #metrics,
.has-product-nav #pricing,
.has-product-nav #download {
  scroll-margin-top: 130px;
}

@media (max-width: 900px) {
  .has-product-nav .site-header-content {
    grid-template-columns: auto 1fr;
    gap: 4px 20px;
  }

  .has-product-nav .controls {
    grid-column: 2;
    grid-row: 1;
  }

  .product-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px 24px;
  }

  .product-hero {
    gap: 36px;
    padding-bottom: 72px;
  }

  .product-feature {
    gap: 36px;
  }

  .platform-links {
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .product-page {
    padding: 0 16px;
  }

  .product-nav {
    justify-content: space-between;
    gap: 0 12px;
    font-size: 0.78rem;
  }

  .product-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .breadcrumbs {
    padding-top: 24px;
  }

  .product-hero,
  .product-feature,
  .metric-groups,
  .setup-steps,
  .platform-links,
  .related-platforms .platform-links {
    grid-template-columns: 1fr;
  }

  .product-hero {
    padding: 34px 0 64px;
  }

  .product-section {
    padding-bottom: 64px;
  }

  .product-feature {
    margin-top: 30px;
    padding-top: 30px;
    gap: 22px;
  }

  .product-section > .section-heading {
    margin-bottom: 28px;
  }

  .platform-links {
    gap: 0;
  }

  .platform-link + .platform-link {
    border-top: 0;
  }
}
