@font-face {
  font-family: "bearsans";
  src: url("/fonts/bearsansui-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "bearsans";
  src: url("/fonts/bearsansui-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "bearsansheadline";
  src: url("/fonts/bearsansuiheadline-medium-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --background-color: #fff;
  --background-secondary-color: #f3f5f7;
  --background-tertiary-color: #e4e5e6;
  --text-color: #444444;
  --text-secondary-color: #888888;
  --accent-color: #dd4c4f;
  --stroke-color: #d9d9d9;
  --text-font: "bearsans", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --heading-font: "bearsansheadline", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

body.product-detail-page {
  font-family: var(--text-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7em;
}

.product-detail-page h1,
.product-detail-page h2,
.product-detail-page h3 {
  font-family: var(--heading-font);
  line-height: 1.1em;
}

.product-detail-page h1 {
  font-size: 2.6em;
}

.product-detail-page h2 {
  font-size: 2.6em;
}

.product-detail-page h3 {
  font-size: 1.8em;
}

@media only screen and (min-width: 32em) {
  .product-detail-page h1 {
    font-size: 3.2em;
  }
}

.product-detail-page .wrapper {
  max-width: 60em;
  margin: 0 auto;
  padding: 0 2em;
  position: relative;
}

.product-detail-page .subtitle {
  font-size: 1.4em;
  color: var(--text-secondary-color);
  max-width: 26em;
  margin: 1rem auto 0;
  text-align: center;
  line-height: 1.4em;
}

.product-hero-section {
  padding-top: 3em;
}

.product-detail-page .apps-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-detail-page .apps-hero-container h1 {
  margin-bottom: 0.3em;
}

.product-detail-page .apps-hero-container h1 u {
  text-underline-offset: 0.3rem;
  text-decoration-color: #9fd7e4;
}

.product-detail-page .apps-buttons-container {
  margin-top: 2em;
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.product-detail-page .apps-toggles-container {
  display: flex;
  margin-bottom: 3em;
}

.product-detail-page .apps-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.8em;
  font-size: 1.5em;
  color: var(--text-color);
  opacity: 0.5;
  position: relative;
}

.product-detail-page .apps-toggle-selection {
  position: absolute;
  display: none;
}

.product-detail-page .apps-toggle:nth-child(1) .apps-toggle-selection {
  top: 0.1em;
  right: 0.6em;
}

.product-detail-page .apps-toggle:nth-child(1) .apps-toggle-selection svg path {
  stroke: #9fd7e4;
}

.product-detail-page .apps-toggle:nth-child(2) .apps-toggle-selection {
  top: 0.1em;
  right: 0.6em;
}

.product-detail-page .apps-toggle:nth-child(2) .apps-toggle-selection svg path {
  stroke: #884aa9;
}

.product-detail-page .apps-toggle:last-child {
  margin-right: 0;
}

.product-detail-page .apps-toggle .toggle-icon svg {
  margin-right: 0.5em;
}

.product-detail-page .apps-toggle .toggle-icon svg g,
.product-detail-page .apps-toggle .toggle-icon svg path {
  fill: var(--text-color);
}

[data-apps-hero="mac"] h1 u {
  text-underline-offset: 0.3rem;
  text-decoration-color: #9fd7e4;
}

[data-apps-hero="iphone"] h1 u {
  text-underline-offset: 0.3rem;
  text-decoration-color: #884aa9;
}

[data-apps-hero="ipad"] h1 u {
  text-underline-offset: 0.3rem;
  text-decoration-color: #f0cb5f;
}

[data-apps-hero="mac"] .apps-app-store-button {
  display: none;
}

[data-apps-hero="iphone"] .apps-mac-store-button,
[data-apps-hero="ipad"] .apps-mac-store-button {
  display: none;
}

[data-apps-hero="mac"] [data-apps-toggle="mac"],
[data-apps-hero="iphone"] [data-apps-toggle="iphone"],
[data-apps-hero="ipad"] [data-apps-toggle="ipad"] {
  opacity: 1;
}

[data-apps-hero="mac"] [data-apps-toggle="mac"] .apps-toggle-selection,
[data-apps-hero="iphone"] [data-apps-toggle="iphone"] .apps-toggle-selection,
[data-apps-hero="ipad"] [data-apps-toggle="ipad"] .apps-toggle-selection {
  display: inline;
}

[data-apps-hero="mac"] [data-apps-toggle="mac"] .toggle-icon svg,
[data-apps-hero="iphone"] [data-apps-toggle="iphone"] .toggle-icon svg,
[data-apps-hero="ipad"] [data-apps-toggle="ipad"] .toggle-icon svg {
  opacity: 0.7;
}

.product-detail-page .hero-button {
  background: var(--accent-color);
  color: #fff;
  padding: 0.8em 1.4em;
  border-radius: 0.8em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9em;
}

.product-detail-page .hero-button.-secondary {
  background: var(--background-secondary-color);
  color: var(--text-color);
}

.product-detail-page .feature-lists {
  max-width: 68em;
  margin: 0 auto;
  padding: 2em;
}

.product-detail-page .list-image-block {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10em;
}

.product-detail-page .list-image-block:nth-child(even) {
  flex-direction: row-reverse;
}

.product-detail-page .list-image-block:nth-child(1) .list ul li::marker,
.product-detail-page .list-image-block:nth-child(1) .list h2 {
  color: #456aa3;
}

.product-detail-page .list-image-block:nth-child(2) .list ul li::marker,
.product-detail-page .list-image-block:nth-child(2) .list h2 {
  color: #884aa8;
}

.product-detail-page .list-image-block:nth-child(3) .list ul li::marker,
.product-detail-page .list-image-block:nth-child(3) .list h2 {
  color: #2b6451;
}

.product-detail-page .list-image-block .list {
  width: 39%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product-detail-page .list-image-block .list-image {
  width: 59%;
}

.product-detail-page .list-image-block:nth-child(odd) :first-child,
.product-detail-page .list-image-block:nth-child(even) :last-child {
  margin-right: 2%;
}

.product-detail-page .list-image-block:nth-child(even) .list {
  padding-left: 3%;
}

.product-detail-page .list-image-block .list h2 {
  margin-bottom: 1em;
  text-align: left;
  width: 100%;
  max-width: 22em;
  padding-left: 0;
  margin-left: 0;
}

.product-detail-page .list-image-block .list ul {
  width: 100%;
  max-width: 22em;
  list-style: disc;
  margin-left: 0;
  padding-left: 1.25em;
  text-align: left;
}

.product-detail-page .list-image-block .list ul li::marker {
  font-size: 1.4em;
}

.product-detail-page .list-image-block .list-image img {
  max-width: 100%;
}

.product-detail-page .list-image-block .list-image img.sleep-shot {
  width: min(100%, 24rem);
  display: block;
  margin: 0 auto;
  border-radius: 2rem;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.product-detail-page .list-image-block .list-image img.counter-shot {
  width: min(100%, 22rem);
  display: block;
  margin: 0 auto;
  border-radius: 2rem;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.product-detail-page .footer {
  padding-top: 2em;
  padding-bottom: 3em;
}

.product-detail-page .footer-links {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2em;
  margin-bottom: 6em;
}

.product-detail-page .footer-links a {
  color: var(--text-color);
}

.product-detail-page .footer-links ul {
  list-style: none;
}

.product-detail-page .footer-links ul li {
  line-height: 1.8em;
  text-align: center;
}

.product-detail-page .footer-links ul li:first-child {
  font-family: var(--heading-font);
  margin-bottom: 0.3em;
}

.product-detail-page .footer-copyright {
  color: var(--text-secondary-color);
  text-align: center;
  padding-bottom: 2em;
}

.product-detail-page .footer-copyright img {
  position: relative;
  top: 0.3em;
}

.product-detail-page .footer-copyright a {
  color: var(--text-secondary-color);
}

@media only screen and (min-width: 23em) {
  .product-detail-page .footer-links {
    justify-content: space-evenly;
    grid-template-columns: repeat(2, auto);
  }

  .product-detail-page .footer-links ul li {
    text-align: left;
  }
}

@media only screen and (min-width: 37em) {
  .product-detail-page .footer-links {
    justify-content: space-between;
    grid-template-columns: repeat(4, auto);
  }
}

@media screen and (max-width: 53em) {
  .product-detail-page .list-image-block,
  .product-detail-page .list-image-block:nth-child(even) {
    flex-direction: column;
    align-items: center;
    margin-bottom: 8em;
  }

  .product-detail-page .list-image-block .list,
  .product-detail-page .list-image-block .list-image {
    width: 100%;
    max-width: 30em;
  }

  .product-detail-page .list-image-block:nth-child(odd) :first-child,
  .product-detail-page .list-image-block:nth-child(even) :last-child {
    margin-right: 0;
  }

  .product-detail-page .list-image-block:nth-child(even) .list {
    padding-left: 0;
  }

  .product-detail-page .list-image {
    margin-top: 2em;
  }
}
