:root {
  --blue: #0a84ff;
  --green: #34c759;
  --red: #ff3b30;
  --yellow: #ffd60a;
  --orange: #ff8a00;
  --teal: #00b8a9;
  --ink: #111111;
  --muted: #5d6675;
  --line: #dadce3;
  --soft-line: #e8e8ee;
  --surface: #ffffff;
  --surface-alt: #f2f2f7;
  --warm: #fff4dd;
  --shadow: 0 18px 42px rgba(32, 34, 39, 0.12);
}

@font-face {
  font-family: "MaterialIcons";
  src: url("assets/fonts/MaterialIcons-Regular.otf?v=20260604-2") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "FontAwesomeSolid";
  src: url("assets/fonts/Font-Awesome-7-Free-Solid-900.otf?v=20260529") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "FontAwesomeRegular";
  src: url("assets/fonts/Font-Awesome-7-Free-Regular-400.otf?v=20260529") format("opentype");
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.18), transparent 360px),
    var(--surface-alt);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

section,
.section-band,
.container,
.screenshot-slider,
.phone-row,
.tablet-slider {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(218, 220, 227, 0.84);
  backdrop-filter: blur(16px);
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(255, 138, 0, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--surface-alt);
  outline: none;
}

.section-band {
  padding: clamp(52px, 7vw, 94px) clamp(18px, 5vw, 76px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  align-items: center;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  background: linear-gradient(135deg, #fff4dd, #fff8e8);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(255, 244, 221, 0.98) 0%, rgba(255, 244, 221, 0.96) 39%, rgba(255, 244, 221, 0.55) 56%, rgba(255, 244, 221, 0.04) 77%, rgba(255, 244, 221, 0) 100%);
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.h1-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.h1-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(10, 132, 255, 0.26);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  color: #2c3037;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.32;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  border-radius: 8px;
  text-decoration: none;
}

.store-badge-link:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.45);
  outline-offset: 4px;
}

.store-badge {
  width: auto;
  height: 54px;
}

.google-play-badge {
  margin: 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 34px 0 0;
}

.hero-facts div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(32, 34, 39, 0.06);
}

.hero-facts dt {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.showcase {
  background: var(--surface);
}

.slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.slider-top h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
}

.slider-controls {
  display: inline-flex;
  gap: 8px;
}

.slider-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.slider-button:hover,
.slider-button:focus-visible {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

.screenshot-slider {
  --slider-fade: 42px;
  --slider-gutter: 48px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: var(--slider-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--slider-fade),
    #000 calc(100% - var(--slider-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--slider-fade),
    #000 calc(100% - var(--slider-fade)),
    transparent 100%
  );
}

.phone-row {
  display: flex;
  gap: 18px;
  margin-inline: 0;
  padding: 2px var(--slider-gutter) 18px;
}

.phone-card,
.principle-list article,
.steps article,
.game-card,
.policy-sections article {
  background: var(--surface);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 34, 39, 0.08);
}

.phone-card {
  display: grid;
  align-content: start;
  flex: 0 0 clamp(248px, 23vw, 286px);
  justify-items: center;
  gap: 14px;
  padding: 22px;
  scroll-snap-align: start;
  text-align: center;
}

.phone-card p,
.principle-list p,
.steps p,
.game-card p,
.privacy-copy p,
.motivation-copy p,
.policy-sections p {
  margin: 10px 0 0;
  color: var(--muted);
}

.phone-frame {
  width: auto;
  height: clamp(350px, 31vw, 420px);
  padding: 10px;
  overflow: hidden;
  background: #18191c;
  border-radius: 28px;
  box-shadow: inset 0 0 0 2px #30323a, 0 18px 34px rgba(0, 0, 0, 0.18);
}

.phone-frame img {
  width: auto;
  max-width: none;
  height: 100%;
  background: #f2f2f7;
  border-radius: 20px;
}

.tablet-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  margin: clamp(32px, 5vw, 58px) calc(-1 * clamp(18px, 5vw, 76px)) 0;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 76px);
  background: linear-gradient(135deg, #f8fcff 0%, #eefaf4 100%);
}

.tablet-media {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.tablet-media .slider-top,
.tablet-slider {
  width: min(100%, 980px);
}

.tablet-slider {
  display: flex;
  gap: 14px;
  margin-inline: 0;
  padding: 2px var(--slider-gutter) 18px;
}

.tablet-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}

.tablet-frame {
  padding: 12px;
  overflow: hidden;
  background: #18191c;
  border-radius: 30px;
  box-shadow: inset 0 0 0 2px #30323a, 0 18px 34px rgba(0, 0, 0, 0.16);
}

.tablet-frame img {
  width: 100%;
  height: auto;
  background: #f2f2f7;
  border-radius: 20px;
}

.tablet-slide figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.tablet-copy {
  max-width: 420px;
}

.tablet-copy h3 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.tablet-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 18px;
  overflow: hidden;
  background: var(--surface-alt);
  border-radius: 20px;
}

.mini-topbar {
  width: 72px;
  height: 7px;
  margin: 0 auto 20px;
  background: #d8dbe4;
  border-radius: 999px;
}

.screen-menu h3 {
  text-align: left;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mini-grid span {
  display: grid;
  place-items: center;
  min-height: 54px;
  background: #ffffff;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  font-size: 28px;
}

.screen-social {
  display: grid;
  align-content: center;
  gap: 16px;
  background: linear-gradient(180deg, #eaf9ee, #fff6d5);
}

.player-pill,
.yes-no span {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 800;
}

.question-card {
  display: grid;
  place-items: center;
  min-height: 138px;
  padding: 16px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
}

.yes-no {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.screen-logic {
  display: grid;
  place-items: center;
  background: #e8f8ff;
}

.pipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}

.pipe-grid span {
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, transparent 40%, var(--teal) 40% 60%, transparent 60%),
    linear-gradient(0deg, transparent 40%, var(--teal) 40% 60%, transparent 60%),
    #ffffff;
  border: 1px solid #c7edf0;
  border-radius: 8px;
}

.pipe-grid span:nth-child(3n) {
  transform: rotate(90deg);
}

.pipe-grid span:nth-child(4n) {
  transform: rotate(45deg);
}

.motivation {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  background: linear-gradient(135deg, #fff8df, #f0fff5 50%, #eaf3ff);
}

.motivation-media {
  display: grid;
  gap: 16px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.principle-list article,
.steps article,
.policy-sections article {
  padding: 22px;
}

.principle-image {
  width: min(100%, 150px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 18px;
  padding: 8px;
  background: #ffffff;
  object-fit: cover;
  border: 1px solid rgba(218, 220, 227, 0.78);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(32, 34, 39, 0.1);
}

.how {
  background: var(--surface);
}

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

.steps article {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
}

.steps article::after {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 96px;
  height: 96px;
  background: var(--step-color, var(--blue));
  border-radius: 999px;
  content: "";
  opacity: 0.1;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  color: var(--ink);
  background: color-mix(in srgb, var(--step-color, var(--blue)) 28%, #ffffff);
  border-radius: 8px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.step-icon svg {
  width: 34px;
  height: 34px;
}

.steps article:nth-child(1) {
  --step-color: var(--blue);
}

.steps article:nth-child(2) {
  --step-color: var(--orange);
}

.steps article:nth-child(3) {
  --step-color: var(--teal);
}

.steps article:nth-child(4) {
  --step-color: var(--yellow);
}

.steps article:nth-child(5) {
  --step-color: var(--green);
}

.games {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(242, 242, 247, 0.95)),
    var(--surface-alt);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.active {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

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

.game-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 132px;
  padding: 16px;
}

.game-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--game-color, #eaf3ff);
  font-size: 30px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.game-icon .material-icon,
.game-icon .fa-icon {
  display: inline-block;
  color: #111111;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
}

.material-icon {
  font-family: "MaterialIcons";
}

.fa-solid {
  font-family: "FontAwesomeSolid";
}

.fa-regular {
  font-family: "FontAwesomeRegular";
}

.game-card h3 {
  font-size: 18px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.game-tags span {
  padding: 4px 8px;
  color: #333942;
  background: var(--surface-alt);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.show-games-button {
  display: none;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(16, 39, 33, 0.97) 0%, rgba(16, 39, 33, 0.91) 48%, rgba(16, 39, 33, 0.46) 100%),
    url("assets/optimized/privacy_footer_calm_1200.webp?v=20260604") 86% center / cover;
}

.privacy-copy {
  max-width: 900px;
}

.privacy .eyebrow,
.privacy-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.privacy .eyebrow {
  font-size: 1rem;
  font-weight: 700;
}

.privacy h2 {
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: #ffffff;
  font-weight: 900;
}

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

.policy-points span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(237, 255, 238, 0.12);
  border: 1px solid rgba(221, 255, 221, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(5, 26, 17, 0.14);
  backdrop-filter: blur(8px);
  font-weight: 900;
  line-height: 1.12;
  text-align: left;
}

.policy-points svg {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.12);
  border-radius: 8px;
  padding: 7px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.policy-points span:nth-child(2) svg {
  color: var(--teal);
  background: rgba(0, 184, 169, 0.14);
}

.policy-points span:nth-child(3) svg {
  color: var(--red);
  background: rgba(255, 59, 48, 0.12);
}

.policy-points span:nth-child(4) svg {
  color: var(--green);
  background: rgba(52, 199, 89, 0.14);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 8px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(237, 255, 238, 0.1);
  border: 1px solid rgba(221, 255, 221, 0.18);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

body > .site-footer {
  margin: 18px var(--page-gutter) 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--soft-line);
}

body > .site-footer a {
  color: var(--ink);
}

.policy-page {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #fff8df 48%, #eaf3ff);
}

.policy-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 930px);
  align-items: start;
  min-height: clamp(440px, 38vw, 560px);
}

.policy-layout > div:first-child {
  position: relative;
  z-index: 2;
}

.policy-layout h1 {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 84px);
}

.policy-updated {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.policy-grandpa-box {
  position: absolute;
  right: clamp(-150px, -9vw, -84px);
  bottom: 8px;
  z-index: 1;
  width: clamp(230px, 22vw, 330px);
  height: clamp(300px, 31vw, 420px);
  pointer-events: none;
}

.policy-grandpa-box::before {
  display: none;
  content: "";
}

.policy-grandpa-box::after {
  display: none;
  content: "";
}

.policy-grandpa {
  position: absolute;
  right: 0;
  bottom: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 18px 26px rgba(24, 60, 24, 0.24));
  transform: scaleX(-1);
}

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

.policy-sections h2 {
  margin-top: 14px;
  font-size: 24px;
}

.policy-card-icon svg {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.12);
  border-radius: 8px;
  padding: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.policy-sections article:nth-child(2n) .policy-card-icon svg {
  color: var(--teal);
  background: rgba(0, 184, 169, 0.14);
}

.policy-sections article:nth-child(3n) .policy-card-icon svg {
  color: var(--green);
  background: rgba(52, 199, 89, 0.14);
}

.policy-sections article:nth-child(4n) .policy-card-icon svg {
  color: var(--red);
  background: rgba(255, 59, 48, 0.12);
}

.policy-sections a {
  color: var(--blue);
  font-weight: 900;
}

.credits-page .policy-layout {
  min-height: auto;
}

.credits-sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .motivation,
  .privacy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .show-games-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    color: #ffffff;
    background: var(--ink);
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
  }

  .show-games-button[hidden] {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phone-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 14px;
    white-space: nowrap;
  }

  .phone-row,
  .policy-sections {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tablet-showcase {
    grid-template-columns: 1fr;
  }

  .tablet-media .slider-top,
  .tablet-slider {
    width: 100%;
  }

  .principle-list,
  .game-grid,
  .policy-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 244, 221, 0.98) 0%, rgba(255, 244, 221, 0.9) 44%, rgba(255, 244, 221, 0.18) 72%);
  }

  .hero-picture {
    top: auto;
    height: 58%;
  }

  .hero-picture img {
    object-fit: contain;
    object-position: 68% bottom;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    min-height: 520px;
  }

  .policy-grandpa-box {
    right: -96px;
    bottom: 0;
    width: 210px;
    height: 270px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .section-band {
    padding: 34px 16px;
  }

  .site-header {
    gap: 6px;
    padding: 8px 12px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 6px 7px;
    font-size: 13px;
  }

  .tablet-showcase {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .policy-page {
    padding-bottom: 28px;
  }

  .policy-layout {
    min-height: auto;
    padding-bottom: 230px;
  }

  .policy-layout h1 {
    max-width: 100%;
    font-size: clamp(40px, 13vw, 54px);
  }

  .policy-layout .hero-text {
    max-width: 92%;
    font-size: clamp(20px, 6vw, 24px);
  }

  .policy-grandpa-box {
    right: -58px;
    bottom: 4px;
    width: 204px;
    height: 252px;
  }

  .policy-sections {
    position: relative;
    z-index: 2;
    margin-top: 8px;
  }

  .hero {
    gap: 24px;
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 240px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 60px);
    line-height: 0.92;
  }

  .hero-text {
    margin-top: 16px;
    font-size: clamp(18px, 5.2vw, 21px);
    line-height: 1.28;
  }

  .store-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 22px;
  }

  .store-badge-link {
    min-width: 0;
    min-height: 0;
  }

  .store-badge {
    height: clamp(31px, 8.5vw, 38px);
  }

  .google-play-badge {
    margin: 0;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-facts div {
    column-gap: 10px;
    padding: 10px 12px;
    box-shadow: 0 6px 16px rgba(32, 34, 39, 0.05);
  }

  .hero-facts dt {
    font-size: 24px;
  }

  .hero-facts dd {
    font-size: 11px;
  }

  .hero-facts strong {
    font-size: 12px;
  }

  .principle-list,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .privacy {
    gap: 24px;
    background:
      linear-gradient(180deg, rgba(16, 39, 33, 0.96) 0%, rgba(19, 58, 42, 0.9) 56%, rgba(25, 70, 47, 0.72) 100%),
      url("assets/optimized/privacy_footer_calm_1200.webp?v=20260604") 82% center / cover;
  }

  .policy-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .policy-points span {
    min-height: 58px;
    padding: 8px 9px;
    background: rgba(231, 255, 232, 0.1);
    border-color: rgba(221, 255, 221, 0.18);
    font-size: clamp(13px, 3.7vw, 16px);
  }

  .policy-points svg {
    width: clamp(30px, 8vw, 34px);
    height: clamp(30px, 8vw, 34px);
    padding: 6px;
  }

  .privacy .site-footer {
    justify-content: flex-start;
    gap: 9px 14px;
    margin-top: 0;
    padding: 12px;
  }

  .games .section-heading h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .filters {
    gap: 7px;
    margin: 20px 0;
  }

  .filter-button {
    padding: 9px 12px;
    font-size: 14px;
  }

  .game-grid {
    gap: 9px;
  }

  .game-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    padding: 12px;
  }

  .game-icon {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .game-card h3 {
    font-size: 17px;
  }

  .game-card p {
    margin-top: 4px;
    font-size: 14px;
  }

  .game-tags {
    gap: 4px;
    margin-top: 8px;
  }

  .game-tags span {
    padding: 3px 7px;
    font-size: 11px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    height: 360px;
  }

  .phone-card {
    flex-basis: min(78vw, 300px);
  }

  .screenshot-slider {
    --slider-fade: 28px;
    --slider-gutter: 30px;
  }

  .slider-button {
    width: 38px;
    height: 38px;
    font-size: 27px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 244, 221, 1) 0%, rgba(255, 244, 221, 0.98) 56%, rgba(255, 244, 221, 0.78) 68%, rgba(255, 244, 221, 0.24) 86%, rgba(255, 244, 221, 0) 100%);
  }

  .hero-picture {
    height: 40%;
  }

  .hero-picture img {
    object-position: 65% bottom;
  }

  .game-card {
    min-height: auto;
  }
}
