/* Landing-page product hierarchy. Keep these styles separate from product pages. */
.home-page {
  --product-teal: #0b4852;
  --product-ink: #173b42;
  --product-muted: #52646a;
  --product-line: #dbe6e7;
}
.home-page #hero {
  width: 100%;
  height: auto;
  min-height: 530px;
  padding: 100px 0 90px 100px;
}
.home-page #hero::before { pointer-events: none; }
.home-page #hero .container { position: relative; }
.home-page #hero p { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.6; }
.home-page .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 30px; }
.home-page .product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--product-teal);
  border-radius: 6px;
  background: var(--product-teal);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.home-page .product-button:hover { background: #073740; color: #fff; }
.home-page .product-button i, .home-page .product-text-link i { font-size: 20px; flex-shrink: 0; }
.home-page .product-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--product-teal); font-size: 14px; font-weight: 600; }
.home-page .product-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-page a:focus-visible, .home-page video:focus-visible { outline: 3px solid #237a89; outline-offset: 5px; }
.home-page .product-eyebrow { margin: 0 0 16px; color: var(--product-teal); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.home-page .tracker-feature { padding: 76px 0; background: #eef5f4; border-block: 1px solid var(--product-line); }
.home-page .tracker-feature-layout { display: grid; grid-template-columns: 0.95fr 1.3fr; gap: 48px; align-items: center; }
.home-page .tracker-feature h2 { margin-bottom: 22px; color: var(--product-ink); font-size: clamp(30px, 3vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -1.2px; }
.home-page .product-lead { color: var(--product-muted); font-size: 16px; line-height: 1.8; margin-bottom: 22px; }
.home-page .tracker-capabilities { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 28px; color: var(--product-teal); font-size: 12px; font-weight: 600; }
.home-page .tracker-preview { display: block; overflow: hidden; border: 1px solid #c5d7d8; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px -20px #17464c50; }
.home-page .preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--product-line); color: var(--product-muted); font-size: 11px; }
.home-page .preview-lights { display: flex; gap: 4px; }
.home-page .preview-lights i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #c7d5d7; }
.home-page .tracker-preview img { display: block; width: 100%; height: auto; }
.home-page .tracker-demos { padding: 76px 0 48px; }
.home-page .showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.home-page .showcase-heading h2 { margin: 0; color: var(--product-ink); font-size: 32px; font-weight: 700; letter-spacing: -0.8px; }
.home-page .showcase-heading .product-eyebrow { margin-bottom: 12px; }
.home-page .showcase-heading > p { margin: 0; color: var(--product-muted); font-size: 14px; line-height: 1.7; }
.home-page .demo-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
.home-page .demo-video-frame { overflow: hidden; border: 1px solid var(--product-line); border-radius: 10px; background: #102b31; }
.home-page .demo-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.home-page .demo-caption { padding: 20px 0 0; }
.home-page .demo-caption h3 { font-size: 18px; font-weight: 700; color: var(--product-ink); margin-bottom: 8px; }
.home-page .demo-caption p { color: var(--product-muted); font-size: 14px; line-height: 1.7; margin: 0; min-height: 48px; }
.home-page .demo-playlist { display: grid; gap: 8px; }
.home-page .demo-choice { display: grid; grid-template-columns: 22px 1fr auto 16px; align-items: center; gap: 10px; min-height: 63px; padding: 12px; border: 1px solid var(--product-line); border-radius: 6px; color: var(--product-muted); background: #fff; }
.home-page .demo-choice:hover { border-color: #7caaaf; background: #f7faf9; }
.home-page .demo-choice[aria-current="true"] { color: var(--product-teal); border-color: var(--product-teal); background: #edf5f4; box-shadow: inset 3px 0 var(--product-teal); }
.home-page .demo-number { font-size: 11px; font-variant-numeric: tabular-nums; }
.home-page .demo-choice-title { font-size: 13px; font-weight: 600; line-height: 1.4; }
.home-page .demo-duration { font-size: 11px; font-variant-numeric: tabular-nums; }
.home-page .demo-playlist-note { margin: 8px 12px 0; color: var(--product-muted); font-size: 12px; line-height: 1.7; }
.home-page .demo-error { padding: 12px; border: 1px solid var(--product-line); margin-top: 16px; font-size: 14px; }
.home-page .more-tools { padding: 64px 0 80px; background: #f7f9f9; border-top: 1px solid var(--product-line); }
.home-page .tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-page .tool-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--product-line); border-radius: 10px; background: #fff; }
.home-page .tool-preview { display: block; padding: 20px 20px 0; background: #edf1f2; }
.home-page .tool-preview img { display: block; width: 100%; height: 140px; object-fit: cover; object-position: top; border: 1px solid #d0d9db; border-bottom: 0; border-radius: 6px 6px 0 0; }
.home-page .tool-card-content { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.home-page .tool-card h3 { color: var(--product-ink); font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.home-page .tool-card p { color: var(--product-muted); font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.home-page .tool-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: auto; }
.home-page .tool-links a { font-size: 13px; }
@media (min-width: 992px) {
  .home-page .container { max-width: 1180px; width: calc(100% - 80px); }
}
@media (max-width: 1199px) {
  .home-page .tracker-feature-layout { gap: 32px; grid-template-columns: 1fr 1.15fr; }
  .home-page .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .demo-gallery { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
}
@media (max-width: 991px) {
  .home-page #hero { min-height: 460px; padding: 90px 0 64px; }
  .home-page .hero-actions { justify-content: center; }
  .home-page .tracker-feature-layout { grid-template-columns: 1fr; }
  .home-page .tracker-feature-copy { max-width: 580px; }
  .home-page .tracker-feature h2 br { display: none; }
  .home-page .demo-gallery { grid-template-columns: minmax(0, 1fr); }
  .home-page .demo-playlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .demo-playlist-note { grid-column: 1 / -1; margin-top: 4px; }
  .home-page .demo-playlist-note br { display: none; }
  .home-page .showcase-heading { align-items: start; flex-direction: column; gap: 16px; }
  .home-page .showcase-heading > p br { display: none; }
}
@media (max-width: 575px) {
  .home-page .container { padding-inline: 24px; }
  .home-page #hero { min-height: 400px; padding: 90px 0 54px; }
  .home-page #hero p { margin-top: 20px; font-size: 18px; }
  .home-page .hero-actions { gap: 18px; margin-top: 26px; }
  .home-page .product-button { padding: 13px 16px; font-size: 13px; }
  .home-page .tracker-feature, .home-page .tracker-demos, .home-page .more-tools { padding: 48px 0; }
  .home-page .showcase-heading h2 { font-size: 28px; }
  .home-page .demo-gallery { gap: 20px; }
  .home-page .demo-choice { grid-template-columns: 1fr auto; gap: 5px; padding: 12px 10px; }
  .home-page .demo-choice-title { font-size: 12px; }
  .home-page .demo-number, .home-page .demo-choice > i { display: none; }
  .home-page .tools-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-page .tool-preview img { height: 160px; }
}
