/* קימי, the marketing site, second pass (Haim 23.11: "תעבור שוב על העיצוב של העמוד, אני רוצה רמה בינלאומית פסיכית").
   The app's own language (games/shared/ui/tokens.css: the font, the colours, the round corners, the solid foot under
   every button) on a page that breathes: full-width colour bands, no waves, few boxes, big confident type, the
   pictures free on the page. Site-only values start --s-. The first pass is kept in archive/2026-11-23_pre_v2/. */
:root {
  --s-blue: #1554c8; --s-blue-2: #2478f0; --s-blue-3: #4aa8ff; --s-blue-deep: #0d3a96; --s-ink-deep: #0b2f78;
  --s-top-h: 72px;
  --s-max: 1200px;
  --s-gap: clamp(16px, 2.2vw, 28px);
  --s-pad: clamp(72px, 9vw, 128px);
  --s-h2: clamp(34px, 4.6vw, 60px);
  --s-ease: cubic-bezier(.2, .9, .25, 1);
  --s-pop: cubic-bezier(.3, 1.55, .5, 1);
  --sub-math: var(--k-orange-500); --sub-heb: var(--k-blue-500); --sub-eng: var(--k-green-500); --sub-sci: #8b5cf6;
  --sub-geo: #14a3b8; --sub-hist: var(--k-wood-500); --sub-life: #e2559b; --sub-boss: var(--k-gold-700);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--s-top-h) + 8px); }
body { margin: 0; font-family: var(--k-font); font-weight: var(--k-w-regular); color: var(--k-ink); background: var(--k-n-50); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: var(--k-w-bold); margin: 0; }
p { margin: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--k-r-s); background: #fff; box-shadow: var(--k-sh-1); }
.skip:focus { top: 12px; }
:focus-visible { outline: var(--k-focus); outline-offset: var(--k-focus-gap); }
.wrap { width: min(var(--s-max), 100%); margin-inline: auto; padding-inline: var(--s-gap); }

/* ================================================ buttons: the app's, a solid foot under each */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--k-r-pill);
  font: var(--k-w-bold) 17px/1 var(--k-font); text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform var(--k-t-fast), box-shadow var(--k-t-fast), background-color var(--k-t-base), filter var(--k-t-base); }
.btn--primary { background: var(--k-accent); color: #fff; box-shadow: 0 5px 0 var(--k-orange-700); }
.btn--primary:hover { filter: brightness(1.07); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--k-orange-700); }
.btn--paper { background: #fff; color: var(--k-ink); box-shadow: 0 5px 0 var(--k-n-300); }
.btn--paper:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--k-n-300); }
.btn--ghost { min-height: 44px; padding: 0 14px; background: none; color: inherit; opacity: .85; }
.btn--ghost:hover { opacity: 1; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; box-shadow: 0 4px 0 var(--k-orange-700); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 19px; }
.btn--block { width: 100%; min-height: 58px; font-size: 18px; }
.round { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--k-ink-soft); cursor: pointer;
  box-shadow: 0 4px 0 var(--k-n-300); transition: transform var(--k-t-fast), box-shadow var(--k-t-fast), opacity var(--k-t-base); }
.round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--k-n-300); }
.round:disabled { opacity: .35; cursor: default; transform: none; }
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.round--glass { background: rgb(255 255 255 / .18); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); backdrop-filter: blur(10px); }
.round--glass:active { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }

/* ================================================ the bar on top: clear over the blue, paper once the page moves */
.top { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--s-top-h); display: flex; align-items: center; gap: 24px;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); color: #fff; transition: background var(--k-t-slow), box-shadow var(--k-t-slow), color var(--k-t-slow); }
.top.on { background: rgb(255 250 242 / .9); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgb(0 0 0 / .06); color: var(--k-ink); }
.brand { display: inline-flex; text-decoration: none; }
.brand .logo { display: block; width: auto; height: 46px; filter: drop-shadow(0 3px 4px rgb(0 20 70 / .25)); transition: transform .25s var(--s-pop); }
.brand:hover .logo { transform: rotate(-3deg) scale(1.06); }
.nav { display: flex; gap: 2px; margin-inline-start: 8px; }
.nav a { padding: 10px 14px; border-radius: var(--k-r-pill); text-decoration: none; font-weight: var(--k-w-bold); font-size: 15px; opacity: .88; transition: background var(--k-t-base), opacity var(--k-t-base); }
.nav a:hover { opacity: 1; background: rgb(255 255 255 / .16); }
.top.on .nav a:hover { background: var(--k-n-100); }
.top-act { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
@media (max-width: 900px) { .nav { display: none; } .brand .logo { height: 40px; } }

/* ================================================ the hero */
.hero { position: relative; min-height: clamp(640px, 100svh, 920px); display: flex; flex-direction: column; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(90% 75% at 33% 46%, var(--s-blue-3) 0%, var(--s-blue-2) 38%, var(--s-blue) 70%, var(--s-blue-deep) 100%); }
.hero-kimmi { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1s ease-out; }
.hero-kimmi.on { opacity: 1; }
.hero-in { flex: 1; display: flex; align-items: center; width: min(var(--s-max), 100%); margin: 0 auto; padding: calc(var(--s-top-h) + 24px) var(--s-gap) 24px; pointer-events: none; }
.hero-words { width: min(560px, 46%); pointer-events: auto; }
.hero h1 { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance;
  text-shadow: 0 5px 0 var(--s-ink-deep), 0 16px 34px rgb(5 25 80 / .3); }
.hero h1 .hl { color: var(--k-gold-500); }
.hero-sub { margin: 18px 0 30px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: rgb(255 255 255 / .9); max-width: 30em; text-wrap: pretty; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pick { position: absolute; inset-inline-end: 0; bottom: 150px; width: 66%; display: flex; justify-content: center; gap: 8px; z-index: 1; }
.chipbtn { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--k-r-pill); cursor: pointer; font: var(--k-w-bold) 14px/1 var(--k-font);
  background: rgb(255 255 255 / .92); color: var(--k-ink-soft); box-shadow: 0 3px 0 rgb(8 40 110 / .35); transition: transform var(--k-t-fast), background var(--k-t-base); }
.chipbtn:active { transform: translateY(2px); }
.chipbtn[aria-pressed="true"] { background: var(--k-gold-500); color: #5a3200; box-shadow: 0 3px 0 var(--k-gold-700); }
.chipbtn--ghost { background: rgb(255 255 255 / .16); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); backdrop-filter: blur(8px); }
/* the three values: one glass bar along the hero's foot */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); width: min(var(--s-max), calc(100% - 2 * var(--s-gap))); margin: 0 auto 32px; padding: 0;
  border-radius: 28px; background: rgb(8 30 90 / .28); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); backdrop-filter: blur(18px) saturate(1.3); }
.pillars li { display: flex; align-items: center; gap: 14px; padding: 20px 26px; }
.pillars li + li { border-inline-start: 1px solid rgb(255 255 255 / .16); }
.pi { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--k-gold-500); color: #5a3200; box-shadow: 0 4px 0 var(--k-gold-700); }
.pillars li:nth-child(2) .pi { background: var(--k-orange-500); color: #fff; box-shadow: 0 4px 0 var(--k-orange-700); }
.pillars li:nth-child(3) .pi { background: #fff; color: var(--s-blue); box-shadow: 0 4px 0 var(--k-n-300); }
.pi svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pillars p { display: flex; flex-direction: column; gap: 2px; }
.pillars b { font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.01em; }
.pillars span { font-size: 14px; opacity: .78; }
/* a tall screen: the words, then him, then the bar */
@media (max-aspect-ratio: 5/4) {
  .hero { min-height: 0; }
  .hero-in { order: 1; flex: none; padding: calc(var(--s-top-h) + 20px) 20px 0; }
  .hero-words { width: 100%; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-kimmi { order: 2; z-index: 0; position: relative; inset: auto; height: min(52svh, 480px); margin-top: 4px; }
  .hero-pick { order: 3; position: relative; bottom: auto; width: 100%; margin-top: -40px; padding: 0 16px; flex-wrap: wrap; }
  .pillars { order: 4; grid-template-columns: 1fr; margin: 18px auto 24px; }
  .pillars li { padding: 14px 18px; }
  .pillars li + li { border-inline-start: 0; border-top: 1px solid rgb(255 255 255 / .16); }
}

/* ================================================ bands */
.band { padding-block: var(--s-pad); }
.band--cream { background: var(--k-n-50); }
.band--paper { background: var(--k-n-100); }
.band--sky { background: linear-gradient(180deg, #e6f5fd, #d2ecfa); }
.band--blue { background: radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); color: #fff; }
.band--night { background: radial-gradient(70% 90% at 30% 40%, #3b1f5e, #1d0f33 60%, #120822); color: #fff; overflow: hidden; }
.head { text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 64px); }
.head h2 { font-size: var(--s-h2); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: var(--k-w-bold); font-size: 15px; color: var(--k-orange-700); }
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: currentColor; transform: rotate(45deg); }
.eyebrow--gold { color: var(--k-gold-500); }
.eyebrow--light, .head--light .eyebrow { color: var(--k-gold-500); }
.lead { margin-top: 16px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--k-ink-soft); text-wrap: pretty; }
.head--light .lead { color: rgb(255 255 255 / .82); }
.head--light h2 { text-shadow: 0 5px 0 var(--s-ink-deep); }

/* ================================================ the subjects: the pictures free on the page, five and four */
.subjects { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(8px, 2vw, 24px) var(--s-gap); }
.subj { grid-column: span 2; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; padding: 8px 4px; border-radius: 28px; transition: background var(--k-t-base); }
.subj:nth-child(6) { grid-column: 2 / span 2; }
.subj-pic { position: relative; display: grid; place-items: center; width: min(100%, 170px); aspect-ratio: 1; }
.subj-pic::before { content: ''; position: absolute; inset: 10%; border-radius: 50%; background: var(--c); transition: transform .35s var(--s-pop); }
.subj img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgb(60 30 0 / .16)); transition: transform .35s var(--s-pop); }
.subj h3 { margin-top: 12px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; }
.subj p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--k-ink-muted); max-width: 15em; }
@media (hover: hover) and (pointer: fine) {
  .subj:hover img { transform: translateY(-8px) scale(1.06) rotate(-3deg); }
  .subj:hover .subj-pic::before { transform: scale(1.12); }
}
@media (max-width: 860px) { .subjects { grid-template-columns: repeat(6, 1fr); } .subj, .subj:nth-child(6) { grid-column: span 2; } }
@media (max-width: 520px) {
  .subjects { grid-template-columns: repeat(2, 1fr); }
  .subj, .subj:nth-child(6) { grid-column: span 1; }
  .subj:last-child { grid-column: 1 / -1; justify-self: center; width: 50%; }
}

/* ================================================ the weekly board */
.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.grades { position: relative; display: flex; gap: 2px; padding: 5px; border-radius: var(--k-r-pill); background: #fff; box-shadow: 0 4px 0 #b9d9ee; }
.grades button { position: relative; z-index: 1; min-width: 50px; min-height: 42px; padding: 0 12px; border: 0; border-radius: var(--k-r-pill); background: none; cursor: pointer;
  font: var(--k-w-bold) 16px/1 var(--k-font); color: var(--k-ink-soft); transition: color var(--k-t-base); }
.grades button[aria-selected="true"] { color: #5a3200; }
.grades-lit { position: absolute; top: 5px; bottom: 5px; z-index: 0; border-radius: var(--k-r-pill); background: var(--k-gold-500); box-shadow: 0 3px 0 var(--k-gold-700);
  transition: left .45s var(--s-ease), width .45s var(--s-ease); }
.weeknav { display: flex; align-items: center; gap: 10px; }
.weeklabel { min-width: 12em; text-align: center; font-weight: var(--k-w-bold); font-size: 17px; }
.weeklabel small { display: block; margin-top: 2px; font-size: 13px; color: var(--k-ink-muted); font-weight: var(--k-w-regular); }
.board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.day { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; min-width: 0; border-radius: 24px; background: #fff; box-shadow: 0 5px 0 #c8e2f3, 0 18px 30px rgb(20 70 120 / .08); }
.day-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px 8px; }
.day-head b { font-size: 19px; letter-spacing: -.01em; }
.day-head span { font-size: 13px; color: var(--k-ink-muted); }
.day.today { box-shadow: inset 0 0 0 3px var(--k-accent), 0 5px 0 var(--k-accent-edge), 0 18px 30px rgb(20 70 120 / .1); }
.day.today .day-head b::after { content: 'היום'; margin-inline-start: 8px; padding: 3px 8px; border-radius: var(--k-r-pill); background: var(--k-accent); color: #fff; font-size: 12px; vertical-align: 2px; }
.tiles { display: flex; flex-direction: column; gap: 8px; }
.tile { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 8px; width: 100%; padding: 6px 8px 6px 6px; border: 0; border-radius: 16px; background: var(--k-n-50); text-align: start;
  font: inherit; color: inherit; cursor: pointer; transition: transform .2s var(--s-pop), background var(--k-t-base); }
.tile img { width: 50px; height: 50px; object-fit: contain; }
.tile b { display: block; font-size: 14px; line-height: 1.2; }
.tile i { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-style: normal; font-size: 12px; font-weight: var(--k-w-bold); color: var(--k-ink-muted); }
.tile i::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--k-n-300)); }
.tile .hol { margin-inline-start: 4px; padding: 1px 6px; border-radius: var(--k-r-pill); background: var(--k-gold-100); color: var(--k-gold-700); font-size: 11px; }
.tile--boss { background: linear-gradient(135deg, var(--k-gold-100), #ffe08a); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-2px) scale(1.02); background: var(--k-orange-100); } .tile--boss:hover { background: #ffd666; } }
.day--rest { background: linear-gradient(180deg, #fff, var(--k-n-50)); }
.rest { display: flex; flex-direction: column; gap: 12px; padding: 2px 4px; }
.rest p { font-size: 14px; line-height: 1.5; color: var(--k-ink-soft); }
.rest b { display: block; color: var(--k-ink); font-size: 16px; margin-bottom: 2px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 28px auto 0; padding: 0; font-size: 13px; font-weight: var(--k-w-bold); color: var(--k-ink-soft); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
@media (max-width: 1100px) {
  .board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--s-gap) 24px; margin-inline: calc(var(--s-gap) * -1); scrollbar-width: none; }
  .board::-webkit-scrollbar { display: none; }
  .day { flex: 0 0 min(250px, 72vw); scroll-snap-align: center; }
  .board-bar { justify-content: center; }
}
@media (max-width: 520px) { .grades button { min-width: 38px; padding: 0 8px; font-size: 15px; } }

/* ================================================ the games: free on the blue, each breathing a little */
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px 12px; }
.game { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: #fff; cursor: pointer; }
.game img { width: 100%; max-width: 148px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 12px 14px rgb(3 20 70 / .35)); animation: float 4.4s ease-in-out infinite; animation-delay: var(--fd, 0s); transition: transform .3s var(--s-pop); }
.game b { font-size: 15px; line-height: 1.25; text-align: center; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (hover: hover) and (pointer: fine) { .game:hover img { transform: scale(1.12) rotate(-5deg); animation-play-state: paused; } }
.game:active img { transform: scale(.95); }
@media (max-width: 520px) { .games { grid-template-columns: repeat(3, 1fr); gap: 14px 6px; } .game b { font-size: 13px; } }

/* ================================================ the boss */
.boss { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.band--night { position: relative; }
.band--night::before { content: ''; position: absolute; inset: 0; background: radial-gradient(38% 50% at 30% 55%, rgb(255 120 40 / .25), transparent 70%), radial-gradient(28% 40% at 75% 30%, rgb(120 200 255 / .14), transparent 70%); pointer-events: none; }
.boss-img { position: relative; order: 2; width: 100%; height: auto; filter: drop-shadow(0 28px 44px rgb(0 0 0 / .5)); }
.boss-words { position: relative; }
.boss-words h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -.035em; text-shadow: 0 6px 0 #0c0418; }
.boss-words p { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: rgb(255 255 255 / .82); max-width: 26em; }
@keyframes rumble { 0%, 100% { rotate: 0deg; } 20% { rotate: -1.2deg; } 40% { rotate: 1.2deg; } 60% { rotate: -.8deg; } 80% { rotate: .5deg; } }
.boss-img.in { animation: rumble .7s ease-in-out .5s 1; }
@media (max-width: 860px) { .boss { grid-template-columns: 1fr; text-align: center; } .boss-img { order: 0; } .boss-words p { margin-inline: auto; } }

/* ================================================ the worlds: a full-screen slider */
.worlds { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: #0b1230; color: #fff; isolation: isolate; }
.worlds-track { position: absolute; inset: 0; }
.wslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.wslide.on { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.wslide img, .wslide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.wslide.on img, .wslide.on video { transform: scale(1.02); }
.wslide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 8 30 / .82) 0%, rgb(6 8 30 / .25) 45%, rgb(6 8 30 / .05) 70%), linear-gradient(270deg, rgb(6 8 30 / .45), transparent 55%); }
.wslide-in { position: absolute; inset-inline-start: 0; bottom: 0; z-index: 2; width: min(var(--s-max), 100%); padding: 0 var(--s-gap) clamp(120px, 15vh, 160px); inset-inline-end: 0; margin-inline: auto; }
.wslide-in > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s var(--s-ease); }
.wslide.on .wslide-in > * { opacity: 1; transform: none; }
.wslide.on .wslide-in > :nth-child(2) { transition-delay: .12s; }
.wslide.on .wslide-in > :nth-child(3) { transition-delay: .24s; }
.wmonth { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: var(--k-r-pill); background: rgb(255 255 255 / .16); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); font-weight: var(--k-w-bold); font-size: 15px; }
.wmonth.now { background: var(--k-accent); box-shadow: 0 4px 0 var(--k-accent-edge); }
.wslide h3 { margin-top: 16px; font-size: clamp(52px, 9vw, 132px); line-height: .95; letter-spacing: -.045em; text-shadow: 0 6px 0 rgb(0 0 0 / .3), 0 20px 50px rgb(0 0 0 / .35); }
.wboss { margin-top: 16px; font-size: clamp(17px, 1.5vw, 21px); color: rgb(255 255 255 / .9); }
.wboss b { color: var(--k-gold-500); }
.worlds-ui { position: absolute; z-index: 3; top: calc(var(--s-top-h) + 28px); inset-inline: 0; display: flex; align-items: center; justify-content: space-between; width: min(var(--s-max), 100%); margin-inline: auto; padding-inline: var(--s-gap); }
.worlds-nav { display: flex; gap: 10px; }
.worlds-dots { position: absolute; z-index: 3; bottom: clamp(32px, 5vh, 52px); inset-inline: 0; display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0 var(--s-gap); list-style: none; flex-wrap: wrap; }
.worlds-dots button { position: relative; min-height: 34px; padding: 0 12px; border: 0; border-radius: var(--k-r-pill); background: rgb(255 255 255 / .14); color: rgb(255 255 255 / .8); cursor: pointer;
  font: var(--k-w-bold) 13px/1 var(--k-font); backdrop-filter: blur(8px); overflow: hidden; transition: background var(--k-t-base), color var(--k-t-base); }
.worlds-dots button:hover { background: rgb(255 255 255 / .26); color: #fff; }
.worlds-dots button[aria-current="true"] { background: #fff; color: var(--k-ink); }
.worlds-dots button[aria-current="true"]::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--k-accent); transform-origin: right; animation: wprog var(--wdur, 7s) linear forwards; }
.worlds.paused .worlds-dots button::after { animation: none; display: none; }
@keyframes wprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 700px) { .worlds-dots button { min-height: 28px; padding: 0 9px; font-size: 12px; } .wslide-in { padding-bottom: 150px; } }

/* ================================================ the ten values: no boxes, icons and words on a grid with hairlines */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--k-n-200); }
.values li { padding: 30px 22px 30px; border-bottom: 1px solid var(--k-n-200); }
.values li:not(:nth-child(5n + 1)) { border-inline-start: 1px solid var(--k-n-200); }
.values .vi { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--vc-bg); color: var(--vc); box-shadow: 0 4px 0 var(--vc-ft); transition: transform .3s var(--s-pop); }
.values li:hover .vi { transform: translateY(-4px) rotate(-6deg); }
.values .vi svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.values h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.values p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--k-ink-soft); }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); } .values li { border-inline-start: 0 !important; } .values li:nth-child(2n) { border-inline-start: 1px solid var(--k-n-200) !important; } }
@media (max-width: 520px) { .values li { padding: 20px 12px; } .values h3 { font-size: 16px; } .values p { font-size: 13px; } .values .vi { width: 42px; height: 42px; border-radius: 13px; } .values .vi svg { width: 21px; height: 21px; } }

/* ================================================ the collections: three piles of things to collect, no boxes */
.cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-gap); text-align: center; }
.col-art { position: relative; height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.col-art img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 10px 12px rgb(60 30 0 / .2)); transition: transform .35s var(--s-pop); }
.col-art img:nth-child(1) { transform: rotate(-12deg) translateX(-14px); }
.col-art img:nth-child(2) { transform: translateY(-14px); z-index: 1; }
.col-art img:nth-child(3) { transform: rotate(12deg) translateX(14px); }
.col:hover .col-art img:nth-child(1) { transform: rotate(-18deg) translateX(-30px); }
.col:hover .col-art img:nth-child(2) { transform: translateY(-24px) scale(1.06); }
.col:hover .col-art img:nth-child(3) { transform: rotate(18deg) translateX(30px); }
.col-art--stamps { flex-wrap: wrap; align-content: center; gap: 8px; width: 230px; margin-inline: auto; }
.stamp { display: grid; place-items: center; width: 100px; height: 72px; border-radius: 14px; border: 3px dashed currentColor; color: var(--c); transform: rotate(var(--r)); background: color-mix(in srgb, var(--c) 7%, #fff); transition: transform .35s var(--s-pop); }
.col:hover .stamp { transform: rotate(0deg) scale(1.05); }
.stamp svg { width: 34px; height: 34px; fill: currentColor; }
.stamp span { font-size: 11px; font-weight: var(--k-w-bold); margin-top: -4px; }
.col h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; }
.col p { margin-top: 8px; color: var(--k-ink-soft); line-height: 1.55; max-width: 22em; margin-inline: auto; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 48px; } }

/* ================================================ the plans */
.period { position: relative; display: flex; width: max-content; margin: 0 auto 40px; padding: 5px; border-radius: var(--k-r-pill); background: #fff; box-shadow: 0 4px 0 var(--k-n-200); }
.period button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--k-r-pill); background: none; cursor: pointer;
  font: var(--k-w-bold) 16px/1 var(--k-font); color: var(--k-ink-soft); transition: color var(--k-t-base); }
.period button[aria-pressed="true"] { color: #5a3200; }
.period-lit { position: absolute; top: 5px; bottom: 5px; border-radius: var(--k-r-pill); background: var(--k-gold-500); box-shadow: 0 3px 0 var(--k-gold-700); transition: left .45s var(--s-ease), width .45s var(--s-ease); }
.save { padding: 4px 9px; border-radius: var(--k-r-pill); background: var(--k-green-500); color: #fff; font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: var(--s-gap); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; border-radius: 32px; background: #fff; box-shadow: 0 6px 0 var(--k-n-200), 0 24px 44px rgb(60 30 0 / .07); }
.plan h3 { font-size: 26px; letter-spacing: -.02em; }
.plan--best { background: linear-gradient(170deg, #fff, var(--k-orange-100) 160%); box-shadow: inset 0 0 0 3px var(--k-accent), 0 6px 0 var(--k-accent-edge), 0 28px 50px rgb(246 120 43 / .18); }
.ribbon { position: absolute; top: -15px; inset-inline-end: 28px; padding: 7px 15px; border-radius: var(--k-r-pill); background: var(--k-accent); color: #fff; font-weight: var(--k-w-bold); font-size: 13px; box-shadow: 0 3px 0 var(--k-accent-edge); }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.price .num { font-size: clamp(56px, 5.4vw, 74px); font-weight: var(--k-w-bold); line-height: 1; letter-spacing: -.045em; }
.plan--best .price .num { color: var(--k-accent); }
.price .cur { font-size: 28px; font-weight: var(--k-w-bold); }
.price .per { margin-inline-start: 6px; color: var(--k-ink-muted); font-weight: var(--k-w-bold); }
.per-note { margin: 8px 0 22px; color: var(--k-ink-muted); font-size: 14px; min-height: 1.4em; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.ticks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--k-green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: 0 2px 0 var(--k-green-700); }
.plan .btn { margin-top: auto; }
.plans-free { margin-top: 30px; text-align: center; color: var(--k-ink-soft); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ================================================ about: the logo big on the blue, one line, one button */
.band--about { padding-block: clamp(80px, 10vw, 140px); }
.about { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 760px; }
.about-logo { width: min(320px, 70vw); height: auto; filter: drop-shadow(0 12px 24px rgb(0 20 70 / .35)); }
.about h2 { font-size: var(--s-h2); line-height: 1.04; letter-spacing: -.035em; text-shadow: 0 5px 0 var(--s-ink-deep); }
.about p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: rgb(255 255 255 / .85); margin-bottom: 8px; }

/* ================================================ the foot */
.foot { background: #0a2a6b; color: rgb(255 255 255 / .8); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-block: 36px calc(36px + env(safe-area-inset-bottom)); }
.foot .logo { height: 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.copy { margin-inline-start: auto; font-size: 13px; opacity: .75; }

/* ================================================ a game's card */
.game-dlg { width: min(560px, calc(100% - 32px)); padding: 22px 22px 28px; border: 0; border-radius: 32px; background: #fff; color: var(--k-ink); text-align: center; box-shadow: 0 6px 0 var(--k-n-200), 0 40px 90px rgb(10 20 60 / .45); }
.game-dlg[open] { animation: dlgIn .4s var(--s-pop); }
.game-dlg::backdrop { background: rgb(13 30 80 / .55); backdrop-filter: blur(6px); }
@keyframes dlgIn { from { transform: translateY(24px) scale(.92); opacity: 0; } }
.game-dlg form { position: absolute; inset-inline-end: 14px; top: 14px; z-index: 1; }
.dlg-film { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; margin-bottom: 20px; border-radius: 22px; background: radial-gradient(90% 90% at 50% 40%, var(--s-blue-3), var(--s-blue)); overflow: hidden; }
.dlg-film img { width: 62%; height: 92%; object-fit: contain; filter: drop-shadow(0 12px 18px rgb(0 0 0 / .3)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
.dlg-soon { position: absolute; bottom: 12px; inset-inline-start: 12px; padding: 7px 13px; border-radius: var(--k-r-pill); background: rgb(255 255 255 / .92); font-weight: var(--k-w-bold); font-size: 13px; color: var(--k-ink-soft); }
.game-dlg h3 { font-size: 30px; letter-spacing: -.02em; }
.game-dlg p { margin-top: 8px; line-height: 1.6; color: var(--k-ink-soft); }
.dlg-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.dlg-tags span { padding: 5px 11px; border-radius: var(--k-r-pill); background: var(--k-n-100); font-size: 13px; font-weight: var(--k-w-bold); color: var(--k-ink-soft); }
.dlg-tags span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: var(--c, transparent); vertical-align: 1px; }

/* ================================================ things come in once as they enter the view */
.js .pop { opacity: 0; transform: translateY(28px); }
.js .pop.in { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .8s var(--s-ease); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js .pop { opacity: 1; transform: none; }
}
/* the months on a phone: one row that slides sideways, never three rows over the name */
@media (max-width: 700px) {
  .worlds-dots { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .worlds-dots::-webkit-scrollbar { display: none; }
  .worlds-dots li { flex: none; }
  .wslide-in { padding-bottom: 96px; }
}

/* ================================================ the board, wide (Haim 25.11: "לוח השנה - רחב יותר"): the whole screen, six days in a row, each day's content */
#board .wrap { width: min(1680px, 100%); }
#board .head { max-width: 780px; }
.board { gap: 12px; }
.day { padding: 16px 12px; }
.tile { grid-template-columns: 56px 1fr; align-items: start; padding: 8px 10px 8px 8px; }
.tile img { width: 56px; height: 56px; }
.tile b { font-size: 15px; }
.tile em { display: block; margin-top: 3px; font-style: normal; font-size: 12.5px; line-height: 1.35; color: var(--k-ink-soft); }
.tile em:empty { display: none; }
.tile i { margin-top: 5px; }
@media (max-width: 1100px) { .day { flex-basis: min(270px, 76vw); } }

/* ================================================ the boss, full screen (Haim 25.11): the picture alive (a cinemagraph), the words over its foot */
.bossfull { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; background: #1a0f2e; color: #fff; isolation: isolate; }
.boss-loop, .boss-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.boss-still { z-index: -2; }
.boss-loop { z-index: -1; opacity: 0; transition: opacity .8s ease; }
.boss-loop.on { opacity: 1; }
.boss-veil { position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgb(12 6 30 / .88) 0%, rgb(12 6 30 / .35) 32%, transparent 55%); }
.bossfull-in { position: absolute; z-index: 1; inset: auto 0 0; padding-bottom: clamp(40px, 7vh, 80px); text-align: center; }
.bossfull-in h2 { font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.045em; text-shadow: 0 6px 0 #0c0418, 0 20px 50px rgb(0 0 0 / .5); }
.bossfull-in p:not(.eyebrow) { margin: 16px auto 0; max-width: 34em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgb(255 255 255 / .9); }
.bossfull .boss-still, .bossfull .boss-loop { transform: scale(1.06); transition: transform 8s ease-out, opacity .8s ease; }
.bossfull.in-view .boss-still, .bossfull.in-view .boss-loop { transform: none; }
@media (max-aspect-ratio: 1/1) { .boss-loop, .boss-still { object-position: 46% 50%; } }

/* the worlds come in like a camera diving into them (Haim 25.11) */
.wslide img, .wslide video { transform: scale(1.28); filter: blur(8px) saturate(1.2); transition: transform 1.6s cubic-bezier(.2,.9,.25,1), filter 1.2s ease; }
.wslide.on img, .wslide.on video { transform: scale(1.02); filter: none; }
.wslide.on h3 { animation: wname 1.1s cubic-bezier(.2,.9,.25,1) both .15s; }
@keyframes wname { from { letter-spacing: .12em; opacity: 0; filter: blur(10px); } to { letter-spacing: -.045em; opacity: 1; filter: none; } }
.pillars .count { display: inline-block; min-width: 1.2em; font-variant-numeric: tabular-nums; }
/* the boss's words at the side, over the snake's coils, so the two kids stay seen in the middle */
.bossfull-in { text-align: start; inset-inline: 0; }
.bossfull-in > * { max-width: 30rem; }
.bossfull-in h2 { font-size: clamp(42px, 5.6vw, 84px); }
.bossfull-in p:not(.eyebrow) { margin-inline: 0; }
.boss-veil { background: linear-gradient(0deg, rgb(12 6 30 / .8) 0%, rgb(12 6 30 / .2) 30%, transparent 50%), linear-gradient(270deg, rgb(12 6 30 / .55) 0%, transparent 42%); }
@media (max-aspect-ratio: 1/1) { .bossfull-in { text-align: center; } .bossfull-in > * { margin-inline: auto; } .bossfull-in p:not(.eyebrow) { margin-inline: auto; } }
@media (min-aspect-ratio: 1/1) {
  .boss-loop, .boss-still { object-position: 64% 40%; }   /* (the two kids a little left of the middle, the words on the right over the coils) */
  .bossfull-in > * { max-width: 26rem; }
}

/* ================================================ the nine subjects in ONE row (Haim 25.11: "תשעה תחומים... בשורה אחת"); a row that slides sideways on a small screen */
#subjects .wrap { width: min(1560px, 100%); }
.subjects { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.subj, .subj:nth-child(6), .subj:last-child { grid-column: auto; justify-self: stretch; width: auto; }
.subj-pic { width: min(100%, 150px); }
.subj h3 { font-size: clamp(16px, 1.25vw, 20px); }
.subj p { font-size: 13px; }
@media (max-width: 1100px) {
  .subjects { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--s-gap) * -1); padding: 4px var(--s-gap) 10px; }
  .subjects::-webkit-scrollbar { display: none; }
  .subj { flex: 0 0 clamp(120px, 30vw, 160px); scroll-snap-align: center; }
}

/* ================================================ no seams (Haim 25.11: "לא צריך פסים שמפרידים בין האזורים... אני רוצה את המעברים בין האזורים חלקים"):
   every area melts into the next. Each area's top is painted, under its content, in the colour the area above ends
   with, fading into its own; so the eye flows from blue into cream into sky into blue into the night of the boss,
   without one hard line on the page */
.band, .bossfull, .worlds { position: relative; }
.band > .wrap { position: relative; z-index: 1; }
.band::before, .bossfull::before, .worlds::before, .foot::before {
  content: ''; position: absolute; inset: 0 0 auto; height: var(--melt-h, 180px); z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--melt) 0%, color-mix(in srgb, var(--melt) 55%, transparent) 38%, transparent 100%); }
#subjects { --melt: #0f43ad; --melt-h: 220px; padding-top: clamp(110px, 12vw, 160px); }
#board { --melt: var(--k-n-50); --melt-h: 200px; }
#games { --melt: #d2ecfa; --melt-h: 220px; padding-top: clamp(110px, 12vw, 160px); }
#boss { --melt: #0f45a8; --melt-h: 240px; }
#boss::before { z-index: 1; }
#worlds { --melt: #0c061e; --melt-h: 200px; }
#worlds::before { z-index: 2; }
#values { --melt: #070a24; --melt-h: 260px; padding-top: clamp(120px, 13vw, 180px); }
#collections { --melt: var(--k-n-50); --melt-h: 200px; }
#plans { --melt: var(--k-n-100); --melt-h: 200px; }
#about { --melt: var(--k-n-50); --melt-h: 220px; padding-top: clamp(120px, 12vw, 170px); }
.foot { position: relative; --melt: #0f43ad; --melt-h: 120px; }
.foot-in { position: relative; z-index: 1; }
/* (the boss's own foot and the worlds' foot already fade to night; the hero's foot to the same blue the subjects start from) */
.hero { background: radial-gradient(90% 75% at 33% 46%, var(--s-blue-3) 0%, var(--s-blue-2) 38%, var(--s-blue) 70%, var(--s-blue-deep) 100%), #0f43ad; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 140px; z-index: -1; background: linear-gradient(180deg, transparent, #0f43ad); pointer-events: none; }
.bossfull .boss-veil { background: linear-gradient(0deg, #0c061e 0%, rgb(12 6 30 / .7) 14%, rgb(12 6 30 / .2) 34%, transparent 52%), linear-gradient(270deg, rgb(12 6 30 / .55) 0%, transparent 42%); }
.wslide::after { background: linear-gradient(0deg, #070a24 0%, rgb(6 8 30 / .82) 8%, rgb(6 8 30 / .25) 45%, rgb(6 8 30 / .05) 70%), linear-gradient(270deg, rgb(6 8 30 / .45), transparent 55%); }
.top.on { box-shadow: none; }
/* (each area ends in exactly the colour the next one starts from, so the melt has no edge to hide) */
#games { background: linear-gradient(180deg, transparent 72%, #0f45a8 100%), radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); }
#about { background: linear-gradient(180deg, transparent 70%, #0f43ad 100%), radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); }
.worlds { background: #070a24; }

/* ================================================ the hero's two Kimmis on one stage (Haim 25.11): the page draws the blue and its rays now, both frames are see-through */
.hero-rays { position: absolute; inset: -30%; z-index: -2; pointer-events: none; opacity: .16; background: repeating-conic-gradient(from 0deg at 33% 46%, #fff 0deg 6deg, transparent 6deg 18deg); animation: heroRays 90s linear infinite; }
@keyframes heroRays { to { transform: rotate(360deg); } }
@media (max-aspect-ratio: 5/4) { .hero-rays { background: repeating-conic-gradient(from 0deg at 50% 46%, #fff 0deg 6deg, transparent 6deg 18deg); } }
.hero-kimmi { pointer-events: none; }
.hero-kimmi.lead { pointer-events: auto; z-index: 0; }
#heroKimmi2 { z-index: -1; }
#heroKimmi2.lead { z-index: 0; }
@media (max-aspect-ratio: 5/4) { #heroKimmi2 { position: absolute; top: auto; bottom: auto; left: 0; right: 0; } }

/* (the words always above both Kimmis) */
.hero-in { position: relative; z-index: 2; }
.hero-pick { z-index: 3; }
@media (max-aspect-ratio: 5/4) { #heroKimmi2 { margin-top: 0; } }

/* the rays, softer, turning round Kimmi himself and never cut (Haim 25.11: "קרני האור חזקות מדי, והן לא מסתובבות סביב
   המרכז, והן נחתכות. צריך שיהיו מאחורי קימי"): one big square centred on him, turning on its own middle, fading out
   toward its edges so no corner ever shows */
.hero-rays { inset: auto; width: 260vmax; height: 260vmax; left: calc(33% - 130vmax); top: calc(48% - 130vmax); opacity: .09;
  background: repeating-conic-gradient(from 0deg at 50% 50%, #fff 0deg 5deg, transparent 5deg 15deg); transform-origin: 50% 50%;
  -webkit-mask: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / .7) 22%, rgb(0 0 0 / .25) 48%, transparent 70%);
  mask: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / .7) 22%, rgb(0 0 0 / .25) 48%, transparent 70%); }
@media (max-aspect-ratio: 5/4) { .hero-rays { left: calc(50% - 130vmax); top: calc(66% - 130vmax); background: repeating-conic-gradient(from 0deg at 50% 50%, #fff 0deg 5deg, transparent 5deg 15deg); } }
@media (prefers-reduced-motion: reduce) { .hero-rays { animation: none; } }
.hero-rays { top: calc(54% - 130vmax); }
@media (max-aspect-ratio: 5/4) { .hero-rays { top: calc(66% - 130vmax); } }

/* ================================================ the hero's colours follow Kimmi's scene (Haim 25.11: "הקרניים שמאחורי קימי תמיד
   צריכות להיות, הן לא צריכות להתחלף לקרניים אחרות או להיעלם, אלא רק לשנות צבעים"): one blue, one set of rays, always; a scene
   only slides the four colours of the light to its own and back */
@property --h1 { syntax: '<color>'; inherits: true; initial-value: #4aa8ff; }
@property --h2 { syntax: '<color>'; inherits: true; initial-value: #2478f0; }
@property --h3 { syntax: '<color>'; inherits: true; initial-value: #1554c8; }
@property --h4 { syntax: '<color>'; inherits: true; initial-value: #0d3a96; }
.hero { --h1: var(--s-blue-3); --h2: var(--s-blue-2); --h3: var(--s-blue); --h4: var(--s-blue-deep);
  background: radial-gradient(90% 75% at 33% 46%, var(--h1) 0%, var(--h2) 38%, var(--h3) 70%, var(--h4) 100%), var(--h4);
  transition: --h1 1.4s ease, --h2 1.4s ease, --h3 1.4s ease, --h4 1.4s ease; }
@media (max-aspect-ratio: 5/4) { .hero { background: radial-gradient(90% 75% at 50% 60%, var(--h1) 0%, var(--h2) 38%, var(--h3) 70%, var(--h4) 100%), var(--h4); } }
.hero::after { display: none; }
.hero[data-theme="space"]   { --h1: #5b4bd0; --h2: #33288f; --h3: #1e1760; --h4: #0e0b34; }
.hero[data-theme="castle"]  { --h1: #e0708a; --h2: #8a3a86; --h3: #55246e; --h4: #2e1650; }
.hero[data-theme="magic"]   { --h1: #b98cff; --h2: #7b4ae0; --h3: #5530b8; --h4: #2e1878; }
.hero[data-theme="kitchen"] { --h1: #ffb45e; --h2: #f2873c; --h3: #d9622a; --h4: #a8401c; }
.hero[data-theme="lab"]     { --h1: #57dccb; --h2: #24b0a6; --h3: #168a8f; --h4: #0d5f6e; }
.hero[data-theme="sport"]   { --h1: #7fd86a; --h2: #44b04a; --h3: #2d8c3c; --h4: #1b6230; }
.hero[data-theme="sky"]     { --h1: #7fd0ff; --h2: #42a6ef; --h3: #2a84d6; --h4: #1b5fae; }
.hero[data-theme="book"]    { --h1: #ffc45a; --h2: #eea23a; --h3: #d27e22; --h4: #9c5514; }
.hero[data-theme="party"]   { --h1: #ff8fd0; --h2: #d05ad6; --h3: #8a3ccc; --h4: #4c2896; }

/* ================================================ no fading between areas whose colours clash (Haim 25.11: "לא עושים גרדיאנט
   כשהצבעים מנוגדים כל כך"): blue against cream meets on a clean line; only near colours still melt into each other */
#subjects::before, #games::before, #values::before, #about::before { display: none; }
#subjects, #games, #values, #about { padding-top: var(--s-pad); }
#games, #about { background: radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); }
#games { background: linear-gradient(180deg, transparent 72%, #0f45a8 100%), radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); }
#about { background: linear-gradient(180deg, transparent 70%, #0f43ad 100%), radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); }

/* ================================================ the games: 8 in a row (Haim 25.11 "30 משחקים, כל יום אחרים - 8 בשורה"); the
   last, short row in the middle. Fewer across on smaller screens */
#games .wrap { width: min(1400px, 100%); }
.games { display: flex; flex-wrap: wrap; justify-content: center; --per: 8; --gx: 14px; gap: 26px var(--gx); }
.games > li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gx)) / var(--per)); min-width: 0; }
@media (max-width: 1100px) { .games { --per: 6; } }
@media (max-width: 760px) { .games { --per: 4; --gx: 10px; } }
@media (max-width: 520px) { .games { --per: 3; --gx: 6px; gap: 14px var(--gx); } }

/* ================================================ the five things on the hero's foot (Haim 25.11: "את האזור הזה שים על הפס בין ההירו
   לאזור שמתחת, ושים שם 5 דברים"): half on the blue, half on the cream, one white bar */
.pillars-edge { position: relative; z-index: 5; height: 0; }
.pillars-edge .pillars { position: absolute; inset-inline: 0; top: 0; transform: translateY(-50%); grid-template-columns: repeat(5, 1fr);
  width: min(1320px, calc(100% - 2 * var(--s-gap))); margin: 0 auto; border-radius: 26px; background: #fff; color: var(--k-ink);
  box-shadow: 0 6px 0 var(--k-n-200), 0 26px 50px rgb(10 40 110 / .22); backdrop-filter: none; }
.pillars-edge .pillars li { padding: 18px 18px; gap: 12px; }
.pillars-edge .pillars li + li { border-inline-start: 1px solid var(--k-n-200); }
.pillars-edge .pillars b { font-size: clamp(15px, 1.25vw, 19px); }
.pillars-edge .pillars span { opacity: 1; color: var(--k-ink-soft); font-size: 13px; }
.pillars-edge .pillars b span { color: inherit; font-size: inherit; }
.pillars-edge .pillars li:nth-child(3) .pi { background: var(--k-teal-500, #19b7a6); color: #fff; box-shadow: 0 4px 0 var(--k-teal-700, #0f8577); }
.pillars-edge .pillars li:nth-child(4) .pi { background: var(--s-blue-2); color: #fff; box-shadow: 0 4px 0 var(--s-blue-deep); }
.pillars-edge .pillars li:nth-child(5) .pi { background: #8b5cf6; color: #fff; box-shadow: 0 4px 0 #6237c8; }
.hero { padding-bottom: 70px; }
#subjects { padding-top: calc(var(--s-pad) + 70px); }
@media (max-width: 1100px) {
  .pillars-edge .pillars { grid-template-columns: repeat(6, 1fr); }
  .pillars-edge .pillars li { grid-column: span 2; }
  .pillars-edge .pillars li:nth-child(4), .pillars-edge .pillars li:nth-child(5) { grid-column: span 3; border-top: 1px solid var(--k-n-200); }
  .pillars-edge .pillars li:nth-child(4) { border-inline-start: 0; }
  .hero { padding-bottom: 120px; }
  #subjects { padding-top: calc(var(--s-pad) + 120px); }
}
@media (max-width: 640px) {
  .pillars-edge .pillars { grid-template-columns: 1fr 1fr; }
  .pillars-edge .pillars li, .pillars-edge .pillars li:nth-child(4), .pillars-edge .pillars li:nth-child(5) { grid-column: auto; padding: 14px 12px; border-top: 1px solid var(--k-n-200); border-inline-start: 0; }
  .pillars-edge .pillars li:nth-child(-n+2) { border-top: 0; }
  .pillars-edge .pillars li:nth-child(even) { border-inline-start: 1px solid var(--k-n-200); }
  .pillars-edge .pillars li:nth-child(5) { grid-column: span 2; }
  .hero { padding-bottom: 170px; }
  #subjects { padding-top: calc(var(--s-pad) + 170px); }
}

/* ================================================ the header (Haim 25.11 "בהדר הלוגו צריך להיות באמצע והתפריט מימין"): the menu on the
   right, the logo in the middle, the buttons on the left */
.top { display: grid; grid-template-columns: 1fr auto 1fr; }
.top .nav { justify-self: start; margin-inline-start: 0; }
.top .brand { justify-self: center; }
.top .top-act { justify-self: end; margin-inline-start: 0; }
/* (the whole bar seen on the first screen: the hero a little shorter than the screen; the menu one line, or away on a narrow screen;
   the logo at the start of a phone's header, where there is no room for three columns) */
.hero { min-height: clamp(600px, calc(100svh - 64px), 860px); }
.top .nav { grid-column: 1; white-space: nowrap; }
.top .brand { grid-column: 2; }
.top .top-act { grid-column: 3; }
@media (max-width: 1180px) { .top .nav { display: none; } }
@media (max-width: 640px) {
  .top { grid-template-columns: auto 1fr; }
  .top .brand { grid-column: 1; justify-self: start; }
  .top .top-act { grid-column: 2; }
}

/* ================================================ the worlds (Haim 25.11 "החודשים בעולמות צריכים להיות למעלה. מתחתיהם ממורכז ולמעלה
   כל שאר התוכן"): the months along the top, under them in the middle the line, the month, the world's name and its boss;
   the arrows at the two sides; the picture darkened from the top now, where the words are */
.worlds-dots { top: calc(var(--s-top-h) + 22px); bottom: auto; }
.worlds-ui { position: static; }
.worlds-ui .eyebrow { position: absolute; z-index: 3; top: calc(var(--s-top-h) + 84px); inset-inline: 0; justify-content: center; text-align: center; margin: 0; }
.worlds-nav { position: absolute; z-index: 3; top: 50%; inset-inline: var(--s-gap); justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.worlds-nav .round { pointer-events: auto; }
.wslide-in { top: calc(var(--s-top-h) + 124px); bottom: auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--s-gap); }
.wslide h3 { margin-top: 14px; }
.wslide::after { background: linear-gradient(180deg, rgb(6 8 30 / .8) 0%, rgb(6 8 30 / .45) 34%, rgb(6 8 30 / .08) 62%, transparent 75%), linear-gradient(0deg, #070a24 0%, rgb(7 10 36 / 0) 16%); }
@media (max-width: 700px) {
  .worlds-ui .eyebrow { top: calc(var(--s-top-h) + 70px); }
  .wslide-in { top: calc(var(--s-top-h) + 104px); padding-bottom: 0; }
  .worlds-nav { top: auto; bottom: 28px; transform: none; justify-content: center; gap: 12px; }
}
/* (the plans right under the worlds, Haim 25.11 "המנוי של קימי צריך להיות מתחת לעולמות": night against cream meets on a clean line) */
#plans::before { display: none; }

/* ================================================ the boss's sky goes on up into the games (Haim 25.11 "ברקע של 30 משחקים ... צריך המשך
   של השמיים של הבוסים שהולכים ומתכהים לכחול"): the picture's top row, stretched upwards and placed exactly as the picture is
   (the same width and the same side), darkening into the games' blue; so the eye goes down from blue into the bosses' sky
   with no line. (boss_sky.webp: the picture's top rows, softened sideways) */
#games { background: radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); }
#games::after { content: ''; position: absolute; inset: auto 0 0; height: clamp(260px, 34vw, 520px); z-index: 0; pointer-events: none;
  background: linear-gradient(270deg, rgb(12 6 30 / .55) 0%, transparent 42%), url(/marketing/site/boss/boss_sky.webp?v=1) 50% 0 / max(100%, calc(clamp(560px, 100svh, 1100px) * 2.333)) 100% no-repeat;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgb(0 0 0 / .82) 22%, rgb(0 0 0 / .4) 58%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, rgb(0 0 0 / .82) 22%, rgb(0 0 0 / .4) 58%, transparent 100%); }
@media (min-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 64% 0; } }
@media (max-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 46% 0; } }
#boss::before { display: none; }
.bossfull .boss-still, .bossfull .boss-loop { transform: none; }   /* (no zoom: its top row must stay where the sky above ends) */
/* (the same softened sky laid over the picture's top too, fading down into it: both sides of the join the same colours) */
#boss::before { display: block; content: ''; position: absolute; inset: 0 0 auto; height: clamp(90px, 12vw, 170px); z-index: 0; pointer-events: none;
  background: linear-gradient(270deg, rgb(12 6 30 / .55) 0%, transparent 42%), url(/marketing/site/boss/boss_sky.webp?v=2) 50% 0 / max(100%, calc(clamp(560px, 100svh, 1100px) * 2.333)) 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .6) 35%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .6) 35%, transparent 100%); }
@media (min-aspect-ratio: 1/1) { #boss::before { background-position: 0 0, 64% 0; } }
@media (max-aspect-ratio: 1/1) { #boss::before { background-position: 0 0, 46% 0; } }
#games::after { background-image: linear-gradient(270deg, rgb(12 6 30 / .55) 0%, transparent 42%), url(/marketing/site/boss/boss_sky.webp?v=2); }
#boss::before { background-image: url(/marketing/site/boss/boss_sky.webp?v=2); background-size: max(100%, calc(clamp(560px, 100svh, 1100px) * 2.333)) 100%; background-position: 50% 0; background-repeat: no-repeat; }   /* (the veil over the picture darkens its side already) */
@media (min-aspect-ratio: 1/1) { #boss::before { background-position: 64% 0; } }
@media (max-aspect-ratio: 1/1) { #boss::before { background-position: 46% 0; } }

/* ================================================ behind all the games, the bosses' sky continued upwards (Haim 25.11: "ביקשתי תמונת
   המשך למעלה, שפשוט תהיה באזור שמאחורי כל המשחקים"): the picture above the boss picture (boss_sky_up.webp, the same picture
   outpainted upwards), the same width and side as the boss picture below, standing on the games' foot so its bottom row
   meets the picture's top row; its top fades into the games' blue. (In place of the stretched strip of before) */
#games { background: radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep)); }
#games::after { content: ''; position: absolute; inset: 0; height: auto; z-index: 0; pointer-events: none; -webkit-mask-image: none; mask-image: none;
  background: linear-gradient(180deg, #1554c8 0%, rgb(21 84 200 / .85) 12%, rgb(21 84 200 / 0) 42%),
    url(/marketing/site/boss/boss_sky_up.webp?v=1) 50% 100% / max(100%, calc(clamp(560px, 100svh, 1100px) * 2.333)) auto no-repeat; }
@media (min-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 64% 100%; } }
@media (max-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 46% 100%; } }
#boss::before { display: none; }
#games .game b { text-shadow: 0 2px 6px rgb(10 20 60 / .55); }
/* (the boss picture's veil darkens its side; the sky above carries the same, so no step at the join) */
#games::after { background-image: linear-gradient(180deg, #1554c8 0%, rgb(21 84 200 / .85) 12%, rgb(21 84 200 / 0) 42%), linear-gradient(270deg, rgb(12 6 30 / .55) 0%, transparent 42%), url(/marketing/site/boss/boss_sky_up.webp?v=1);
  background-size: auto, auto, max(100%, calc(clamp(560px, 100svh, 1100px) * 2.333)) auto; background-repeat: no-repeat; }
@media (min-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 0 0, 64% 100%; } }
@media (max-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 0 0, 46% 100%; } }
/* (the boss picture lives, so its top row moves; its still top laid over the first rows of the film, fading down into it,
   keeps the join with the sky above exact) */
#boss::before { display: block; content: ''; position: absolute; inset: 0 0 auto; height: clamp(70px, 9vw, 130px); z-index: 0; pointer-events: none;
  background: url(/marketing/site/boss/boss.webp?v=2) 50% 0 / max(100%, calc(clamp(560px, 100svh, 1100px) * 2.333)) auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .7) 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .7) 30%, transparent 100%); }
@media (min-aspect-ratio: 1/1) { #boss::before { background-position: 64% 0; } }
@media (max-aspect-ratio: 1/1) { #boss::before { background-position: 46% 0; } }

/* (the worlds: no month card on the picture; the month of now is the orange one in the row of months, Haim 25.11
   "לא צריך את הכרטיס הזה, פשוט שלמעלה בסינונים נובמבר יהיה כתום") */
.worlds-dots button.now { background: var(--k-accent); color: #fff; box-shadow: 0 3px 0 var(--k-accent-edge); }
.worlds-dots button.now[aria-current="true"] { background: var(--k-accent); color: #fff; }
.worlds-dots button.now[aria-current="true"]::after { background: #fff; }

/* ================================================ the games' blue back over the sky (Haim 25.11 "צריך להחזיר את הגרדיאנט הכחול שהיה
   קודם מאחורי המשחקים, רק יותר רך למטה, ולוודא שאין את פס ההפרדה הזה"): the blue of before over the whole area, thinning
   softly towards the foot, where the bosses' sky shows through; and the join made from one picture on both sides: the
   sky's continuation also lays the first rows of the boss picture (as the same outpainted picture has them), fading into
   the living picture, so no row of the join changes picture */
#games { isolation: isolate; }
#games::before { display: block; content: ''; position: absolute; inset: 0; height: auto; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 70% at 50% 0%, var(--s-blue-2), var(--s-blue) 55%, var(--s-blue-deep));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgb(0 0 0 / .78) 58%, rgb(0 0 0 / .35) 78%, transparent 97%);
  mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgb(0 0 0 / .78) 58%, rgb(0 0 0 / .35) 78%, transparent 97%); }
#games::after { z-index: -1; background-image: linear-gradient(270deg, rgb(12 6 30 / .55) 0%, transparent 42%), url(/marketing/site/boss/boss_sky_up.webp?v=1);
  background-size: auto, max(100%, calc(clamp(560px, 100svh, 1100px) * 2.333)) auto; }
@media (min-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 64% 100%; } }
@media (max-aspect-ratio: 1/1) { #games::after { background-position: 0 0, 46% 100%; } }
#boss::before { top: -1px; background-image: url(/marketing/site/boss/boss_top_bridge.webp?v=1); background-position-y: 1px; }

/* ================================================ the plans, made to be chosen (Haim 25.11: "אני רוצה שכל הורה שיראה את העמוד הזה,
   ילחץ באותו רגע"): Kimmi himself by the prices, in his gold light, answering the parent; the family card the big one;
   the price also by the day, what was, what is saved; one strong button each; what is in it in one line of numbers */
#plans { overflow: hidden; }
#plans .head .lead { max-width: 34em; margin-inline: auto; }
.plans-stage { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 400px); justify-content: center; align-items: end; gap: 26px; }
.plans-stage .plans { display: contents; }
.plans-kimmi { position: relative; align-self: stretch; min-height: 520px; }
.pk-rays { position: absolute; inset: -8% -30% -4%; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 58%, rgb(255 190 60 / .55) 0deg 7deg, transparent 7deg 20deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% 58%, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 58%, #000 25%, transparent 100%);
  animation: heroRays 80s linear infinite; }
.pk-rays::after { content: ''; position: absolute; inset: 22% 18%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 214 120 / .7), transparent); }
.pk-frame { position: absolute; inset: 40px -40px 0; z-index: 1; width: calc(100% + 80px); height: calc(100% - 40px); border: 0; opacity: 0; transition: opacity .9s ease; }
.pk-frame.on { opacity: 1; }
.pk-say { position: absolute; z-index: 2; top: 0; inset-inline: 10px; margin: 0; padding: 12px 18px; border-radius: 22px; background: #fff; text-align: center; font-weight: var(--k-w-bold); font-size: 16px; line-height: 1.35;
  box-shadow: 0 4px 0 var(--k-n-200), 0 16px 30px rgb(60 30 0 / .08); animation: pkSay .6s var(--s-pop) both; }
.pk-say::after { content: ''; position: absolute; bottom: -9px; inset-inline-start: 50%; width: 18px; height: 18px; background: #fff; transform: translateX(50%) rotate(45deg); border-radius: 0 0 5px 0; box-shadow: 3px 3px 0 var(--k-n-200); }
@keyframes pkSay { from { opacity: 0; transform: translateY(8px) scale(.94); } }

.plan { padding: 30px 30px 28px; transition: transform .35s var(--s-pop), box-shadow .35s ease; }
@media (hover: hover) { .plan:hover { transform: translateY(-6px); } }
.plan h3 { font-size: 30px; }
.plan-who { margin-top: 4px; color: var(--k-ink-soft); font-size: 15px; }
.plan--best { padding-top: 38px; transform-origin: 50% 100%; }
@media (min-width: 1101px) { .plan--best { padding-block: 44px 34px; } }
.price { flex-wrap: wrap; align-items: baseline; margin-top: 16px; }
.price .was { flex-basis: 100%; height: 0; overflow: visible; color: var(--k-ink-muted); font-size: 18px; font-weight: var(--k-w-bold); text-decoration-thickness: 2px; transform: translateY(-6px); }
.price .was:empty { display: none; }
.price { padding-top: 18px; }
.price .num { display: inline-block; }
.price .num.flip { animation: numFlip .55s var(--s-pop); }
@keyframes numFlip { 0% { transform: translateY(-14px) scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }
.plan--best .price .num { font-size: clamp(64px, 6.2vw, 88px); }
.per-note { margin: 6px 0 12px; }
.perday { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 22px; font-size: 15px; color: var(--k-ink-soft); }
.perday b { padding: 5px 12px; border-radius: var(--k-r-pill); background: var(--k-gold-100, #fff3cf); color: #7a4a00; font-size: 15px; }
.plan--best .perday b { background: var(--k-orange-100); color: var(--k-orange-700); }
.perday .saved { padding: 5px 11px; border-radius: var(--k-r-pill); background: var(--k-green-500); color: #fff; font-weight: var(--k-w-bold); font-size: 13px; }
.perday .saved:empty { display: none; }
.ticks { gap: 11px; margin-bottom: 26px; }
.btn--go { gap: 10px; min-height: 60px; font-size: 19px; }
.btn--go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--s-pop); }
.btn--go:hover svg { transform: translateX(-5px); }
.plan--best .btn--go { min-height: 66px; font-size: 20px; box-shadow: 0 6px 0 var(--k-accent-edge), 0 18px 34px rgb(246 120 43 / .35); animation: goGlow 2.8s ease-in-out infinite 1.5s; }
@keyframes goGlow { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.035); } 90% { transform: scale(.99); } }
.plans-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 44px auto 0; padding: 18px 26px; width: max-content; max-width: 100%; list-style: none; border-radius: var(--k-r-pill); background: #fff; box-shadow: 0 4px 0 var(--k-n-200); font-size: 15px; color: var(--k-ink-soft); }
.plans-in b { color: var(--k-ink); font-size: 18px; margin-inline-end: 3px; }
.plans-free { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.plans-free svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--k-green-500); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .pk-rays, .plan--best .btn--go { animation: none; } }
@media (max-width: 1100px) {
  .plans-stage { grid-template-columns: repeat(2, minmax(0, 420px)); }
  .plans-kimmi { grid-column: 1 / -1; min-height: 340px; width: min(420px, 100%); justify-self: center; }
}
@media (max-width: 760px) {
  .plans-stage { grid-template-columns: minmax(0, 460px); gap: 22px; }
  .plans-kimmi { min-height: 300px; }
  .pk-say { font-size: 15px; }
  .plans-in { border-radius: 24px; gap: 8px 18px; }
}
.price .was { order: 5; flex-basis: auto; height: auto; transform: none; margin-inline-start: 10px; align-self: center; }

/* (Kimmi's picture where he will stand, until the living Kimmi is there; then it fades as he fades in) */
.hero-poster { position: absolute; z-index: -1; pointer-events: none; max-width: none; transition: opacity .45s ease; }
.hero.kimmi-live .hero-poster { opacity: 0; }
.hero-kimmi { transition: opacity .45s ease-out; }
@media (max-aspect-ratio: 5/4) { .hero-poster { z-index: 0; } }

/* ================================================ the home page on a phone (Haim 27.11 "כן, 1 עד 4"): a shorter page.
   1) the games: nine, and a button for all of them; 2) the plans: a small Kimmi beside his bubble, so the price comes at once;
   3) the values: one row to slide through; 4) the hero: the first part of the line, so Kimmi stands higher */
.games-more { display: none; }
.hero-sub .sub-more { display: inline; }
@media (max-width: 760px) {
  .games--short > li:nth-child(n + 10) { display: none; }
  .games-more { display: flex; width: max-content; margin: 26px auto 0; padding-inline: 28px; }

  .plans-kimmi { min-height: 200px; }
  .pk-rays { inset: -25% 15% -25% -25%; background: repeating-conic-gradient(from 0deg at 50% 60%, rgb(255 190 60 / .55) 0deg 7deg, transparent 7deg 20deg); }
  .pk-frame { inset: 0 auto 0 -10px; width: 62%; height: 100%; }
  .pk-say { top: 50%; inset-inline-start: 0; inset-inline-end: auto; width: 52%; transform: translateY(-50%); animation: none; text-align: start; }
  .pk-say::after { bottom: auto; top: 50%; inset-inline-start: auto; inset-inline-end: -7px; transform: translateY(-50%) rotate(45deg); box-shadow: 3px -3px 0 var(--k-n-200); }

  .values { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border-top: 0; margin-inline: calc(-1 * var(--s-gap)); padding: 4px var(--s-gap) 16px; scrollbar-width: none; }
  .values::-webkit-scrollbar { display: none; }
  .values li { flex: 0 0 74%; scroll-snap-align: center; border: 0 !important; border-radius: 24px; background: #fff; box-shadow: 0 4px 0 var(--k-n-200); padding: 22px 18px !important; }
  .values p { font-size: 15px !important; }

  .hero-sub .sub-more { display: none; }
}

/* ================================================ the header on scroll, real glass (Haim 27.11 "בגלילה הרקע של ההדר צריך להיות באפקט זכוכית
   יפה יותר"): a thin warm tint that lets the page show through, a strong blur with more colour, a light edge on top and a
   hairline of light at the foot, and a soft shadow; it eases in */
.top { transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, -webkit-backdrop-filter .35s ease; }
.top.on {
  background: linear-gradient(180deg, rgb(255 252 246 / .72), rgb(255 248 238 / .55));
  -webkit-backdrop-filter: blur(22px) saturate(1.8) brightness(1.04); backdrop-filter: blur(22px) saturate(1.8) brightness(1.04);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .75), inset 0 -1px 0 rgb(255 255 255 / .35), 0 1px 0 rgb(60 30 0 / .06), 0 10px 30px -12px rgb(40 30 80 / .22);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .top.on { background: rgb(255 250 242 / .95); } }

/* ================================================ the buttons, pressed like real keys (Haim 27.11 "צריך אפקטי הובר יפים הרבה יותר, כמו
   'לחיצה', על הכפתורים"): under the pointer a button rises a little on its thick edge, a light sweeps across it and a
   soft glow comes under it; pressed, it sinks onto its edge and springs back. The same on every raised button of the page */
.btn--primary, .btn--paper, .round, .period button[aria-pressed="true"], .games-more {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s ease, filter .2s ease, background-color .2s ease; }
.btn--primary::after, .btn--paper::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .45) 48%, transparent 66%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0; opacity: 0; transition: background-position .65s ease, opacity .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { filter: brightness(1.06) saturate(1.08); transform: translateY(-3px); box-shadow: 0 8px 0 var(--k-orange-700), 0 16px 26px -8px rgb(246 120 43 / .55); }
  .btn--paper:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--k-n-300), 0 16px 26px -10px rgb(60 30 0 / .25); }
  .btn--primary:hover::after, .btn--paper:hover::after { opacity: 1; background-position: -30% 0; }
  .btn--sm:hover { box-shadow: 0 7px 0 var(--k-orange-700), 0 14px 22px -8px rgb(246 120 43 / .5); }
  .round:hover { transform: translateY(-2px) scale(1.06); }
  .games-more:hover { transform: translateY(-3px); }
}
.btn--primary:active, .btn--paper:active, .games-more:active { transform: translateY(4px) scale(.98); filter: brightness(.97); transition-duration: .06s; }
.btn--primary:active { box-shadow: 0 1px 0 var(--k-orange-700), 0 4px 10px -6px rgb(246 120 43 / .5); }
.btn--paper:active, .games-more:active { box-shadow: 0 1px 0 var(--k-n-300); }
.round:active { transform: translateY(2px) scale(.94); transition-duration: .06s; }
.plan--best .btn--go:hover { animation: none; box-shadow: 0 9px 0 var(--k-accent-edge), 0 22px 38px -6px rgb(246 120 43 / .5); }
.plan--best .btn--go:active { box-shadow: 0 1px 0 var(--k-accent-edge), 0 6px 12px -6px rgb(246 120 43 / .5); }
@media (prefers-reduced-motion: reduce) { .btn--primary, .btn--paper, .round, .games-more { transition: none; } .btn--primary::after, .btn--paper::after { display: none; } }

/* ================================================ what we learn (Haim 27.11 "אין מצב שהטקסטים לא יהיו באותו גובה, בעיקר הכותרות"; "יש כאן
   יותר מדי רווח"): the subjects come in by fading only, all on one line the whole time (each rising on its own delay left
   them at different heights while they came); their pictures and titles on one line; less room down to the weekly board */
.subjects { align-items: start; }
.js .subjects .pop, .js .subjects .pop.in { transform: none; }
.subj { justify-content: flex-start; }
.subj h3 { line-height: 1.2; }
#subjects { padding-bottom: clamp(36px, 4vw, 64px); }
#board { padding-top: clamp(40px, 4.5vw, 72px); }
#board { --melt-h: 110px; }

/* ================================================ the three albums, open on this month's page (the app's own books), side by side across
   the section; an item that comes in pops into its place with a little light */
#collections .wrap { width: min(1480px, 100%); }
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.album-host { height: clamp(380px, 31vw, 480px); min-width: 0; opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s var(--s-ease); }
.albums.on .album-host { opacity: 1; transform: none; }
.albums.on .album-host:nth-child(2) { transition-delay: .12s; }
.albums.on .album-host:nth-child(3) { transition-delay: .24s; }
.album-host .kc-slot { cursor: default; }
.kc-slot.hp-pop > :first-child { animation: hpPop .75s cubic-bezier(.2, 1.6, .4, 1) both; }
.kc-slot.hp-pop { position: relative; }
.kc-slot.hp-pop::after { content: ''; position: absolute; inset: -12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 230 140 / .85), rgb(255 200 80 / 0)); animation: hpGlow .9s ease-out both; }
@keyframes hpPop { 0% { transform: scale(.2) rotate(-25deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1) rotate(var(--tilt, 0deg)); } }
@keyframes hpGlow { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
@media (max-width: 1100px) { .album-host { height: 400px; } }
@media (max-width: 900px) {
  .albums { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--s-gap)); padding: 6px var(--s-gap) 18px; }
  .albums::-webkit-scrollbar { display: none; }
  .album-host { flex: 0 0 min(86%, 440px); height: 380px; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .kc-slot.hp-pop > :first-child, .kc-slot.hp-pop::after { animation: none; } }
.album-host .kc-nav { display: none; }
.album-host .kc-mapbtn, .album-host .kc-count { display: none; }
.album-host { height: clamp(420px, 35vw, 540px); }
@media (max-width: 900px) { .album-host { height: 400px; } }

/* ================================================ why parents choose Kimmi, a richer board (Haim 27.11 "צריך עיצוב הרבה יותר יפה לאזור הזה"):
   cards instead of ruled cells; the two that matter most big across the top, in their own colour with their icon large in
   the corner; the eight others under them, four by four; each numbered, each rising under the pointer with its icon tilting */
@media (min-width: 761px) {
  .values { counter-reset: v; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-top: 0; }
  .values li { counter-increment: v; position: relative; overflow: hidden; isolation: isolate; padding: 28px 26px 26px !important; border: 0 !important; border-radius: 28px;
    background: #fff; box-shadow: 0 5px 0 var(--k-n-200), 0 18px 34px -18px rgb(60 30 0 / .18); transition: transform .3s var(--s-pop), box-shadow .3s ease; }
  .values li::after { content: counter(v, decimal-leading-zero); position: absolute; top: 20px; inset-inline-end: 24px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--vc); opacity: .55; }
  .values li:nth-child(-n + 2) { grid-column: span 2; padding: 34px 34px 32px !important; min-height: 230px;
    background: radial-gradient(120% 120% at 0% 100%, color-mix(in srgb, var(--vc-bg) 92%, #fff), #fff 70%); }
  .values li:nth-child(-n + 2)::before { content: ''; position: absolute; z-index: -1; inset-inline-start: -30px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%;
    background: var(--vc-bg); opacity: .7; }
  .values li:nth-child(-n + 2) h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -.02em; }
  .values li:nth-child(-n + 2) p { font-size: 17px; max-width: 30em; }
  .values li:nth-child(-n + 2) .vi { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 18px; }
  .values li:nth-child(-n + 2) .vi svg { width: 32px; height: 32px; }
  .values .vi { width: 54px; height: 54px; border-radius: 17px; }
  .values h3 { font-size: 20px; }
  .values p { font-size: 15px; }
}
@media (min-width: 761px) and (hover: hover) {
  .values li:hover { transform: translateY(-6px); box-shadow: 0 9px 0 var(--k-n-200), 0 28px 44px -20px rgb(60 30 0 / .28); }
  .values li:hover .vi { transform: translateY(-3px) rotate(-8deg) scale(1.06); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(-n + 2) { grid-column: span 2; }
}

/* ================================================ the game's card: its loop, and the trial game (Haim 27.11) */
.dlg-film { overflow: hidden; }
.dlg-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dlg-acts { display: flex; justify-content: center; margin-top: 22px; }
.dlg-acts .btn svg { width: 22px; height: 22px; fill: currentColor; }
.try-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #0d3a96; display: none; }
.try-dlg[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.try-dlg::backdrop { background: rgb(8 20 60 / .7); }
.try-dlg iframe { width: 100%; height: 100%; border: 0; background: #1554c8; }
.try-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgb(255 252 246 / .9), rgb(255 248 238 / .82)); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 -10px 30px -12px rgb(0 0 0 / .3); }
.try-bar .btn { min-height: 50px; }
@media (max-height: 500px) { .try-bar { padding-block: 8px; } .try-bar .btn { min-height: 42px; font-size: 15px; padding-inline: 18px; } }

/* ================================================ the parents' report (Haim 1.12 "הדוגמה של הדוח באתר, עם המוקאפ"; then
   "אזור יפה שלם של המוקאפ באמצע, ובצדדים כל מיני הערות"): a laptop and a phone in the middle, the real report scrolling
   in each (object-position moves down the tall picture), three notes on each side pointing in. Still for reduced motion. */
.report > .wrap { --s-max: 1480px; }
.report-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.rnotes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.6vw, 34px); }
.rnote { position: relative; display: grid; gap: 10px; padding: 18px 18px 16px; border-radius: 22px; background: #fff; box-shadow: 0 5px 0 #cfe0ee, 0 18px 34px rgb(6 32 90 / .1); }
.rnote p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--k-ink-soft); }
.rnote b { display: block; margin-bottom: 4px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.3; color: var(--k-ink); }
/* (a dashed line and a dot from each note in toward the screens) */
.rnote::after { content: ''; position: absolute; top: 34px; width: clamp(14px, 2.2vw, 34px); border-top: 2px dashed #9ec3e6; }
.rnote::before { content: ''; position: absolute; top: 29px; width: 12px; height: 12px; border-radius: 50%; background: #1554c8; box-shadow: 0 0 0 4px #d2ecfa; z-index: 1; }
.rnotes--a .rnote::after { inset-inline-start: 100%; } .rnotes--a .rnote::before { inset-inline-start: calc(100% + clamp(14px, 2.2vw, 34px) - 6px); }
.rnotes--b .rnote::after { inset-inline-end: 100%; } .rnotes--b .rnote::before { inset-inline-end: calc(100% + clamp(14px, 2.2vw, 34px) - 6px); }
.rnotes--a .n2, .rnotes--b .n5 { margin-inline: 0 -8%; } .rnotes--b .n5 { margin-inline: -8% 0; }
.ri { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 4px 0 rgb(0 0 0 / .07); }
.ri svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ri--teal { background: #d9f6f1; color: #0f9f8f; } .ri--blue { background: #e3edff; color: #1554c8; } .ri--orange { background: #ffe6cc; color: #e2631b; }
.ri--gold { background: #fff3c9; color: #a77400; } .ri--pink { background: #ffe3ef; color: #d63d7f; } .ri--purple { background: #efe6ff; color: #7a4ee0; }
.rstick { display: flex; gap: 2px; margin-top: 2px; }
.rstick img { width: 25%; max-width: 54px; height: auto; filter: drop-shadow(0 3px 4px rgb(6 32 90 / .18)); animation: rbob 3.6s ease-in-out infinite; }
.rstick img:nth-child(2) { animation-delay: -.9s; } .rstick img:nth-child(3) { animation-delay: -1.8s; } .rstick img:nth-child(4) { animation-delay: -2.7s; }
@keyframes rbob { 50% { transform: translateY(-5px) rotate(-4deg); } }

.report-stage { position: relative; aspect-ratio: 1.18; }
.report-stage::before { content: ''; position: absolute; inset: 8% 4% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .9), rgb(255 255 255 / 0)); }
.report-stage .scr { position: relative; overflow: hidden; background: #1554c8; }
.report-stage .scr img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; animation: rscroll 24s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes rscroll { 0%, 14% { object-position: 50% 0%; } 86%, 100% { object-position: 50% 100%; } }
.laptop { position: absolute; top: 4%; left: 2%; width: 88%; filter: drop-shadow(0 30px 34px rgb(6 32 90 / .28)); }
.laptop .lid { position: relative; padding: 2.2% 2.2% 3%; border-radius: 18px 18px 6px 6px; background: linear-gradient(160deg, #2b3346, #141a26); box-shadow: inset 0 0 0 1.5px #3c4660; }
.laptop .cam { position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3a4458; }
.laptop .scr { aspect-ratio: 16 / 10; border-radius: 6px; }
.laptop .base { position: relative; height: 0; padding-bottom: 3.4%; margin: 0 -7%; border-radius: 0 0 22px 22px; background: linear-gradient(#e7ebf2, #b9c2d0 60%, #98a2b3); box-shadow: inset 0 2px 0 #fff8; }
.laptop .base span { position: absolute; top: 0; left: 50%; width: 16%; height: 40%; margin-left: -8%; border-radius: 0 0 10px 10px; background: #a6afbd; }
.phone { position: absolute; bottom: 0; right: 0; width: 26%; padding: 2%; border-radius: 30px; background: linear-gradient(160deg, #2b3346, #0f141e); box-shadow: inset 0 0 0 1.5px #46506a, 0 30px 44px rgb(6 32 90 / .34); transform: rotate(3deg); }
.phone .scr { aspect-ratio: 9 / 19.5; border-radius: 23px; }
.phone .scr img { animation-duration: 32s; animation-delay: -6s; }
.phone .island { position: absolute; z-index: 1; top: 2.2%; left: 50%; width: 32%; height: 3.2%; margin-left: -16%; border-radius: 99px; background: #0b0f17; }
.report-cta { margin: clamp(34px, 4vw, 52px) 0 0; text-align: center; }
@media (max-width: 1080px) {
  .report-wrap { grid-template-columns: 1fr 1fr; }
  .report-stage { grid-column: 1 / -1; grid-row: 1; max-width: 760px; width: 100%; margin: 0 auto 8px; }
  .rnote::before, .rnote::after { display: none; }
  .rnotes--a .n2, .rnotes--b .n5 { margin-inline: 0; }
}
@media (max-width: 640px) { .report-wrap { grid-template-columns: 1fr; } .rnotes { gap: 12px; } .rnote { grid-template-columns: 42px 1fr; align-items: start; gap: 12px; padding: 14px; } .rnote .ri { width: 42px; height: 42px; } .rnote .rstick { grid-column: 2; } .rnote p { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .report-stage .scr img, .rstick img { animation: none; } }
