:root {
  --ink: #10213f;
  --muted: #66728a;
  --green: #17a65b;
  --green-dark: #0d8d4b;
  --blue: #4c8df6;
  --soft: #f5f8fb;
  --line: #e6edf4;
  --card: #ffffff;
}

@media (max-width: 1180px) {
  .journey-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 14px 4px 18px;
    scrollbar-width: thin;
  }
  .journey-strip article {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }
  .journey-value-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .how-journey-hero {
    width: calc(100% - 24px);
    margin-top: 24px;
    text-align: start;
  }
  .how-journey-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }
  .how-journey-hero p {
    font-size: 1rem;
  }
  .journey-strip {
    width: calc(100% - 20px);
    margin-top: 10px;
    gap: 10px;
  }
  .journey-strip article {
    flex-basis: 164px;
    padding: 10px;
  }
  .journey-strip article::after {
    top: 112px;
    inset-inline-end: -12px;
  }
  .journey-strip-visual { height: 188px; }
  .journey-phone {
    width: 108px;
    height: 168px;
  }
  .journey-strip h3 { font-size: .92rem; }
  .journey-strip p { display: none; }
  .journey-value-grid {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .journey-value-grid article,
  .journey-value-grid article.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    padding: 16px;
  }
}
html.pwa-mobile-polish {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.pwa-mobile-polish body {
  min-height: 100dvh;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-tap-highlight-color: rgba(31,143,88,.14);
}
html.pwa-mobile-polish button,
html.pwa-mobile-polish .solid-btn,
html.pwa-mobile-polish .ghost-btn,
html.pwa-mobile-polish .public-menu-toggle,
html.pwa-mobile-polish a {
  touch-action: manipulation;
}
html.pwa-mobile-polish button,
html.pwa-mobile-polish .solid-btn,
html.pwa-mobile-polish .ghost-btn {
  -webkit-user-select: none;
  user-select: none;
}
html.pwa-mobile-polish input,
html.pwa-mobile-polish select,
html.pwa-mobile-polish textarea {
  font-size: 16px !important;
}
@media (max-width: 767px) {
  html.pwa-mobile-polish body.public-body {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.public-body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fb 52%, #fff 100%);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.public-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230,237,244,.75);
}
.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  background: linear-gradient(135deg, #16ad61, #54c987);
  box-shadow: 0 10px 22px rgba(22,173,97,.24);
}
.brand-mark.has-uploaded-icon {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(230,237,244,.95);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.public-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: .94rem;
  color: #23344f;
}
.public-menu a { padding: 8px 0; border-bottom: 2px solid transparent; }
.public-menu a.active { color: var(--green); border-color: var(--green); }
.public-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.public-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.public-nav.menu-open .public-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.public-nav.menu-open .public-menu-toggle span:nth-child(2) { opacity: 0; }
.public-nav.menu-open .public-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.public-actions, .hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.public-language-form { margin: 0; }
.public-language-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 34px 0 12px;
  background: #fff;
  color: #143052;
  font: inherit;
  font-weight: 700;
}
.solid-btn, .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid var(--line);
}
.solid-btn {
  color: #fff;
  background: linear-gradient(180deg, #24b86f, #128d50);
  border-color: transparent;
  box-shadow: 0 13px 24px rgba(18,141,80,.23);
}
.ghost-btn { background: #fff; color: #143052; }
.big { min-height: 52px; padding: 0 24px; }
.public-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 640px);
  align-items: center;
  gap: 36px;
  padding: clamp(38px, 6vw, 84px) clamp(18px, 5vw, 72px);
}
.hero-copy h1, .sub-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 820px;
}
:lang(ka) .hero-copy h1,
:lang(ka) .sub-hero h1 {
  font-size: clamp(2.05rem, 4.5vw, 4.45rem);
  line-height: 1.08;
}
.hero-copy p, .sub-hero p, .section-head p, .public-band p, .public-card p, .split-three p {
  color: var(--muted);
  line-height: 1.7;
}
.hero-copy p { max-width: 650px; font-size: 1.13rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a8048;
  background: #eaf8f0;
  border: 1px solid #caecd9;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: .9rem;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.hero-points span {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.76);
  color: #28405f;
  font-weight: 700;
}
.hero-points i {
  color: var(--green);
  font-size: 1.25rem;
}
.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 20%, rgba(71,194,136,.18), transparent 24%),
    radial-gradient(circle at 20% 70%, rgba(76,141,246,.15), transparent 25%),
    linear-gradient(135deg, #f7fbff, #edf6f0);
}
.generated-hero-art, .generated-feature-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.generated-hero-art {
  position: relative;
  z-index: 1;
  object-fit: contain;
  max-height: 620px;
}
.generated-feature-art {
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16,33,63,.08);
}
.mock-phone {
  width: min(310px, 78vw);
  min-height: 565px;
  padding: 34px 22px 22px;
  border: 10px solid #111827;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(16,33,63,.18);
}
.phone-top {
  width: 86px;
  height: 20px;
  margin: -22px auto 18px;
  border-radius: 0 0 14px 14px;
  background: #111827;
}
.phone-greeting { font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }
.phone-level {
  padding: 16px;
  border-radius: 8px;
  background: #f7fafc;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.phone-tasks { padding: 0; margin: 0 0 18px; list-style: none; display: grid; gap: 10px; }
.phone-tasks li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fbfd;
}
.phone-tasks b { color: var(--green); }
.phone-green {
  width: 100%;
  border: 0;
  min-height: 44px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}
.mini-shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.mini-shop-grid span {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  font-size: 2rem;
}
.mini-shop-grid small { display: block; font-size: .82rem; color: #c47a00; font-weight: 800; }
.floating-panel {
  position: absolute;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(16,33,63,.12);
  padding: 18px;
}
.shop-panel { left: 30px; bottom: 44px; max-width: 220px; }
.coin-panel { right: 38px; top: 54px; font-weight: 900; }
.hero-visual .floating-panel { z-index: 2; }
.icon-orbit {
  position: absolute;
  inset: 28px;
  z-index: 2;
  pointer-events: none;
}
.icon-orbit span {
  position: absolute;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #0b8f51;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(202,236,217,.9);
  box-shadow: 0 18px 36px rgba(16,33,63,.12);
  font-size: 1.55rem;
}
.icon-orbit span:nth-child(1) { inset-inline-start: 18px; top: 58px; }
.icon-orbit span:nth-child(2) { inset-inline-end: 26px; top: 28px; color: #c47a00; }
.icon-orbit span:nth-child(3) { inset-inline-end: 54px; bottom: 72px; color: #4c8df6; }
.public-section, .public-grid, .steps-list {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.public-section { padding: 52px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head h2, .public-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  letter-spacing: 0;
}
.public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.public-feature-grid { width: 100%; }
.public-card, .split-three article, .steps-list article {
  min-width: 0;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(16,33,63,.06);
}
.public-card h3, .split-three h3, .steps-list h3 { margin: 10px 0 8px; font-size: 1.12rem; }
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0f8b4f;
  background: #e9f8ef;
  font-weight: 900;
  font-size: 1.28rem;
}
.public-card > .feature-icon + .feature-icon { display: none; }

.app-screenshots-section {
  padding-top: 30px;
}
.app-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.app-screenshot-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dce8f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16,33,63,.08);
}
.app-screenshot-media {
  min-height: 430px;
  overflow: visible;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef7f2, #f7fbff);
  border: 1px solid #e2edf6;
  padding: 18px;
}
.app-screenshot-media .mock-phone {
  margin: 0;
  width: min(100%, 270px);
  box-shadow: 0 18px 38px rgba(13, 35, 66, .14);
}
.mini-progress-preview {
  width: min(100%, 300px);
  display: grid;
  gap: 12px;
}
.mini-progress-preview span {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas: "icon value" "icon label";
  gap: 1px 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid #dce8f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 33, 63, .08);
}
.mini-progress-preview i {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e9f8ef;
  color: var(--green-dark);
  font-size: 1.2rem;
}
.mini-progress-preview strong {
  grid-area: value;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ink);
}
.mini-progress-preview small {
  grid-area: label;
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
}
.app-screenshot-card h3 {
  margin: 14px 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0;
}
.app-screenshot-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.how-journey-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 34px auto 18px;
  text-align: center;
}
.how-journey-hero h1 {
  margin: 16px auto 12px;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.how-journey-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.6;
}
.journey-strip {
  width: min(1420px, calc(100% - 32px));
  margin: 18px auto 32px;
  display: grid;
  grid-template-columns: repeat(7, minmax(138px, 1fr));
  gap: 12px;
  align-items: stretch;
}
.journey-strip article {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dfeaf3;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 42px rgba(15, 32, 60, .07);
}
.journey-strip article::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 128px;
  inset-inline-end: -14px;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #20b563;
  color: #fff;
  font-size: .8rem;
}
[dir="rtl"] .journey-strip article::after { transform: scaleX(-1); }
.journey-strip article:last-child::after { display: none; }
.journey-strip article > b {
  position: absolute;
  top: -12px;
  inset-inline-start: 12px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #19b463;
  color: #fff;
  box-shadow: 0 10px 18px rgba(25,180,99,.25);
}
.journey-strip-visual {
  height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #f2fbf6, #f8fbff);
}
.journey-strip h3 {
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.18;
}
.journey-strip p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.42;
}
.journey-phone {
  position: relative;
  width: 118px;
  height: 186px;
  padding: 15px 9px 10px;
  border: 6px solid #111827;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 16px 26px rgba(16, 33, 63, .13);
  overflow: hidden;
}
.journey-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}
.journey-notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 46px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #111827;
}
.journey-phone-live {
  display: block;
  color: var(--ink);
  font-size: .64rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.journey-phone-live * {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.journey-phone-live .mock-phone {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.journey-phone-live .phone-top { display: none; }
.journey-phone-live .phone-greeting { font-size: .68rem; margin: 2px 0 8px; }
.journey-phone-live .phone-level { padding: 7px; margin-bottom: 8px; font-size: .62rem; }
.journey-phone-live .phone-tasks { gap: 6px; margin-bottom: 8px; }
.journey-phone-live .phone-tasks li { grid-template-columns: 16px 1fr auto; padding: 6px; font-size: .58rem; }
.journey-phone-live .phone-green, .journey-phone-live button {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  background: #18a85b;
  color: #fff;
  font-weight: 900;
  font-size: .58rem;
}
.journey-mini-head { margin: 7px 0 8px; font-weight: 950; }
.journey-goal-card {
  display: grid;
  gap: 4px;
  margin: 7px 0;
  padding: 8px;
  border-radius: 9px;
  background: #f4f7fb;
}
.journey-goal-card i {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #18b463 72%, #dce5ee 72%);
}
.journey-goal-card.muted i { background: linear-gradient(90deg, #8b5cf6 62%, #dce5ee 62%); }
.journey-phone-live ul { display: grid; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.journey-phone-live li { display: flex; justify-content: space-between; gap: 6px; padding: 6px; border-radius: 8px; background: #f7fafc; }
.journey-proof-photo {
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #dcfce7);
  color: #168c4d;
  font-size: 1.5rem;
}
.journey-proof-photo.small { height: 68px; }
.journey-earned {
  margin: 28px auto 8px;
  text-align: center;
  color: #f2a900;
  font-size: 1.35rem;
  font-weight: 950;
}
.journey-earned small { color: var(--muted); font-size: .58rem; }
.journey-earned.xp { margin-top: 0; color: #19a85d; font-size: .9rem; }
.journey-family-avatars { display: flex; gap: 4px; margin: 18px 0 10px; }
.journey-family-avatars span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #eef6ff; }
.journey-chart {
  min-height: 70px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 55%, rgba(32,181,99,.16) 56%),
    #f4fbf7;
  position: relative;
  overflow: hidden;
}
.journey-chart i {
  position: absolute;
  left: 10%;
  right: 8%;
  bottom: 24px;
  height: 34px;
  border-bottom: 4px solid #20b563;
  border-radius: 50%;
  transform: rotate(-4deg);
}
.journey-value-grid {
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.journey-value-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dfeaf3;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f8fbff);
  box-shadow: 0 14px 40px rgba(15,32,60,.06);
}
.journey-value-grid article.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .8fr);
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #effaf4, #f6fbff);
}
.journey-value-grid article.calm {
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, #f2fbf6, #eef7ff);
}
.journey-value-grid h2, .journey-value-grid h3 {
  margin: 10px 0 8px;
  color: var(--ink);
  line-height: 1.14;
}
.journey-value-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.journey-dashboard-preview {
  display: grid;
  gap: 12px;
}
.journey-dashboard-preview > div:first-child {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce8f2;
}
.journey-dashboard-preview strong { display: block; color: var(--ink); font-size: 1.5rem; }
.journey-dashboard-preview small { color: var(--muted); font-weight: 800; }
.teen-placeholder-section {
  width: min(1420px, calc(100% - 36px));
  min-height: 720px;
  margin: 24px auto 44px;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(230,237,244,.9);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 8%, rgba(92,190,129,.18), transparent 13%),
    radial-gradient(circle at 72% 28%, rgba(92,190,129,.14), transparent 18%),
    radial-gradient(circle at 94% 16%, rgba(76,141,246,.12), transparent 17%),
    linear-gradient(135deg, #ffffff 0%, #fbfdfc 44%, #eef7f1 100%);
  box-shadow: 0 22px 64px rgba(16,33,63,.08);
}
.teen-copy {
  min-width: 0;
  text-align: start;
}
.teen-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #37a85b, #188845);
  box-shadow: 0 14px 28px rgba(24,136,69,.18);
  font-weight: 900;
}
.teen-copy h2 {
  margin: 26px 0 18px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.6vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: 0;
}
.teen-copy h2 strong {
  display: block;
  color: #2f984d;
}
.teen-copy > p {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.65;
}
.teen-point-list {
  display: grid;
  gap: 12px;
}
.teen-point-list span {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: #14243f;
  font-weight: 800;
  font-size: 1.02rem;
}
.teen-point-list i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #21934d;
  background: #eaf7ef;
  font-size: 1.35rem;
}
.teen-safety-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fbf4, #eef7f3);
  border: 1px solid rgba(202,236,217,.84);
}
.teen-safety-card > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #49be6a, #17894b);
  font-size: 1.8rem;
  box-shadow: 0 14px 28px rgba(24,136,69,.2);
}
.teen-safety-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.06rem;
}
.teen-safety-card p {
  margin: 6px 0 0;
  color: #31415a;
  line-height: 1.45;
}
.teen-visual {
  position: relative;
  min-height: 620px;
}
.teen-reference-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}
.teen-person-card {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 14%;
  width: min(390px, 52%);
  height: 410px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 22%, rgba(84,201,135,.24), transparent 20%),
    linear-gradient(180deg, #f9fbf9, #dfeee6);
  box-shadow: inset 0 -90px 90px rgba(255,255,255,.78);
}
.teen-person-avatar {
  position: absolute;
  inset-inline: 0;
  bottom: 36px;
  margin-inline: auto;
  width: min(280px, 74%);
  height: 280px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 44% 44%;
  color: #fff;
  background: linear-gradient(145deg, #163c2f, #2b6f49);
  font-size: 7rem;
  box-shadow: 0 30px 70px rgba(28,74,52,.25);
}
.teen-phone-mini {
  position: absolute;
  inset-inline-end: 28%;
  bottom: 84px;
  width: 58px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #0e1b2f;
  border: 5px solid #1e2b3e;
  transform: rotate(-9deg);
}
.teen-metric-stack {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 0;
  display: grid;
  gap: 12px;
  width: min(210px, 28%);
}
.teen-metric-stack span {
  min-height: 72px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(16,33,63,.1);
}
.teen-metric-stack b {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #8c62f2, #5d38c9);
  font-size: 1.4rem;
}
.teen-metric-stack span:nth-child(3) b {
  background: linear-gradient(135deg, #ffd45a, #f59f22);
}
.teen-metric-stack small {
  font-size: .72rem;
  color: var(--ink);
}
.teen-task-card,
.teen-shop-card,
.teen-progress-phone {
  position: absolute;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(16,33,63,.12);
}
.teen-task-card {
  inset-inline-start: 0;
  inset-block-start: 300px;
  width: min(280px, 40%);
  padding: 18px;
}
.teen-task-card > strong,
.teen-shop-card strong,
.teen-progress-phone > strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}
.teen-task-card div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  margin-top: 10px;
  padding: 9px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fbfdff;
}
.teen-task-card div > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #36b866;
}
.teen-task-card div:nth-of-type(2) > i { background: #4c8df6; }
.teen-task-card div:nth-of-type(3) > i { background: #f47d20; }
.teen-task-card span {
  min-width: 0;
  font-weight: 900;
}
.teen-task-card small {
  display: block;
  margin-top: 3px;
  color: #274668;
  font-weight: 800;
}
.teen-task-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #0d63bf;
  font-weight: 800;
}
.teen-progress-phone {
  inset-inline-end: 2%;
  inset-block-end: 18px;
  width: min(280px, 34%);
  min-height: 430px;
  padding: 38px 16px 16px;
  border: 9px solid #111827;
  border-radius: 30px;
}
.phone-speaker {
  position: absolute;
  top: 12px;
  inset-inline: 0;
  width: 72px;
  height: 8px;
  margin-inline: auto;
  border-radius: 999px;
  background: #111827;
}
.teen-chart {
  height: 116px;
  display: flex;
  align-items: end;
  gap: 9px;
  margin: 14px 0;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff, #eef8f1);
}
.teen-chart span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #55bf76, #1f9551);
}
.teen-chart span:nth-child(1) { height: 34%; }
.teen-chart span:nth-child(2) { height: 42%; }
.teen-chart span:nth-child(3) { height: 58%; }
.teen-chart span:nth-child(4) { height: 48%; }
.teen-chart span:nth-child(5) { height: 66%; }
.teen-chart span:nth-child(6) { height: 82%; }
.teen-goal-card,
.teen-streak {
  padding: 12px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
}
.teen-goal-card small,
.teen-goal-card b {
  display: block;
}
.teen-goal-card div {
  text-align: end;
  font-size: 2.6rem;
  color: #1e334d;
}
.teen-goal-card progress {
  width: 100%;
  accent-color: #2ca65c;
}
.teen-streak {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.teen-streak > i {
  color: #f47d20;
  font-size: 1.6rem;
}
.teen-streak span,
.teen-streak b {
  display: block;
}
.teen-shop-card {
  inset-inline-start: 0;
  inset-block-end: 0;
  width: min(600px, 70%);
  padding: 18px;
}
.teen-shop-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.teen-shop-card a {
  color: #13874a;
  font-weight: 800;
}
.teen-shop-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.teen-shop-items span {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 100px;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fbfdff;
}
.teen-shop-items i {
  color: #149152;
  font-size: 2rem;
}
.teen-shop-items small {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: #9a5d00;
  font-weight: 900;
}
.hebrew-audience-stack {
  width: min(1420px, calc(100% - 36px));
  margin: 24px auto 44px;
  display: grid;
  gap: 28px;
}
.hebrew-audience-section {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(230,237,244,.95);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fbfdff 58%, #edf5ff 100%);
  box-shadow: 0 22px 64px rgba(16,33,63,.08);
}
.hebrew-audience-teen { background: linear-gradient(135deg, #fff 0%, #fbfaff 55%, #f1ebff 100%); }
.hebrew-audience-kids { background: linear-gradient(135deg, #fff 0%, #fafdff 55%, #eaf3ff 100%); }
.hebrew-audience-parents { background: linear-gradient(135deg, #fff 0%, #fbfdfb 55%, #eef8ef 100%); }
.hebrew-audience-image {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 8px;
}
.hebrew-audience-copy {
  min-width: 0;
  text-align: start;
}
.hebrew-audience-badge {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2f7ff0, #245ed8);
  font-weight: 900;
}
.hebrew-audience-teen .hebrew-audience-badge { background: linear-gradient(135deg, #8c62f2, #5d38c9); }
.hebrew-audience-parents .hebrew-audience-badge { background: linear-gradient(135deg, #43aa52, #238a3b); }
.hebrew-audience-copy h2 {
  margin: 24px 0 16px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.hebrew-audience-copy h2 strong {
  display: block;
  color: #2f7ff0;
}
.hebrew-audience-teen .hebrew-audience-copy h2 strong { color: #6c43d8; }
.hebrew-audience-parents .hebrew-audience-copy h2 strong { color: #358f44; }
.hebrew-audience-copy > p {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}
.hebrew-audience-safe {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(221,230,240,.9);
}
.hebrew-audience-safe > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2f7ff0, #245ed8);
  font-size: 1.8rem;
}
.hebrew-audience-teen .hebrew-audience-safe > span { background: linear-gradient(135deg, #8c62f2, #5d38c9); }
.hebrew-audience-parents .hebrew-audience-safe > span { background: linear-gradient(135deg, #43aa52, #238a3b); }
.hebrew-audience-safe strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}
.hebrew-audience-safe p {
  margin: 6px 0 0;
  color: #33435c;
  line-height: 1.45;
}
.hebrew-audience-visual {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(260px, 1fr);
  align-items: center;
  gap: 20px;
}
.hebrew-audience-portrait {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(232,241,255,.86));
  border: 1px solid rgba(221,230,240,.88);
  box-shadow: inset 0 -50px 70px rgba(255,255,255,.76);
}
.hebrew-audience-teen .hebrew-audience-portrait { background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(241,235,255,.9)); }
.hebrew-audience-parents .hebrew-audience-portrait { background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(235,248,238,.9)); }
.hebrew-audience-portrait > i {
  width: 172px;
  height: 172px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2f7ff0, #245ed8);
  font-size: 5.2rem;
  box-shadow: 0 26px 54px rgba(36,94,216,.18);
}
.hebrew-audience-teen .hebrew-audience-portrait > i { background: linear-gradient(135deg, #8c62f2, #5d38c9); }
.hebrew-audience-parents .hebrew-audience-portrait > i { background: linear-gradient(135deg, #43aa52, #238a3b); }
.hebrew-audience-portrait-image,
.hebrew-teen-portrait-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}
.hebrew-phone-chip {
  position: absolute;
  inset-block-end: 34px;
  inset-inline-start: 34px;
  width: 58px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: #111827;
  border: 5px solid #243044;
  transform: rotate(-6deg);
}
.hebrew-audience-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hebrew-audience-feature {
  min-height: 164px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 18px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(221,230,240,.92);
  box-shadow: 0 18px 40px rgba(16,33,63,.08);
  text-align: center;
}
.hebrew-audience-feature i {
  color: #2f7ff0;
  font-size: 2.7rem;
}
.hebrew-audience-teen .hebrew-audience-feature i { color: #6c43d8; }
.hebrew-audience-parents .hebrew-audience-feature i { color: #358f44; }
.hebrew-audience-feature strong {
  color: var(--ink);
  font-size: 1.05rem;
}
.hebrew-audience-feature small {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}
.hebrew-shop-story {
  width: min(1420px, calc(100% - 36px));
  margin: 24px auto 44px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgba(226,234,244,.95);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #fbfdff 52%, #f1f6ff 100%);
  box-shadow: 0 22px 64px rgba(16,33,63,.08);
  direction: rtl;
}
.hebrew-shop-story-head {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}
.hebrew-shop-kicker {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #43aa52, #6d45d9);
  font-weight: 900;
}
.hebrew-shop-story h2 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.2vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.hebrew-shop-story-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.75;
}
.hebrew-shop-hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(224,232,242,.86);
  box-shadow: 0 18px 42px rgba(16,33,63,.08);
}
.hebrew-shop-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.hebrew-shop-story-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(224,232,242,.9);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 34px rgba(16,33,63,.06);
}
.hebrew-shop-story-card img {
  width: 100%;
  aspect-ratio: 1.22;
  display: block;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #fbfdff, #f5f8fb);
}
.hebrew-shop-story-card div {
  padding: 18px;
}
.hebrew-shop-story-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.25;
}
.hebrew-shop-story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.russian-shop-story {
  width: min(1420px, calc(100% - 36px));
  margin: 24px auto 44px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgba(226,234,244,.95);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #fbfdff 52%, #f1f6ff 100%);
  box-shadow: 0 22px 64px rgba(16,33,63,.08);
  direction: ltr;
}
.russian-shop-story-head {
  max-width: 900px;
  margin: 0 auto 24px;
  text-align: center;
}
.russian-shop-kicker {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #43aa52, #6d45d9);
  font-weight: 900;
}
.russian-shop-story h2 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}
.russian-shop-story-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.75;
}
.russian-shop-hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(224,232,242,.86);
  box-shadow: 0 18px 42px rgba(16,33,63,.08);
}
.russian-shop-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.russian-shop-story-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(224,232,242,.9);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(16,33,63,.06);
}
.russian-shop-story-card img {
  width: 100%;
  aspect-ratio: 1.54;
  display: block;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #fbfdff, #f5f8fb);
}
.russian-shop-story-card div {
  padding: 18px;
}
.russian-shop-story-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.25;
}
.russian-shop-story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.progress-showcase {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 42px;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,188,66,.18), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(76,141,246,.16), transparent 30%),
    linear-gradient(135deg, #ffffff, #f5fbf7);
  box-shadow: 0 18px 48px rgba(16,33,63,.08);
}
.progress-copy h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.progress-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}
.shop-explain-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.shop-explain-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(220,230,240,.95);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  color: #263a56;
  font-weight: 800;
}
.shop-explain-list i { color: var(--green); font-size: 1.16rem; }
.progress-board {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  min-width: 0;
  min-height: 174px;
  display: grid;
  align-content: start;
  gap: 7px;
  text-align: start;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(230,237,244,.9);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 28px rgba(16,33,63,.08);
}
.stat-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  justify-self: start;
  border-radius: 14px;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 12px 22px rgba(16,33,63,.13);
}
.stat-card strong {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}
.stat-card b {
  color: #23344f;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.stat-card small {
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.stat-card.coin span { background: linear-gradient(135deg, #f6b23e, #f47d20); }
.stat-card.graph span { background: linear-gradient(135deg, #4c8df6, #15a4c7); }
.stat-card.level span { background: linear-gradient(135deg, #7558e8, #c052d6); }
.stat-card.shop span { background: linear-gradient(135deg, #19aa61, #5acb86); }
.shop-preview-panel {
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(202,236,217,.92);
  background: rgba(255,255,255,.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.shop-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.shop-preview-head > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #16ad61, #4c8df6);
  font-size: 1.35rem;
}
.shop-preview-head strong,
.shop-preview-head small {
  display: block;
}
.shop-preview-head small { color: var(--muted); margin-top: 3px; }
.shop-items-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.shop-items-row article {
  min-width: 0;
  min-height: 126px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 12px 10px;
  border-radius: 8px;
  border: 1px solid #e7eef6;
  background: linear-gradient(180deg, #fbfdff, #f4f8fb);
}
.shop-items-row article > i {
  color: #0f8b4f;
  font-size: 1.8rem;
}
.shop-items-row article strong {
  color: #213650;
  font-size: .94rem;
  line-height: 1.2;
}
.shop-items-row article small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #9a5d00;
  background: #fff2d4;
  font-weight: 900;
}
.reward-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.reward-flow span {
  min-width: 0;
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e3ecf4;
  background: #fff;
  color: #23344f;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(16,33,63,.06);
}
.reward-flow i {
  font-size: 1.45rem;
}
.reward-flow span:nth-child(1) i { color: #4c8df6; }
.reward-flow span:nth-child(2) i { color: #d88400; }
.reward-flow span:nth-child(3) i { color: #7558e8; }
.reward-flow span:nth-child(4) i { color: #17a65b; }
.public-band {
  width: min(1180px, calc(100% - 36px));
  margin: 30px auto;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #edf8f2);
}
.split-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sub-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 36px;
}
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 70px;
}
.steps-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7558e8, #28b879);
  color: #fff;
  font-weight: 900;
}
.steps-list article small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  margin-top: 12px;
  border-radius: 999px;
  background: #f0f6ff;
  color: #315a99;
  font-weight: 900;
}
.achievement-card small { color: var(--muted); }
.achievement-showcase-section {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto 72px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(225,234,244,.94);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 14%, rgba(84,201,135,.14), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(76,141,246,.16), transparent 28%),
    linear-gradient(145deg, #ffffff, #f7fbff 52%, #eef6ff);
  box-shadow: 0 22px 62px rgba(16,33,63,.08);
}
.achievement-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.achievement-showcase-head strong {
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  color: #143052;
  letter-spacing: .01em;
}
.achievement-showcase-head span {
  color: #4a5e7a;
  font-weight: 700;
  font-size: .95rem;
}
.achievement-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.achievement-showcase-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(222,232,242,.95);
  border-radius: 8px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 16px 34px rgba(16,33,63,.07);
}
.achievement-showcase-image-wrap {
  min-height: 172px;
  background: linear-gradient(135deg, #eff7f2, #eef5ff);
}
.achievement-showcase-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 172px;
  display: block;
  object-fit: cover;
}
.achievement-showcase-content {
  padding: 14px 16px 14px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.achievement-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f3a321;
  font-size: .9rem;
}
.achievement-showcase-content h3 {
  margin: 0;
  color: #10213f;
  font-size: 1.06rem;
  line-height: 1.28;
}
.achievement-showcase-content p {
  margin: 0;
  color: #5a6c84;
  line-height: 1.52;
  font-size: .94rem;
}
.achievement-showcase-content small {
  color: #60748f;
  font-weight: 700;
}
.policy-hero {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 28px;
}
.policy-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}
.policy-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}
.policy-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.policy-summary,
.policy-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(16,33,63,.06);
}
.policy-summary {
  position: sticky;
  top: 88px;
  padding: 22px;
}
.policy-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}
.policy-summary p,
.policy-grid p {
  color: var(--muted);
  line-height: 1.68;
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.policy-grid article {
  min-width: 0;
  padding: 22px;
}
.policy-grid h2 {
  margin: 12px 0 8px;
  font-size: 1.14rem;
  letter-spacing: 0;
}
.cookie-banner {
  position: fixed;
  inset-inline: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(980px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #dce8f2;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(16,33,63,.22);
}
.cookie-banner[hidden],
.cookie-modal[hidden] { display: none; }
.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}
.cookie-banner p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.45;
}
.cookie-banner a {
  color: var(--green-dark);
  font-weight: 800;
}
.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16,33,63,.38);
}
.cookie-modal-card {
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 30px 80px rgba(16,33,63,.28);
}
.cookie-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-modal-head strong {
  display: block;
  font-size: 1.3rem;
}
.cookie-modal-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.cookie-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.cookie-choice-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.cookie-choice-list label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid #e3ecf4;
  border-radius: 8px;
  background: #fbfdff;
}
.cookie-choice-list label.muted {
  opacity: .68;
}
.cookie-choice-list input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green);
}
.cookie-choice-list b,
.cookie-choice-list small {
  display: block;
}
.cookie-choice-list small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}
.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: #30415a;
}
.public-footer div { display: flex; gap: 18px; flex-wrap: wrap; }
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  align-items: center;
  gap: 44px;
  padding: clamp(24px, 6vw, 76px);
}
.auth-copy h1 {
  margin: 34px 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.auth-copy p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}
.auth-language-form { margin-top: 18px; }
.auth-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 60px rgba(16,33,63,.12);
}
.auth-card form { display: grid; gap: 14px; }
.auth-card label {
  display: grid;
  gap: 7px;
  color: #23344f;
  font-weight: 700;
}
.auth-card input, .auth-card select, .content-admin input, .content-admin textarea, .content-admin select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce6f0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
}
.auth-card textarea, .content-admin textarea { min-height: 110px; resize: vertical; }
.form-error, .form-success {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.form-error { color: #842029; background: #fdecee; border: 1px solid #f7c5cc; }
.form-success { color: #0d6b3f; background: #eaf8f0; border: 1px solid #bfe8d1; }
.auth-link { text-align: center; margin: 18px 0 0; color: var(--green-dark); font-weight: 700; }
.content-admin { max-width: 1180px; margin: 0 auto; padding: 28px 16px 60px; }
.content-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.content-admin-card { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.content-admin-card form { display: grid; gap: 10px; }
.registration-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(38,184,111,.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(76,141,246,.09), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f5f8fb 100%);
}
.register-wizard-shell {
  width: min(1840px, calc(100% - 44px));
  margin: 0 auto;
  padding: 26px 0 46px;
}
.register-wizard-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  align-items: start;
  gap: 24px;
  margin-bottom: 26px;
}
.register-title { text-align: center; }
.register-title h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.register-title p { margin: 0; color: var(--muted); font-weight: 700; }
.register-head-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.secure-badge {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  color: #31445f;
  font-weight: 800;
  white-space: nowrap;
}
.wizard-progress {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  width: min(1420px, 100%);
  max-width: 100%;
  margin: 0 auto 24px;
  box-sizing: border-box;
  overflow: hidden;
}
.wizard-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #44536b;
  font: inherit;
  cursor: pointer;
}
.wizard-step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: #dce6ee;
  z-index: 0;
}
[dir="rtl"] .wizard-step::before { left: 0; right: 0; }
.wizard-step:first-child::before { inset-inline-start: 50%; }
.wizard-step:last-child::before { inset-inline-end: 50%; }
.wizard-step span {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #dce6ee;
  background: #fff;
  font-weight: 900;
}
.wizard-step.active span, .wizard-step.done span {
  color: #fff;
  border-color: #25a85d;
  background: #25a85d;
}
.wizard-step small { font-weight: 800; }
.register-error { width: min(920px, 100%); margin: 0 auto 16px; }
.register-wizard-form { display: grid; gap: 16px; }
.register-step-panel { display: none; }
.register-step-panel.active { display: block; }
.register-card {
  position: relative;
  width: min(880px, 100%);
  min-height: 520px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 22px 56px rgba(16,33,63,.09);
  overflow: hidden;
}
.register-form-card {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: end;
  width: min(1480px, 100%);
}
.register-card h2 { margin: 4px 0 8px; font-size: 1.55rem; letter-spacing: 0; }
.register-card p { color: var(--muted); line-height: 1.65; }
.step-bubble {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #22a85d;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(34,168,93,.22);
}
.register-family-art {
  grid-column: 1;
  grid-row: 4;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #edf2f7;
  box-shadow: 0 16px 32px rgba(16,33,63,.08);
}
.register-form-card .step-bubble,
.register-form-card h2,
.register-form-card > p {
  grid-column: 1 / -1;
}
.register-fields {
  grid-column: 2;
  grid-row: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: stretch;
  align-content: end;
}
.register-card label {
  display: grid;
  gap: 7px;
  color: #23344f;
  font-weight: 800;
}
.register-card input, .register-card select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dce6f0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
}
.wide-label { margin-top: 16px; }
.join-choice-grid, .preference-grid, .template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  min-width: 0;
}
.join-choice, .template-card, .preference-tile {
  position: relative;
  min-width: 0;
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.join-choice input, .template-card input, .preference-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.join-choice.selected, .template-card.selected, .preference-tile:has(input:checked) {
  border-color: #25a85d;
  box-shadow: 0 0 0 3px rgba(37,168,93,.12);
}
.choice-avatar, .template-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #eaf8f0;
  font-size: 2rem;
}
.template-icon svg,
.preference-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.template-icon-balanced { color: #128d50; background: #eaf8f0; }
.template-icon-fast { color: #b45309; background: #fff4d8; }
.template-icon-growth { color: #2366d1; background: #eaf1ff; }
.join-choice strong, .template-card strong { display: block; color: var(--ink); }
.join-choice small, .template-card small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.5; }
.children-preview-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  margin-top: 26px;
  border: 1px solid #dceee4;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fffb, #f5f9ff);
}
.parent-avatar-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}
.avatar-library-shell {
  min-width: 0;
}
.avatar-library-category-rail {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.avatar-library-category {
  flex: 0 0 112px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid #dce8f2;
  border-radius: 10px;
  background: #fff;
  color: #1f314d;
  text-align: start;
  cursor: pointer;
}
.avatar-library-category.is-active {
  border-color: #6b4ee6;
  box-shadow: 0 0 0 3px rgba(107,78,230,.12);
}
.avatar-library-category img {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.avatar-library-category span,
.avatar-library-category small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar-library-category span {
  font-size: .78rem;
  font-weight: 900;
}
.avatar-library-category small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 750;
}
.avatar-library-tools {
  margin-bottom: 12px;
}
.avatar-library-tools input {
  min-height: 42px;
}
.avatar-library-choice.is-category-hidden {
  display: none !important;
}
.avatar-library-choice.is-avatar-page-hidden {
  display: none !important;
}
.avatar-library-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #dfe8f2;
  border-radius: 14px;
  background: #fff;
  color: #159457;
  font: inherit;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(16,33,63,.055);
}
.avatar-library-more-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: .72;
}
.avatar-library-more.is-loading .avatar-library-more-icon {
  animation: avatar-library-spin .72s linear infinite;
}
.avatar-library-more:not(.is-loading) .avatar-library-more-icon {
  position: relative;
  border-top-color: currentColor;
}
.avatar-library-more:not(.is-loading) .avatar-library-more-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: currentColor;
}
.avatar-library-more:disabled {
  cursor: wait;
  opacity: .82;
}
@keyframes avatar-library-spin {
  to { transform: rotate(360deg); }
}
.parent-avatar-library .avatar-library-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  max-height: min(430px, 52vh);
  overflow-y: auto;
  padding: 2px 4px 10px;
  scrollbar-width: thin;
}
.parent-avatar-library .avatar-library-choice {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}
.parent-avatar-library .avatar-library-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.parent-avatar-library .avatar-library-choice span {
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #dce8f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16,33,63,.07);
}
.parent-avatar-library .avatar-library-choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parent-avatar-library .avatar-library-choice small {
  display: none;
}
.parent-avatar-library .avatar-library-choice input:checked + span {
  border-color: #20b86a;
  box-shadow: 0 0 0 4px rgba(32,184,106,.14), 0 10px 22px rgba(16,33,63,.10);
}
.parent-upload-card,
.pin-card-grid {
  border: 1px solid #dceee4;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fffb, #f5f9ff);
  padding: 18px;
}
.parent-upload-card {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #173356;
  font-weight: 900;
  text-align: center;
}
.parent-upload-card input[type="file"] {
  width: 100%;
  max-width: 260px;
  min-height: 54px;
  border: 1px dashed #b8d8c8;
  border-radius: 18px;
  background: #ffffff;
  color: #48617c;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(23, 51, 86, .07);
  font-weight: 850;
}
.parent-upload-card input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 999px;
  background: #20b86a;
  color: #fff;
  padding: 10px 14px;
  margin-inline-end: 10px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
.pin-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.pin-setup-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 20px 0 0;
  padding: 18px;
  border: 1px solid #dceee4;
  border-radius: 26px;
  background: linear-gradient(135deg, #f6fffb, #f7f9ff);
  text-align: initial;
}
.pin-setup-hero strong {
  display: block;
  color: #10213a;
  font-size: 1.06rem;
  font-weight: 950;
  line-height: 1.2;
}
.pin-setup-hero small {
  display: block;
  margin-top: 6px;
  color: #607086;
  font-weight: 800;
  line-height: 1.42;
}
.pin-phone-visual {
  width: 96px;
  height: 132px;
  border-radius: 28px;
  background: linear-gradient(180deg, #16243c, #243756);
  border: 5px solid #eef7ff;
  box-shadow: 0 18px 34px rgba(16, 33, 63, .18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  align-content: center;
  justify-items: center;
  padding: 22px 14px;
}
.pin-phone-visual span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .08), 0 0 18px rgba(32, 200, 120, .45);
}
.pin-phone-visual span:nth-child(2n) { background: #32d583; }
.pin-code-input {
  min-height: 64px;
  text-align: center !important;
  direction: ltr;
  font-size: 1.7rem !important;
  font-weight: 950 !important;
  letter-spacing: .32em !important;
  border-radius: 20px !important;
}
.seed-phrase-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #dceee4;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #f6fbff);
}
.seed-phrase-card strong {
  display: block;
  color: #10213a;
  font-weight: 950;
}
.seed-phrase-card small {
  display: block;
  margin-top: 4px;
  color: #607086;
  font-weight: 800;
  line-height: 1.42;
}
.seed-phrase-words {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.seed-phrase-words span {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid #d8e5ef;
  border-radius: 14px;
  background: #fff;
  color: #10213a;
  text-align: center;
  font-weight: 950;
  overflow-wrap: anywhere;
}
.seed-copy-btn {
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  background: #1f8f58;
  color: #fff;
  font: inherit;
  font-weight: 950;
}
.pin-code-input::placeholder {
  letter-spacing: .22em;
  color: #9aabc0;
}
.child-preview-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcf4e7;
  color: #16884f;
  font-weight: 900;
  font-size: 1.45rem;
}
.preference-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preference-tile {
  min-height: 96px;
  display: grid;
  gap: 10px;
  place-items: center;
  align-content: center;
  font-weight: 900;
}
.preference-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #16884f;
  background: #eaf8f0;
}
.preference-icon-check { color: #0f8a6a; background: #e4f7f0; }
.preference-icon-target { color: #2366d1; background: #eaf1ff; }
.preference-icon-home { color: #b45309; background: #fff4d8; }
.preference-icon-book { color: #7c3aed; background: #f1ebff; }
.preference-icon-coin { color: #a16207; background: #fff7cc; }
.preference-label {
  display: block;
  line-height: 1.25;
}
.template-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.template-card { overflow: hidden; }
.finish-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 22px;
  align-items: center;
}
.finish-art {
  grid-row: span 4;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.finish-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.finish-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #24405d;
  font-weight: 800;
}
.finish-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf8f0;
  color: #169656;
}
.wizard-actions {
  width: min(880px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.wizard-submit { display: none; }
.register-login-link { margin-top: 14px; }
[dir="rtl"] .public-body { text-align: right; }
[dir="rtl"] .phone-tasks li { grid-template-columns: 30px 1fr auto; }
.registration-body .register-wizard-shell {
  width: min(1100px, calc(100% - 32px));
  padding-bottom: 104px;
}
.registration-body .register-card {
  width: min(720px, 100%);
  min-height: 590px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 72px rgba(16,33,63,.11);
}
.registration-body .register-form-card,
.registration-body .finish-card {
  grid-template-columns: 1fr;
}
.registration-body .register-family-art,
.registration-body .finish-art {
  grid-column: auto;
  grid-row: auto;
  width: min(360px, 100%);
  height: 260px;
  min-height: 0;
  justify-self: center;
  object-fit: contain;
  border-radius: 28px;
}
.registration-body .register-fields {
  grid-column: auto;
  grid-row: auto;
}
.registration-body .register-card h2 {
  color: #111f3c;
  font-size: 1.65rem;
  line-height: 1.12;
  font-weight: 950;
  text-align: center;
}
.registration-body .register-card p {
  text-align: center;
  font-weight: 750;
}
.registration-body .register-card,
.registration-body .join-choice,
.registration-body .template-card,
.registration-body .preference-tile,
.registration-body .children-preview-card,
.registration-body .parent-upload-card,
.registration-body .pin-card-grid {
  border-radius: 22px;
}
.registration-body .step-bubble,
.registration-body .wizard-step.active span,
.registration-body .wizard-step.done span {
  background: #6b4ee6;
  border-color: #6b4ee6;
}
.registration-body .join-choice.selected,
.registration-body .template-card.selected,
.registration-body .preference-tile:has(input:checked) {
  border-color: #6b4ee6;
  box-shadow: 0 0 0 3px rgba(107,78,230,.12);
}
.registration-body .solid-btn {
  background: linear-gradient(180deg,#7b5cf2,#5d35d8);
}
.registration-body .parent-avatar-preview-card {
  grid-template-columns: 1fr;
  gap: 14px;
  min-width: 0;
}
.registration-body .register-wizard-form,
.registration-body .register-step-panel,
.registration-body .register-card {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.registration-body .parent-avatar-library {
  min-width: 0;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #e4edf5;
  border-radius: 18px;
  background: #fbfdff;
}
.registration-body .parent-avatar-library .avatar-library-picker {
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  max-height: min(380px, 48vh);
}
.registration-body .parent-upload-card {
  min-height: 112px;
  place-items: stretch;
  align-content: center;
  padding: 14px;
}
.registration-body .parent-upload-card input[type="file"] {
  max-width: none;
  min-height: 46px;
  border-radius: 10px;
}
body.child-flow-body .pwa-install-card,
body.registration-body .pwa-install-card {
  display: none !important;
}
@media (max-width: 640px) {
  .registration-body.registration-step-focused .register-wizard-head {
    display: none;
  }
  .registration-body.registration-step-focused .wizard-progress {
    position: sticky;
    top: 0;
    z-index: 5;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    column-gap: 2px;
    min-height: 54px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 10px;
    padding: 8px 8px;
    border: 1px solid rgba(221, 232, 242, .95);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(16, 33, 63, .08);
    backdrop-filter: blur(14px);
  }
  .registration-body.registration-step-focused .wizard-step {
    gap: 0;
    min-height: 34px;
  }
  .registration-body.registration-step-focused .wizard-step small {
    display: none;
  }
  .registration-body.registration-step-focused .wizard-step span {
    width: clamp(24px, 7vw, 30px);
    height: clamp(24px, 7vw, 30px);
    font-size: .86rem;
  }
  .registration-body.registration-step-focused .wizard-step::before {
    top: 15px;
  }
}
@media (max-width: 980px) {
  .public-nav { align-items: flex-start; flex-wrap: wrap; }
  .public-menu { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .public-hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; }
  .teen-placeholder-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .teen-visual {
    min-height: 780px;
  }
  .teen-reference-image {
    min-height: 0;
    height: auto;
  }
  .hebrew-audience-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hebrew-audience-visual {
    grid-template-columns: 1fr;
  }
  .hebrew-audience-portrait {
    min-height: 280px;
  }
  .hebrew-shop-story-grid {
    grid-template-columns: 1fr;
  }
  .russian-shop-story-grid {
    grid-template-columns: 1fr;
  }
  .hebrew-shop-story-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .progress-showcase { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-summary { position: static; }
  .achievement-showcase-grid { grid-template-columns: 1fr; }
  .achievement-showcase-card { grid-template-columns: 132px minmax(0, 1fr); }
  .achievement-showcase-image-wrap,
  .achievement-showcase-image-wrap img { min-height: 146px; }
  .public-grid, .split-three, .steps-list, .public-band { grid-template-columns: 1fr 1fr; }
  .app-screenshot-grid { grid-template-columns: 1fr 1fr; }
  .register-wizard-head {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .register-wizard-head .public-brand,
  .register-head-actions {
    justify-content: center;
  }
  .register-title h1 {
    max-width: 760px;
    margin-inline: auto;
  }
  .register-form-card {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
  }
  .register-family-art,
  .register-fields {
    grid-column: auto;
    grid-row: auto;
  }
  .register-family-art {
    min-height: 0;
    max-height: 430px;
  }
  .parent-avatar-preview-card,
  .pin-card-grid {
    grid-template-columns: 1fr;
  }
  .pin-setup-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .seed-phrase-words {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .parent-avatar-library .avatar-library-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  html,
  body.public-body,
  body.public-body main {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }
  body.public-body main > * {
    max-width: calc(100vw - 20px);
  }
  .public-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 16px;
  }
  .public-brand {
    min-width: 0;
    font-size: 1.05rem;
  }
  .public-brand span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .public-menu-toggle {
    display: inline-flex;
  }
  [dir="rtl"] .public-nav {
    grid-template-columns: auto minmax(0, 1fr);
  }
  [dir="rtl"] .public-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  [dir="rtl"] .public-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .public-menu {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
  }
  .public-menu a {
    min-width: 0;
    padding: 12px 14px;
    text-align: start;
    border: 1px solid transparent;
    border-radius: 8px;
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .public-menu a.active {
    border-color: #bfe8d1;
    background: #effaf4;
  }
  .public-actions {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .public-nav.menu-open .public-menu,
  .public-nav.menu-open .public-actions {
    display: grid;
  }
  .public-actions a {
    width: 100%;
  }
  .public-language-form {
    grid-column: 1 / -1;
  }
  .public-language-form select {
    width: 100%;
  }
  .public-hero { padding-top: 34px; min-height: auto; }
  .hero-points, .public-grid, .split-three, .steps-list, .public-band { grid-template-columns: 1fr; }
  .app-screenshot-grid { grid-template-columns: 1fr; }
  .achievement-showcase-section {
    width: calc(100% - 20px);
    margin-bottom: 38px;
    padding: 12px;
  }
  .achievement-showcase-head { margin-bottom: 10px; }
  .achievement-showcase-head strong { font-size: 1rem; }
  .achievement-showcase-head span { font-size: .86rem; }
  .achievement-showcase-card { grid-template-columns: 1fr; }
  .achievement-showcase-image-wrap,
  .achievement-showcase-image-wrap img {
    min-height: 168px;
    max-height: 208px;
  }
  .achievement-showcase-content { padding: 12px; }
  :lang(ka) .hero-copy h1,
  :lang(ka) .sub-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
  .teen-placeholder-section {
    width: min(100% - 24px, 100%);
    padding: 18px;
    gap: 22px;
  }
  .teen-copy h2 {
    font-size: 2.4rem;
  }
  .teen-copy > p {
    font-size: 1rem;
  }
  .teen-point-list span {
    grid-template-columns: 44px minmax(0, 1fr);
    font-size: .95rem;
  }
  .teen-point-list i {
    width: 44px;
    height: 44px;
  }
  .teen-safety-card {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 14px;
  }
  .teen-safety-card > span {
    width: 50px;
    height: 50px;
    font-size: 1.35rem;
  }
  .hebrew-audience-stack {
    width: min(100% - 24px, 100%);
    gap: 18px;
  }
  .hebrew-audience-section {
    padding: 18px;
    gap: 22px;
  }
  .hebrew-audience-copy h2 {
    font-size: 2.25rem;
  }
  .hebrew-audience-copy > p {
    font-size: 1rem;
  }
  .hebrew-audience-safe {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 14px;
  }
  .hebrew-audience-safe > span {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .hebrew-audience-features {
    grid-template-columns: 1fr;
  }
  .hebrew-audience-feature {
    min-height: 136px;
  }
  .hebrew-audience-portrait {
    min-height: 230px;
  }
  .hebrew-audience-portrait-image,
  .hebrew-teen-portrait-image {
    min-height: 230px;
  }
  .hebrew-shop-story {
    width: min(100% - 24px, 100%);
    padding: 18px;
  }
  .russian-shop-story {
    width: min(100% - 24px, 100%);
    padding: 18px;
  }
  .hebrew-shop-story h2 {
    font-size: 2.15rem;
  }
  .russian-shop-story h2 {
    font-size: 2.1rem;
  }
  .hebrew-shop-story-head p {
    font-size: 1rem;
  }
  .russian-shop-story-head p {
    font-size: 1rem;
  }
  .hebrew-shop-story-card {
    grid-template-columns: 1fr;
  }
  .russian-shop-story-card {
    grid-template-columns: 1fr;
  }
  .hebrew-shop-story-card img {
    aspect-ratio: auto;
    height: auto;
  }
  .russian-shop-story-card img {
    aspect-ratio: auto;
    height: auto;
  }
  .hebrew-audience-portrait > i {
    width: 132px;
    height: 132px;
    font-size: 4rem;
  }
  .teen-visual {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .teen-reference-image {
    min-height: 0;
    height: auto;
  }
  .teen-person-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: 240px;
  }
  .teen-person-avatar {
    width: 190px;
    height: 190px;
    bottom: 30px;
    font-size: 5rem;
  }
  .teen-phone-mini {
    bottom: 68px;
  }
  .teen-metric-stack {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    order: 2;
  }
  .teen-metric-stack span {
    min-height: 58px;
    grid-template-columns: 46px 1fr;
    font-size: .8rem;
    padding: 8px;
  }
  .teen-metric-stack b {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1rem;
  }
  .teen-task-card {
    position: static;
    width: 100%;
    padding: 14px;
    order: 3;
  }
  .teen-task-card div {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .teen-task-card div > i {
    width: 44px;
    height: 44px;
  }
  .teen-task-card a {
    font-size: 1rem;
  }
  .teen-progress-phone {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: 34px 12px 12px;
    border-width: 7px;
    order: 4;
  }
  .teen-chart {
    height: 150px;
  }
  .teen-goal-card div {
    font-size: 2rem;
  }
  .teen-streak {
    align-items: flex-start;
  }
  .teen-shop-card {
    display: none;
  }
  .teen-shop-card > div:first-child {
    align-items: center;
  }
  .teen-shop-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .teen-shop-items span {
    min-height: 118px;
  }
  .progress-showcase {
    width: min(100% - 24px, 100%);
    padding: 16px;
    margin-top: 14px;
    gap: 18px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .shop-items-row,
  .reward-flow {
    grid-template-columns: 1fr;
  }
  .stat-card {
    min-height: 158px;
    padding: 13px;
    gap: 6px;
  }
  .stat-card span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.16rem;
  }
  .stat-card strong {
    font-size: 1.42rem;
  }
  .stat-card b {
    font-size: .98rem;
  }
  .stat-card small {
    font-size: .86rem;
  }
  .shop-preview-panel {
    padding: 14px;
  }
  .shop-preview-head {
    align-items: flex-start;
  }
  .shop-items-row article {
    min-height: 0;
  }
  .policy-grid,
  .cookie-banner {
    grid-template-columns: 1fr;
    max-height: 34dvh;
    overflow: auto;
    padding: 10px 12px;
    gap: 8px;
  }
  .cookie-banner strong { margin-bottom: 2px; }
  .cookie-banner p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .9rem;
    line-height: 1.32;
  }
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    gap: 8px;
  }
  .cookie-actions .solid-btn,
  .cookie-actions .ghost-btn {
    min-width: 0;
    min-height: 40px;
    padding-inline: 10px;
    font-size: .88rem;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .cookie-actions .solid-btn {
    grid-column: 1 / -1;
  }
  .hero-visual { min-height: 460px; }
  .mock-phone { min-height: 510px; transform: scale(.88); }
  .floating-panel { display: none; }
  .public-band { padding: 22px; }
  .auth-shell { grid-template-columns: 1fr; }
  .content-admin-grid { grid-template-columns: 1fr; }
  .register-wizard-shell {
    width: min(100% - 20px, 100%);
    padding: 14px 0 30px;
  }
  .register-wizard-head {
    gap: 12px;
    margin-bottom: 16px;
  }
  .register-title h1 {
    font-size: 1.72rem;
    line-height: 1.14;
  }
  .register-title p {
    font-size: .95rem;
    line-height: 1.55;
  }
  .register-head-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .register-head-actions .public-language-form select,
  .secure-badge {
    width: 100%;
    justify-content: center;
  }
  .wizard-progress {
    overflow: hidden;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 10px;
    column-gap: 4px;
    padding: 0 0 8px;
    margin-bottom: 12px;
    max-width: 100%;
  }
  .wizard-step {
    gap: 5px;
    min-width: 0;
    padding: 0 2px;
  }
  .wizard-step::before { display: none; }
  .wizard-step span {
    width: clamp(28px, 8vw, 30px);
    height: clamp(28px, 8vw, 30px);
    font-size: .9rem;
  }
  .wizard-step small {
    max-width: 100%;
    min-height: 34px;
    display: block;
    overflow: visible;
    font-size: .72rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }
  .register-form-card, .finish-card { grid-template-columns: 1fr; }
  .register-family-art, .finish-art, .register-fields { grid-column: auto; grid-row: auto; }
  .register-form-card .register-family-art {
    order: 4;
  }
  .register-fields {
    order: 3;
  }
  .register-fields, .join-choice-grid, .preference-grid, .template-grid { grid-template-columns: 1fr; }
  .register-card {
    min-height: auto;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(16,33,63,.08);
  }
  .registration-body .register-card h2 {
    max-width: 100%;
    font-size: 1.12rem;
    line-height: 1.18;
    margin-top: 8px;
    overflow-wrap: anywhere;
  }
  .registration-body .register-card p {
    margin-bottom: 12px;
    line-height: 1.52;
    overflow-wrap: anywhere;
  }
  .step-bubble {
    width: 34px;
    height: 34px;
  }
  .register-family-art {
    max-height: 240px;
    object-fit: cover;
    object-position: top center;
  }
  .finish-art {
    max-height: 220px;
    object-fit: cover;
    object-position: top center;
  }
  .join-choice, .template-card, .preference-tile {
    min-height: auto;
    padding: 14px;
  }
  .choice-avatar, .template-icon {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
    margin-bottom: 8px;
  }
  .template-icon svg {
    width: 28px;
    height: 28px;
  }
  .preference-icon {
    width: 46px;
    height: 46px;
  }
  .preference-icon svg {
    width: 26px;
    height: 26px;
  }
  .children-preview-card {
    grid-template-columns: 62px 1fr;
    gap: 12px;
    padding: 14px;
  }
  .child-preview-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.02rem;
  }
  .wizard-actions {
    position: sticky;
    bottom: 10px;
    z-index: 8;
    background: rgba(255,255,255,.9);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    backdrop-filter: blur(12px);
  }
  .wizard-actions .solid-btn,
  .wizard-actions .ghost-btn {
    flex: 1;
    min-height: 46px;
    padding-inline: 12px;
  }
  .register-login-link {
    margin-bottom: 0;
  }
  .registration-body .avatar-library-category {
    flex-basis: 96px;
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 52px;
    padding: 7px;
  }
  .registration-body .avatar-library-category img {
    width: 30px;
    height: 30px;
  }
  .registration-body .parent-avatar-library .avatar-library-picker {
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
    gap: 8px;
  }
}

/* Final mobile polish for the public "How it works" journey.
   These rules intentionally live at the end so they win over earlier layouts. */
@media (max-width: 1180px) {
  .journey-strip {
    width: 100% !important;
    max-width: none !important;
    margin: 14px 0 28px !important;
    padding: 16px max(16px, env(safe-area-inset-left)) 18px max(16px, env(safe-area-inset-right)) !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-inline: 16px !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch;
  }

  .journey-strip article {
    flex: 0 0 clamp(214px, 68vw, 276px) !important;
    scroll-snap-align: center !important;
    min-width: 0 !important;
  }

  .journey-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .journey-value-grid article.wide,
  .journey-value-grid article.calm {
    grid-column: span 2 !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  html[dir="rtl"] main {
    direction: ltr;
  }

  html[dir="rtl"] main > * {
    direction: rtl;
  }

  .how-journey-hero {
    width: min(calc(100% - 56px), 334px) !important;
    margin: 24px auto 8px 28px !important;
    text-align: center !important;
    overflow: hidden;
  }

  .how-journey-hero .eyebrow {
    margin-inline: auto;
  }

  .how-journey-hero h1 {
    max-width: 300px !important;
    font-size: clamp(1.55rem, 6.7vw, 2.05rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
  }

  :lang(ka) .how-journey-hero h1 {
    font-size: clamp(1.38rem, 6vw, 1.8rem) !important;
  }

  .how-journey-hero p {
    max-width: 34rem !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .journey-strip {
    width: min(calc(100% - 56px), 334px) !important;
    max-width: min(calc(100% - 56px), 334px) !important;
    margin: 14px auto 24px 28px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  .journey-strip article {
    width: 100% !important;
    flex: none !important;
    padding: 12px !important;
    border-radius: 8px !important;
  }

  .journey-strip article::after {
    display: none !important;
  }

  .journey-strip article > b {
    top: -10px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  .journey-strip-visual {
    height: 226px !important;
  }

  .journey-phone {
    width: 136px !important;
    height: 214px !important;
  }

  .journey-strip h3 {
    margin-top: 12px !important;
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }

  .journey-strip p {
    display: block !important;
    font-size: .9rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
  }

  .journey-value-grid {
    width: min(calc(100% - 56px), 334px) !important;
    max-width: min(calc(100% - 56px), 334px) !important;
    margin-left: 28px !important;
    margin-right: auto !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 36px !important;
  }

  .journey-value-grid article,
  .journey-value-grid article.wide,
  .journey-value-grid article.calm {
    grid-column: auto !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 16px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }

  .journey-value-grid h2 {
    font-size: clamp(1.38rem, 6vw, 1.78rem) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
  }

  .journey-value-grid h3 {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }

  .journey-value-grid p {
    font-size: .98rem !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
  }

  .journey-dashboard-preview {
    width: 100% !important;
    max-width: 100% !important;
  }

  .journey-dashboard-preview .journey-chart {
    min-height: 90px !important;
  }
}

@media (max-width: 420px) {
  .journey-strip article {
    flex-basis: min(80vw, 284px) !important;
  }

  .journey-phone {
    width: 128px !important;
    height: 204px !important;
  }
}

/* Connected Families public concept page */
.connected-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 30px clamp(18px, 4vw, 56px) 42px;
  color: #12251c;
  background:
    radial-gradient(circle at 78% 12%, rgba(255,255,255,.86) 0, rgba(255,255,255,.58) 26%, rgba(255,255,255,0) 48%),
    linear-gradient(115deg, #fffaf1 0%, #f7f3e8 38%, #eaf2df 100%);
  overflow: hidden;
}
.connected-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,250,241,.98) 0%, rgba(255,250,241,.86) 26%, rgba(255,250,241,.12) 58%, rgba(255,250,241,.76) 100%);
  pointer-events: none;
  z-index: 1;
}
.connected-hero > * { position: relative; z-index: 2; }
.connected-brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.connected-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 900;
}
.connected-brand-row > span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255,244,220,.9);
  border: 1px solid rgba(160,125,68,.2);
  color: #314634;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(73,53,20,.08);
}
.connected-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.06fr) minmax(430px, .98fr) minmax(250px, .52fr);
  grid-template-rows: auto auto;
  gap: 22px;
  align-items: center;
}
.connected-copy {
  max-width: 660px;
  padding-block: 28px;
}
.connected-copy h1 {
  margin: 12px 0 14px;
  max-width: 720px;
  font-size: clamp(3.1rem, 6.2vw, 7.5rem);
  line-height: .92;
  font-weight: 950;
  letter-spacing: 0;
  color: #06391f;
}
.connected-copy p {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: clamp(1.05rem, 1.5vw, 1.38rem);
  line-height: 1.65;
  color: #26382f;
}
.connected-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
}
.connected-feature-row article {
  min-width: 0;
  padding: 0;
}
.connected-feature-row i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  color: #4d924a;
  font-size: 2rem;
}
.connected-feature-row strong {
  display: block;
  color: #13291e;
  font-weight: 900;
}
.connected-feature-row small {
  display: block;
  margin-top: 4px;
  color: #4d5b51;
  line-height: 1.45;
  font-weight: 700;
}
.connected-art-wrap {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  align-self: stretch;
  min-height: 640px;
  border-radius: 28px;
  overflow: hidden;
  mask-image: radial-gradient(circle at 48% 44%, #000 0%, #000 52%, rgba(0,0,0,.78) 68%, rgba(0,0,0,0) 86%);
  -webkit-mask-image: radial-gradient(circle at 48% 44%, #000 0%, #000 52%, rgba(0,0,0,.78) 68%, rgba(0,0,0,0) 86%);
}
.connected-art-wrap img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}
.connected-phone {
  width: min(100%, 350px);
  border-radius: 34px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(45,59,49,.12);
  box-shadow: 0 28px 70px rgba(50,57,42,.18);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.connected-phone-main {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  align-self: center;
  z-index: 4;
}
.connected-phone-side {
  grid-column: 3;
  grid-row: 1 / 3;
  justify-self: center;
  z-index: 5;
  padding: 18px;
}
.connected-phone-top {
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 0;
  text-align: center;
  font-weight: 950;
}
.connected-avatar-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px 16px;
  overflow: hidden;
}
.connected-avatar-row span {
  min-width: 0;
  flex: 1;
  text-align: center;
  font-size: .7rem;
  font-weight: 850;
}
.connected-avatar-row img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 6px;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(55,64,48,.16);
}
.connected-avatar-row button {
  width: 52px;
  height: 52px;
  border: 1px solid #e0e4dc;
  border-radius: 999px;
  background: #fff;
  color: #193629;
  font-size: 1.2rem;
}
.connected-avatar-row .connected-add-family-button {
  position: relative;
  width: 62px;
  height: 62px;
  min-width: 62px;
  border: 0;
  background: linear-gradient(145deg, #29d77e, #14aa60);
  color: #fff;
  box-shadow: 0 16px 34px rgba(20,170,96,.30), 0 0 0 10px rgba(41,215,126,.12);
  transform: translateY(-4px);
  animation: connectedAddFloat 2.4s ease-in-out infinite;
}
.connected-avatar-row .connected-add-family-button::before,
.connected-avatar-row .connected-add-family-button::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid rgba(41,215,126,.28);
  animation: connectedAddPulse 2.4s ease-out infinite;
}
.connected-avatar-row .connected-add-family-button::after {
  animation-delay: 1.2s;
}
.connected-avatar-row .connected-add-family-button i {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  font-size: 1.55rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.16));
}
.connected-avatar-row .connected-add-family-button:hover,
.connected-avatar-row .connected-add-family-button:focus-visible {
  transform: translateY(-7px) scale(1.04);
  outline: 3px solid rgba(41,215,126,.22);
  outline-offset: 5px;
}
.connected-event-card {
  margin: 0 16px 16px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 38px rgba(47,61,46,.12);
}
@keyframes connectedAddFloat {
  0%, 100% { transform: translateY(-4px) scale(1); }
  50% { transform: translateY(-12px) scale(1.04); }
}
@keyframes connectedAddPulse {
  0% { opacity: .72; transform: scale(.86); }
  78%, 100% { opacity: 0; transform: scale(1.34); }
}
.connected-event-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.connected-event-card div {
  padding: 14px 16px 6px;
}
.connected-event-card small,
.connected-phone-side p {
  color: #6f796f;
  font-weight: 750;
}
.connected-event-card strong,
.connected-phone-side h3 {
  display: block;
  margin-top: 4px;
  color: #17271f;
  font-size: 1.15rem;
  font-weight: 950;
}
.connected-event-card span {
  display: block;
  margin-top: 4px;
  color: #4c5d50;
  font-weight: 800;
}
.connected-event-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0 16px 16px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #438b50, #266e3b);
  font-weight: 900;
}
.connected-mini-list {
  padding: 0 16px 18px;
  display: grid;
  gap: 10px;
  color: #314235;
  font-size: .86rem;
  font-weight: 800;
}
.connected-mini-list span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.connected-mini-list i { color: #4d9855; }
.connected-mini-list span:last-child i { color: #d59a20; }
.connected-goal-image {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(50,57,42,.13);
}
.connected-phone-side h3 {
  margin: 18px 0 6px;
  text-align: center;
}
.connected-phone-side p {
  text-align: center;
  line-height: 1.5;
}
.connected-progress {
  height: 8px;
  margin: 18px 0;
  border-radius: 999px;
  background: #e7e7df;
  overflow: hidden;
}
.connected-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2b8745, #7abd72);
}
.connected-phone-side button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #2c7c3f;
  color: #fff;
  font-weight: 900;
}
.connected-events-section,
.connected-why-section,
.connected-lower-grid,
.connected-cta-band {
  width: min(100% - 44px, 1500px);
  margin: 26px auto;
}
.connected-why-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) repeat(3, minmax(190px, .75fr));
  gap: 16px;
  align-items: stretch;
}
.connected-why-section > div,
.connected-why-section article {
  min-width: 0;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(55,80,55,.12);
  box-shadow: 0 18px 44px rgba(55,64,48,.09);
}
.connected-why-section > div {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(235,247,231,.94), rgba(249,252,255,.92)),
    #fff;
}
.connected-why-section h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 1.05;
  color: #10351f;
  letter-spacing: 0;
}
.connected-why-section p {
  margin: 0;
  max-width: 54rem;
  color: #4a5b50;
  font-size: 1.04rem;
  line-height: 1.6;
  font-weight: 760;
}
.connected-why-section article {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.connected-why-section article i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #eff7ee;
  color: #438a4f;
  font-size: 1.75rem;
}
.connected-why-section article:nth-child(3) i {
  background: #eef5ff;
  color: #3e75b8;
}
.connected-why-section article:nth-child(4) i {
  background: #f4efff;
  color: #7653b8;
}
.connected-why-section article strong {
  color: #152a1e;
  font-size: 1.12rem;
  font-weight: 950;
}
.connected-why-section article span {
  color: #536157;
  line-height: 1.52;
  font-weight: 720;
  overflow-wrap: anywhere;
}
.connected-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.connected-event-grid article {
  position: relative;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(27,50,35,.1);
  box-shadow: 0 16px 36px rgba(55,64,48,.09);
}
.connected-event-grid img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  display: block;
}
.connected-event-grid div {
  padding: 14px 16px 16px;
}
.connected-event-grid strong,
.connected-event-grid span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.connected-event-grid strong {
  color: #15281e;
  font-size: 1.02rem;
  font-weight: 950;
}
.connected-event-grid span {
  margin-top: 5px;
  color: #536257;
  font-weight: 760;
}
.connected-event-grid > article > i {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 16px;
  color: #e75d5d;
}
.connected-lower-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(360px, 1.2fr);
  gap: 22px;
}
.connected-arrivals,
.connected-league {
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(55,80,55,.12);
  box-shadow: 0 18px 44px rgba(55,64,48,.1);
  padding: 24px;
}
.connected-arrivals h2,
.connected-league h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  color: #132a1e;
}
.connected-arrivals ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.connected-arrivals li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 850;
}
.connected-arrivals img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
}
.connected-arrivals span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.connected-arrivals b {
  color: #2f8d48;
  font-size: .82rem;
  white-space: nowrap;
}
.connected-arrivals b.wait { color: #c18418; }
.connected-league > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #eef6e8;
  color: #4e924d;
  font-size: 1.8rem;
}
.connected-league p {
  margin: 0 0 16px;
  color: #506052;
  line-height: 1.6;
  font-weight: 720;
}
.connected-league div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e3e8df;
}
.connected-league div strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: #f1f7ed;
  color: #2d8748;
}
.connected-league div span,
.connected-league div b {
  min-width: 0;
  overflow-wrap: anywhere;
}
.connected-cta-band {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(236,245,224,.96), rgba(255,250,237,.96));
  border: 1px solid rgba(55,80,55,.12);
  box-shadow: 0 18px 44px rgba(55,64,48,.1);
}
.connected-cta-band img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
}
.connected-cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  color: #12331f;
}
.connected-cta-band p {
  margin: 0;
  color: #48594c;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 760;
}
html[dir="rtl"] .connected-phone-top i.bi-arrow-left { transform: scaleX(-1); }
@media (max-width: 1180px) {
  .connected-hero-grid {
    grid-template-columns: 1fr;
  }
  .connected-art-wrap,
  .connected-phone-main,
  .connected-phone-side {
    grid-column: auto;
    grid-row: auto;
  }
  .connected-art-wrap {
    min-height: 420px;
  }
  .connected-art-wrap img {
    min-height: 420px;
  }
  .connected-phone-main,
  .connected-phone-side {
    justify-self: center;
  }
  .connected-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .connected-cta-band {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .connected-hero {
    min-height: 0;
    padding: 18px 14px 28px;
  }
  .connected-brand-row {
    align-items: flex-start;
    gap: 10px;
  }
  .connected-brand-row > span {
    min-height: 36px;
    padding-inline: 14px;
    font-size: .82rem;
  }
  .connected-copy {
    padding-block: 12px;
  }
  .connected-copy h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
    line-height: .96;
  }
  .connected-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }
  .connected-feature-row,
  .connected-event-grid,
  .connected-lower-grid {
    grid-template-columns: 1fr;
  }
  .connected-feature-row {
    gap: 12px;
  }
  .connected-feature-row article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
  }
  .connected-feature-row i {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 1.55rem;
  }
  .connected-art-wrap {
    min-height: 320px;
    border-radius: 22px;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .connected-art-wrap img {
    min-height: 320px;
  }
  .connected-phone {
    width: min(100%, 360px);
    border-radius: 28px;
  }
  .connected-events-section,
  .connected-why-section,
  .connected-lower-grid,
  .connected-cta-band {
    width: min(100% - 28px, 430px);
    margin-block: 18px;
  }
  .connected-why-section {
    grid-template-columns: 1fr;
  }
  .connected-why-section > div,
  .connected-why-section article {
    border-radius: 18px;
  }
  .connected-why-section > div,
  .connected-why-section article {
    padding: 18px;
  }
  .connected-arrivals,
  .connected-league {
    padding: 18px;
    border-radius: 18px;
  }
  .connected-cta-band {
    padding: 14px;
    gap: 16px;
  }
  .connected-cta-band img {
    height: 180px;
  }
  .connected-cta-band .solid-btn {
    width: 100%;
  }
}
