:root {
  color-scheme: light;
  --blue: #0071e3;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --border: #d2d2d7;
  --surface: #f5f5f7;
  --page: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

.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;
}

.store-header {
  position: sticky;
  z-index: 10;
  top: 0;
  height: 54px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(250, 250, 252, .84);
  backdrop-filter: saturate(180%) blur(20px);
}

.store-header__inner {
  max-width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.store-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 20px; font-weight: 600; }
.store-brand:hover { text-decoration: none; }
.store-brand svg { width: 25px; height: 25px; fill: var(--blue); }
.store-nav { display: flex; gap: 28px; margin-left: auto; }
.store-nav a { color: var(--secondary); font-size: 13px; }
.search-link { display: grid; place-items: center; }
.search-link svg { width: 18px; height: 18px; fill: none; stroke: var(--secondary); stroke-width: 1.8; }

.preview-note {
  min-height: 34px;
  padding: 7px 20px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: .01em;
}

.preview-note__inner {
  max-width: var(--page);
  min-height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.preview-note__status { display: inline-flex; align-items: center; gap: 8px; }
.preview-note__dot { width: 7px; height: 7px; border-radius: 50%; background: #30a46c; box-shadow: 0 0 0 3px rgba(48, 164, 108, .13); }

.language-picker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.language-picker select {
  min-width: 132px;
  padding: 6px 30px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.language-picker select:focus-visible { outline: 3px solid rgba(0, 113, 227, .25); outline-offset: 1px; }

.page-shell { max-width: var(--page); margin: 0 auto; padding: 0 24px; }

.product-hero {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 48px 0 34px;
}

.app-icon { width: 230px; height: 230px; border-radius: 22.3%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 5px 22px rgba(0,0,0,.08); }
.eyebrow { margin: 0 0 8px; color: #b54708; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.product-hero h1 { margin: 0; font-size: clamp(32px, 4.3vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.subtitle { margin: 10px 0 6px; color: var(--secondary); font-size: 20px; line-height: 1.3; }
.developer { margin: 0 0 20px; color: var(--blue); font-size: 15px; }
.promo { max-width: 610px; margin: 0; color: #424245; font-size: 15px; line-height: 1.45; }

.product-actions { min-width: 90px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.get-button { min-width: 76px; padding: 8px 16px; border-radius: 99px; color: #fff; background: var(--blue); text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.get-button:hover { background: #0077ed; text-decoration: none; }
.iap-note { width: 100px; color: var(--secondary); font-size: 10px; line-height: 1.2; text-align: center; }
.share-button { width: 38px; height: 38px; margin-top: 14px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--blue); background: var(--surface); cursor: pointer; }
.share-button:hover { background: #e8e8ed; }
.share-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.facts-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  overflow-x: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.facts-strip::-webkit-scrollbar { display: none; }
.fact { min-height: 106px; padding: 16px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--border); color: var(--secondary); text-align: center; }
.fact:last-child { border-right: 0; }
.fact__label { margin-bottom: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .035em; }
.fact strong { color: #66666a; font-size: 19px; line-height: 1.05; }
.fact span:last-child { margin-top: 6px; font-size: 11px; white-space: nowrap; }
.fact .fact__icon { width: 31px; height: 31px; display: block; }
.fact .fact__icon svg { width: 100%; height: 100%; fill: none; stroke: #6e6e73; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.store-section { padding: 34px 0; border-bottom: 1px solid var(--border); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.section-heading--baseline { align-items: baseline; }
.section-heading h2, .store-section > h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.section-heading span { color: var(--secondary); font-size: 14px; }

.device-tabs { margin: 18px 0 16px; display: flex; gap: 5px; }
.device-tab { padding: 6px 14px; border: 0; border-radius: 99px; color: var(--secondary); background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; }
.device-tab.is-active { color: #fff; background: #6e6e73; }

.carousel-controls { display: flex; gap: 8px; }
.carousel-button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #515154; background: var(--surface); cursor: pointer; font-size: 27px; line-height: 1; }
.carousel-button:disabled { opacity: .35; cursor: default; }

.screenshot-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 272px;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.screenshot-carousel::-webkit-scrollbar { display: none; }
.screenshot-carousel figure { margin: 0; scroll-snap-align: start; }
.screenshot-carousel img { width: 100%; height: auto; display: block; border-radius: 24px; border: 1px solid rgba(0,0,0,.12); background: var(--surface); }
.screenshot-carousel[data-device="ipad"] { grid-auto-columns: 420px; }
.screenshot-carousel[data-device="ipad"] img { border-radius: 18px; }

.description-section { position: relative; }
.description-copy { position: relative; max-height: 232px; overflow: hidden; font-size: 15px; line-height: 1.48; }
.description-copy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 68px; background: linear-gradient(rgba(255,255,255,0), #fff 78%); pointer-events: none; }
.description-copy.is-expanded { max-height: none; }
.description-copy.is-expanded::after { display: none; }
.description-copy p { margin: 0 0 17px; }
.description-copy h3 { margin: 23px 0 7px; font-size: 15px; }
.more-button { position: absolute; right: 0; top: 245px; padding: 8px 0 8px 20px; border: 0; color: var(--blue); background: #fff; cursor: pointer; font-size: 15px; }
.description-copy.is-expanded + .more-button { position: static; float: right; }
.seller-line { clear: both; margin: 24px 0 0; color: var(--secondary); font-size: 14px; }

.privacy-intro, .privacy-footnote { margin: 16px 0 0; color: #424245; font-size: 15px; line-height: 1.48; }

.privacy-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-card { min-height: 238px; padding: 28px; display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-radius: 18px; background: var(--surface); }
.privacy-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #596b7a; font-size: 26px; font-weight: 600; }
.privacy-card h3 { margin: 0 0 9px; font-size: 19px; }
.privacy-card p { margin: 0; color: var(--secondary); font-size: 13px; line-height: 1.4; }
.privacy-card ul { margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.privacy-card li { padding: 6px 9px; border-radius: 7px; color: #4d4d51; background: #fff; font-size: 12px; }
.privacy-footnote { color: var(--secondary); font-size: 12px; }

.information-list { margin: 18px 0 0; }
.information-list div { min-height: 48px; display: grid; grid-template-columns: 190px 1fr; padding: 11px 0; border-top: 1px solid #e5e5e7; }
.information-list div:first-child { border-top: 0; }
.information-list dt { color: var(--secondary); font-size: 14px; }
.information-list dd { margin: 0; font-size: 14px; }
.information-list dd span { color: var(--secondary); font-size: 12px; line-height: 1.5; }
.link-list { display: grid; margin-top: 14px; }
.link-list a { padding: 12px 0; display: flex; justify-content: space-between; border-top: 1px solid #e5e5e7; font-size: 14px; }

.page-footer { max-width: var(--page); margin: 0 auto; padding: 28px 24px 56px; color: var(--secondary); font-size: 11px; line-height: 1.45; }
.page-footer p { margin: 7px 0; }

@media (max-width: 820px) {
  .store-nav { display: none; }
  .search-link { margin-left: auto; }
  .product-hero { grid-template-columns: 152px minmax(0, 1fr); align-items: start; }
  .app-icon { width: 152px; height: 152px; }
  .product-actions { grid-column: 2; min-width: 0; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .product-actions .share-button { margin: 0 0 0 5px; }
  .iap-note { order: 3; width: 100%; text-align: left; }
  .facts-strip { margin-right: -24px; }
  .privacy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .store-header { height: 48px; }
  .store-header__inner, .page-shell { padding-left: 18px; padding-right: 18px; }
  .store-brand span { font-size: 17px; }
  .preview-note { padding-left: 18px; padding-right: 18px; }
  .preview-note__inner { align-items: flex-start; flex-direction: column; gap: 7px; }
  .language-picker { width: 100%; justify-content: space-between; }
  .language-picker select { min-width: 150px; }
  .product-hero { grid-template-columns: 108px minmax(0, 1fr); gap: 17px; padding: 28px 0 24px; }
  .app-icon { width: 108px; height: 108px; }
  .eyebrow { font-size: 10px; }
  .product-hero h1 { font-size: 25px; }
  .subtitle { margin-top: 6px; font-size: 15px; }
  .developer { margin-bottom: 0; font-size: 13px; }
  .promo { grid-column: 1 / -1; margin-top: 0; font-size: 14px; }
  .product-actions { grid-column: 1 / -1; }
  .facts-strip { margin-right: -18px; grid-template-columns: repeat(6, 126px); }
  .store-section { padding: 26px 0; }
  .section-heading h2, .store-section > h2 { font-size: 22px; }
  .carousel-controls { display: none; }
  .screenshot-carousel { margin-right: -18px; grid-auto-columns: min(74vw, 290px); gap: 12px; }
  .screenshot-carousel[data-device="ipad"] { grid-auto-columns: min(84vw, 390px); }
  .screenshot-carousel img { border-radius: 20px; }
  .information-list div { grid-template-columns: 115px 1fr; gap: 14px; }
  .privacy-card { padding: 20px; grid-template-columns: 42px 1fr; }
  .privacy-card__icon { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screenshot-carousel { scroll-behavior: auto; }
}
