/* ==========================================================================
   FunnMedia Premium Plus Bundle — homepage stylesheet
   Apple.com-style: system type, generous whitespace, alternating white and
   light-grey bands, product tiles, blue pill CTAs.
   (The /bundle/<app>/ subpages still use css/styles.css.)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --rule: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --radius-tile: 28px;
  --radius-card: 20px;
  --max: 1080px;
  --max-wide: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.6); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 980px; font-size: 15px;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Type scale -------------------------------------------------------- */

.t-hero {
  font-size: clamp(44px, 7.2vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.t-section {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.t-tile {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.t-sub {
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: 0.005em;
  font-weight: 400;
}
.t-body {
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: 0.012em;
}
.t-small { font-size: 14px; line-height: 1.43; letter-spacing: -0.01em; color: var(--ink-2); }

/* ---- Links & buttons --------------------------------------------------- */

.link-more { font-size: 19px; letter-spacing: 0.012em; white-space: nowrap; }
.link-more::after { content: "\203A"; margin-left: 0.25em; }
.link-more:hover { text-decoration: underline; }

.btn {
  display: inline-block;
  font-size: 17px;
  line-height: 1.2;
  padding: 12px 24px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn.btn-lg { font-size: 19px; padding: 16px 32px; }
.btn.btn-sm { font-size: 12px; padding: 6px 13px; }

/* ---- Nav --------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--ink); font-size: 14px; letter-spacing: -0.01em; opacity: 0.88; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; }

/* ---- Hero -------------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 44px 22px 0;
  overflow: hidden;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-kicker { font-size: 19px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.01em; margin-bottom: 10px; }
.hero .t-sub { max-width: 640px; margin: 18px auto 0; color: var(--ink); }
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 32px; margin-top: 28px;
}
.hero-note { margin-top: 14px; color: var(--ink-2); font-size: 15px; }

/* Phone gallery — the one memorable element on the page. Auto-scrolling marquee;
   the list is duplicated once by JS so the loop is seamless. */
.gallery {
  margin: 36px auto 0;
  padding: 0 0 24px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery-track {
  display: flex;
  align-items: flex-end;
  width: max-content;
  padding: 8px 0 4px;
  animation: marquee 70s linear infinite;
  will-change: transform;
}
@media (hover: hover) { .gallery:hover .gallery-track { animation-play-state: paused; } }
.gallery-track.paused { animation-play-state: paused; }
.gallery-track li {
  flex: 0 0 auto;
  width: 240px;
  margin-right: 28px;
}
.gallery-track li:nth-child(odd) { padding-bottom: 28px; }
.gallery-track figure { margin: 0; }
.gallery-track img { width: 100%; height: auto; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gallery { overflow-x: auto; }
  .gallery-track { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-track li { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .gallery-track li:nth-child(1)  { animation-delay: 0.05s; }
  .gallery-track li:nth-child(2)  { animation-delay: 0.10s; }
  .gallery-track li:nth-child(3)  { animation-delay: 0.15s; }
  .gallery-track li:nth-child(4)  { animation-delay: 0.20s; }
  .gallery-track li:nth-child(5)  { animation-delay: 0.25s; }
  .gallery-track li:nth-child(6)  { animation-delay: 0.30s; }
  .gallery-track li:nth-child(7)  { animation-delay: 0.35s; }
  .gallery-track li:nth-child(8)  { animation-delay: 0.40s; }
  .gallery-track li:nth-child(9)  { animation-delay: 0.45s; }
  .gallery-track li:nth-child(10) { animation-delay: 0.50s; }
  .gallery-track li:nth-child(11) { animation-delay: 0.55s; }
  .gallery-track li:nth-child(12) { animation-delay: 0.60s; }
  .gallery-track li:nth-child(13) { animation-delay: 0.65s; }
  .hero-inner > * { animation: fade 0.7s ease both; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Sections ---------------------------------------------------------- */

.band { padding: 110px 22px; }
.band-alt { background: var(--bg-alt); }
.band-inner { max-width: var(--max); margin: 0 auto; }
.band-inner.wide { max-width: var(--max-wide); }
.band-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.band-head .t-sub { margin-top: 18px; color: var(--ink-2); }

/* Value figures */
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  text-align: center;
}
.figure-num {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--blue);
}
.figure-num .figure-unit { font-size: 0.42em; font-weight: 500; letter-spacing: 0; color: var(--ink); vertical-align: 0.15em; margin-left: 0.15em; }
.figure-text { margin-top: 14px; font-size: 19px; line-height: 1.3; color: var(--ink); max-width: 300px; margin-inline: auto; }
.figure-text small { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* ---- App tiles --------------------------------------------------------- */

.group { margin-top: 80px; }
.group:first-of-type { margin-top: 0; }
.group-title {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 22px 6px;
}
.group-title span { color: var(--ink-2); font-weight: 400; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-tile);
  background: var(--bg-alt);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 40px 0;
}
.tile.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  padding: 0;
  min-height: 600px;
}
.tile.dark { color: #f5f5f7; }
.tile.dark .tile-lead, .tile.dark .tile-body { color: rgba(245, 245, 247, 0.78); }
.tile.dark .link-more { color: #2997ff; }

.tile-copy { max-width: 440px; }
.tile.wide .tile-copy { align-self: center; padding: 72px 0 72px 72px; }
.tile-icon {
  width: 64px; height: 64px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  margin: 0 auto 22px;
}
.tile.wide .tile-icon { margin-left: 0; }
.tile-app { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; color: inherit; }
.tile-app .badge, .laurel-wrap .badge {
  display: inline-block; margin-left: 8px; padding: 2px 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0;
  border-radius: 980px; background: rgba(0, 113, 227, 0.12); color: var(--blue);
  vertical-align: 1px;
}
.tile.dark .tile-app .badge, .tile.dark .laurel-wrap .badge { background: rgba(255, 255, 255, 0.16); color: #fff; }
.tile-lead { margin-top: 12px; font-size: 19px; line-height: 1.4; letter-spacing: 0.012em; color: var(--ink); }
.tile-body { margin-top: 12px; font-size: 17px; line-height: 1.47; color: var(--ink-2); }
.tile-links { margin-top: 20px; display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.tile.wide .tile-links { justify-content: flex-start; }

.tile-shot {
  margin-top: 40px;
  width: 250px;
  flex: 0 0 auto;
}
.tile:not(.wide) .tile-copy { padding-bottom: 40px; }
.tile:not(.wide) .tile-shot { margin-top: auto; margin-bottom: -170px; }

.tile.wide .tile-art {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
}
.tile.wide .tile-shot { margin: 0; width: 262px; }
.tile.wide .tile-shot + .tile-shot { margin-left: -64px; margin-top: 128px; }
.tile.wide .tile-art.single .tile-shot { width: 300px; }

/* Icon-only tile (no screenshots available) */
.tile-bigicon {
  width: 128px; height: 128px; border-radius: 29px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  margin: auto auto 56px;
}

/* Per-app tints, drawn from each icon's colour */
.tint-water  { background: linear-gradient(180deg, #eaf4ff 0%, #f5f5f7 70%); }
.tint-calory { background: linear-gradient(180deg, #eef0fd 0%, #f5f5f7 70%); }
.tint-fast   { background: linear-gradient(180deg, #e9f8ee 0%, #f5f5f7 70%); }
.tint-fitness{ background: linear-gradient(160deg, #101012 0%, #1c1c1f 100%); }
.tint-couch  { background: linear-gradient(180deg, #fff0e8 0%, #f5f5f7 70%); }
.tint-habit  { background: linear-gradient(180deg, #e8f0ff 0%, #f5f5f7 70%); }
.tint-sleep  { background: linear-gradient(160deg, #0f1533 0%, #1b2450 100%); }
.tint-relax  { background: linear-gradient(160deg, #2a0f3d 0%, #4a1d6b 100%); }
.tint-zen    { background: linear-gradient(120deg, #2b1608 0%, #7a3d12 55%, #c2621c 100%); }
.tint-widget { background: linear-gradient(180deg, #ffffff 0%, #ececf0 100%); }
.tint-notes  { background: linear-gradient(180deg, #eceef1 0%, #f5f5f7 70%); }
.tint-reply  { background: linear-gradient(180deg, #e6f6ff 0%, #f5f5f7 70%); }
.tint-export { background: linear-gradient(180deg, #ffecef 0%, #f5f5f7 70%); }

/* ---- Pricing ----------------------------------------------------------- */

.price-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.price-amount {
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.price-amount sup { font-size: 0.4em; vertical-align: 0.8em; font-weight: 500; letter-spacing: 0; margin-right: 2px; }
.price-period { margin-top: 8px; font-size: 19px; color: var(--ink-2); }
.price-list { margin: 32px auto 0; text-align: left; max-width: 380px; display: grid; gap: 14px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; }
.price-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.price-card .btn { margin-top: 36px; }
.price-fine { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

.compare {
  max-width: 560px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.compare > div {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 22px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.compare-num { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.compare-num.was { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.compare-num.now { color: var(--blue); }
.compare-label { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* ---- FAQ --------------------------------------------------------------- */

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 26px; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 66ch; }

/* ---- Closing CTA --------------------------------------------------------- */

.closing { text-align: center; padding: 96px 22px; }
.closing .t-sub { color: var(--ink-2); margin-top: 16px; }
.closing .btn { margin-top: 32px; }

/* ---- Footer ------------------------------------------------------------ */

.footer { background: var(--bg-alt); padding: 28px 22px 40px; border-top: 1px solid var(--rule); }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-note { font-size: 12px; line-height: 1.5; color: var(--ink-3); padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 16px; font-size: 12px; color: var(--ink-2); }
.footer-row ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-row a { color: var(--ink-2); display: inline-block; padding: 6px 0; }
.footer-row a:hover { color: var(--ink); }

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 1024px) {
  .tile.wide .tile-copy { padding: 56px 0 56px 48px; }
  .tile.wide .tile-shot { width: 224px; }
  .tile.wide .tile-shot + .tile-shot { margin-left: -56px; margin-top: 110px; }
  .tile.wide .tile-art.single .tile-shot { width: 260px; }
}

@media (max-width: 834px) {
  .band { padding: 80px 18px; }
  .figures { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { min-height: 0; padding: 48px 26px 0; }
  .tile:not(.wide) .tile-shot { margin-bottom: -140px; width: 220px; }
  .tile.wide { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 26px 0; min-height: 0; }
  .tile.wide .tile-copy { padding: 0; }
  .tile.wide .tile-icon { margin-left: auto; }
  .tile.wide .tile-links { justify-content: center; }
  .tile.wide .tile-art { height: auto; margin-top: 40px; width: 100%; padding: 0; align-items: flex-end; }
  .tile.wide .tile-shot { width: 210px; margin-bottom: -140px; }
  .tile.wide .tile-shot + .tile-shot { margin-left: -50px; margin-top: 0; margin-bottom: -200px; }
  .tile.wide .tile-art.single .tile-shot { width: 220px; margin-bottom: -140px; }
  .compare { grid-template-columns: 1fr; }
  .price-card { padding: 40px 24px 32px; }
  .faq summary { font-size: 19px; }
}

@media (max-width: 734px) {
  .nav-links {
    display: none;
    position: absolute; top: 52px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 22px 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-toggle { display: block; }
  .nav .btn-sm { display: none; }
  .hero { padding-top: 32px; }
  .t-hero { font-size: 40px; }
  .hero .t-sub { font-size: 19px; }
  .hero-actions { margin-top: 28px; gap: 16px 24px; }
  .gallery { margin-top: 28px; padding-bottom: 12px; }
  .gallery-track { animation-duration: 55s; }
  .gallery-track li { width: 160px; margin-right: 16px; }
  .gallery-track li:nth-child(odd) { padding-bottom: 20px; }
  .t-section { font-size: 32px; }
  .t-tile { font-size: 27px; }
  .tile-lead { font-size: 17px; }
  .tile-body { font-size: 16px; }
  .figure-num { font-size: 52px; }
  .price-card .btn, .closing .btn, .hero .btn-lg { width: 100%; max-width: 360px; text-align: center; }
  .link-more { font-size: 17px; }
  .tile-icon { width: 56px; height: 56px; border-radius: 13px; }
  .tile-bigicon { width: 128px; height: 128px; border-radius: 30px; margin: 40px auto 24px; }
  .band-head { margin-bottom: 36px; }
  .closing { padding: 72px 18px; }
}

/* Raw App Store screenshots (no bezel in the file) get a simple device frame */
.shot-raw {
  border-radius: 34px;
  border: 9px solid #111114;
  background: #111114;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 12px 32px rgba(0,0,0,0.18);
}
.gallery-track .shot-raw { border-radius: 26px; border-width: 7px; }

/* ==========================================================================
   App subpages (/bundle/<app>/)
   ========================================================================== */

.sub-hero { padding-bottom: 0; }
.sub-hero .hero-actions { margin-top: 30px; }
.sub-shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  margin: 40px auto 0;
  padding: 0 22px 8px;
  max-width: 1000px;
}
.sub-shots img { width: 250px; height: auto; flex: 0 0 auto; }
.sub-shots img:nth-child(2) { margin-bottom: 36px; }
.sub-shots .shot-raw { width: 250px; }
.sub-shots .sub-bigicon { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 30px 60px rgba(0,0,0,0.16); margin: 8px auto 24px; }
@media (prefers-reduced-motion: no-preference) {
  .sub-shots img { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .sub-shots img:nth-child(2) { animation-delay: 0.1s; }
  .sub-shots img:nth-child(3) { animation-delay: 0.2s; }
}

.prose { max-width: 720px; margin: 0 auto; text-align: center; }
.prose p { font-size: 21px; line-height: 1.45; letter-spacing: 0.01em; color: var(--ink); }
.prose p + p { margin-top: 22px; }
.prose p.muted { color: var(--ink-2); font-size: 19px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin: 72px auto 0;
  max-width: 1000px;
}
.feature h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }

.meet { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 28px; }
.meet img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 2px 8px rgba(0,0,0,0.14); }

.explore {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.explore a {
  display: block;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px 26px;
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}
.explore a:hover { text-decoration: none; transform: translateY(-2px); }
.explore-cat { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.explore-app { display: block; margin-top: 4px; font-size: 15px; color: var(--link); }
.explore-app::after { content: "\203A"; margin-left: 0.3em; }

@media (max-width: 834px) {
  .features { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .sub-shots { gap: 16px; margin-top: 44px; }
  .sub-shots img, .sub-shots .shot-raw { width: 180px; }
  .sub-shots img:nth-child(2) { margin-bottom: 24px; }
}
@media (max-width: 734px) {
  .sub-shots { gap: 10px; }
  .sub-shots img, .sub-shots .shot-raw { width: 31%; }
  .prose p { font-size: 19px; }
  .prose p.muted { font-size: 17px; }
  .feature h3 { font-size: 21px; }
}

/* ---- Evidence stat + "Why it works" toggle ----------------------------- */

.tile-stat {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.tile.wide .tile-stat { align-items: flex-start; }
.tile-stat .pill {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 11px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(0, 113, 227, 0.12);
  color: var(--blue);
}
.tile-stat .pill::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 7px;
  vertical-align: 1px;
}
.stat-num {
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}
.stat-label { font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.tile.dark .tile-stat { border-top-color: rgba(255, 255, 255, 0.16); }
.tile.dark .stat-num { color: #f5f5f7; }
.tile.dark .stat-label { color: rgba(245, 245, 247, 0.72); }
.tile.dark .tile-stat .pill { background: rgba(255, 255, 255, 0.16); color: #fff; }

.tile-more { margin-top: 18px; width: 100%; }
.tile-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  letter-spacing: 0.012em;
  color: var(--link);
}
.tile-more summary::-webkit-details-marker { display: none; }
.tile-more summary::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.tile-more[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.tile-more summary:hover { text-decoration: underline; }
.tile.dark .tile-more summary { color: #2997ff; }
.tile-more-body { margin-top: 12px; }

.tile-more-body p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.tile-more-body p + p { margin-top: 10px; }
.tile.dark .tile-more-body p { color: rgba(245, 245, 247, 0.72); }
.tile.dark .tile-evidence { color: rgba(245, 245, 247, 0.85); }
.tile-evidence { color: var(--ink); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 80px auto 0;
  padding: 0;
  list-style: none;
  max-width: 1000px;
}
.steps li {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 28px 30px;
  display: grid;
  gap: 6px;
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 600;
  margin-bottom: 10px;
}
.steps strong { font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.steps span:not(.step-num) { font-size: 16px; line-height: 1.45; color: var(--ink-2); }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 64px auto 0;
  max-width: 1000px;
  text-align: center;
}
.proof-big { display: block; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.proof-label { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }

@media (max-width: 834px) {
  .steps { grid-template-columns: 1fr; gap: 12px; margin-top: 48px; }
  .proof-strip { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
}

/* Evidence pill and stat number tinted to each app's colour */
.tint-water .tile-stat .pill { background: rgba(30, 144, 255, 0.14); color: #0b6fd6; }
.tint-water .stat-num { color: #0b6fd6; }
.tint-calory .tile-stat .pill { background: rgba(123, 140, 245, 0.16); color: #5563d6; }
.tint-calory .stat-num { color: #5563d6; }
.tint-fast .tile-stat .pill { background: rgba(34, 197, 94, 0.16); color: #15803d; }
.tint-fast .stat-num { color: #15803d; }
.tint-couch .tile-stat .pill { background: rgba(33, 154, 209, 0.16); color: #1479ad; }
.tint-couch .stat-num { color: #1479ad; }
.tint-habit .tile-stat .pill { background: rgba(59, 130, 246, 0.14); color: #1d5fd1; }
.tint-habit .stat-num { color: #1d5fd1; }
.tint-widget .tile-stat .pill { background: rgba(29, 29, 31, 0.08); color: #1d1d1f; }
.tint-widget .stat-num { color: #1d1d1f; }
.tint-notes .tile-stat .pill { background: rgba(72, 84, 100, 0.14); color: #3b4757; }
.tint-notes .stat-num { color: #3b4757; }
.tint-reply .tile-stat .pill { background: rgba(56, 189, 248, 0.18); color: #0e7fb0; }
.tint-reply .stat-num { color: #0e7fb0; }
.tint-export .tile-stat .pill { background: rgba(255, 59, 92, 0.13); color: #d1264a; }
.tint-export .stat-num { color: #d1264a; }
.tint-fitness .tile-stat .pill { background: rgba(120, 220, 60, 0.2); color: #9be24f; }
.tint-fitness .stat-num { color: #9be24f; }
.tint-sleep .tile-stat .pill { background: rgba(140, 160, 255, 0.22); color: #c3ccff; }
.tint-sleep .stat-num { color: #c3ccff; }
.tint-relax .tile-stat .pill { background: rgba(216, 150, 255, 0.22); color: #ecd0ff; }
.tint-relax .stat-num { color: #ecd0ff; }
.tint-zen .tile-stat .pill { background: rgba(255, 190, 120, 0.24); color: #ffd9a8; }
.tint-zen .stat-num { color: #ffd9a8; }

/* Official Apple Editors' Choice artwork, shown beside the app icon */
.tile-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.tile-head .tile-icon { margin: 0; }
.laurel { display: block; height: 46px; width: auto; }
.tile-head .badge { margin-left: 0; }
@media (max-width: 834px) {
  .tile.wide .tile-head { flex-direction: column; align-items: center; gap: 14px; }
  .tile.wide .tile-head .tile-icon { margin: 0; }
  .laurel { height: 40px; }
}

.features-title {
  text-align: center;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 72px;
}
.features-title + .features { margin-top: 32px; }
@media (max-width: 834px) { .features-title { margin-top: 48px; } .features-title + .features { margin-top: 24px; } }
