:root {
  --ink: #24324f;
  --muted: #66728a;
  --paper: #fffdf4;
  --line: #eadfc7;
  --sky: #7bdff2;
  --blue: #5d7df8;
  --mint: #7bdcb5;
  --leaf: #64b96a;
  --coral: #ff6b6b;
  --pink: #ff8ab3;
  --yellow: #ffd75e;
  --lavender: #a58bff;
  --shadow: 0 18px 42px rgba(55, 62, 92, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 215, 94, 0.16) 0 18px, transparent 18px 54px),
    linear-gradient(180deg, #e9fbff 0, #fff8da 440px, #fffdf4 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 30;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  top: 12px;
  left: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 2px solid var(--ink);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.cartoon-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 253, 244, 0.88);
  border-bottom: 2px solid rgba(36, 50, 79, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--coral), var(--pink) 48%, var(--yellow));
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(36, 50, 79, 0.10);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 900;
}

.site-nav a {
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(36, 50, 79, 0.08);
  border-radius: 8px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  padding: 6px 9px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 4px 0 rgba(36, 50, 79, 0.10);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--coral);
  border-color: #fff;
  box-shadow: 0 8px 0 rgba(255, 107, 107, 0.24);
}

.button.secondary {
  background: #fff;
  border-color: var(--yellow);
  box-shadow: 0 8px 0 rgba(255, 215, 94, 0.22);
}

.button.wide {
  width: 100%;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: relative;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 4px;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  padding: 118px 0 70px;
  background:
    linear-gradient(180deg, #aeeeff 0, #e9fbff 48%, #fff0b7 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -1px;
  height: 138px;
  background:
    radial-gradient(circle at 8% 100%, #62c86f 0 70px, transparent 72px),
    radial-gradient(circle at 24% 100%, #80d96f 0 92px, transparent 94px),
    radial-gradient(circle at 43% 100%, #68c96e 0 75px, transparent 77px),
    radial-gradient(circle at 68% 100%, #8bdb75 0 102px, transparent 104px),
    radial-gradient(circle at 90% 100%, #64b96a 0 84px, transparent 86px);
}

.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sun {
  position: absolute;
  right: 10%;
  top: 118px;
  width: 96px;
  height: 96px;
  background: var(--yellow);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 16px 0 rgba(255, 215, 94, 0.24);
}

.cloud,
.cloud::before,
.cloud::after {
  position: absolute;
  display: block;
  background: #fff;
  border-radius: 999px;
}

.cloud {
  width: 118px;
  height: 44px;
  box-shadow: 0 10px 0 rgba(36, 50, 79, 0.06);
}

.cloud::before,
.cloud::after {
  content: "";
}

.cloud::before {
  width: 52px;
  height: 52px;
  left: 22px;
  bottom: 18px;
}

.cloud::after {
  width: 64px;
  height: 64px;
  right: 18px;
  bottom: 10px;
}

.cloud-a {
  left: 8%;
  top: 150px;
}

.cloud-b {
  right: 28%;
  top: 96px;
  transform: scale(0.72);
}

.kite {
  position: absolute;
  left: 47%;
  top: 176px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--pink) 0 50%, var(--blue) 50%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: rotate(8deg);
  filter: drop-shadow(0 10px 0 rgba(36, 50, 79, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.tagline {
  margin: 0 0 12px;
  color: #d54d67;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 76px;
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 7px 0 rgba(255, 215, 94, 0.48);
}

h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.lead,
.screen-copy,
.download-layout p {
  color: #44526d;
  font-size: 19px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.hero-route-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 142px;
  padding: 14px 13px 15px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 9px 0 rgba(36, 50, 79, 0.08);
  text-decoration: none;
}

.hero-route-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 68px;
  height: 68px;
  background: var(--route-bg);
  border: 8px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.route-kids { --route-bg: #7bdcb5; }
.route-parent { --route-bg: #a58bff; }
.route-tablet { --route-bg: #ffd75e; }

.route-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--route-bg);
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 6px 0 rgba(36, 50, 79, 0.10);
  font-size: 12px;
  font-weight: 900;
}

.hero-route-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 14px;
  line-height: 1.16;
}

.hero-route-card small {
  position: relative;
  z-index: 1;
  color: #59657d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}

.sticker-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 0;
}

.sticker-row div {
  min-width: 0;
  padding: 14px 12px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 10px 0 rgba(36, 50, 79, 0.08);
  text-align: center;
}

.sticker-row div:nth-child(1) { background: #fff0b7; }
.sticker-row div:nth-child(2) { background: #def7ef; }
.sticker-row div:nth-child(3) { background: #ffe1ea; }
.sticker-row div:nth-child(4) { background: #e4ecff; }

.sticker-row dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sticker-row dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.tablet-stage {
  position: relative;
  margin: 0;
}

.hero-dino-device {
  perspective: 1200px;
}

.tablet-stage::before,
.tablet-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 8px;
}

.tablet-stage::before {
  left: -20px;
  right: 26px;
  bottom: -26px;
  height: 78px;
  background: rgba(36, 50, 79, 0.12);
  transform: skewX(-8deg);
}

.tablet-stage::after {
  right: -16px;
  top: -18px;
  width: 106px;
  height: 86px;
  background:
    linear-gradient(90deg, var(--coral) 0 25%, var(--yellow) 25% 50%, var(--mint) 50% 75%, var(--blue) 75%);
  clip-path: polygon(0 60%, 18% 40%, 32% 58%, 50% 24%, 68% 55%, 86% 32%, 100% 54%, 100% 100%, 0 100%);
}

.tablet-stage.hero-dino-device::before {
  left: 14px;
  right: 44px;
  bottom: -34px;
  height: 96px;
  background: rgba(36, 50, 79, 0.16);
  filter: blur(1px);
}

.tablet-stage.hero-dino-device::after {
  right: -20px;
  top: -22px;
}

.tablet-shell {
  padding: 14px;
  background: #202842;
  border: 6px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.tablet-shell img,
.screen-card img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.tablet-stage figcaption,
.screen-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-dino-device figcaption {
  position: relative;
  width: min(86%, 640px);
  margin: 14px auto 0;
  padding: 12px 16px;
  color: #52607a;
  background: rgba(255, 253, 244, 0.70);
  border: 2px solid rgba(255, 255, 255, 0.80);
  border-radius: 8px;
  box-shadow: 0 10px 0 rgba(36, 50, 79, 0.08);
}

.room-band,
.screens-section,
.tablet-shop-section,
.download-section,
.faq-section {
  position: relative;
  padding: 82px 0;
}

.room-band {
  background:
    linear-gradient(180deg, #fffdf4 0, #f0fff8 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-start-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -4px 0 24px;
}

.quick-start-strip article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  min-height: 118px;
  padding: 18px;
  overflow: hidden;
  background: #fff;
  border: 2px dashed rgba(36, 50, 79, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(55, 62, 92, 0.08);
}

.quick-start-strip article::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 78px;
  height: 78px;
  background: rgba(123, 223, 242, 0.30);
  border-radius: 50%;
}

.quick-start-strip article:nth-child(2)::after {
  background: rgba(255, 138, 179, 0.28);
}

.quick-start-strip article:nth-child(3)::after {
  background: rgba(255, 215, 94, 0.34);
}

.quick-start-strip span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--coral);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 0 rgba(36, 50, 79, 0.10);
  font-weight: 900;
}

.quick-start-strip article:nth-child(2) span { background: var(--blue); }
.quick-start-strip article:nth-child(3) span { background: var(--leaf); }

.quick-start-strip strong {
  align-self: end;
  font-size: 18px;
  line-height: 1.16;
}

.quick-start-strip p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.room-card,
.screen-card,
.download-card {
  border: 2px solid rgba(36, 50, 79, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(55, 62, 92, 0.10);
}

.room-card {
  min-height: 230px;
  padding: 24px;
  background: #fff;
}

.room-yellow { background: #fff3bd; }
.room-mint { background: #dff8ef; }
.room-coral { background: #ffe2e2; }
.room-blue { background: #e4ecff; }

.room-card p {
  margin: 0;
  color: var(--muted);
}

.room-icon {
  display: block;
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  background: #fff;
  border: 3px solid rgba(36, 50, 79, 0.12);
  border-radius: 8px;
}

.books::before,
.books::after,
.shield::before,
.blocks::before,
.blocks::after,
.clock::before,
.clock::after {
  content: "";
  position: absolute;
  display: block;
}

.books::before {
  left: 10px;
  top: 12px;
  width: 10px;
  height: 28px;
  background: var(--coral);
  box-shadow: 13px 0 0 var(--blue), 26px 0 0 var(--yellow);
}

.books::after {
  left: 8px;
  right: 8px;
  bottom: 9px;
  height: 4px;
  background: var(--ink);
  opacity: 0.15;
}

.shield::before {
  left: 13px;
  top: 9px;
  width: 24px;
  height: 32px;
  background: var(--mint);
  clip-path: polygon(50% 0, 94% 17%, 84% 72%, 50% 100%, 16% 72%, 6% 17%);
}

.blocks::before {
  left: 9px;
  top: 10px;
  width: 15px;
  height: 15px;
  background: var(--yellow);
  box-shadow: 19px 0 0 var(--coral), 9px 20px 0 var(--blue);
}

.blocks::after {
  left: 13px;
  top: 14px;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 19px 0 0 rgba(255, 255, 255, 0.75), 9px 20px 0 rgba(255, 255, 255, 0.75);
}

.clock::before {
  left: 10px;
  top: 10px;
  width: 28px;
  height: 28px;
  border: 5px solid var(--blue);
  border-radius: 50%;
}

.clock::after {
  left: 25px;
  top: 17px;
  width: 4px;
  height: 14px;
  background: var(--ink);
  transform-origin: bottom center;
  transform: rotate(35deg);
}

.screens-section {
  background:
    linear-gradient(135deg, rgba(123, 223, 242, 0.30), transparent 42%),
    linear-gradient(225deg, rgba(255, 138, 179, 0.18), transparent 46%),
    #fffaf0;
}

.screen-layout,
.download-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 48px;
  align-items: center;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.tab-button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(36, 50, 79, 0.08);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.active {
  color: #fff;
  background: var(--blue);
  border-color: #fff;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 14px;
  background: var(--leaf);
  clip-path: polygon(14% 52%, 38% 76%, 86% 20%, 100% 34%, 39% 100%, 0 62%);
}

.screen-card {
  margin: 0;
  padding: 14px;
  background: #202842;
}

.screen-card figcaption {
  color: rgba(255, 255, 255, 0.82);
}

.dino-ui-section {
  background:
    linear-gradient(135deg, rgba(123, 223, 242, 0.30), transparent 42%),
    linear-gradient(225deg, rgba(255, 138, 179, 0.18), transparent 46%),
    #fffaf0;
}

.dino-head {
  max-width: 860px;
}

.ui-tour {
  display: grid;
  grid-template-columns: minmax(520px, 1.22fr) minmax(300px, 0.78fr);
  gap: 34px;
  align-items: stretch;
}

.dino-device {
  margin: 0;
  perspective: 1100px;
}

.dino-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(145deg, #151e38, #27365f);
  border: 6px solid #fff;
  border-radius: 8px;
  box-shadow:
    0 12px 0 #151d35,
    0 24px 34px rgba(31, 43, 70, 0.24);
  transform-style: preserve-3d;
}

.dino-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 14px rgba(17, 25, 48, 0.94),
    inset 0 0 0 18px rgba(255, 255, 255, 0.10),
    inset 0 22px 34px rgba(255, 255, 255, 0.18);
}

.dino-screen::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 20px 18px auto 18px;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.20), transparent);
  border-radius: 8px;
}

.hero-dino-screen {
  min-height: 418px;
  border-width: 8px;
  box-shadow:
    0 16px 0 #151d35,
    0 32px 42px rgba(31, 43, 70, 0.26);
  transform: rotateY(-4deg) rotateX(3deg) rotateZ(1deg);
}

.hero-dino-screen .dino-wallpaper {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.03);
}

.dino-wallpaper,
.launcher-glass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dino-wallpaper {
  object-fit: cover;
}

.launcher-glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(31, 45, 79, 0.05)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 45%, rgba(255, 255, 255, 0.12));
}

.launcher-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, 100%);
  padding: 10px 12px;
  color: #fff;
  background: rgba(23, 163, 152, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(20, 42, 70, 0.16);
}

.launcher-badge,
.parent-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.launcher-badge {
  min-width: 36px;
  background: var(--coral);
}

.parent-chip {
  margin-left: auto;
  color: #fff;
  background: rgba(100, 185, 106, 0.96);
  white-space: nowrap;
}

.launcher-bar strong,
.launcher-bar span {
  display: block;
}

.launcher-bar strong {
  font-size: 18px;
  line-height: 1.1;
}

.launcher-bar span {
  font-size: 12px;
  font-weight: 800;
}

.launcher-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(680px, 92%);
  margin: 40px auto 0;
  perspective: 900px;
}

.hero-launcher-grid {
  width: min(650px, 94%);
  margin-top: 36px;
}

.launcher-tile {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
  color: #21304e;
  font-weight: 900;
  transform-style: preserve-3d;
}

.launcher-tile strong {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: min(76px, 100%);
  aspect-ratio: 1;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.44), transparent 30%),
    linear-gradient(150deg, var(--tile-light), var(--tile) 52%, var(--tile-dark));
  box-shadow:
    0 7px 0 var(--tile-base),
    0 17px 18px rgba(35, 48, 74, 0.22),
    inset 0 3px 0 rgba(255, 255, 255, 0.36),
    inset 0 -8px 14px rgba(31, 45, 79, 0.18);
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(31, 45, 79, 0.16);
  transform: rotateX(8deg) translateY(-1px);
  transform-origin: center bottom;
}

.launcher-tile strong::before {
  content: "";
  position: absolute;
  inset: 8px auto auto 10px;
  width: 28px;
  height: 10px;
  background: rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.launcher-tile strong::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px 8px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.launcher-tile:nth-child(2n) strong {
  transform: rotateX(8deg) rotateY(5deg) translateY(-1px);
}

.launcher-tile:nth-child(2n + 1) strong {
  transform: rotateX(8deg) rotateY(-5deg) translateY(-1px);
}

.launcher-tile small {
  max-width: 96px;
  padding: 3px 6px;
  overflow: hidden;
  color: #20304d;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  box-shadow: 0 5px 8px rgba(35, 48, 74, 0.10);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-mint { --tile-light: #6bf1df; --tile: #24bfa8; --tile-dark: #14877c; --tile-base: #0e6962; }
.tile-yellow { --tile-light: #ffe375; --tile: #ffbd43; --tile-dark: #d98216; --tile-base: #aa6411; }
.tile-pink { --tile-light: #ffa8cb; --tile: #ff77ad; --tile-dark: #cf4d82; --tile-base: #a13b66; }
.tile-green { --tile-light: #a9ea75; --tile: #75c950; --tile-dark: #4a9638; --tile-base: #37752a; }
.tile-blue { --tile-light: #7fa6ff; --tile: #4d7ff0; --tile-dark: #315ac0; --tile-base: #244598; }
.tile-coral { --tile-light: #ff9b85; --tile: #ff715d; --tile-dark: #d1493d; --tile-base: #a73930; }
.tile-violet { --tile-light: #ad90ff; --tile: #8a62ea; --tile-dark: #6241bb; --tile-base: #4f3496; }
.tile-cyan { --tile-light: #5fe5f3; --tile: #1bb4c6; --tile-dark: #128493; --tile-base: #0d6874; }
.tile-orange { --tile-light: #ffb46d; --tile: #ff8b46; --tile-dark: #c95c1e; --tile-base: #9d4817; }
.tile-sky { --tile-light: #85d8ff; --tile: #4eb8ee; --tile-dark: #2c82bd; --tile-base: #236794; }

.dino-screen[data-mode="parent"] .launcher-bar {
  background: rgba(17, 158, 172, 0.90);
}

.dino-screen[data-mode="parent"] .launcher-badge {
  background: #ff8b46;
}

.dino-screen[data-mode="parent"] .parent-chip {
  background: #24bfa8;
}

.dino-screen[data-mode="parent"] .tile-mint { --tile-light: #72dfd4; --tile: #2ab6a6; --tile-dark: #168274; --tile-base: #0f665c; }
.dino-screen[data-mode="parent"] .tile-yellow { --tile-light: #ffa98d; --tile: #ff815f; --tile-dark: #ce5739; --tile-base: #a4422b; }
.dino-screen[data-mode="parent"] .tile-pink { --tile-light: #8ea4ff; --tile: #5d7df8; --tile-dark: #3c58c4; --tile-base: #2e4397; }
.dino-screen[data-mode="parent"] .tile-green { --tile-light: #a2e275; --tile: #70bd52; --tile-dark: #4f8d3b; --tile-base: #3c6f2d; }
.dino-screen[data-mode="parent"] .tile-blue { --tile-light: #ffe075; --tile: #ffbd43; --tile-dark: #d98216; --tile-base: #aa6411; }
.dino-screen[data-mode="parent"] .tile-coral { --tile-light: #5a6688; --tile: #24324f; --tile-dark: #182238; --tile-base: #11182a; }
.dino-screen[data-mode="parent"] .tile-violet { --tile-light: #8adaff; --tile: #51b9ff; --tile-dark: #2f7dbe; --tile-base: #236293; }
.dino-screen[data-mode="parent"] .tile-cyan { --tile-light: #c08bff; --tile: #a15ee8; --tile-dark: #743db5; --tile-base: #59308d; }
.dino-screen[data-mode="parent"] .tile-orange { --tile-light: #6da8ff; --tile: #3d86e7; --tile-dark: #275fb1; --tile-base: #1d4989; }
.dino-screen[data-mode="parent"] .tile-sky { --tile-light: #ffa8cb; --tile: #ff77ad; --tile-dark: #cf4d82; --tile-base: #a13b66; }

.launcher-pill {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  max-width: calc(100% - 56px);
  padding: 8px 14px;
  color: #fff;
  background: rgba(32, 40, 66, 0.74);
  border: 2px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%);
}

.dino-device figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.ui-notes {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ui-notes .tab-list {
  margin: 0;
}

.ui-note-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ui-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  padding: 18px;
  background: #fff;
  border: 2px solid rgba(36, 50, 79, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(55, 62, 92, 0.08);
}

.ui-note span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-weight: 900;
}

.ui-note:nth-child(2) span { background: var(--blue); }
.ui-note:nth-child(3) span { background: var(--leaf); }
.ui-note:nth-child(4) span { background: var(--lavender); }

.ui-note h3 {
  margin: 0;
}

.ui-note p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.wallpaper-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.wallpaper-showcase article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 2px solid rgba(36, 50, 79, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(55, 62, 92, 0.08);
}

.wallpaper-showcase img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.wallpaper-showcase h3 {
  margin-bottom: 4px;
}

.wallpaper-showcase p {
  margin: 0;
  color: var(--muted);
}

.tablet-shop-section {
  background:
    linear-gradient(180deg, #fffaf0 0, #effcff 100%);
}

.shop-head {
  max-width: 900px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(36, 50, 79, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(55, 62, 92, 0.10);
}

.featured-product {
  border-color: rgba(255, 107, 107, 0.34);
  box-shadow: 0 18px 34px rgba(255, 107, 107, 0.14);
}

.product-media {
  position: relative;
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(255, 215, 94, 0.28), rgba(123, 223, 242, 0.24)),
    #fff8df;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 8px;
  background: transparent;
}

.product-sticker {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #fff;
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 6px 0 rgba(36, 50, 79, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.featured-product .product-sticker {
  background: var(--coral);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 8px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-product .product-tag {
  background: var(--blue);
}

.product-body p:not(.product-tag) {
  color: var(--muted);
}

.product-specs {
  display: grid;
  gap: 8px;
  margin: 4px 0 18px;
  padding: 0;
  color: #44526d;
  list-style: none;
  font-weight: 800;
}

.product-specs li {
  position: relative;
  padding-left: 22px;
}

.product-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  background: var(--leaf);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.72);
}

.product-body .button {
  margin-top: auto;
}

.shop-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px 18px;
  color: #44526d;
  background: #fff8df;
  border: 2px dashed rgba(255, 185, 63, 0.56);
  border-radius: 8px;
  font-weight: 800;
}

.shop-note strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.download-section {
  background:
    linear-gradient(180deg, #effcff, #fffdf4);
}

.download-layout {
  align-items: start;
}

.download-card {
  padding: 26px;
  background: #fff;
  border-style: dashed;
  border-color: rgba(255, 107, 107, 0.44);
}

.faq-section {
  background: #fffdf4;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: #fff;
  border: 2px solid rgba(36, 50, 79, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(55, 62, 92, 0.08);
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.file-name {
  color: var(--muted);
  word-break: break-word;
}

.file-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.file-meta div {
  padding: 12px;
  background: #fff8df;
}

.file-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.file-meta dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.cartoon-footer {
  padding: 36px 0;
  background: #24324f;
  color: #fff;
}

.cartoon-footer .brand {
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-inner,
  .screen-layout,
  .ui-tour,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .room-grid,
  .product-grid,
  .quick-start-strip,
  .wallpaper-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .cartoon-header {
    min-height: 66px;
    padding: 12px 20px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
    gap: 14px;
  }

  .language-switcher {
    justify-self: start;
  }

  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 34px;
  }

  .sticker-row,
  .hero-route-grid,
  .quick-start-strip,
  .room-grid,
  .product-grid,
  .wallpaper-showcase,
  .wallpaper-showcase article,
  .file-meta {
    grid-template-columns: 1fr;
  }

  .dino-screen {
    padding: 16px;
  }

  .hero-dino-device {
    perspective: none;
  }

  .hero-dino-screen {
    min-height: auto;
    transform: none;
  }

  .hero-dino-device figcaption {
    width: 100%;
  }

  .launcher-bar {
    width: 100%;
  }

  .launcher-bar strong {
    font-size: 15px;
  }

  .launcher-bar span {
    font-size: 10px;
  }

  .parent-chip {
    display: none;
  }

  .launcher-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 22px;
  }

  .launcher-tile strong {
    width: min(48px, 100%);
    font-size: 12px;
  }

  .launcher-tile small {
    max-width: 58px;
    padding: 2px 3px;
    font-size: 8px;
  }

  .launcher-pill {
    bottom: 12px;
    max-width: calc(100% - 28px);
    font-size: 9px;
  }

  .room-band,
  .screens-section,
  .tablet-shop-section,
  .download-section {
    padding: 64px 0;
  }

  .faq-section {
    padding: 64px 0;
  }

  .shop-note {
    display: grid;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }
}
