:root {
  --page-width: 1060px;
  --page-padding: 20px;
  --green: #0b8043;
  --green-hover: #076b38;
  --green-soft: #e6f4ea;
  --text: #202124;
  --muted: #5f6368;
  --line: #e8eaed;
  --surface: #f8f9fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  padding-bottom: 40px;
  background: #fff;
  color: var(--text);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #78bca0; outline-offset: 3px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--page-padding)), var(--page-width)); margin-inline: auto; }
.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -.55px; }
.brand-mark { display: inline-grid; width: 24px; height: 24px; place-items: center; color: var(--green); font-size: 21px; line-height: 1; }
.main { padding-top: 34px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: start; gap: 24px; }
.hero-info { min-width: 0; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 450; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.13; font-weight: 700; letter-spacing: -1.6px; overflow-wrap: anywhere; }
.developer { margin: 9px 0 0; color: var(--green); font-size: 16px; line-height: 1.35; font-weight: 700; letter-spacing: -.2px; }
.purchase { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.app-icon { width: 150px; height: 150px; border-radius: 29px; object-fit: cover; box-shadow: 0 5px 18px rgba(0,0,0,.10); }
.stats { display: flex; width: max-content; max-width: 100%; margin: 25px 0 18px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.stats::-webkit-scrollbar, .screens::-webkit-scrollbar { display: none; }
.stat { min-width: 122px; padding: 0 20px; border-left: 1px solid var(--line); text-align: center; white-space: nowrap; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { display: block; font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -.22px; }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.actions { display: flex; align-items: center; gap: 12px; }
.install { display: inline-flex; min-height: 42px; min-width: 206px; padding: 9px 26px; align-items: center; justify-content: center; border-radius: 8px; background: var(--green); color: #fff; text-decoration: none; text-align: center; font-weight: 700; font-size: 15px; transition: background-color .18s ease; }
.install:hover, .install:focus-visible { background: var(--green-hover); }
.install[aria-disabled="true"] { pointer-events: none; opacity: .5; }
.secondary { padding: 8px 15px; color: var(--green); background: transparent; border: 0; border-radius: 8px; cursor: pointer; font-weight: 700; }
.secondary:hover, .secondary:focus-visible { background: var(--green-soft); }
.download-status { min-height: 26px; margin-top: 9px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.status-dot { flex: 0 0 6px; height: 6px; width: 6px; border-radius: 50%; background: var(--green); }
.download-status strong { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--green); }
.cancel-auto { display: inline-flex; align-items: center; padding: 1px 7px; margin-left: 4px; border: 0; background: transparent; color: var(--green); cursor: pointer; border-radius: 4px; font-size: 12px; font-weight: 600; }
.cancel-auto:hover { background: var(--green-soft); }
.device-note { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.screens-section { margin-top: 27px; }
.screens { display: grid; grid-template-columns: repeat(var(--slide-count, 4), minmax(0, 1fr)); gap: 14px; align-items: start; }
.screen { min-width: 0; }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 2px 9px rgba(0,0,0,.09); }
.carousel-controls { display: none; }
.content { margin-top: 31px; }
.content-section { padding: 23px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 11px; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.4px; }
.content-section p { margin: 0 0 13px; }
.about-copy { max-width: 850px; }
.about-features { display: grid; gap: 9px; max-width: 850px; margin: 18px 0 0; padding-left: 19px; }
.about-features li { padding-left: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 5px 13px; border: 1px solid #dadce0; border-radius: 100px; color: var(--muted); font-size: 13px; }
.safety-intro { max-width: 920px; color: var(--muted); font-size: 14px; }
.safety { max-width: 860px; margin-top: 22px; padding: 17px 22px 18px; border: 1px solid #dadce0; border-radius: 9px; background: #fff; }
.safety-line { display: flex; align-items: flex-start; gap: 17px; padding: 8px 0 13px; }
.safety-icon { width: 21px; height: 21px; flex: 0 0 21px; margin-top: 2px; color: var(--muted); }
.safety-line strong { display: block; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.4; }
.safety-line small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; margin-top: 3px; }
.reviews-list { display: grid; gap: 18px; max-width: 760px; }
.review-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.avatar { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; }
.review-name { font-size: 14px; font-weight: 700; }
.review-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.stars { color: #fbbc04; letter-spacing: 1px; }
.review-card p { max-width: 720px; margin: 0; font-size: 14px; }
.related { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.related-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 12px; }
.related-item img { width: 51px; height: 51px; flex: 0 0 51px; border-radius: 12px; object-fit: cover; }
.related-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.related-item small { color: var(--muted); }
.changes p { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.footer { margin-top: 14px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; }
.footer-brand strong, .footer-site strong { display: block; color: var(--text); font-size: 14px; }
.footer-brand small { display: block; color: var(--muted); }
.footer-site { display: grid; justify-items: end; text-align: right; gap: 5px; }
.mobile-cta { display: none; }
@media (max-width: 860px) {
  :root { --page-padding: 20px; }
  body { padding-bottom: 85px; font-size: 14px; }
  .topbar { height: 56px; }
  .brand { font-size: 18px; }
  .main { padding-top: 23px; }
  .hero { grid-template-columns: minmax(0,1fr) 88px; gap: 14px; }
  h1 { font-size: clamp(25px, 6.6vw, 32px); letter-spacing: -.9px; }
  .developer { font-size: 14px; margin-top: 7px; }
  .purchase { font-size: 12px; }
  .app-icon { width: 88px; height: 88px; border-radius: 19px; }
  .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; margin-top: 25px; overflow-x: visible; }
  .stat { min-width: 0; padding: 0 6px; white-space: normal; }
  .stat span { font-size: 11px; line-height: 1.4; }
  .stat strong { font-size: 15px; }
  .install { width: 100%; min-width: 0; }
  .secondary { display: none; }
  .download-status { margin-top: 10px; }
  .screens-section { width: min(100%, 420px); margin: 23px auto 0; }
  .screens { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; gap: 0; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; transition: height .18s ease; }
  .screen { flex: 0 0 100%; width: 100%; scroll-snap-align: center; scroll-snap-stop: always; padding: 0 0 8px; }
  .screen img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 14px; }
  .carousel-controls { display: flex; margin-top: 1px; min-height: 36px; justify-content: center; align-items: center; gap: 10px; }
  .carousel-arrow { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer; font-size: 25px; line-height: 1; }
  .carousel-arrow:hover { color: var(--green); border-color: var(--green); }
  .carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
  .carousel-dot { width: 8px; height: 8px; border: 0; padding: 0; border-radius: 50%; background: #d3d7d9; cursor: pointer; }
  .carousel-dot[aria-current="true"] { width: 18px; border-radius: 99px; background: var(--green); }
  .content { margin-top: 16px; }
  .content-section { padding: 21px 0; }
  .related { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 18px; }
  .footer-site { justify-items: start; text-align: left; }
  .mobile-cta { display: block; position: fixed; inset: auto 0 0; z-index: 10; padding: 10px 20px max(12px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -3px 14px rgba(0,0,0,.04); }
  .mobile-cta .install { min-height: 43px; }
}
@media (max-width: 380px) {
  :root { --page-padding: 16px; }
  .stat { min-width: 0; padding: 0 3px; }
  .stat span { font-size: 10px; }
  .hero { grid-template-columns: minmax(0,1fr) 76px; }
  .app-icon { width: 76px; height: 76px; border-radius: 16px; }
  .purchase { line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .install, .screens { transition: none; }
}
