/* Parent-first introduction. The demo is an illustration, not a product screenshot. */
.opening-parent .opening-inner { grid-template-columns: 1.05fr 1fr; gap: clamp(35px, 5vw, 85px); min-height: 730px; padding-block: 55px 30px; }
.opening-parent h1 { font-size: clamp(2.8rem, 4.6vw, 4.7rem); line-height: 1.1; letter-spacing: -.045em; }
.opening-parent .eyeline { font-size: .65rem; letter-spacing: .08em; margin-bottom: 25px; }
.opening-parent .intro { max-width: 470px; margin-block: 26px; font-size: 1.04rem; line-height: 1.7; color: #e0d8ea; }
.opening-parent .hero-actions { gap: 18px; flex-wrap: wrap; }
.opening-parent .hero-actions .button { padding: 16px 22px; font-size: .87rem; gap: 17px; }
.opening-parent .hero-actions .text-link { font-size: .8rem; }
.hero-trial { margin-top: 23px; max-width: 450px; }
.hero-trial strong { display: block; font-size: .83rem; font-weight: 500; color: #f2dca7; }
.hero-trial p { font-size: .73rem; line-height: 1.55; color: #c6bcd5; margin-top: 5px; }
.hero-trial a { color: #eadef4; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.opening-parent .hero-devices { margin-top: 23px; }
.opening-parent .hero-devices span { font-size: .69rem; padding: 4px 10px; }
.opening-parent .hero-beta { font-size: .74rem; margin-top: 12px; }
.opening-parent .hero-android { font-size: .73rem; padding-block: 4px; margin-top: 2px; }
.opening-parent .opening-bottom { padding-block: 20px; }
.family-demo-wrap { position: relative; min-width: 0; width: 100%; max-width: 540px; justify-self: end; isolation: isolate; }
.family-demo-orbit { position: absolute; width: 112%; height: 86%; border: 1px solid #edd4a82a; border-radius: 50%; top: 2%; left: -6%; transform: rotate(-18deg); z-index: -1; }
.family-demo-orbit::after { content: ''; position: absolute; inset: 16px; border: 1px dashed #edd4a81c; border-radius: 50%; }
.family-demo { color: #332a43; background: #faf6ed; border-radius: 25px; padding: 25px 28px 17px; border: 1px solid #fff1d3; box-shadow: 0 35px 80px -25px #090615b3, inset 0 1px 0 #fff; position: relative; overflow: hidden; scroll-margin-top: calc(var(--header) + 20px); }
.family-demo-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e3dbce; padding-bottom: 16px; }
.demo-overline { font-size: .63rem; letter-spacing: .095em; text-transform: uppercase; color: #786551; }
.family-demo-count { color: #918274; font-size: .73rem; letter-spacing: .08em; white-space: nowrap; }
.family-demo-count b { color: #44354f; font-weight: 500; }
.family-scenes { position: relative; min-height: 352px; display: grid; }
.family-scene { grid-area: 1 / 1; padding-top: 20px; text-align: center; }
/* Keep the tallest step's space reserved, including with large text. */
.family-scene[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.family-scene h2 { font-size: clamp(1.6rem, 2.3vw, 2.15rem); letter-spacing: -.04em; line-height: 1.13; color: #342a43; }
.family-scene h2 em { color: #8c6841; }
.family-scene-intro { color: #756b7b; font-size: .82rem; line-height: 1.5; margin-top: 10px; }
.family-illustration { height: 150px; position: relative; display: grid; place-items: center; }
.family-bag { height: 145px; width: 145px; filter: drop-shadow(0 10px 8px #5d496f10); }
.family-spark { position: absolute; color: #ae8b4b; font-size: 24px; }
.spark-one { left: 20%; top: 25%; }
.spark-two { right: 20%; bottom: 20%; font-size: 17px; }
.family-task { display: flex; align-items: center; gap: 12px; padding: 15px; min-height: 76px; border-radius: 16px; background: #fffdf8; border: 1px solid #dfd6e4; box-shadow: 0 7px 20px #46325108; text-align: left; }
.task-marker { width: 25px; height: 25px; flex-shrink: 0; border-radius: 8px; border: 1.5px solid #c6b4d2; }
.family-task > div { min-width: 0; }
.task-kicker { display: block; color: #817386; font-size: .64rem; line-height: 1.4; margin-bottom: 3px; }
.family-task strong { display: block; font-size: .99rem; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.task-tag { margin-left: auto; padding: 4px 8px; border-radius: 7px; background: #eee8f3; color: #776185; font-size: .64rem; white-space: nowrap; }
.family-scene-note { color: #756b7b; font-size: .71rem; line-height: 1.5; margin: 11px auto 0; max-width: 330px; }
.family-check-seal { width: 99px; height: 99px; border-radius: 50%; background: #e6ecdc; color: #60754a; border: 1px solid #c7d4b9; box-shadow: 0 0 0 12px #eff0e5, 0 0 0 13px #d6dbc6; display: grid; place-items: center; }
.family-check-seal svg { width: 49px; height: 49px; }
.task-marker-check { background: #e9efdf; border-color: #bdcbaa; color: #5c7042; display: grid; place-items: center; }
.task-marker-check svg { width: 19px; height: 19px; }
.family-game { position: relative; margin: 15px auto 12px; max-width: 315px; border: 5px solid #352d48; border-radius: 13px; overflow: hidden; background: #211b32; box-shadow: 0 8px 18px #2b1b341c; }
.family-game img { width: 100%; height: 120px; object-fit: cover; }
.family-game > span { display: block; background: #352d48; color: #e6dbee; font-size: .56rem; padding-top: 3px; line-height: 1.6; }
.family-success { border-color: #cbd5ba; }
.family-demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 19px; padding-top: 16px; border-top: 1px solid #e3dbce; }
.family-demo-steps button { background: none; color: #796d81; border: 0; border-radius: 8px; padding: 8px 2px; min-height: 48px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .68rem; line-height: 1.3; }
.family-demo-steps button > span:first-child { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e8e0ec; color: #7d678d; font-size: .6rem; }
.family-demo-steps button[aria-pressed="true"] { color: #493354; background: #eee6f2; }
.family-demo-steps button[aria-pressed="true"] > span:first-child { color: #fff4df; background: #705582; }
.family-demo-steps button:hover { background: #f0eaf2; }
.family-demo-footer { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 10px; margin-top: 7px; }
.family-demo-footer > span { color: #8a7e8c; font-size: .59rem; }
.family-play { display: flex; align-items: center; gap: 6px; font-size: .64rem; border: 0; background: transparent; border-radius: 7px; color: #72577e; min-height: 40px; padding: 7px; }
.family-play:hover { background: #eee6f2; }
.family-demo-caption { display: flex; gap: 13px; align-items: center; margin-top: 13px; padding-inline: 10px; }
.family-demo-caption img { width: 65px; height: 65px; object-fit: contain; filter: drop-shadow(0 4px 9px #0003); }
.family-demo-caption p { font-size: .79rem; color: #e0d4e8; line-height: 1.5; }
.family-demo-caption em { font-family: Fraunces,Georgia,serif; font-style: normal; color: #f2dba1; }
.family-demo-caption a { margin-left: auto; font-size: .68rem; color: #d9c9e6; text-decoration: underline; text-underline-offset: 4px; max-width: 130px; text-align: right; }
.family-demo[data-enhanced] .family-scene:not([hidden]) { animation: family-scene-in .55s ease-out both; }
.family-demo[data-enhanced] .family-scene:not([hidden]) .family-task { animation: family-task-in .65s .12s ease-out both; }
@keyframes family-scene-in { from { opacity: .15; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes family-task-in { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .opening-parent .opening-inner { gap: 34px; }
  .opening-parent h1 { font-size: clamp(2.7rem, 4.7vw, 4rem); }
  .family-demo { padding-inline: 20px; }
  .family-scene h2 { font-size: 1.7rem; }
  .family-task { padding: 12px; gap: 9px; }
  .family-task strong { font-size: .88rem; }
  .family-demo-caption { padding: 0; gap: 8px; }
  .family-demo-caption img { width: 52px; height: 52px; }
  .family-demo-caption p { font-size: .72rem; }
  .family-demo-caption a { font-size: .62rem; max-width: 100px; }
}
@media (max-width: 800px) {
  .opening-parent .opening-inner { grid-template-columns: 1fr; display: grid; padding-top: 35px; gap: 32px; }
  .opening-parent .opening-copy { max-width: 570px; margin-inline: auto; width: 100%; }
  .opening-parent h1 { font-size: clamp(2.6rem, 7vw, 3.8rem); }
  .opening-parent .intro { max-width: 540px; }
  .family-demo-wrap { margin-inline: auto; justify-self: center; max-width: 500px; }
  .family-demo { padding-inline: 25px; }
  .family-scene h2 { font-size: 1.9rem; }
  .family-demo-caption p { font-size: .8rem; }
  .family-demo-caption a { max-width: 150px; font-size: .7rem; }
  .family-demo-caption img { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .opening-parent .opening-inner { padding-top: 27px; gap: 27px; padding-bottom: 10px; }
  .opening-parent .eyeline { font-size: .58rem; letter-spacing: .06em; margin-bottom: 19px; gap: 9px; }
  .opening-parent h1 { font-size: clamp(2.2rem, 8.7vw, 2.8rem); line-height: 1.13; }
  .opening-parent .intro { font-size: .91rem; line-height: 1.6; margin-block: 20px; }
  .opening-parent .hero-actions { gap: 8px 15px; align-items: flex-start; flex-direction: row; }
  .opening-parent .hero-actions .button { padding: 13px 17px; font-size: .79rem; }
  .opening-parent .hero-actions .text-link { font-size: .74rem; }
  .hero-trial { margin-top: 16px; }
  .hero-trial strong { font-size: .74rem; }
  .hero-trial p { font-size: .66rem; }
  .opening-parent .hero-devices { margin-top: 17px; }
  .opening-parent .hero-beta, .opening-parent .hero-android { font-size: .68rem; }
  .family-demo { padding: 18px 17px 10px; border-radius: 20px; }
  .family-demo-header { padding-bottom: 13px; }
  .demo-overline { font-size: .56rem; letter-spacing: .06em; }
  .family-demo-count { font-size: .66rem; }
  .family-scene { padding-top: 17px; }
  .family-scene h2 { font-size: 1.65rem; }
  .family-scene-intro { font-size: .75rem; }
  .family-scenes { min-height: 330px; }
  .family-illustration { height: 135px; }
  .family-bag { height: 130px; width: 130px; }
  .family-check-seal { width: 83px; height: 83px; }
  .family-task { padding: 12px 10px; gap: 8px; min-height: 70px; }
  .task-marker { width: 22px; height: 22px; }
  .task-tag { font-size: .58rem; padding-inline: 6px; }
  .task-kicker { font-size: .58rem; }
  .family-task strong { font-size: .87rem; }
  .family-scene-note { font-size: .65rem; }
  .family-demo-steps { margin-top: 15px; padding-top: 12px; }
  .family-demo-steps button { font-size: .61rem; }
  .family-demo-footer > span { font-size: .54rem; }
  .family-demo-caption { gap: 9px; margin-top: 10px; }
  .family-demo-caption img { width: 48px; height: 48px; }
  .family-demo-caption p { font-size: .71rem; }
  .family-demo-caption a { max-width: 90px; font-size: .59rem; }
  .opening-parent .opening-bottom { padding-block: 15px; gap: 15px; }
  .opening-parent .scroll-cue { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .family-demo *, .family-demo *::before, .family-demo *::after { animation: none !important; transition: none !important; } }
