/* An app's own page on growney.app (backend/tool/app_pages.py), on top of home.css:
   the hero is one still slide of the home slider, then what the child does, everything
   inside the app as links into it, school, parents, blog clippings and questions. */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
.lp-grid { align-items: center; padding-block: 18px 48px; }
.lp-h1 { margin: 0; font-family: var(--font-hand); font-weight: 400; font-size: 64px; line-height: 1; letter-spacing: -.5px; text-wrap: balance; }
.lp-small { margin: 12px 0 0; font-size: 15px; color: var(--ink-muted); }
.lp-hero .stage { height: auto; min-height: 420px; }
.lp-sec { padding-block: 72px 0; }
.lp-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; align-items: end; margin-bottom: 26px; }
.lp-head p { margin: 0 0 18px; color: var(--ink-muted); font-size: 18px; max-width: 34em; }
.lp-does { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 10px 0 0; padding: 0; list-style: none; counter-reset: s; }
.lp-does li { counter-increment: s; }
.lp-does .shot { background: var(--card); padding: 8px; border-radius: 22px; --pen: var(--ink); }
.lp-does .shot img { width: 100%; aspect-ratio: 1120 / 778; object-fit: cover; object-position: top; border-radius: 15px; }
.lp-does h3 { margin: 20px 0 6px; font-family: var(--font-hand); font-weight: 400; font-size: 24px; line-height: 1.15; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.lp-does h3::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun-soft); font-size: 19px; }
.lp-does p { margin: 0 0 0 44px; color: var(--ink-muted); font-size: 16px; }
.bodies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; margin: 0; padding: 0; list-style: none; }
.body-card { padding: 14px 0 16px; border-bottom: 2px dashed var(--paper-deep); }
.body-main { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; text-decoration: none; }
.body-main img { width: 80px; height: 80px; object-fit: contain; transition: transform .25s; }
.body-main:hover img { transform: rotate(-8deg) scale(1.06); }
.body-main b { display: block; font-family: var(--font-hand); font-weight: 400; font-size: 28px; line-height: 1.05; }
.body-main:hover b { text-decoration: underline wavy var(--sun) 2px; text-underline-offset: 6px; }
.body-main small { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 15px; }
.moons { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0 96px; padding: 0; list-style: none; font-size: 15px; }
.moons a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); text-decoration: none; }
.moons a:hover { color: var(--ink); text-decoration: underline; }
.moons img { width: 28px; height: 28px; object-fit: contain; }
.machs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 24px; margin: 0; padding: 0; list-style: none; }
.mach a { display: block; text-decoration: none; }
.mach-pic { display: grid; place-items: center; height: 130px; padding: 10px; background: var(--card); border-radius: 14px 10px 16px 12px; box-shadow: 0 5px 0 var(--paper-deep); }
.mach-pic img { max-height: 110px; width: auto; max-width: 100%; object-fit: contain; transition: transform .25s; }
.mach a:hover img { transform: translateY(-4px); }
.mach b { display: block; margin-top: 14px; font-family: var(--font-hand); font-weight: 400; font-size: 22px; line-height: 1.1; }
.mach small { display: block; color: var(--ink-muted); font-size: 14px; }
.lp-learn { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.lp-learn p { color: var(--ink-muted); font-size: 18px; margin: 0; max-width: 30em; }
.lp-list { margin: 14px 0 0; font-size: 18px; }
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq details { background: var(--card); border-radius: 16px; padding: 16px 22px; --pen: var(--ink); }
.faq summary { cursor: pointer; font-family: var(--font-hand); font-size: 23px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: .9; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--ink-muted); }
.lp-end { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-block: 88px 40px; padding-block: 28px; background: #E8E6F1; border-radius: 26px; }
.lp-end img { width: 140px; }
.lp-end-h { margin: 0; font-family: var(--font-hand); font-size: 40px; line-height: 1; }
.lp-end p { margin: 6px 0 0; }
.lp-end-act { display: grid; gap: 14px; justify-items: start; }
@media (max-width: 980px) {
  .lp-head, .lp-learn { grid-template-columns: 1fr; }
  .lp-does { grid-template-columns: 1fr; }
  .bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-hero .stage { min-height: 0; margin-top: 40px; }
}
@media (max-width: 600px) {
  .lp-h1 { font-size: 44px; }
  .bodies { grid-template-columns: 1fr; }
  .machs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-end { grid-template-columns: 1fr; justify-items: start; padding-inline: 20px; }
  .lp-end img { width: 100px; }
  .lp-does p { margin-left: 0; }
}

/* ---------- other apps (Travel, Dino, Body, Inside, Build, Family) ---------- */
.machs.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.machs.wide .mach-pic { height: 150px; }
.machs.wide .mach-pic img { max-height: 130px; }
.grp + .grp { margin-top: 34px; }
.grp-h { margin: 0 0 14px; font-family: var(--font-hand); font-weight: 400; font-size: 28px; line-height: 1.1; }
.grp-h a { text-decoration: none; }
.grp-h a:hover { text-decoration: underline wavy var(--sun) 2px; text-underline-offset: 6px; }
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.stamp a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; padding-block: 6px; }
.stamp img { width: 72px; height: 72px; object-fit: contain; transition: transform .25s; }
.stamp a:hover img { transform: rotate(-6deg); }
.stamp b { display: block; font-family: var(--font-hand); font-weight: 400; font-size: 22px; line-height: 1.1; }
.stamp a:hover b { text-decoration: underline wavy var(--sun) 2px; text-underline-offset: 5px; }
.stamp small { display: block; margin-top: 2px; color: var(--ink-muted); font-size: 14px; line-height: 1.3; }
.icons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 18px; margin: 0; padding: 0; list-style: none; }
.icon a { display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; }
.icon-pic { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--card); box-shadow: 0 5px 0 var(--paper-deep); }
.icon-pic img { max-width: 70px; max-height: 70px; object-fit: contain; transition: transform .25s; }
.icon a:hover img { transform: scale(1.08); }
.icon b { font-family: var(--font-hand); font-weight: 400; font-size: 20px; line-height: 1.1; }
.lp-does.few { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.lp-does.phone, .lp-does.port { grid-template-columns: repeat(3, minmax(0, 260px)); }
.lp-does.port.few { grid-template-columns: repeat(2, minmax(0, 300px)); }
.lp-does .shot.phone img { aspect-ratio: 520 / 1130; }
.lp-does .shot.port img { aspect-ratio: 640 / 880; }
.lp-steps { grid-column: auto; grid-template-columns: repeat(3, minmax(0, 260px)); }
@media (max-width: 980px) {
  .machs.wide, .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-does.few, .lp-does.phone, .lp-does.port, .lp-does.port.few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .stamps, .machs.wide { grid-template-columns: 1fr; }
  .icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icon-pic { width: 80px; height: 80px; }
  .icon-pic img { max-width: 58px; max-height: 58px; }
  .lp-does.phone, .lp-does.port, .lp-does.port.few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: none; }
}
/* Travel's day, chapter by chapter: the time of day above each step. */
.lp-does.flow { row-gap: 40px; }
.lp-does .when { margin: 18px 0 -12px 44px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 600px) { .lp-does .when { margin-left: 0; } }
@media (max-width: 980px) and (min-width: 601px) { .lp-does.flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* What an app can do, each with its picture (the wallet's drawings, Mind's screens). */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 32px; margin: 0; padding: 0; list-style: none; }
.feat-pic { display: grid; place-items: center; height: 190px; padding: 14px; background: var(--card); border-radius: 18px 14px 20px 16px; box-shadow: 0 6px 0 var(--paper-deep); }
.feat-pic img { max-height: 160px; width: auto; max-width: 100%; object-fit: contain; }
.feats.phone .feat-pic { height: 340px; padding: 12px; }
.feats.phone .feat-pic img { max-height: 316px; border-radius: 16px; }
.feat h3 { margin: 18px 0 6px; font-family: var(--font-hand); font-weight: 400; font-size: 24px; line-height: 1.15; }
.feat p { margin: 0; color: var(--ink-muted); font-size: 16px; }
/* Every activity by name, grouped by skill. */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip { padding: 6px 14px 7px; border-radius: 14px 11px 15px 12px; background: var(--card); box-shadow: 0 3px 0 var(--paper-deep); font-size: 16px; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } .feats.phone { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feats.phone .feat-pic { height: 280px; } .feats.phone .feat-pic img { max-height: 256px; } }
