.landing {
  --hero: #c6ecf6; --page-ink: #163c4b; --page-muted: #536b74;
  --button: #ffcf70; --button-ink: #173c49; --hero-ink: #163c4b; --line: #dbe5e9; --page-end: #eef8fa;
  background: var(--page-end); color: var(--page-ink); font-family: Nunito, sans-serif; line-height: 1.6;
}
.landing[data-app='pasakos'] {
  --hero: #5b4385; --page-ink: #37274f; --page-muted: #73667f;
  --button: #ffe08c; --button-ink: #37274f; --hero-ink: #fff9ed; --line: #e8e0ee; --page-end: #f0e9f7;
}
.landing::before { display: none; }
.landing main { background: #fff; }
.landing img { max-width: 100%; height: auto; display: block; }
.landing a { color: inherit; }
.landing h1, .landing h2, .landing h3 { font-family: Nunito, sans-serif; font-weight: 900; margin: 0; }
.landing button { font: inherit; }
.landing-wrap { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.landing-header { background: var(--hero); color: var(--hero-ink); border: 0; box-shadow: none; }
.landing-header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.landing-brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.landing-brand img { width: 45px; height: 45px; border-radius: 12px; }
.landing-header-actions { justify-self: end; }
.landing-header-actions > .landing-text-link { display: none; }
.landing-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 37px; border: 0; border-radius: 32px; background: var(--button); color: var(--button-ink) !important; font-size: 18px; font-weight: 900 !important; text-decoration: none; cursor: pointer; transition: background .15s; }
.landing-cta:hover { background: #ffe6aa; }
.landing-cta svg { display: none; }
.landing-cta-small { min-height: 45px; padding: 10px 25px; font-size: 14px; }
.landing a:focus-visible, .landing button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.landscape-device { position: absolute; width: 100%; left: 0; top: 96px; transform: rotate(-5deg); background: #20313c; padding: 3px; border: 6px solid #20313c; border-radius: 27px; box-shadow: 0 16px 32px #1a23391c; z-index: 2; }
.landscape-device img { width: 100%; border-radius: 18px; }
.landing-character { object-fit: contain; pointer-events: none; }
.content-topics { display: flex; align-items: center; justify-content: center; gap: 55px; flex-wrap: wrap; padding: 27px 0 30px; color: var(--page-muted); font-size: 14px; font-weight: 700; }
.landing-section { padding: 66px 0 75px; scroll-margin-top: 0; }
.landing-section-heading { max-width: 690px; margin: 0 auto 42px; text-align: center; }
.landing-section-heading h2 { font-size: clamp(32px, 3.8vw, 47px); line-height: 1.15; letter-spacing: -1.5px; }
.landing-section-heading p { margin: 15px 0 0; color: var(--page-muted); font-size: 16px; }
.landing-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.landing-shot { min-width: 0; margin: 0; }
.landing-shot a { display: block; background: #20313c; border: 4px solid #20313c; padding: 2px; border-radius: 19px; text-decoration: none; box-shadow: 0 9px 24px #1a233915; }
.landing-shot a img { width: 100%; border-radius: 13px; }
.landing-shot figcaption { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; padding-top: 16px; }
.landing-shot-icon { width: 88px; height: 88px; flex-shrink: 0; }
.landing-shot-icon .landing-character { display: block; width: 88px; height: 88px; object-fit: contain; object-position: center; margin: 0; }
.landing-shot-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-size: 21px; font-weight: 900; line-height: 1.25; }
.landing-shot-copy strong { font-weight: inherit; }
.landing-shot-copy p { margin: 0; color: var(--page-muted); font-size: 15px; font-weight: 400; line-height: 1.65; }
.landing-gallery-phones { width: min(910px, 100%); margin-inline: auto; gap: 60px; }
.landing-gallery-phones .landing-shot a { border-radius: 29px; max-width: 245px; margin-inline: auto; }
.landing-gallery-phones .landing-shot img { border-radius: 23px; }
.landing-gallery-phones figcaption { max-width: 245px; margin-inline: auto; text-align: left; font-size: 18px; }
.story-feature { padding: 76px 0; }
.story-feature-cream { background: #fff8e8; }
.story-feature-lavender { background: #f2ecf9; }
.story-feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-feature-copy { width: 100%; max-width: 520px; justify-self: center; }
.story-feature-title { display: flex; align-items: center; gap: 14px; }
.story-feature-title > .landing-character { width: 64px; height: 64px; flex: 0 0 64px; }
.story-feature-title h2 { min-width: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.15; letter-spacing: -1.2px; }
.story-feature-copy p { margin: 22px 0 0; color: var(--page-muted); font-size: 22px; line-height: 1.65; }
.story-feature-visual { width: min(285px, 100%); margin: 0; justify-self: center; }
.story-feature-visual a { display: block; padding: 4px; border: 6px solid #25313e; border-radius: 36px; background: #25313e; box-shadow: 0 16px 35px #37274f1a; transform: rotate(3deg); }
.story-feature-visual img { width: 100%; border-radius: 26px; }
.story-feature-reverse .story-feature-copy { grid-column: 2; grid-row: 1; }
.story-feature-reverse .story-feature-visual { grid-column: 1; grid-row: 1; }
.story-feature-reverse .story-feature-visual a { transform: rotate(-3deg); }
.friends-band { background: #fff0c7; padding: 48px 0; }
.progress-band { background: #d9f0e6; padding: 48px 0; }
.friends-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 65px; align-items: center; }
.friends-inner-flip { grid-template-columns: 1fr 1.25fr; }
.friends-art { width: 100%; min-width: 0; padding: 15px 0; }
.friends-art .landscape-device { position: relative; width: 100%; left: auto; top: auto; transform: rotate(-3deg); }
.friends-inner-flip .friends-art .landscape-device { transform: rotate(3deg); }
.friends-art img { width: 100%; }
.friends-inner h2 { font-size: clamp(31px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -1.4px; }
.friends-inner p { margin: 17px 0 0; color: #6e6349; max-width: 290px; font-size: 16px; }
.progress-band .friends-inner p { color: #3f6a58; }
.landing-gallery-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.landing-gallery-progress { width: min(820px, 100%); margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.download-band { background: var(--page-end); }
.download-friends { display: flex; align-items: end; gap: 5px; margin-bottom: 19px; }
.download-friends img { width: 76px; height: 76px; }
.landing-start { padding: 62px 0; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.landing-start h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -1px; }
.landing-start p { margin: 14px 0 0; color: var(--page-muted); font-size: 13px; }
.store-buttons { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 12px; }
a.store-button,
button.store-button,
.store-button {
  min-width: 154px;
  min-height: 58px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #243640;
  color: #fff;
  border: 0;
  border-radius: 10px;
  text-align: left;
  text-decoration: none;
  font: inherit;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
a.store-button:link,
a.store-button:visited,
a.store-button:hover,
a.store-button:active {
  color: #fff;
  text-decoration: none;
}
.store-button-icon { display: inline-flex; width: 24px; height: 24px; flex-shrink: 0; color: #fff; }
.store-button svg { width: 24px; height: 24px; display: block; }
.store-button > span:last-child { display: grid; line-height: 1.2; gap: 3px; color: #fff; }
.store-button small { font-size: 10px; color: #fff; opacity: .85; }
.store-button strong { font-size: 17px; white-space: nowrap; color: #fff; font-weight: 700; }
.store-button[href]:hover { transform: translateY(-2px); box-shadow: 0 6px 15px #18344224; }
.store-button:disabled { cursor: default; background: #43545e; border: 1px dashed #ffffff55; }
.landing[data-app='pasakos'] .store-button { background: #49365e; }
.landing[data-app='pasakos'] .store-button:disabled { background: #62546e; }
.landing-footer { width: 100%; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; text-align: left; }
.landing-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0 24px; font-size: 12px; color: var(--page-muted); }
.landing-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.landing-footer nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.landing [data-reveal] { transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .65, .3, 1); }
.landing [data-reveal='pending'] { opacity: 0; transform: translateY(20px); }
@media (max-width: 1024px) {
  .landing-wrap { width: calc(100% - 48px); }
  .landing-header-inner { gap: 20px; }
  .story-feature-inner { gap: 35px; }
  .landing-gallery { gap: 24px; }
  .landing-gallery-phones { gap: 40px; }
  .landing-start { flex-direction: column; align-items: start; gap: 25px; }
}
@media (max-width: 700px) {
  .landing { text-align: center; }
  .landing-wrap { width: calc(100% - 36px); }
  .landing-header-inner { min-height: 76px; gap: 20px; padding-block: 14px; }
  .landing-brand { gap: 8px; }
  .landing-brand img { width: 36px; height: 36px; border-radius: 9px; }
  .landing-cta-small { min-height: 39px; padding: 8px 22px; font-size: 13px; }
  .landscape-device { width: 97%; left: 2%; top: 72px; border-width: 5px; padding: 2px; border-radius: 22px; }
  .landscape-device img { border-radius: 15px; }
  .content-topics { justify-content: center; gap: 8px 22px; padding-block: 22px; font-size: 12px; }
  .landing-section { padding: 42px 0 49px; }
  .landing-section-heading { text-align: center; margin-bottom: 30px; }
  .landing-section-heading h2 { font-size: 34px; letter-spacing: -1px; }
  .landing-section-heading p { font-size: 14px; }
  .landing-gallery-games,
  .landing-gallery-progress { grid-template-columns: 1fr; gap: 31px; }
  .landing-shot figcaption { display: block; padding-top: 16px; text-align: center; }
  .landing-shot-icon, .landing-shot-copy { display: contents; }
  .landing-shot-icon .landing-character { display: inline-block; width: 48px; height: 48px; vertical-align: middle; margin-right: 8px; }
  .landing-shot-copy strong { font-size: 22px; line-height: 1.3; vertical-align: middle; }
  .landing-shot-copy p { margin-top: 10px; }
  .landing-gallery-phones { width: 100%; grid-template-columns: repeat(3, 235px); gap: 21px; padding: 4px 6px 17px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .landing-gallery-phones .landing-shot { scroll-snap-align: start; }
  .landing-gallery-phones figcaption { font-size: 18px; }
  .story-feature { padding: 43px 0 50px; }
  .story-feature-inner { grid-template-columns: 1fr; gap: 31px; }
  .story-feature-title { display: block; }
  .story-feature-title > .landing-character { display: inline-block; width: 52px; height: 52px; margin-right: 8px; vertical-align: middle; }
  .story-feature-title h2 { display: inline; font-size: 36px; letter-spacing: -.8px; vertical-align: middle; }
  .story-feature-copy p { margin-top: 18px; font-size: 18px; line-height: 1.75; }
  .story-feature-visual { width: min(260px, calc(100% - 20px)); }
  .story-feature-reverse .story-feature-copy,
  .story-feature-reverse .story-feature-visual { grid-column: auto; grid-row: auto; }
  .friends-band,
  .progress-band { padding: 36px 0 42px; }
  .friends-inner,
  .friends-inner-flip { grid-template-columns: 1fr; gap: 21px; }
  .friends-art { max-width: 460px; justify-self: center; }
  .friends-inner h2 { font-size: 35px; }
  .friends-inner p { font-size: 15px; max-width: none; }
  .landing-start { padding: 40px 0; align-items: center; }
  .landing-start h2 { font-size: 32px; }
  .download-friends { justify-content: center; }
  .store-buttons { gap: 10px; width: 100%; justify-content: center; }
  .store-button { min-width: 0; flex: 1; gap: 9px; padding: 10px 12px; }
  .store-button strong { font-size: 15px; }
  .landing-footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 14px; padding-block: 23px; }
  .landing-footer nav { justify-content: center; gap: 2px 22px; }
}
@media (max-width: 360px) {
  .landing-brand img { width: 32px; height: 32px; }
  .landing-cta-small { padding-inline: 17px; }
  .store-button { padding-inline: 9px; gap: 6px; }
  .store-button svg { width: 20px; }
  .store-button strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.landing) { scroll-behavior: auto; }
  .landing-cta { transition: none; }
  .landing [data-reveal] { opacity: 1; transform: none; transition: none; }
}
