:root {
  color-scheme: dark;
  --store-bg: #111312;
  --ink: #17231c;
  --muted: #67756d;
  --soft: #f5fbf6;
  --cream: #fff8f0;
  --mint: #75d5a7;
  --mint-deep: #20a972;
  --mint-dark: #0f5f46;
  --peach: #ffe8df;
  --aqua: #d7fff0;
  --butter: #fff1c8;
  --line: rgba(23, 35, 28, 0.12);
  --danger: #eb756c;
  --score-color: var(--mint-deep);
  --face-yellow: #ffdc16;
  --face-yellow-soft: #ffe66b;
  --doodle-ink: #11120f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Satoshi", "Aptos", "Segoe UI", system-ui, sans-serif;
  background: var(--store-bg);
  color: var(--soft);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.store-shell {
  width: min(1640px, calc(100% - 44px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px 0 34px;
}

.listing-hero {
  min-height: 186px;
  border-radius: 0 0 8px 8px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(112deg, rgba(255, 248, 240, 0.86), rgba(117, 213, 167, 0.70) 44%, rgba(20, 31, 27, 0.62)),
    #92d9b6;
  overflow: hidden;
}

.app-icon {
  width: 116px;
  height: 116px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 26px 70px -35px rgba(15, 95, 70, 0.72);
}

.icon-leaf,
.icon-pulse {
  position: absolute;
  border-radius: 999px;
}

.icon-leaf {
  width: 66px;
  height: 66px;
  border: 10px solid var(--mint);
  border-right-color: transparent;
  transform: rotate(-40deg);
  box-shadow: 0 8px 18px -12px var(--mint-dark);
}

.icon-pulse {
  width: 44px;
  height: 44px;
  border: 8px solid rgba(32, 169, 114, 0.52);
  border-left-color: transparent;
  transform: rotate(38deg) translate(10px, -3px);
}

.listing-copy p,
.shot-copy p,
.watch-status span,
.floating-badge span,
.mini-panel span,
.panel-top span,
.control-strip span,
.phone-header span {
  margin: 0;
  color: rgba(23, 35, 28, 0.66);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-copy h1 {
  margin: 6px 0 4px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 3.7rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 14px 36px rgba(15, 95, 70, 0.32);
}

.listing-copy span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 760;
}

.share-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.share-button span {
  width: 17px;
  height: 17px;
  border: 2px solid #ffffff;
  border-left-color: transparent;
  border-radius: 50%;
}

.share-button:active,
.check-button:active {
  transform: translateY(1px) scale(0.98);
}

.screenshot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(286px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 28px 0 14px;
  scroll-snap-type: x mandatory;
  perspective: 1600px;
}

.shot {
  min-height: 560px;
  border-radius: 24px;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
  color: var(--ink);
  padding: 24px 22px;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg) translateZ(0);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px -38px rgba(4, 15, 10, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.08)),
    var(--aqua);
}

.shot::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto;
  height: 44%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
  transform: translateZ(24px);
  pointer-events: none;
}

.shot::after {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 22px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 95, 70, 0.18);
  filter: blur(18px);
  transform: translateZ(-22px) rotateX(70deg);
  pointer-events: none;
}

.shot:hover {
  transform: rotateX(2deg) rotateY(-3deg) translateY(-6px);
  box-shadow: 0 42px 92px -50px rgba(4, 15, 10, 0.82);
}

.shot:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.1)),
    #dff9ef;
}

.shot:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.08)),
    #f7fff9;
}

.shot:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.10)),
    var(--peach);
}

.shot:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.10)),
    #edfdf7;
}

.shot-copy {
  position: relative;
  z-index: 2;
  min-height: 96px;
}

.shot-copy h2 {
  margin: 8px 0 0;
  max-width: 250px;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.watch-product {
  position: absolute;
  left: 50%;
  top: 172px;
  width: 214px;
  height: 360px;
  transform: translateX(-50%) translateZ(54px) rotateX(4deg) rotateY(-8deg);
  transform-style: preserve-3d;
}

.strap {
  position: absolute;
  left: 50%;
  width: 104px;
  height: 66px;
  transform: translateX(-50%) translateZ(-18px);
  background:
    linear-gradient(90deg, rgba(105, 91, 75, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, #e5d8c4, #fbf7ed);
  background-size: 8px 100%, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(105, 91, 75, 0.10);
}

.strap.top {
  top: 0;
  border-radius: 28px 28px 8px 8px;
}

.strap.bottom {
  bottom: 0;
  border-radius: 8px 8px 28px 28px;
}

.watch-case {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 198px;
  height: 236px;
  transform: translateX(-50%) translateZ(28px);
  border-radius: 54px;
  padding: 10px;
  background: linear-gradient(130deg, #d9c4ad, #746353 40%, #fff6eb 54%, #746353);
  box-shadow:
    inset 10px 0 18px rgba(255, 255, 255, 0.22),
    inset -12px 0 18px rgba(61, 46, 35, 0.30),
    0 34px 78px -38px rgba(73, 56, 42, 0.86);
}

.watch-screen {
  height: 100%;
  border-radius: 44px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px;
  background:
    radial-gradient(circle at 18% 18%, rgba(117, 213, 167, 0.26), transparent 36%),
    #123d31;
  color: #f8fff9;
}

.watch-status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.watch-status span {
  color: rgba(248, 255, 249, 0.68);
  font-size: 0.64rem;
}

.watch-status i,
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(117, 213, 167, 0.16);
  animation: breathe 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.watch-score-ring {
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--score-color) var(--score), rgba(255, 255, 255, 0.16) 0);
}

.watch-score-number {
  margin-top: -2px;
  color: rgba(248, 255, 249, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.watch-screen b {
  color: var(--score-color);
  font-size: 1rem;
}

.watch-screen small {
  color: rgba(248, 255, 249, 0.72);
  font-weight: 780;
  font-size: 0.72rem;
}

.watch-pill {
  min-width: 72px;
  height: 24px;
  border-radius: 999px;
  background: var(--mint);
  color: #123d31;
  font-weight: 850;
  font-size: 0.78rem;
}

.floating-badge {
  position: absolute;
  right: 18px;
  bottom: 88px;
  min-width: 96px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px -30px rgba(15, 95, 70, 0.72);
  transform: translateZ(70px);
}

.floating-badge strong {
  display: block;
  margin-top: 4px;
  color: var(--mint-dark);
}

.phone-product {
  width: 218px;
  min-height: 372px;
  border-radius: 34px;
  position: relative;
  margin: 4px auto 0;
  padding: 28px 15px 16px;
  background: #f8fff9;
  border: 7px solid #17231c;
  transform: translateZ(52px) rotateX(2deg) rotateY(-4deg);
  transform-style: preserve-3d;
  box-shadow:
    13px 18px 0 rgba(23, 35, 28, 0.08),
    0 34px 72px -38px rgba(13, 61, 43, 0.82);
}

.coach-phone {
  transform: translateZ(52px) rotateX(2deg) rotateY(4deg);
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 74px;
  height: 20px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #17231c;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.phone-header b {
  color: var(--mint-dark);
}

.mood-face {
  position: relative;
  display: block;
  border: 4px solid var(--doodle-ink);
  border-radius: 52% 48% 50% 50% / 47% 54% 46% 53%;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, 0.82), transparent 15%),
    radial-gradient(circle at 30% 72%, rgba(255, 180, 0, 0.28), transparent 30%),
    linear-gradient(145deg, var(--face-yellow-soft), var(--face-yellow) 58%, #f2b900);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 9px 8px 0 rgba(255, 255, 255, 0.18),
    inset -9px -13px 0 rgba(211, 150, 0, 0.18),
    0 14px 0 rgba(161, 103, 0, 0.14),
    0 22px 42px -26px rgba(119, 82, 0, 0.82);
  animation: floaty 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform-origin: center;
}

.mood-face::before,
.mood-face::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mood-face::before {
  left: -16%;
  top: -20%;
  width: 34%;
  height: 34%;
  border-top: 5px solid var(--doodle-ink);
  border-left: 5px solid var(--doodle-ink);
  border-radius: 8px 0 0 0;
  transform: rotate(-24deg);
  opacity: 0;
}

.mood-face::after {
  right: -14%;
  top: -18%;
  width: 28%;
  height: 28%;
  border-top: 5px solid var(--doodle-ink);
  border-radius: 999px 999px 0 0;
  transform: rotate(28deg);
  opacity: 0;
}

.face-large {
  width: 118px;
  height: 104px;
  margin: 20px auto 12px;
}

.face-small {
  width: 76px;
  height: 68px;
  margin: 4px auto;
  border-width: 3px;
}

.face-watch {
  width: 56px;
  height: 50px;
  border-width: 3px;
}

.face-tiny {
  width: 44px;
  height: 40px;
  margin: 0;
  border-width: 3px;
  animation: none;
}

.face-tiny::before,
.face-tiny::after {
  display: none;
}

.face-shine {
  position: absolute;
  right: 18%;
  top: 17%;
  width: 22%;
  height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  filter: blur(1px);
}

.face-eye,
.face-brow,
.face-cheek,
.face-mouth {
  position: absolute;
  display: block;
}

.face-eye {
  top: 40%;
  width: 10%;
  height: 18%;
  border-radius: 999px;
  background: var(--doodle-ink);
}

.face-eye.left {
  left: 37%;
}

.face-eye.right {
  right: 34%;
}

.face-brow {
  top: 31%;
  width: 18%;
  height: 6%;
  border-radius: 999px;
  background: var(--doodle-ink);
  opacity: 0;
}

.face-brow.left {
  left: 30%;
}

.face-brow.right {
  right: 27%;
}

.face-cheek {
  top: 57%;
  width: 14%;
  height: 9%;
  border-radius: 50%;
  background: rgba(255, 126, 91, 0.24);
  opacity: 0.70;
}

.face-cheek.left {
  left: 22%;
}

.face-cheek.right {
  right: 21%;
}

.face-mouth {
  left: 50%;
  top: 59%;
  width: 28%;
  height: 15%;
  border: 4px solid var(--doodle-ink);
  border-top: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.face-watch .face-mouth {
  border-width: 3px;
}

.face-tiny .face-eye {
  width: 10%;
  height: 18%;
}

.face-tiny .face-mouth {
  border-width: 2px;
}

.mood-excited {
  border-radius: 49% 51% 45% 55% / 45% 52% 48% 55%;
  background:
    radial-gradient(circle at 70% 23%, rgba(255, 255, 255, 0.92), transparent 15%),
    radial-gradient(circle at 28% 74%, rgba(255, 180, 0, 0.30), transparent 30%),
    linear-gradient(145deg, #fff071, #ffdc16 55%, #f4b900);
}

.mood-excited::before,
.mood-excited::after,
.mood-happy::before {
  opacity: 1;
}

.mood-excited .face-eye {
  top: 38%;
  height: 11%;
  border-radius: 999px;
}

.mood-excited .face-mouth {
  width: 34%;
  height: 21%;
  border-radius: 0 0 999px 999px;
  border-bottom-width: 5px;
}

.mood-worried {
  border-radius: 48% 52% 56% 44% / 49% 46% 54% 51%;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, 0.78), transparent 15%),
    linear-gradient(145deg, #ffef72, #ffd31a 56%, #e8aa00);
}

.mood-worried::after {
  opacity: 1;
  right: -18%;
  top: -21%;
  width: 22%;
  height: 22%;
  border-top-width: 4px;
  transform: rotate(-35deg);
}

.mood-worried .face-brow {
  opacity: 1;
}

.mood-worried .face-brow.left {
  transform: rotate(18deg);
}

.mood-worried .face-brow.right {
  transform: rotate(-18deg);
}

.mood-worried .face-mouth {
  top: 64%;
  width: 22%;
  height: 2%;
  border: 0;
  border-radius: 999px;
  background: var(--doodle-ink);
}

.mood-sad {
  border-radius: 54% 46% 58% 42% / 50% 48% 52% 50%;
  background:
    radial-gradient(circle at 67% 25%, rgba(255, 255, 255, 0.70), transparent 15%),
    linear-gradient(145deg, #ffe55e, #ffc812 56%, #dc9900);
}

.mood-sad::before,
.mood-sad::after {
  opacity: 1;
  border-radius: 999px;
  width: 18%;
  height: 28%;
  border: 0;
  border-left: 5px solid var(--doodle-ink);
}

.mood-sad::before {
  left: -9%;
  top: -19%;
  transform: rotate(-12deg);
}

.mood-sad::after {
  right: -11%;
  top: -18%;
  transform: rotate(14deg);
}

.mood-sad .face-brow {
  opacity: 1;
}

.mood-sad .face-brow.left {
  transform: rotate(-22deg);
}

.mood-sad .face-brow.right {
  transform: rotate(22deg);
}

.mood-sad .face-cheek {
  opacity: 0.28;
}

.mood-sad .face-mouth {
  top: 67%;
  border-top: 4px solid var(--doodle-ink);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.mood-sad.face-watch .face-mouth {
  border-top-width: 3px;
}

.score-card {
  text-align: center;
  padding: 12px;
  border-radius: 22px;
  background: #e9fbf1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.80), 0 16px 36px -30px rgba(15, 95, 70, 0.45);
}

.score-card span {
  display: block;
  color: var(--score-color);
  font-weight: 850;
}

.score-card strong {
  display: block;
  font-size: 3.2rem;
  line-height: 0.95;
  color: var(--score-color);
  font-variant-numeric: tabular-nums;
}

.score-card small {
  color: var(--muted);
  font-weight: 760;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.points div {
  padding: 9px 8px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px -22px rgba(15, 95, 70, 0.4);
}

.points span {
  color: var(--muted);
  display: block;
  font-size: 0.64rem;
  font-weight: 820;
  text-transform: uppercase;
}

.points b {
  color: var(--mint-deep);
  font-size: 1.3rem;
}

.points div:last-child b {
  color: var(--danger);
}

.pager-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}

.pager-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(32, 169, 114, 0.28);
}

.pager-dots span:first-child {
  width: 24px;
  border-radius: 999px;
  background: var(--mint-deep);
}

.dashboard-stack {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.mini-panel {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 35, 28, 0.08);
  box-shadow: 0 16px 40px -34px rgba(15, 95, 70, 0.5);
  padding: 14px;
  transform: translateZ(28px);
}

.score-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 1.8rem;
  color: var(--mint-dark);
}

.tiny-bars {
  height: 82px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 5px;
  margin-top: 12px;
}

.bar {
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--mint), rgba(32, 169, 114, 0.18));
  transform-origin: bottom;
  animation: bar-rise 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.grid-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chart-card svg {
  width: 100%;
  height: 78px;
  margin-top: 10px;
}

.chart-card path {
  fill: none;
  stroke: var(--mint-deep);
  stroke-width: 5;
  stroke-linecap: round;
}

.chart-card circle {
  fill: var(--danger);
}

.heat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.heat-grid i {
  height: 18px;
  border-radius: 7px;
  background: rgba(32, 169, 114, 0.18);
}

.heat-grid i:nth-child(3n),
.heat-grid i:nth-child(7) {
  background: rgba(235, 117, 108, 0.42);
}

.panel-top {
  display: flex;
  justify-content: space-between;
}

.panel-top b {
  color: var(--mint-dark);
}

.factor {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(8px);
  animation: item-in 420ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.factor:first-child {
  border-top: 0;
}

.factor .dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(32, 169, 114, 0.13);
  color: var(--mint-dark);
  font-weight: 900;
}

.factor h3 {
  margin: 0;
  font-size: 0.86rem;
}

.factor p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
}

.factor strong {
  color: var(--mint-deep);
  font-variant-numeric: tabular-nums;
}

.factor.negative .dot,
.factor.negative strong {
  color: var(--danger);
}

.face-gallery {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.face-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.face {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 18px 30px -24px rgba(15, 95, 70, 0.62);
  transform: translateZ(38px);
}

.face span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.face b {
  font-size: 0.75rem;
  color: var(--muted);
}

.face.active {
  background: var(--mint-dark);
}

.face.active b {
  color: var(--mint);
}

.wide-watch {
  width: 232px;
  min-height: 160px;
  margin: 0 auto;
  border-radius: 38px;
  padding: 22px;
  color: #f8fff9;
  background:
    radial-gradient(circle at 20% 20%, rgba(117, 213, 167, 0.20), transparent 36%),
    #123d31;
  box-shadow:
    inset 12px 0 18px rgba(255, 255, 255, 0.08),
    inset -14px 0 18px rgba(2, 22, 15, 0.28),
    0 30px 64px -36px rgba(15, 95, 70, 0.82);
  transform: translateZ(42px) rotateX(3deg);
}

.wide-watch span {
  color: rgba(248, 255, 249, 0.66);
  font-size: 0.75rem;
  font-weight: 850;
}

.wide-watch strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
}

.complications {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.complications i {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(117, 213, 167, 0.20);
}

.complication-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.complication-shelf div {
  min-height: 70px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px -26px rgba(15, 95, 70, 0.52);
  transform: translateZ(28px);
}

.complication-shelf span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
}

.complication-shelf b {
  color: var(--muted);
  font-size: 0.66rem;
}

.coach-phone {
  background: #f8fff9;
}

.chat-header {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.chat-header button,
.chat-header span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #edf7f1;
}

.chat-header strong {
  text-align: center;
  color: var(--mint-dark);
}

.chat-bubble {
  padding: 12px;
  border-radius: 18px;
  margin: 10px 0;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
}

.from-user {
  margin-left: 34px;
  background: var(--mint);
  color: #123d31;
}

.from-app {
  margin-right: 18px;
  background: #edf7f1;
  color: var(--ink);
}

.prompt-bar {
  height: 42px;
  border-radius: 999px;
  padding: 4px 5px 4px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edf7f1;
}

.prompt-bar span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.prompt-bar button {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--mint-deep);
  color: #ffffff;
  font-weight: 850;
}

.control-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: #1b1e1c;
}

.feature-universe {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: stretch;
  perspective: 1400px;
}

.feature-copy,
.feature-tile {
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    #ecfff6;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 28px 70px -48px rgba(4, 15, 10, 0.72);
}

.feature-copy {
  padding: 24px;
  min-height: 280px;
  display: grid;
  align-content: end;
  transform: rotateY(5deg) translateZ(24px);
}

.feature-copy p,
.feature-tile span {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-copy h2 {
  margin: 10px 0;
  max-width: 420px;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 0.98;
}

.feature-copy > span {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.45;
}

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

.feature-tile {
  min-height: 128px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-tile::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--tile-color, var(--mint));
  opacity: 0.18;
}

.feature-tile::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--tile-color, var(--mint));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.feature-tile:hover {
  transform: translateY(-5px) translateZ(36px) rotateX(3deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 34px 80px -48px rgba(4, 15, 10, 0.84);
}

.feature-tile h3 {
  margin: 20px 0 6px;
  max-width: 150px;
  font-size: 1rem;
  line-height: 1.05;
}

.feature-tile p {
  margin: 0;
  max-width: 180px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.28;
}

.feature-tile.ready {
  --tile-color: var(--mint-deep);
}

.feature-tile.prototype {
  --tile-color: #64c7d3;
}

.feature-tile.planned {
  --tile-color: #ffc94d;
}

.mini-score {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.mini-score strong {
  font-size: 2rem;
  color: var(--score-color);
  font-variant-numeric: tabular-nums;
}

.mini-score b,
.mood-control b {
  color: var(--score-color);
}

.mood-control {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--mint);
}

.check-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--mint);
  color: #123d31;
  font-weight: 900;
}

.check-button i {
  width: 12px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.check-button.listening {
  background: var(--danger);
  color: #ffffff;
}

.audio-state {
  display: flex;
  gap: 9px;
  align-items: center;
}

.audio-state i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6b706d;
}

.audio-state.active i {
  background: var(--danger);
  box-shadow: 0 0 0 7px rgba(235, 117, 108, 0.18);
  animation: breathe 1.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.skeleton {
  height: 48px;
  margin: 8px 0;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(32, 169, 114, 0.08), rgba(32, 169, 114, 0.18), rgba(32, 169, 114, 0.08));
  background-size: 220% 100%;
  animation: shimmer 1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.86); opacity: 0.58; }
  50% { transform: scale(1.14); opacity: 1; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes bar-rise {
  from { transform: scaleY(0.24); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes item-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .screenshot-rail {
    grid-auto-columns: 312px;
  }
}

@media (max-width: 760px) {
  .store-shell {
    width: min(100% - 24px, 520px);
    padding-top: 16px;
  }

  .listing-hero {
    grid-template-columns: 84px 1fr;
    padding: 24px;
  }

  .app-icon {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }

  .share-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .screenshot-rail {
    grid-auto-columns: minmax(286px, 86vw);
  }

  .control-strip {
    grid-template-columns: 1fr;
  }

  .mood-control {
    grid-template-columns: 1fr;
  }

  .feature-universe {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    min-height: 220px;
    transform: none;
  }

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