/* Yoyo Studio — mobile-first, RTL. Brand tokens live here only. */
:root {
  --navy: #0D2A4C;
  --burgundy: #5D1832;
  --gold: #CCA667;
  --cream: #F8F5EE;
  --paper: #FFFFFF;
  --gold-soft: #EFE4CC;
  --ink: #0D2A4C;
  --muted: #4A5B70;
  --radius: 18px;
  --shadow: 0 2px 0 rgba(13, 42, 76, .06), 0 8px 24px rgba(13, 42, 76, .08);
  --wrap: 960px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
p { margin: 0 0 .8em; }

.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--navy); color: var(--cream); padding: .5em 1em; z-index: 10; }
.skip:focus { inset-inline-start: 0; }


main { max-width: var(--wrap); margin: 0 auto; padding: 0 16px 32px; }

/* Buttons & chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 22px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none;
}
.btn--primary { background: var(--burgundy); color: var(--cream); }
.btn--outline { background: var(--paper); color: var(--navy); border: 2px solid var(--navy); }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--navy); font-size: 14px; font-weight: 500; }
.chip--gold { background: var(--gold); }
.chip--link { text-decoration: none; transition: filter .15s; }
.chip--link:hover, .chip--link:focus-visible { filter: brightness(1.08); text-decoration: underline; }
.link-arrow { font-weight: 700; white-space: nowrap; }
.link-arrow::after { content: " ←"; }

/* Hero */
.hero { text-align: center; padding: 28px 0 8px; }
.hero__title { font-size: 44px; font-weight: 800; direction: ltr; letter-spacing: -.5px; }
.hero__title::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 3px; background: var(--gold); margin: 10px auto 0; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 32em; margin: 12px auto 18px; }
.hero-cast {
  list-style: none; margin: 0 auto 20px; padding: 0;
  display: flex; align-items: flex-end; justify-content: center;
  direction: ltr; max-width: 560px;
  border-bottom: 4px solid var(--gold);
}
.hero-cast__item { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.hero-cast__item img { max-height: 190px; width: auto; }
.hero-cast__item--captain { flex-grow: 1.35; justify-content: flex-start; }
.hero-cast__item--captain img { max-height: 200px; }
.hero-cast__item--sailor img { max-height: 140px; }
.hero-cast__item--globy img { max-height: 135px; }

/* Sections */
.section { margin-top: 36px; }
.section__title { font-size: 26px; font-weight: 800; }
.section--soft { background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* Apps */
.apps { display: grid; gap: 14px; }
.app-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
  border-inline-start: 6px solid var(--gold);
}
.app-card__mascot { width: 72px; flex: none; }
/* An app icon (square, rounded in the file) instead of a character: a bit smaller so the card keeps its height. */
.app-card__mascot--icon { width: 64px; height: 64px; margin-inline: 4px; border-radius: 14px; }
.app-card__name { font-size: 22px; font-weight: 800; margin-bottom: .2em; }
.app-card__name[dir="ltr"] { text-align: right; }
.app-card__line { color: var(--muted); }
.app-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
/* Official Google Play badge (unaltered; the PNG carries Google's clear space). */
.apps__more { margin: 16px 0 0; text-align: center; }
.app-card__links { margin-top: 8px; }
.play-badge { display: inline-block; line-height: 0; border-radius: 8px; }
.play-badge img { width: 150px; height: auto; display: block; }
.play-badge:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.app-card__name .flag { width: 30px; height: 22px; vertical-align: -3px; margin-inline-start: 4px; display: inline-block; }
.app-card__comics { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.app-card__comics-title { font-size: 14px; font-weight: 700; color: var(--burgundy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.app-card__comics ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.app-card__comics img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; display: block; box-shadow: var(--shadow); }

/* Video */
.video-card { background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.video-card__name { font-size: 22px; color: var(--gold); }
.video-links { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.video-links li { flex: 1 1 0; min-width: 120px; max-width: 180px; }
.video-links .btn { width: 100%; padding: 10px 8px; background: var(--cream); border-color: var(--cream); }

/* "יש לך רעיון לאפליקציה?" — Edison listens, button to the suggestion form */
.idea-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 16px 16px 18px; box-shadow: var(--shadow);
  border-inline-start: 6px solid var(--gold); margin-top: 14px;
}
.idea-card__edison { flex: 0 0 118px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.idea-card__edison img { width: 104px; height: auto; }
.idea-bubble {
  position: relative; margin: 0; padding: 8px 10px; border-radius: 14px;
  background: var(--gold-soft); color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center;
}
.idea-bubble::after {
  content: ""; position: absolute; bottom: -7px; inset-inline-start: 50%; margin-inline-start: -7px;
  border-width: 7px 7px 0; border-style: solid; border-color: var(--gold-soft) transparent transparent;
}
.idea-card__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.idea-card__lead { margin: 0; font-weight: 500; }
.idea-card__body .btn { align-self: flex-start; }
.idea-card__note { margin: 0; color: var(--muted); font-size: 14px; }
.section--ideas-page { margin-top: 8px; }

/* Page head */
.page-head { padding: 24px 0 4px; }
.page-head h1 { font-size: 36px; font-weight: 800; }
.toc { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--gold); color: var(--navy); text-decoration: none; font-weight: 500; }

/* Characters */
.chars { display: grid; gap: 18px; margin-top: 18px; }
.char { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 72px; }
.char__art {
  height: 260px; display: flex; align-items: flex-end; justify-content: center;
  padding: 16px 16px 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, var(--gold-soft) 0 60%, transparent 61%), var(--cream);
  border-bottom: 4px solid var(--gold);
  direction: ltr;
}
.char__art img { max-height: 100%; width: auto; }
/* The captain cutout ends in a straight edge on its left and bottom (the source art is cropped).
   It sits flush against the left side of the box so the edge reads as a frame, not a cut. */
.char__art--captain { justify-content: flex-start; padding-left: 0; }
.char__body { padding: 16px 18px 18px; }
.char__app { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--burgundy); text-transform: none; }
.char__name { font-size: 28px; font-weight: 800; }
.char__line { font-weight: 700; font-size: 18px; }
.char__story { color: var(--muted); margin: 0; }
.char__credit { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--gold); font-size: 15px; font-weight: 500; color: var(--burgundy); }

/* Comics */
.comics { margin-top: 18px; }
.comics__filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.comics__filter .chip { padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center; }
.comics__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.comic-tile { display: flex; gap: 12px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.comic-tile img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; flex: none; background: var(--cream); }
.comic-tile__num { font-size: 14px; color: var(--burgundy); font-weight: 700; margin: 0; }
.comic-tile__title { font-size: 20px; font-weight: 800; margin: 0; }
.comics__empty { text-align: center; background: var(--paper); border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow); }
.comics__empty img { width: 110px; margin: 0 auto 12px; }

.episode__panels { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.episode__panels img { width: 100%; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); }
.episode__nav { display: flex; justify-content: space-between; gap: 8px; }


/* Wider screens */

/* Character voice intro: round play/pause button + the spoken line */
.char__voice { display: flex; align-items: center; gap: 12px; margin: 10px 0 12px; }
.voice-btn {
  flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--navy); color: var(--gold); cursor: pointer; display: inline-grid; place-items: center;
  box-shadow: 0 2px 0 rgba(13, 42, 76, .12); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background .15s ease, transform .15s ease;
}
.voice-btn svg { width: 22px; height: 22px; fill: currentColor; grid-area: 1 / 1; }
.voice-btn .voice-btn__play { margin-right: -2px; }
.voice-btn .voice-btn__pause { display: none; }
.voice-btn[aria-pressed="true"] { background: var(--burgundy); }
.voice-btn[aria-pressed="true"] .voice-btn__play { display: none; }
.voice-btn[aria-pressed="true"] .voice-btn__pause { display: block; }
.voice-btn.is-loading { opacity: .7; }
.voice-btn:active { transform: scale(.94); }
.voice-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.char__intro { margin: 0; font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.4; }
@media (hover: hover) { .voice-btn:hover { background: var(--burgundy); } }

@media (min-width: 720px) {
  .hero__title { font-size: 60px; }
  .idea-card { gap: 24px; padding: 22px 24px; }
  .idea-card__edison { flex-basis: 220px; }
  .idea-card__edison img { width: 170px; }
  .idea-bubble { font-size: 16px; padding: 10px 14px; }
  .hero-cast__item img { max-height: 240px; }
  .hero-cast__item--captain img { max-height: 250px; }
  .hero-cast__item--sailor img { max-height: 170px; }
  .hero-cast__item--globy img { max-height: 165px; }
  .apps { grid-template-columns: 1fr 1fr; }
  .chars { grid-template-columns: 1fr 1fr; }
  .comics__list { grid-template-columns: 1fr 1fr; }
}
/* Team (proposal/team-agents). Image slot is square; art is contained, so round icons or cutouts both fit. */
#team { scroll-margin-top: 72px; }
.team__lead { color: var(--muted); }
.team { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.member {
  display: flex; gap: 14px; align-items: center; min-width: 0;
  background: var(--paper); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow);
  border-inline-start: 6px solid var(--gold);
}
.member--lead { border-inline-start-color: var(--burgundy); }
.member__art { flex: none; width: 72px; height: 72px; display: grid; place-items: center; }
.member__art img { width: 100%; height: 100%; object-fit: contain; }
.member__body { min-width: 0; }
.member__name { font-size: 21px; font-weight: 800; margin: 0 0 .15em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.member__name .chip { font-size: 13px; font-weight: 700; }
.member__role { color: var(--muted); margin: 0; }
.team__how { margin-top: 14px; background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.team__how-title { color: var(--gold); font-size: 20px; font-weight: 800; }
.team__how p { margin: 0; }
@media (min-width: 720px) {
  .team { grid-template-columns: 1fr 1fr; }
  .member--lead { grid-column: 1 / -1; }
  .member__art { width: 88px; height: 88px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.member__quote{margin:.5rem 0 0;font-size:.95rem;line-height:1.55;color:#0D2A4C;opacity:.85;font-style:normal}

/* ===== Team page (/team/) — proposal/team-agents ===== */
.tp { max-width: 1080px; }
.tp-eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--burgundy); font-weight: 700; font-size: 14px; letter-spacing: .2px; }
.tp-hero { text-align: center; padding: 32px 0 8px; }
.tp-hero__title { font-size: clamp(34px, 9vw, 64px); font-weight: 800; letter-spacing: -.8px; line-height: 1.08; margin: 0 auto 16px; max-width: 13em; }
.tp-nw { white-space: nowrap; }
.tp-hl { white-space: nowrap; color: var(--burgundy); background: linear-gradient(transparent 62%, rgba(204,166,103,.55) 62%); padding: 0 .08em; }
.tp-hero__lead { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 auto 22px; }
.tp-stack { list-style: none; padding: 0; margin: 0 auto 22px; display: flex; justify-content: center; }
.tp-stack li { width: 58px; height: 58px; margin-inline-start: -12px; border-radius: 50%; overflow: hidden; border: 3px solid var(--cream); box-shadow: 0 4px 12px rgba(13,42,76,.18); background: var(--gold-soft); }
.tp-stack li:first-child { margin-inline-start: 0; width: 66px; height: 66px; border-color: var(--gold); align-self: center; }
.tp-stack img { width: 100%; height: 100%; object-fit: cover; }
.tp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 560px; margin: 0 auto; padding: 0; }
.tp-stats div { background: var(--paper); border-radius: 14px; padding: 10px 4px 8px; box-shadow: var(--shadow); }
.tp-stats dt { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.tp-stats dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.3; }

/* Founder */
.tp-founder {
  position: relative; overflow: hidden; margin-top: 36px;
  display: grid; gap: 18px; justify-items: center; text-align: center;
  background: radial-gradient(120% 90% at 100% 0%, #1c3d66 0%, var(--navy) 55%, #081d36 100%);
  color: var(--cream); border-radius: 26px; padding: 26px 20px 22px; box-shadow: 0 14px 40px rgba(13,42,76,.28);
}
.tp-founder::before { content: ""; position: absolute; inset: auto -60px -80px auto; width: 220px; height: 220px; border-radius: 50%; background: rgba(204,166,103,.12); }
.tp-founder__art { position: relative; width: 168px; height: 168px; border-radius: 28px; overflow: hidden; border: 4px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: rotate(-3deg); }
.tp-founder__art img { width: 100%; height: 100%; object-fit: cover; }
.tp-founder__body { position: relative; min-width: 0; }
.tp-founder__kicker { color: var(--gold); font-weight: 700; font-size: 14px; margin: 0 0 4px; letter-spacing: .3px; }
.tp-founder__name { font-size: 42px; font-weight: 800; margin: 0 0 6px; }
.tp-founder__role { font-size: 18px; opacity: .92; margin: 0 0 14px; }
.tp-latte { display: flex; gap: 14px; align-items: center; text-align: start; margin-top: 16px; background: rgba(248,245,238,.08); border: 1px dashed rgba(204,166,103,.6); border-radius: 16px; padding: 12px 14px; }
.tp-latte p { margin: 0; font-size: 15px; line-height: 1.5; }
.tp-latte strong { color: var(--gold); }
.tp-mug { position: relative; flex: none; width: 34px; height: 30px; margin-top: 14px; margin-inline-start: 8px; background: var(--cream); border-radius: 4px 4px 12px 12px; }
.tp-mug::before { content: ""; position: absolute; inset: 4px 3px auto 3px; height: 6px; border-radius: 3px; background: #b98a5a; }
.tp-mug::after { content: ""; position: absolute; top: 6px; right: -10px; width: 9px; height: 13px; border: 3px solid var(--cream); border-left: 0; border-radius: 0 8px 8px 0; }
.tp-steam { position: absolute; bottom: 100%; width: 4px; height: 12px; border-radius: 4px; background: rgba(248,245,238,.7); animation: tp-steam 3.2s ease-in-out infinite; }
.tp-steam:nth-child(1) { inset-inline-start: 7px; }
.tp-steam:nth-child(2) { inset-inline-start: 15px; animation-delay: .5s; }
.tp-steam:nth-child(3) { inset-inline-start: 23px; animation-delay: 1s; }
@keyframes tp-steam { 0% { opacity: 0; transform: translateY(4px) scaleY(.6); } 30% { opacity: .9; } 70% { opacity: .15; } 100% { opacity: 0; transform: translateY(-8px) scaleY(1.1); } }

/* Shared chips */
.tp-owns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tp-owns li { font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--navy); border: 1px solid rgba(13,42,76,.12); }
.tp-owns--light { justify-content: center; }
.tp-owns--light li { background: rgba(248,245,238,.1); color: var(--cream); border-color: rgba(204,166,103,.5); }
.tp-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--navy); color: var(--cream); }

/* Agents */
.tp-section { margin-top: 44px; }
.tp-section__title { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.tp-section__lead { color: var(--muted); margin: 0 0 16px; }
.tp-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; align-items: start; }
.tp-card {
  --accent: var(--gold);
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border-radius: 22px; padding: 16px; box-shadow: var(--shadow);
  border-top: 5px solid var(--accent);
  transition: transform .2s ease, box-shadow .2s ease;
  scroll-margin-top: 72px;
}
.tp-card--burgundy { --accent: var(--burgundy); }
.tp-card--navy { --accent: var(--navy); }
.tp-card--sand { --accent: #b9895a; }
.tp-card__top { display: flex; gap: 14px; align-items: center; min-width: 0; }
.tp-card__art { flex: none; width: 96px; height: 96px; border-radius: 20px; overflow: hidden; background: var(--gold-soft); box-shadow: inset 0 0 0 2px rgba(13,42,76,.06); }
.tp-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tp-card__id { min-width: 0; }
.tp-card__name { font-size: 23px; font-weight: 800; margin: 0 0 2px; }
.tp-card__nick { font-weight: 500; color: var(--muted); font-size: 18px; }
.tp-card__role { margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.tp-card__power { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.45; }
.tp-card__label { display: inline-block; margin-inline-end: 8px; padding: 1px 8px; border-radius: 6px; background: var(--accent); color: var(--cream); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.tp-card--gold .tp-card__label, .tp-card--sand .tp-card__label { color: var(--navy); }
.tp-card__more { border-top: 1px solid rgba(13,42,76,.1); padding-top: 4px; margin-top: auto; }
.tp-card__more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; color: var(--burgundy); }
.tp-card__more summary::-webkit-details-marker { display: none; }
.tp-card__more summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--navy); font-size: 20px; font-weight: 500; transition: transform .2s; }
.tp-card__more[open] summary::after { transform: rotate(45deg); }
.tp-card__more summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.tp-card__quote { margin: 4px 0 6px; padding: 12px 14px; background: var(--cream); border-radius: 14px; border-inline-start: 4px solid var(--accent); }
.tp-card__quote p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (hover: hover) {
  .tp-card:hover { transform: translateY(-4px); box-shadow: 0 4px 0 rgba(13,42,76,.05), 0 18px 40px rgba(13,42,76,.14); }
  .tp-card:hover .tp-card__art img { transform: scale(1.07) rotate(-2deg); }
}

/* How we work */
.tp-how { margin-top: 44px; background: var(--burgundy); color: var(--cream); border-radius: 26px; padding: 26px 20px; box-shadow: var(--shadow); }
.tp-how__title { color: var(--gold); font-size: 28px; font-weight: 800; margin: 0 0 16px; }
.tp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: none; }
.tp-step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; background: rgba(248,245,238,.08); border-radius: 16px; padding: 14px; }
.tp-step__n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 20px; }
.tp-step h3 { font-size: 20px; font-weight: 800; margin: 0; }
.tp-step p { margin: 2px 0 0; opacity: .9; }

/* CTA */
.tp-cta { margin-top: 40px; text-align: center; }
.tp-cta__title { font-size: 24px; font-weight: 800; }
.tp-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (min-width: 720px) {
  .tp-hero { padding-top: 56px; }
  .tp-hero__lead { font-size: 20px; }
  .tp-stats dt { font-size: 32px; }
  .tp-stats dd { font-size: 14px; }
  .tp-founder { grid-template-columns: auto 1fr; justify-items: start; text-align: start; gap: 34px; padding: 36px 40px; align-items: center; }
  .tp-founder__art { width: 220px; height: 220px; }
  .tp-owns--light { justify-content: flex-start; }
  .tp-founder__name { font-size: 52px; }
  .tp-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tp-card { padding: 20px; }
  .tp-card__art { width: 120px; height: 120px; }
  .tp-how { padding: 32px 36px; }
  .tp-steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tp-step { grid-template-columns: 1fr; padding: 18px; }
  .tp-step__n { grid-row: auto; margin-bottom: 10px; }
  .tp-step:not(:last-child)::after { content: "←"; position: absolute; top: 24px; inset-inline-end: -16px; width: 24px; text-align: center; color: var(--gold); font-weight: 800; font-size: 22px; line-height: 1; z-index: 1; }
}
@media (min-width: 1040px) {
  .tp-grid { grid-template-columns: repeat(4, 1fr); }
  .tp-card__top { flex-direction: column; align-items: flex-start; }
  .tp-card__art { width: 100%; height: auto; aspect-ratio: 1; max-width: 192px; }
}
/* Home: team teaser */
.team-teaser { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.team-teaser .tp-stack { margin: 0; }
.team-teaser__names { margin: 0; color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: reduce) {
  .tp-steam { animation: none; opacity: .5; }
  .tp-card, .tp-card__art img { transition: none; }
}

/* English pages only (html[lang="en"]); the Hebrew pages keep the rules above untouched.
   Fo, Hive #603: no character cut at the strip's edges, cards aligned, badges on one baseline. */
html[lang="en"] .hero-cast { padding-inline: 18px 14px; }
/* The Captain's art is a bust cropped at its own left edge: fade that edge so it reads as a bleed (face untouched). */
html[lang="en"] .hero-cast__item--captain img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
  mask-image: linear-gradient(to right, transparent 0, #000 16%);
}
html[lang="en"] .app-card { align-items: stretch; }
html[lang="en"] .app-card__mascot { align-self: center; }
html[lang="en"] .app-card__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
html[lang="en"] .app-card__meta { margin-top: auto; padding-top: 10px; }
/* The Play badge PNG carries Google's clear space (41 of 646 px each side); let its visible edge line up with the text. */
html[lang="en"] .app-card__meta .play-badge:first-child { margin-inline-start: -9px; }
html[lang="en"] .lang-hint { font-weight: 400; font-size: .85em; opacity: .8; margin-inline-start: .3em; }
html[lang="en"] .tp-step:not(:last-child)::after { content: "→"; }
