/* Cloudland-first homepage: hatching, the living World, Play & Learn, Read to me and every screen. */
.device{display:block;position:relative;padding:3.2%;border-radius:15% / 7%;background:linear-gradient(145deg,#3b4a50,#11191d 40%,#1b2529 70%,#4a585d);box-shadow:inset 0 0 0 1px #ffffff26,inset 0 0 0 3px #0a0f12,0 24px 50px #04121a47}
.device>img{display:block;width:100%;height:auto;border-radius:12.5% / 5.8%;background:#0a0f12}
.device:after{content:"";position:absolute;top:calc(3.2% + 1.6%);left:50%;width:28%;height:2.6%;max-height:26px;transform:translateX(-50%);border-radius:20px;background:#05080a}

/* 01 — How it starts: the first run, from the welcome to the first toy at home on the island, in actual
   iPhone captures (marketing/tools/refresh-journey.mjs keeps them fresh). Three steps a row, two on a
   tablet, and on a phone one row to swipe through. */
.hatch{padding:110px 7% 110px;text-align:center}
.hatch>p:not(.eyebrow){max-width:620px;margin:1.6rem auto 0;font-size:1.1rem;color:#596762}
.hatch .eyebrow{color:#9a6a3a}
.journey-steps{list-style:none;margin:70px auto 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4rem 3.2rem;max-width:1140px;text-align:left}
.journey-steps li{display:flex;flex-direction:column;min-width:0}
.journey-steps .device{width:min(100%,236px);margin:0 auto 1.8rem}
.journey-steps .step{margin-bottom:1rem}
.journey-steps h3{font-size:1.75rem}
.journey-steps p{margin-top:.8rem;color:#596762;font-size:1rem}
.journey-steps strong{font-weight:600;color:#193e3c}
.journey-steps:focus-visible{outline:3px solid #d78144;outline-offset:6px;border-radius:12px}
.hatch-note{margin-top:3.5rem!important;font-size:.85rem!important;color:#7a8580!important}

/* 02 — Cloudland, the living World */
.cloudland{padding:120px 7% 110px;background:radial-gradient(ellipse at 75% 0%,#1b4b5a 0%,#0a2029 60%);overflow:hidden}
.cloudland-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:7%;align-items:center;max-width:1200px;margin:auto}
.cloudland-intro .eyebrow{color:#9fd3c3}
.cloudland-intro .lede{max-width:520px}
.cloudland-life{list-style:none;padding:0;margin:2.4rem 0 0;display:grid;gap:1.1rem;max-width:540px}
.cloudland-life li{padding-left:2.1rem;position:relative;color:#c9d6d2;font-size:1rem;line-height:1.6}
.cloudland-life li:before{content:"✦";position:absolute;left:0;top:.05em;color:#f0cb82}
.cloudland-life strong{color:#fbf6e7;font-weight:600}
.cloudland-hero{position:relative;margin:0;justify-self:center;width:min(100%,380px)}
.cloudland-hero figcaption{position:static;margin-top:1rem;color:#9fb5b0}
.cloudland-hero .cloudland-card{position:absolute;width:50%;right:-22%;bottom:10%;transform:rotate(4deg);box-shadow:0 30px 60px #00000080}
.cloudland-moods{max-width:1200px;margin:90px auto 0}
.cloudland-moods h3{text-align:center;font-size:clamp(2rem,3.4vw,3rem)}
.cloudland-moods>p{text-align:center;color:#b7c6c4;max-width:560px;margin:1rem auto 0}
.mood-strip{list-style:none;padding:0;margin:50px 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.mood-strip li{margin:0;min-width:0}
.mood-strip strong{display:block;margin-top:1.1rem;font-weight:600;font-size:1rem}
.mood-strip span{display:block;color:#b7c6c4;font-size:.92rem;line-height:1.55;margin-top:.3rem}
.cloudland-foot{text-align:center;margin-top:3rem;font-size:.82rem;color:#8ea4a0}

/* 03 — Play & Learn */
.play-learn{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;max-width:1200px;margin:0 auto 26px}
.pl-card{border-radius:28px;overflow:hidden;display:flex;flex-direction:column;min-width:0;padding:40px 38px 0}
.pl-card h3{font-size:clamp(2rem,3.2vw,3.1rem)}
.pl-card p{margin-top:18px;color:#53645d;font-size:1rem;max-width:520px}
.pl-card .tag{font-size:.8rem;color:#6a5b3a}
.pl-card .chips{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.pl-card .chips li{font-size:.78rem;padding:.35rem .75rem;border-radius:20px;background:#ffffffa8;color:#3e534d}
.pl-shots{display:flex;gap:22px;justify-content:center;margin-top:auto;padding:34px 4% 0}
.pl-shots{height:clamp(300px,34vw,440px);overflow:hidden}
.pl-shots .device{width:46%;max-width:260px;align-self:flex-start;flex:none}
.play-card{background:#f3e1bf}
.learn-card{background:#dfe7f1}
.learn-card .tag{color:#3f5675}
.pl-foot{font-size:.82rem!important;color:#6b7772!important;margin-top:14px!important}
/* The nature book: a full-width card, its words beside the phones (stacked on narrow screens). */
.nature-card{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:26px;background:#dcead2}
.nature-card .nature-copy{padding-bottom:40px}
.nature-card .tag{color:#3b5f3d}
/* One whole phone, centred beside the words (below them on narrow screens). */
.nature-card .pl-shots{align-self:center;margin-top:0;height:auto;overflow:visible;padding:34px 0 40px}
.nature-card .pl-shots .device{width:min(100%,250px);max-width:250px}

/* 04 — Read to me */
.read-to-me-feature{max-width:1200px;margin:26px auto 0;border-radius:28px;padding:44px;background:#dfeaee;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;scroll-margin-top:96px}
.read-to-me-feature h3{font-size:clamp(2rem,3.4vw,3.2rem)}
.read-to-me-feature p{margin-top:18px;color:#4f605f;font-size:1rem;max-width:44ch}
.read-to-me-feature .tag{color:#2f6470}
.rtm-demo{margin:0;background:#fffaf0;border-radius:24px;padding:28px;box-shadow:0 16px 40px #5a412018;display:grid;gap:14px}
.rtm-row{display:flex;align-items:center;gap:14px;border-radius:18px;padding:14px 16px;background:#f6efe0;color:#3a3a2c;font-weight:600}
.rtm-row i{font-style:normal;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fff;flex:none;font-size:1.2rem}
.rtm-row small{display:block;font-weight:400;color:#7a7462;font-size:.8rem}
.rtm-row.is-glow{background:#fff1c9;box-shadow:0 0 0 3px #f2c75c,0 0 26px #f2c75c88}
.rtm-demo figcaption{position:static;color:#8b8370;font-size:.78rem;text-align:left}

/* 05 — Every screen */
.screens{padding:110px 7%;max-width:none}
.screens>.eyebrow,.screens>h2,.screens>.screens-lede{max-width:1200px;margin-left:auto;margin-right:auto}
.screens>.screens-lede{color:#b7c6c4;margin-top:1.4rem;max-width:1200px}
.screens .experience-grid{margin-top:60px}
.screens .device-list{max-width:1200px;margin:4rem auto 0;grid-template-columns:repeat(4,minmax(0,1fr))}
.screens .duo-feature{border:1px solid #ffffff1a}
.screens .tv-feature{border:1px solid #ffffff1a}

@media(max-width:1100px){
  .cloudland-hero .cloudland-card{right:-8%}
  .mood-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* An odd card out sits in the middle of its own row, a column wide. */
  .mood-strip li:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 12px)}
}
@media(max-width:900px){
  .journey-steps{grid-template-columns:repeat(2,minmax(0,1fr));max-width:680px;gap:3.5rem 2.4rem}
  .cloudland-intro{grid-template-columns:1fr;gap:60px}
  .cloudland-hero{width:min(78%,340px);margin-right:12%}
  .play-learn,.read-to-me-feature{grid-template-columns:1fr}
  .nature-card{grid-template-columns:1fr}
  .nature-card .nature-copy{padding-bottom:0}
  .nature-card .pl-shots .device{width:min(62%,250px)}
  .screens .device-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .hatch,.cloudland,.screens{padding:80px 16px}
  /* One row of steps to swipe through, each a little narrower than the screen so the next one shows. */
  .journey-steps{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:16px;
    margin:48px -16px 0;padding:6px 16px 18px;max-width:none}
  .journey-steps li{flex:0 0 min(78vw,300px);scroll-snap-align:start}
  .journey-steps .device{width:min(78%,220px);margin-left:0}
  .journey-steps h3{font-size:1.55rem}
  .pl-card{padding:30px 24px 0}
  .pl-shots{height:auto;overflow:visible;padding-bottom:30px}
  .read-to-me-feature{padding:30px 22px}
  .mood-strip{gap:16px}
  .mood-strip li:last-child:nth-child(odd){width:calc(50% - 8px)}
  .cloudland-hero .cloudland-card{right:-14%;width:50%}
  .screens .device-list{grid-template-columns:1fr}
}
#play .ar-feature{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center}
.screens .experience-grid{grid-template-columns:1fr}
.screens .tv-feature{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center}
@media(max-width:900px){#play .ar-feature,.screens .tv-feature{grid-template-columns:1fr}}

/* Everything inside: the breadth of Luma right under the hero */
.inside{padding:56px 7% 72px;background:#0a2029;border-top:1px solid #ffffff12}
.inside-title{font-size:clamp(1.6rem,2.6vw,2.2rem);text-align:center;letter-spacing:-.02em}
.inside-grid{list-style:none;margin:36px auto 0;padding:0;max-width:1240px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.inside-grid a{display:flex;flex-direction:column;gap:.35rem;height:100%;padding:20px 18px;border-radius:20px;background:#12313b;border:1px solid #ffffff14;transition:transform .18s cubic-bezier(.3,1.4,.6,1),background .18s,border-color .18s}
.inside-grid a:hover{background:#17404c;border-color:#f0cb8266;transform:translateY(-3px)}
.inside-grid a:active{transform:scale(.97)}
.inside-icon{font-size:1.7rem;line-height:1;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#ffffff12;margin-bottom:.4rem}
.inside-grid strong{font-weight:600;font-size:.98rem;color:#fbf6e7}
.inside-grid a>span:last-child{font-size:.84rem;line-height:1.45;color:#a9bcb8}
@media(max-width:1100px){.inside-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.inside{padding:44px 16px 56px}.inside-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.inside-grid a{padding:16px 14px}}
@media(prefers-reduced-motion:reduce){.inside-grid a,.inside-grid a:hover,.inside-grid a:active{transform:none}}
