/* The app and support pages share the homepage's masthead, colors and type. */
.product-hero, .support-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: .8rem;
}
.product-hero {
  background: radial-gradient(ellipse at 86% 65%, #2e6067, #183e49 38%, #102b37 75%);
}
.product-hero::after { display: none; }
.product-hero::before, .support-intro::before {
  content: "";
  position: absolute; inset: 0 0 0 44%; z-index: -1;
  background: repeating-radial-gradient(circle at 61% 65%, transparent 0 3.9rem, rgb(192 221 212 / 14%) 3.93rem 3.98rem, transparent 4.02rem 6.4rem);
}
.product-hero .hero-copy {
  align-self: center;
  padding: clamp(2.4rem, 5.3vw, 4.8rem) 0 clamp(2.4rem, 5.3vw, 4.8rem) clamp(2.2rem, 5.3vw, 4.8rem);
}
.product-hero .hero-copy > p { max-width: 27rem; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.45rem; }
.product-actions a { font-size: .94rem; font-weight: 600; }
.product-actions img { display: block; }
.product-actions span { display: inline-block; margin-left: .25rem; }
.platform-jumps { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.platform-pair {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.25rem, 3vw, 3rem); margin-top: clamp(2.2rem, 4.5vw, 4rem);
}
.platform-pair section { display: flex; flex-direction: column; scroll-margin: 1rem; }
.platform-pair p { margin: .6rem 0 1.15rem; color: var(--muted); max-width: 54ch; }
.device-preview {
  display: flex; align-items: center; justify-content: center; height: clamp(15rem, 26vw, 21rem);
  margin-top: auto; padding: 1.1rem; border-radius: .65rem; overflow: hidden;
}
.watch-preview { background: #e4ece7; }
.tv-preview { background: #e5ebed; }
.device-preview img { display: block; max-width: 100%; max-height: 100%; height: auto; width: auto; box-shadow: 0 .4rem 1rem #172e3726; }
.watch-preview img { border: 4px solid #293437; border-radius: 1.25rem; }
.tv-preview img { border: 4px solid #233136; border-radius: .35rem; }
.platform-store { align-self: flex-start; margin: .9rem 0; font-size: .91rem; font-weight: 600; }
.hero-device { display: flex; align-self: stretch; justify-content: center; align-items: end; position: relative; }
.hero-device img { position: absolute; bottom: 0; height: 91%; max-width: 100%; object-fit: contain; object-position: bottom; width: auto; }
.hero-device:focus-visible { outline-offset: -5px; }
.feature-section, .contact-section { padding-block: clamp(2.1rem, 4vw, 3.7rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.3vw, 2rem); margin-top: 1.2rem; }
.feature-shot {
  display: block; position: relative; overflow: hidden; border-radius: .55rem;
  aspect-ratio: 1.55; background: #e3eae5;
}
.feature-shot img { display: block; width: 77%; height: auto; margin: 1.15rem auto 0; border-radius: .35rem .35rem 0 0; box-shadow: 0 4px 18px #16312f25; }
.feature-shot::after {
  content: "⤢" / ""; position: absolute; bottom: .6rem; right: .6rem;
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem;
  background: #fff; border-radius: 50%; color: var(--ink); font: 1.1rem/1 system-ui;
}
.feature-shot:hover::after { background: var(--ink); color: white; }
.decode-shot { background: #e6eced; }
.decode-shot img { transform: translateY(-51%); }
.history-shot { background: #ebe8df; }
.feature-grid h3, .contact-grid h3 { margin: 1rem 0 .3rem; font-size: clamp(1.08rem, 1.6vw, 1.4rem); letter-spacing: -.025em; line-height: 1.2; }
.feature-grid p, .walkthrough p, .contact-grid p { color: var(--muted); }
.feature-grid p { font-size: .95rem; }
.screen-gallery { margin-top: 1.6rem; border-block: 1px solid var(--line); }
.screen-gallery summary { cursor: pointer; padding: .95rem .2rem; font-weight: 650; }
.screen-gallery summary span { margin-left: .5rem; font-size: .78rem; color: var(--muted); font-weight: 450; }
.screen-gallery ul { list-style: none; padding: 0 0 1rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
.screen-gallery a { height: 100%; display: grid; grid-template-rows: 10.5rem auto; gap: .5rem; align-items: end; padding: .75rem; border-radius: .45rem; color: var(--ink); background: #edf1ed; font-size: .86rem; text-align: center; text-decoration: none; }
.screen-gallery a:hover span { text-decoration: underline; }
.screen-gallery img { width: 100%; height: 100%; object-fit: contain; }
.walkthrough { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(1.4rem, 4vw, 4rem); padding: clamp(1.4rem, 3.4vw, 3rem); background: #e7eeea; border-radius: .75rem; }
.walkthrough p { margin-top: .85rem; max-width: 33rem; }
.walkthrough video { width: 100%; height: auto; display: block; background: #172c32; border-radius: .45rem; }
.support-intro { align-items: center; background: #e5ede8; grid-template-columns: 1.6fr 1fr; }
.support-intro::before { background: repeating-radial-gradient(circle at 57% 68%, transparent 0 3.9rem, #c7d8d1 3.93rem 3.98rem, transparent 4.02rem 6.4rem); }
.support-copy { padding: clamp(2rem, 4.8vw, 4.2rem) 0 clamp(2rem, 4.8vw, 4.2rem) clamp(2rem, 4.8vw, 4.2rem); }
.support-copy h1 { font-size: clamp(3rem, 6.3vw, 5.6rem); line-height: 1; letter-spacing: -.06em; }
.support-copy h1 em { font: italic 1.03em/1.15 "Iowan Old Style", Baskerville, Georgia, serif; color: #2a595b; }
.support-copy p { max-width: 31rem; margin: .9rem 0 1.35rem; color: var(--muted); font-size: 1.05rem; }
.support-copy .store-link { font-size: .94rem; font-weight: 650; }
.support-email { display: block; margin-top: .58rem; font-size: .88rem; color: var(--muted); overflow-wrap: anywhere; }
.support-device { display: block; justify-self: center; align-self: end; width: clamp(8rem, 13vw, 11.2rem); aspect-ratio: 340 / 678; margin-top: 1.5rem; background: bottom center / contain no-repeat url("/img/support-map.webp"); }
.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 1rem; border-block: 1px solid var(--line); }
.contact-grid > div { padding: 1.2rem 1.25rem 1.25rem 0; }
.contact-grid > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.contact-grid h3 { margin: 0 0 .75rem; }
.contact-grid address { font-style: normal; }
.contact-grid a { font-weight: 600; }
.contact-grid p { font-size: .89rem; margin-top: .35rem; }

@media (max-width: 650px) {
  .platform-pair { grid-template-columns: 1fr; gap: 2rem; }
  .tv-preview { height: auto; min-height: 11rem; }
  .watch-preview { height: 17rem; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero .hero-copy { padding: 1.8rem 1.35rem 0; }
  .product-hero .hero-copy > p { margin: .8rem 0 1.1rem; }
  .hero-device { height: 13rem; margin-top: 1.2rem; }
  .hero-device img { height: 100%; }
  .product-hero::before { inset: 42% 0 0; }
  .feature-grid, .walkthrough, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 1.5rem; }
  .feature-shot { aspect-ratio: 1.85; }
  .feature-shot img { max-width: 20rem; }
  .screen-gallery ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .screen-gallery summary span { display: inline-block; }
  .support-intro { grid-template-columns: 1fr; }
  .support-copy { padding: 1.7rem 1.35rem 1.5rem; }
  .support-intro::before { display: none; }
  .support-device { display: none; }
  .contact-grid > div, .contact-grid > div + div { padding: 1.1rem 0; border-left: 0; }
  .contact-grid > div + div { border-top: 1px solid var(--line); }
}
