.benefits {
  max-width: 1192px;
  margin: 0 auto;
  padding: 8px 32px 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 15px;
  border: 1px solid #e3e3d8;
  border-radius: 22px;
  background: #f1f2e7;
}

.benefit-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 15px;
  background: #e0e8c6;
  color: #465330;
  box-shadow: inset 0 1px 0 #ffffff9c, 0 3px 6px #46533009;
}

.benefit-card:nth-child(2) .benefit-icon { background: #dce8e4; color: #34554b; }
.benefit-card:nth-child(3) .benefit-icon { background: #f6dfcf; color: #954225; }
.benefit-card:nth-child(4) .benefit-icon { background: #e2def0; color: #5b487d; }
.benefit-card:nth-child(5) .benefit-icon { background: #eee4c4; color: #7e612d; }

.benefit-icon svg { width: 24px; height: 24px; }
.benefit-title { font-size: 13px; font-weight: 800; line-height: 1.4; }

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  justify-content: center;
  width: auto;
  height: 56px;
  min-width: 152px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.store-apple { background: var(--ink); color: #fff; }
.store-apple:hover { background: #393c34; }
.store-google { background: #fffdf8; border-color: #d8d7ca; color: var(--ink); }
.store-google:hover { background: #fff; }

.hero-copy .store-buttons { justify-content: flex-start; }

.language { position: relative; }
.language-trigger { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px 12px; border-radius: 24px; background: transparent; font-size: 12px; font-weight: 700; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { background: #e9eddd; }
.language-trigger svg { width: 17px; height: 17px; }
.language-trigger .language-chevron { width: 14px; height: 14px; transition: transform .2s; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-short { display: none; }
.language-menu { position: absolute; top: calc(100% + 18px); right: 0; width: 232px; max-height: calc(100dvh - 120px); overflow-y: auto; padding: 8px; border-radius: 23px; background: #fffdf8; border: 1px solid #deded1; box-shadow: 0 14px 40px #26321e25; }
.language-menu[hidden] { display: none; }
.language-menu a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 12px; border-radius: 16px; font-size: 14px; }
.language-menu a:hover, .language-menu a:focus-visible { background: #f0f2e7; }
.language-menu a[aria-current="page"] { background: #e7edda; font-weight: 800; }
.language-menu .language-code { margin-left: auto; font-size: 10px; color: #596151; }
.language-menu svg { width: 16px; height: 16px; color: #4a6135; }

.character-picker > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: none; }
.character-choice { position: relative; display: flex; flex-direction: column; justify-content: center; text-align: center; min-width: 0; min-height: 133px; padding: 12px 10px; gap: 9px; border-radius: 19px; }
.character-choice img { flex-shrink: 0; width: 48px; height: 72px; object-fit: contain; }
.character-choice > span { display: block; width: 100%; min-width: 0; max-width: 100%; overflow-wrap: anywhere; white-space: normal; font-size: 12px; line-height: 1.4; }
.character-choice[aria-pressed="true"]::after { content: ""; position: absolute; top: 12px; right: 12px; width: 9px; height: 5px; border-left: 2px solid #465d30; border-bottom: 2px solid #465d30; transform: rotate(-45deg); }

.award-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.award { padding: 16px 8px 12px; border: 1px solid #dce1cf; border-radius: 22px; background: #f7f8ee; }
.award:nth-child(2) { transform: none; }
.award img { width: 108px; height: 108px; margin: auto; object-fit: contain; }
.award span { font-size: 12px; line-height: 1.4; min-height: 34px; margin: 12px 0 0; overflow-wrap: anywhere; }
.analytics-note { margin-top: 22px; max-width: 600px; color: var(--muted); font-size: 11px; }

.demo-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 0 25px 25px;
}

.progress-control {
  min-width: 0;
  padding: 20px 22px 18px;
  border: 1px solid #e0e4d8;
  border-radius: 23px;
  background: #f2f5eb;
}

.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.progress-heading label { font-size: 12px; line-height: 1.4; font-weight: 800; }

.progress-heading output {
  flex-shrink: 0;
  padding: 5px 10px;
  border: 1px solid #d2ddbb;
  border-radius: 30px;
  background: #e6edda;
  color: #41562c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.progress-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
}

.progress-summary strong { font-size: clamp(23px, 2vw, 29px); line-height: 1.2; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.progress-unit { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.progress-summary > span { color: #596151; font-size: 11px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.progress-track { position: relative; height: 46px; margin-top: 8px; }

.progress-track input {
  position: relative;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
  border-radius: 9px;
  touch-action: pan-y;
}

.progress-track input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(to right, #637a49 0%, #637a49 var(--progress), #dce2d1 var(--progress), #dce2d1 100%);
}

.progress-track input::-moz-range-track {
  height: 8px;
  border-radius: 10px;
  background: #dce2d1;
}

.progress-track input::-moz-range-progress { height: 8px; border-radius: 10px; background: #637a49; }

.progress-track input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border: 6px solid #fffdf7;
  border-radius: 50%;
  background: #d95a29;
  box-shadow: 0 0 0 1px #dedfd3, 0 3px 7px #30422725;
}

.progress-track input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 6px solid #fffdf7;
  border-radius: 50%;
  background: #d95a29;
  box-shadow: 0 0 0 1px #dedfd3, 0 3px 7px #30422725;
}

.progress-milestones {
  position: absolute;
  z-index: 2;
  inset: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  pointer-events: none;
}

.progress-milestones span { width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.progress-endpoints { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #596151; font-size: 10px; font-variant-numeric: tabular-nums; }
.progress-endpoints > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.progress-endpoints svg { width: 13px; height: 13px; }
.progress-hint { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #dfe4d5; color: #596151; font-size: 11px; line-height: 1.5; }
.progress-hint svg { height: 16px; width: 16px; }

@media (max-width: 1100px) {
  .benefit-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .benefit-title { font-size: 12px; }
}

@media (max-width: 880px) {
  .hero-copy .store-buttons { justify-content: center; }
  .demo-controls { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .progress-heading label { font-size: 13px; }
  .progress-summary > span { font-size: 12px; }
  .progress-hint { font-size: 12px; }
}

@media (max-width: 600px) {
  .language-name { display: none; }
  .language-short { display: inline; }
  .language-trigger { gap: 5px; padding: 10px 8px; }
  .language-menu { top: calc(100% + 15px); }
  .character-picker > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .character-choice { flex-direction: row; justify-content: flex-start; min-height: 78px; padding: 8px 18px; gap: 18px; border-radius: 18px; text-align: left; }
  .character-choice img { width: 38px; height: 60px; }
  .character-choice > span { padding-right: 20px; font-size: 13px; }
  .character-choice[aria-pressed="true"]::after { top: 34px; right: 18px; }
  .award { padding: 12px 6px; border-radius: 17px; }
  .award img { width: 72px; height: 72px; }
  .award span { font-size: 11px; min-height: 32px; }
  .award-shelf { gap: 7px; }
  .benefits { padding: 8px 18px 0; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .benefit-card { flex-direction: row; align-items: center; padding: 14px 12px; border-radius: 18px; gap: 10px; }
  .benefit-card:last-child { grid-column: 1 / -1; justify-content: center; }
  .benefit-icon { flex-basis: 36px; height: 36px; border-radius: 12px; }
  .benefit-icon svg { height: 21px; width: 21px; }
  .benefit-title { font-size: 12px; }
  .store-buttons { gap: 8px; }
  .store { height: 52px; min-width: 132px; min-height: 52px; padding: 12px 18px; border-radius: 18px; font-size: 15px; }
  .demo-controls { padding: 0 13px 18px; gap: 21px; }
  .progress-control { padding: 17px 16px 15px; border-radius: 20px; }
  .progress-heading label { font-size: 12px; }
  .progress-summary strong { font-size: 26px; }
  .progress-summary > span { font-size: 11px; }
  .progress-hint { font-size: 11px; }
  .download-copy .store-buttons { flex-direction: row; }
}

@media (max-width: 360px) {
  .hero-copy .store-buttons { flex-direction: row; }
  .benefits { padding-inline: 15px; }
  .benefit-card { gap: 8px; padding: 12px 10px; }
}

@media (forced-colors: active) {
  .progress-track input { appearance: auto; -webkit-appearance: auto; }
  .progress-milestones { display: none; }
}
