/* Generated from src/styles/; see manifest.json for cascade order. */
.product-main {
  --section-gap: 100px;
}
.product-hero {
  padding-top: 42px;
}
.product-eyebrow {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: rgb(37, 87, 255);
}
.product-hero > .product-eyebrow {
  text-align: center;
}
.product-hero h1 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.5;
  margin-bottom: 22px;
}
.product-hero .hs-hero-benefits {
  margin: 0px 0px 36px;
  gap: 28px;
}
.product-hero .hs-hero-grid {
  grid-template-columns: 1.65fr 1fr;
  gap: 24px;
}
.product-hero-card {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  background: rgb(228, 235, 255);
  padding: 36px 32px 0px;
  min-width: 0px;
  overflow: hidden;
  height: 650px;
  text-align: center;
}
.learning-tile {
  background: rgb(238, 237, 249);
}
.product-tag {
  font-size: 12px;
  font-weight: 750;
  display: block;
  margin-bottom: 13px;
  color: rgb(82, 98, 140);
}
.tile-copy {
  position: relative;
  z-index: 2;
}
.tile-copy h2 {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.5;
  margin-bottom: 20px;
}
.product-demo {
  position: relative;
  margin: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-width: 0px;
}
.real-screen {
  width: 100%;
  max-width: 270px;
  border-radius: 33px;
  overflow: hidden;
  border: 5px solid rgb(37, 42, 69);
  box-shadow: rgba(32, 38, 73, 0.07) 0px 12px 30px;
  background: rgb(248, 249, 255);
  aspect-ratio: 1178 / 2556;
  line-height: 0;
  flex-shrink: 0;
}
.real-screen video,
.real-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.keyboard-tile .real-screen {
  max-width: 290px;
}
.product-section {
  padding-top: var(--section-gap);
  padding-bottom: 0px;
}

.section-intro h2 {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.5;
  font-weight: 750;
  margin-bottom: 25px;
}
.product-copy > p:not(.product-eyebrow),
.section-intro > p:not(.product-eyebrow) {
  font-size: 15px;
  line-height: 2.05;
  margin: 0px 0px 18px;
  max-width: 530px;
}
.section-intro {
  text-align: center;
  margin: 0px auto 44px;
}
.section-intro > p:not(.product-eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}
.step-number {
  font: 800 29px var(--latin);
  color: rgb(37, 87, 255);
  display: block;
  margin-bottom: 30px;
}
.product-main > .hs-ribbon {
  margin-top: 100px;
}
.product-main > .hs-start {
  padding-top: 100px;
}
.product-main .hs-faq {
  padding-top: 30px;
}
.product-main .hs-faq-list summary {
  font-size: 15px;
}
.product-main .hs-faq-list details p {
  font-size: 14px;
  line-height: 2;
}
.product-main .hs-pill {
  transform: none;
}
.product-main .hs-hero-benefits li {
  font-size: 12px;
}
.product-main .hs-hero-benefits li > span {
  color: var(--ink);
  border: 0px;
}
.product-main .hs-hero-benefits svg {
  fill: none;
  stroke: currentcolor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
}
@keyframes product-sway {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0px);
  }
  50% {
    transform: rotate(3deg) translateY(4px);
  }
}
@media (max-width: 1100px) {
  .product-hero-card {
    padding-inline: 18px;
  }
  .product-hero .hs-hero-benefits {
    gap: 15px;
  }
  .product-main .hs-hero-benefits li {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .product-main {
    --section-gap: 65px;
  }
  .product-hero {
    padding-top: 30px;
  }
  .product-eyebrow {
    font-size: 11px;
    margin-bottom: 13px;
  }
  .product-hero h1 {
    font-size: clamp(25px, 6.7vw, 36px);
  }
  .product-hero .hs-hero-benefits {
    align-items: center;
    gap: 9px;
    margin: 0px 0px 28px;
  }
  .product-main .hs-hero-benefits li {
    font-size: 11px;
  }
  .product-hero .hs-hero-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .product-hero-card {
    height: 610px;
    border-radius: 23px;
    padding: 28px 24px 0px;
  }
  .tile-copy h2 {
    font-size: 25px;
    margin-bottom: 18px;
  }
  .product-tag {
    font-size: 11px;
  }
  .keyboard-tile .real-screen {
    max-width: 265px;
  }
  .learning-tile .real-screen {
    max-width: 250px;
  }

  .section-intro h2 {
    font-size: clamp(23px, 6.3vw, 30px);
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .product-copy > p:not(.product-eyebrow),
  .section-intro > p:not(.product-eyebrow) {
    font-size: 13px;
    line-height: 2;
  }
  .section-intro {
    text-align: left;
    margin-bottom: 28px;
  }
  .section-intro br {
    display: none;
  }
  .section-intro h2 br {
    display: initial;
  }
  .step-number {
    margin-bottom: 13px;
    font-size: 25px;
  }
  .product-main > .hs-ribbon {
    margin-top: 65px;
  }
  .product-main > .hs-start {
    padding-top: 65px;
  }
  .product-main .hs-faq-list summary {
    font-size: 13px;
  }
  .product-main .hs-faq-list details p {
    font-size: 12px;
  }
  .product-main .hs-faq {
    padding-top: 0px;
  }
}
.keyboard-tile .real-screen {
  max-width: 430px;
  aspect-ratio: 1178/1356;
  border-radius: 24px;
  border-width: 4px;
}
.keyboard-tile {
  height: 650px;
}
.keyboard-tile .product-demo {
  margin-top: 32px;
}
@media (max-width: 760px) {
  .keyboard-tile .product-demo {
    margin-top: 30px;
  }
}

.product-main section[id] {
  scroll-margin-top: 105px;
}

.product-demo video {
  pointer-events: none;
}
@media (max-width: 760px) {
  .product-hero h1 {
    font-size: clamp(22px, 6.7vw, 36px);
  }
}
@media (max-width: 365px) {
  .product-hero h1 {
    font-size: clamp(20px, 6.3vw, 22px);
  }
  .tile-copy h2 {
    font-size: clamp(19.5px, 6.2vw, 21.5px);
  }

  .section-intro h2 {
    font-size: 20px;
  }
}

/* Keep the latest actual-screen camera while restoring the separate hero tiles. */
.keyboard-demo {
  width: 100%;
}
.keyboard-stage {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1.05;
  overflow: hidden;
  isolation: isolate;
}
.keyboard-demo .zoom-phone {
  position: absolute;
  left: 50%;
  width: 42%;
  max-width: none;
  aspect-ratio: 1178/2556;
  border: 3px solid #252a45;
  border-radius: 25px;
  transform: translateX(-50%) translateY(var(--demo-pan, 0%)) scale(var(--demo-zoom, 1));
  transform-origin: 50% 100%;
  box-shadow: 0 8px 22px #20264914;
  will-change: transform;
}
.learning-tile .real-screen {
  max-width: 190px;
}
@media (min-width: 761px) {
  .product-hero-card {
    height: 690px;
  }
}
@media (max-width: 760px) {
  .keyboard-tile {
    height: auto;
    padding-bottom: 15px;
  }
  .keyboard-demo .zoom-phone {
    border-width: 2px;
    border-radius: 19px;
  }
  .learning-tile .real-screen {
    max-width: 210px;
  }
  .learning-tile {
    height: auto;
    padding-bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .keyboard-demo .zoom-phone {
    will-change: auto;
  }
}
/* Background step numerals and a constant video baseline. */
.product-hero .product-hero-card {
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.keyboard-tile {
  --hero-tile: #e4ebff;
}
.learning-tile {
  --hero-tile: #eeedf9;
}
.product-hero-card .tile-copy {
  flex: none;
}
.product-hero-card .product-demo {
  flex: 1;
  min-height: 0;
  justify-content: flex-end;
  margin-top: 28px;
  padding-bottom: 24px;
  z-index: 1;
}
.product-hero-card .keyboard-stage {
  flex-shrink: 0;
}
.keyboard-demo .zoom-phone {
  bottom: 0;
  transform: translateX(-50%) scale(var(--demo-zoom, 1));
}
@media (max-width: 760px) {
  .product-hero .product-hero-card {
    padding-bottom: 0;
  }
  .product-hero-card .product-demo {
    flex: auto;
    margin-top: 24px;
    padding-bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .keyboard-demo .zoom-phone {
    transform: translateX(-50%);
  }
}

/* Learning steps use the same background numeral treatment as the hero. */

/* Swipe between the two review formats on phones, with the next card peeking in. */
@media (max-width: 760px) {
  #practice {
    width: 100%;
    max-width: none;
  }
  #practice > .section-intro {
    margin-inline: 20px;
  }
}

@media (max-width: 760px) {
  .product-hero .hs-hero-benefits {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    align-items: center;
  }
  .product-hero .hs-hero-benefits li {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
