html:has(.landing-page) {
  overflow-x:clip}

.landing-page {
  --ink:#174b43;
  --paper:#ffffff;
  --section-green:#edf1dd;
  --footer-background:#f4f3e5;
  --coral:#e56149;
  --teal:#247e80;
  --purple:#7153a5;
  --lime:#dcef9c;
  background:var(--paper);
  color:var(--ink);
  overflow-x:clip}
.landing-page h1,.landing-page h2,.landing-page h3 {
  font-weight:900}
.landing-page h2 {
  font-size:clamp(34px,4.2vw,53px);
  line-height:1.13;
  letter-spacing:-.04em}
.landing-page h3 {
  font-size:23px;
  letter-spacing:-.025em;
  line-height:1.25}
.landing-page p {
  color:#5f766b;
  font-size:16px;
  line-height:1.7}
.landing-page [hidden] {
  display:none!important}
.landing-page section[id] {
  scroll-margin-top:125px}
.landing-container {
  width:min(1210px,100%);
  margin-inline:auto;
  padding-inline:38px}
.landing-skip {
  position:fixed;
  z-index:30;
  top:8px;
  left:15px;
  background:var(--ink);
  color:white;
  padding:10px 20px;
  border-radius:12px;
  transform:translateY(-150%)}
.landing-skip:focus {
  transform:translateY(0)}
.landing-nav {
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  gap:30px;
  width:100%;
  margin:auto;
  padding:16px max(40px,calc((100% - 1210px)/2));
  height:106px;
  background:#ffffff}
.landing-logo {
  display:block;
  flex-shrink:0}
.landing-logo img {
  display:block;
  width:150px;
  height:72px;
  object-fit:contain}
.landing-login {
  font-size:18px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap}
.landing-login:hover {
  color:#c96642}
.landing-nav-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:25px}
.landing-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  text-decoration:none;
  border:0;
  background:var(--coral);
  color:#fff;
  padding:16px 24px;
  min-height:57px;
  border-radius:16px;
  box-shadow:0 4px 0 #b94330;
  font-size:16px;
  font-weight:900;
  transition:transform .18s,background .18s}
.landing-button:hover {
  background:#d6513c;
  transform:translateY(-2px)}
.landing-button:active {
  transform:translateY(2px);
  box-shadow:0 2px 0 #b94330}
.landing-button.small {
  white-space:nowrap;
  font-size:13px;
  min-height:45px;
  border-radius:12px;
  padding:11px 17px;
  gap:12px}
.landing-hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  align-items:center;
  padding-top:44px;
  padding-bottom:75px;
  min-height:650px}
.landing-hero h1 {
  color:var(--ink);
  font-size:clamp(46px,4.4vw,60px);
  line-height:1.04;
  letter-spacing:-.055em;
  margin:0 0 25px}
.hero-copy .hero-description {
  font-size:20px;
  max-width:460px;
  margin:16px 0 25px}
.hero-actions {
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap}
.landing-text-button {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#2d5c4f;
  font-size:16px;
  font-weight:800;
  text-decoration:none}
.round-play {
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border:1.5px solid #b9ccb5;
  border-radius:100%;
  background:#fffdf4}
.hero-devices {
  position:absolute;
  bottom:60px;
  width:100%;
  justify-content:center;
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:0;
  color:#678171;
  font-size:11px}
.hero-devices span {
  margin-left:5px}
.hero-world {
  height:555px;
  position:relative;
  isolation:isolate}
.hero-visual {
  position:absolute;
  left:-5%;
  top:52px;
  width:110%;
  height:440px;
  max-width:none;
  object-fit:contain;
  z-index:2;
  filter:drop-shadow(0 17px 14px #35573b14)}

.landing-section {
  padding-top:98px;
  padding-bottom:98px}
.section-heading {
  text-align:center;
  margin-bottom:48px}
.section-heading>p {
  margin:20px auto 0;
  max-width:680px;
  font-size:16px}
.text-purple {
  color:#7753a1}
.text-teal {
  color:var(--teal)}
.concept-section {
  background:var(--section-green);
  padding-top:76px;
  padding-bottom:76px}
.concept-section .section-heading {
  margin-bottom:64px}

.lab-layout {
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  align-items:center;
  gap:64px}
.journey-steps {
  display:grid;
  gap:32px;
  padding:0;
  margin:0;
  list-style:none}
.journey-steps li {
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  column-gap:20px;
  align-items:center}
.journey-number {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#ffffffb3;
  color:var(--ink);
  font-size:13px;
  font-weight:900}
.journey-steps h3 {
  font-size:23px;
  margin:0}
.journey-steps p {
  grid-column:2;
  margin-top:12px;
  font-size:15px}
.invention-gallery {
  min-width:0}
.invention-track {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px 18px;
  padding:0;
  margin:0;
  list-style:none}
.invention-card {
  text-align:center}
.invention-picture {
  height:180px;
  margin-bottom:8px;
  display:grid;
  place-items:center}
.invention-picture img {
  width:100%;
  height:180px;
  max-height:180px;
  object-fit:contain}
@media (max-width: 860px) {
  .lab-layout {gap:30px}
  .journey-steps h3 {font-size:20px}
  .journey-steps p {font-size:13px}
  .journey-steps li {column-gap:10px}
  .invention-picture,.invention-picture img {height:125px;max-height:125px}
}
@media (max-width: 700px) {
  .lab-layout {grid-template-columns:1fr;gap:30px}
  .invention-track {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}
  .journey-steps {gap:26px}
  .journey-steps li {grid-template-columns:34px minmax(0,1fr);column-gap:18px}
  .journey-number {width:34px;height:34px;font-size:11px}
  .journey-steps h3 {font-size:21px}
  .journey-steps p {font-size:16px;margin-top:9px}
    }


.landing-footer {
  background:var(--footer-background);
  padding:40px 0;
  border-top:1px solid #e6e5d1}
.landing-footer .footer-motto {
  font-size:clamp(18px,1.8vw,24px);
  font-weight:900;
  line-height:1.6;
  margin:28px 0 0;
  text-align:left}
.footer-motto>span {
  display:block;
  font:inherit;
  color:inherit}

@media(min-width:1300px) {
  .landing-hero {
  min-height:706px;
  padding-top:42px;
  padding-bottom:88px}
.hero-world {
  height:565px}
.hero-devices {
  bottom:80px}
.hero-visual {
  height:470px;
  top:37px}
}
@media(max-width:1100px) {
  .landing-nav {
  padding-inline:30px;
  gap:20px}
.landing-nav-actions {
  gap:20px}
.landing-container {
  padding-inline:30px}
.landing-hero h1 {
  font-size:52px}
.hero-copy .hero-description {
  max-width:360px}
.hero-actions {
  gap:18px}
.hero-actions>.landing-button {
  font-size:14px;
  gap:12px;
  padding:15px 17px}
.landing-text-button {
  font-size:15px}
.hero-world {
  height:510px}
.hero-visual {
  height:420px;
  top:55px}



}
@media(max-width:860px) {
  .landing-nav {
  height:89px;
  padding:12px 25px;
  gap:18px}
.landing-logo img {
  width:128px;
  height:61px}
.landing-nav-actions {
  margin-left:auto;
  gap:18px}
.landing-hero {
  padding-top:36px;
  padding-bottom:55px;
  min-height:590px;
  gap:0}
.landing-hero h1 {
  font-size:46px}
.hero-copy .hero-description {
  font-size:18px;
  max-width:295px}
.hero-actions {
  gap:16px;
  flex-direction:column;
  align-items:flex-start}
.hero-devices {
  bottom:35px;
  font-size:9px;
  gap:5px;
  margin-top:0}
.hero-world {
  height:490px}
.hero-visual {
  height:380px;
  left:-4%;
  width:111%;
  top:74px}

.landing-section {
  padding-top:75px;
  padding-bottom:75px}


}
@media(max-width:700px) {
  .landing-container {
  padding-inline:23px}
.landing-nav {
  height:81px;
  padding:10px 22px;
  gap:12px}
.landing-logo img {
  width:105px;
  height:53px}
.landing-nav-actions {
  gap:9px}
.landing-login {
  font-size:14px}
.landing-button.small {
  font-size:11px;
  padding:9px 12px;
  min-height:39px;
  border-radius:10px;
  gap:8px}
.landing-hero {
  display:flex;
  flex-direction:column;
  padding-top:30px;
  padding-bottom:26px;
  min-height:0;
  align-items:stretch}
.landing-hero h1 {
  font-size:clamp(38px,10.3vw,48px);
  margin-bottom:23px;
  line-height:1.05}
.hero-copy .hero-description {
  font-size:18px;
  max-width:340px;
  margin:15px 0 23px}
.hero-actions {
  flex-direction:row;
  align-items:center;
  gap:18px;
  flex-wrap:wrap}
.hero-actions>.landing-button {
  font-size:13px;
  min-height:52px;
  padding:14px 17px;
  gap:11px}
.landing-text-button {
  font-size:14px;
  gap:7px}
.round-play {
  width:27px;
  height:27px}
.hero-devices {
  font-size:10px;
  margin-top:0;
  bottom:10px;
  gap:7px}
.hero-world {
  height:332px;
  margin:15px -10px 0}
.hero-visual {
  width:105%;
  height:310px;
  left:-3%;
  top:0}

.landing-section {
  padding-top:63px;
  padding-bottom:63px}
.landing-page h2 {
  font-size:34px}
.section-heading {
  margin-bottom:35px;
  text-align:left}
.section-heading>p {
  font-size:13px;
  margin-top:18px;
  max-width:none}
.section-heading>p br {
  display:none}


.landing-footer {
  padding:35px 0}
.landing-page section[id] {
  scroll-margin-top:100px}
}
@media(max-width:360px) {
  .landing-nav {
  padding-inline:18px}
.landing-container {
  padding-inline:19px}
.landing-hero h1 {
  font-size:36px}
.hero-actions {
  gap:13px}
.hero-actions>.landing-button {
  font-size:12px;
  padding:13px 14px}
.landing-text-button {
  font-size:14px}
.hero-world {
  height:302px}
.hero-visual {
  height:286px}


.hero-copy .hero-description {
  font-size:17px}
}
@media(prefers-reduced-motion:no-preference) {
  html:has(.landing-page) {
  scroll-behavior:smooth}

}
@media(prefers-reduced-motion:reduce) {
  .landing-page *, .landing-page *:before,.landing-page *:after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important}
}

.devices-section {
  background:var(--footer-background);
  padding-bottom:48px;
}
@media(max-width:700px) {
  .devices-section {padding-bottom:32px;}
}

@media(max-width:360px) {
  .landing-logo img {width:96px;height:48px;}
  .landing-nav-actions .landing-button svg {display:none;}
}


.opening-video {
  min-width:0;
  aspect-ratio:16 / 9;
  border-radius:24px;
  overflow:hidden;
  background:#e2e8d3;
}
.opening-video iframe {
  display:block;
  width:100%;
  height:100%;
  border:0;
}
.opening-poster {
  display:block;
  position:relative;
  width:100%;
  height:100%;
}
.opening-poster>img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.opening-play {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  width:88px;
  height:88px;
  border-radius:50%;
  background:#f4cf47;
  color:#173d40;
  box-shadow:0 4px 0 #c69a22;
}
.opening-play svg {fill:currentColor;transform:translateX(2px);}
.opening-poster:hover .opening-play {background:#ffdc5e;}
.opening-poster:focus-visible {outline:4px solid var(--ink);outline-offset:-6px;}
.opening-poster:focus-visible .opening-play {outline:3px solid white;outline-offset:5px;}
.footer-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:48px;
}
.footer-brand {min-width:0;}
.footer-logo {
  display:block;
  width:min(100%,420px);
  height:auto;
}
.footer-friends {
  display:block;
  width:min(100%,620px);
  height:auto;
  margin:0 auto;
}
@media(max-width:700px) {
  .opening-video {border-radius:16px;}
  .opening-play {width:60px;height:60px;}
  .opening-play svg {width:28px;height:28px;}
  .footer-layout {grid-template-columns:1fr;gap:36px;}
  .footer-logo {width:min(100%,300px);margin:0 auto;}
  .landing-footer .footer-motto {text-align:center;margin-top:20px;}
}

/* Keep the shared three-link header inside small phone viewports. */
@media(max-width:420px) {
  .landing-nav {padding-inline:12px;gap:8px;}
  .landing-logo img {width:80px;height:48px;}
  .landing-nav-actions {gap:8px;}
  .landing-login {font-size:12px;}
  .landing-nav-actions .landing-button.small {padding-inline:8px;font-size:11px;}
  .landing-nav-actions .landing-button svg {display:none;}
}

/* The adventure leads into play; the comic offers a first story without sign-in. */
.lab-actions{margin-top:44px;text-align:center}
.lab-actions>p{max-width:660px;margin:0 auto}
.lab-signup{margin-top:24px;background:var(--ink);box-shadow:0 4px 0 #10382f}
.lab-signup:hover{background:#216357}
.lab-signup:active{box-shadow:0 2px 0 #10382f}
.landing-bd-section{padding:88px 0;background:#fff}
.landing-bd-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:80px;align-items:center}
.landing-bd-art{display:flex;justify-content:center;min-width:0}
.landing-bd-cover{display:block;width:min(100%,320px);border-radius:12px}
.landing-bd-cover img{display:block;width:100%;height:auto;border:1px solid #e1e7df;border-radius:12px;box-shadow:0 20px 42px #174b4322}
.landing-bd-cover:focus-visible{outline:3px solid #ffbf16;outline-offset:7px}
.landing-bd-copy>p{max-width:490px;margin-top:24px}
.landing-bd-copy>.landing-button{margin-top:28px}
.landing-page .landing-bd-note{font-size:14px;margin-top:18px}
@media(max-width:860px){.landing-bd-grid{gap:40px}}
@media(max-width:700px){
  .lab-actions{margin-top:34px;text-align:left}
  .lab-actions .landing-button{width:100%;font-size:14px;padding-inline:16px;gap:10px}
  .landing-bd-section{padding:64px 0}
  .landing-bd-grid{grid-template-columns:1fr;gap:34px}
  .landing-bd-cover{width:min(100%,220px)}
  .landing-bd-copy>p{margin-top:20px}
  .landing-bd-copy>.landing-button{width:100%;font-size:14px;padding-inline:16px;gap:10px}
}
