/*
  The source's pages, laid out as Apple's App Store on the web (apps.apple.com,
  version 2646.1.0-external): index.html as a developer page, app.html as an
  app page. Every size, colour and breakpoint comes from that site's own CSS,
  measured on 20 Nov 2026 (design-research/apple/app-store-web/NOTES.md),
  with the site's frame and the wider layouts from captures of 27 Nov 2026
  (design-research/audits/kaydens-source-site-2026-11-27). Where the owner
  chose otherwise (20 Nov 2026): the .ipa button first in the app page's
  header, in blue.

  On a phone the pages are laid out as the App Store app instead, in the last
  blocks of this file.
*/

/* Pretendard stands in for SF Pro where the device has none. It is the owner's
   choice of stand-in, unmodified from the 1.3.9 release, under the SIL Open
   Font License (fonts/Pretendard-LICENSE.txt). A browser with SF Pro never
   fetches it. */
@font-face {
  font-family: "Pretendard Std"; font-weight: 100 900; font-display: swap;
  src: url(/fonts/PretendardStdVariable.woff2) format("woff2");
}
/* The same file for one character, the .ipa button's circled down arrow
   (U+E139), so a browser that has SF Pro still fetches Pretendard for it, and
   hides the arrow until the font has loaded rather than show a box. */
@font-face {
  font-family: "Pretendard Std"; font-weight: 100 900; font-display: block;
  src: url(/fonts/PretendardStdVariable.woff2) format("woff2"); unicode-range: U+E139;
}
/* A Windows PC with Apple's SF Pro installed: its variable font, loaded as a
   web font so Edge applies the optical size, as Apple's own web SF Pro does
   (13 to 17 px text was drawn 13 to 15% narrower by name). Edge finds it only
   by its PostScript name, the second; WebKit by the first. Other devices have
   neither and use the next font in the list. */
@font-face {
  font-family: "SF Pro"; font-weight: 1 1000;
  src: local("SF Pro"), local("SFPro-Regular");
}

:root {
  --pageBg: #f5f5f7;
  --systemPrimary: #000000e0;
  --systemSecondary: #0000008f;
  --systemTertiary: #0000007a;
  --systemQuaternary: #0000001a;
  --systemGray2: #aeaeb2;
  --systemGray4: #d1d1d6;
  --systemQuaternary-vibrant: #e8e8e8;
  --badge: #48484a;                 /* the ribbon's values: systemGray3-onDark */
  --navSidebarBG: #3c3c4308;
  --navSidebarSelectedState: #3c3c431a;
  --labelDivider: #00000026;
  --mobileNavigationBG: #fff;
  --footerBg: #f2f2f2;
  --keyColor: #007aff;
  --keyColor-rgb: 0, 122, 255;
  --systemPrimary-onDark: #ffffffd9;
  --button-alpha: 1;
  --bodyGutter: 25px;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "Pretendard Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --pageBg: #151515;
    --systemPrimary: #ffffffeb;
    --systemSecondary: #ffffffa3;
    --systemTertiary: #fff6;
    --systemQuaternary: #ffffff1a;
    --systemGray2: #636366;
    --systemGray4: #3a3a3c;
    --systemQuaternary-vibrant: #232323;
    --badge: #c7c7cc;               /* systemGray3-onLight */
    --navSidebarBG: #ebebf508;
    --navSidebarSelectedState: #ebebf51a;
    --labelDivider: #ffffff1a;
    --mobileNavigationBG: #2e2e2e;
    --footerBg: #323232;
    --button-alpha: 1.33;
  }
}
/* Text on the key colour: Apple's stylesheet gives it 85% white where the
   system font is Apple's, 92% elsewhere, and full white for more contrast. */
@supports not (font: -apple-system-body) {
  :root { --systemPrimary-onDark: #ffffffeb; }
}
@media (prefers-contrast: more) {
  :root { --systemPrimary-onDark: #fff; }
}
@media (min-width: 1000px) {
  :root { --bodyGutter: 40px; }
}

* { box-sizing: border-box; }
/* Apple's pages arrive drawn, so these show nothing until store.js has drawn
   the page from source.json (frame(), the last step of start()), not a
   "Loading…" page first. */
.drawing body { visibility: hidden; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--pageBg); color: var(--systemPrimary);
  font: 400 13px/16px var(--font-family);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
/* Keyboard focus, Apple's: a 4 px ring of the key colour at 60%, flush with
   the edge of a link or button, and 1 px outside anything else. */
:focus-visible { outline: 4px solid rgba(var(--keyColor-rgb), .6); outline-offset: 1px; }
a:focus-visible, button:focus-visible { box-shadow: 0 0 0 4px rgba(var(--keyColor-rgb), .6); outline: none; }

.page { flex-grow: 1; width: 100%; max-width: 1680px; margin: 0 auto; }

/* ---- The frame: Apple's sidebar, top bar and footer ---- */

/*
  Apple's website puts every page in a frame (store.js builds it round
  <main>): from 484 px a sidebar down the left, a third of the window up to
  260 px; under that, a 44 px top bar whose menu opens the same list over the
  page; and a footer band under the page. Apple's shows the store's
  wordmark, search, sections and categories, its languages and legal links.
  This one shows only what the site has: the source's name in the
  wordmark's place, the site's pages as the sidebar's items, and the
  source's address in the footer. Sizes, colours, the menu's motion and
  breakpoints are Apple's stylesheet's (2646.1.0-external).
*/
.app-container {
  display: grid; grid-template-areas: "header" "main"; grid-template-columns: minmax(0, 1fr); grid-template-rows: 44px auto;
  min-height: 100vh; min-height: 100dvh;
}
@media (min-width: 484px) {
  .app-container { grid-template-areas: "header main"; grid-template-columns: min(260px, 33.88vw) minmax(0, 1fr); grid-template-rows: auto; }
}
@media (min-width: 767.32px) { .app-container { grid-template-columns: 260px minmax(0, 1fr); } }
.main-column { grid-area: main; display: flex; flex-direction: column; min-width: 0; }

.navigation { grid-area: header; display: flex; flex-direction: column; width: 100%; z-index: 9901; }
@media (max-width: 483.98px) {
  .navigation {
    position: fixed; top: 0; left: 0; height: 44px; overflow: hidden;
    background-color: var(--mobileNavigationBG); box-shadow: 0 1px 2px #0000001a;
    transition: height .56s cubic-bezier(.52, .16, .24, 1);
  }
  .navigation.is-expanded { height: 100%; }
}
@media (min-width: 484px) {
  .navigation { background-color: var(--navSidebarBG); border-inline-end: 1px solid var(--labelDivider); }
}
@media (min-width: 1000px) { .navigation { position: sticky; top: 0; align-self: start; height: 100vh; } }

/* The header: the wordmark's place, and under 484 px the menu button
   before it, in a row of three. */
.navigation-header { display: flex; flex: none; flex-direction: column; margin: 8px 0 0 8px; }
.wordmark {
  box-sizing: content-box; height: 22px; padding: 19px 25px 14px; opacity: .9;
  font: 600 22px/22px var(--font-family); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 483.98px) {
  .navigation-header { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; margin: 0 11px 0 12px; }
  .wordmark { justify-self: center; padding: 0; overflow: visible; }
}

/* The menu button, Apple's two bars that turn into a cross. */
.menuicon { position: relative; justify-self: start; width: 44px; height: 44px; }
@media (min-width: 484px) { .menuicon { display: none; } }
.menuicon-bread {
  position: absolute; top: 12px; left: 13px; width: 20px; height: 20px; pointer-events: none;
  transition: transform .1806s cubic-bezier(.04, .04, .12, .96);
}
.menuicon-bread-crust {
  position: absolute; display: block; width: 20px; height: 2px; border-radius: 1px; background: var(--keyColor);
  transition: transform .1596s cubic-bezier(.52, .16, .52, .84) .1008s;
}
.menuicon-bread-crust-top { top: 9px; transform: translateY(-4px); }
.menuicon-bread-crust-bottom { bottom: 9px; transform: translateY(4px); }
[aria-expanded=true] .menuicon-bread {
  top: 11px; left: 10px; width: 24px; height: 24px;
  transition: transform .3192s cubic-bezier(.04, .04, .12, .96) .1008s;
}
[aria-expanded=true] .menuicon-bread-top { transform: rotate(-45deg); }
[aria-expanded=true] .menuicon-bread-bottom { transform: rotate(45deg); }
[aria-expanded=true] .menuicon-bread-crust { width: 24px; transform: translateY(0); transition: transform .1806s cubic-bezier(.04, .04, .12, .96); }
[aria-expanded=true] .menuicon-bread-crust-top { top: 11px; }
[aria-expanded=true] .menuicon-bread-crust-bottom { bottom: 11px; }
@media (prefers-reduced-motion: reduce) {
  .navigation, .menuicon-bread, .menuicon-bread-crust, [aria-expanded=true] .menuicon-bread, [aria-expanded=true] .menuicon-bread-crust { transition: none; }
}

/* The items: each page with its icon in the place of Apple's glyphs, the
   page on screen selected. */
.navigation-items { padding: 35px 26px 3px; overflow-y: auto; font: 400 17px/22px var(--font-family); }
@media (min-width: 484px) { .navigation-items { padding: 9px 25px; font: 400 15px/20px var(--font-family); } }
/* Shut under the top bar, the list is out of reach of Tab and screen
   readers, once the bar has finished closing. */
@media (max-width: 483.98px) {
  .navigation-items { visibility: hidden; transition: visibility 0s .56s; }
  .navigation.is-expanded .navigation-items { visibility: visible; transition-delay: 0s; }
}
.navigation-item { margin-bottom: 2px; padding: 4px; border-radius: 6px; }
.navigation-item:last-child { margin-bottom: 1px; }
@media (min-width: 484px) { .navigation-item { height: 32px; } }
.navigation-item.selected { background-color: var(--navSidebarSelectedState); font: 700 17px/22px var(--font-family); }
@media (min-width: 484px) { .navigation-item.selected { font: 500 15px/20px var(--font-family); } }
.navigation-item a {
  display: flex; align-items: center; gap: 8px; box-sizing: content-box; height: 100%;
  margin: -3px; padding: 3px; border-radius: inherit;
}
.navigation-item-icon { display: flex; flex: 0 0 32px; align-items: center; justify-content: center; height: 32px; }
.navigation-item .icon {
  width: 20px; height: 20px;
  clip-path: path("M7.95 0L12.05 0C14.34 0 15.48 0 16.52 0.34L16.72 0.39C18.06 0.88 19.12 1.94 19.61 3.28C20 4.52 20 5.66 20 7.95L20 12.05C20 14.34 20 15.48 19.66 16.52L19.61 16.72C19.12 18.06 18.06 19.12 16.72 19.61C15.48 20 14.34 20 12.05 20L7.95 20C5.66 20 4.52 20 3.48 19.66L3.28 19.61C1.94 19.12 0.88 18.06 0.39 16.72C0 15.48 0 14.34 0 12.05L0 7.95C0 5.66 0 4.52 0.34 3.48L0.39 3.28C0.88 1.94 1.94 0.88 3.28 0.39C4.52 0 5.66 0 7.95 0Z");
}
@media (min-width: 484px) {
  .navigation-item-icon { flex-basis: 24px; height: 24px; }
  .navigation-item .icon {
    width: 18px; height: 18px;
    clip-path: path("M7.15 0L10.85 0C12.91 0 13.94 0 14.86 0.31L15.04 0.35C16.26 0.79 17.21 1.74 17.65 2.96C18 4.06 18 5.09 18 7.15L18 10.85C18 12.91 18 13.94 17.69 14.86L17.65 15.04C17.21 16.26 16.26 17.21 15.04 17.65C13.94 18 12.91 18 10.85 18L7.15 18C5.09 18 4.06 18 3.14 17.69L2.96 17.65C1.74 17.21 0.79 16.26 0.35 15.04C0 13.94 0 12.91 0 10.85L0 7.15C0 5.09 0 4.06 0.31 3.14L0.35 2.96C0.79 1.74 1.74 0.79 2.96 0.35C4.06 0 5.09 0 7.15 0Z");
  }
}
.navigation-item-label { flex: 1; margin: -4px; padding: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The footer: a band under the page, its text in the place of Apple's
   copyright line. */
.footer { background-color: var(--footerBg); }
.footer p {
  max-width: 1680px; min-height: 147px; margin: 0 auto; padding: 15px var(--bodyGutter);
  font: 400 10px/1.3 var(--font-family); color: var(--systemSecondary); overflow-wrap: anywhere;
}
@media (min-width: 740px) { .footer p { min-height: 88px; padding-block: 14px; font: 400 11px/1.2727272727 var(--font-family); } }

/* The developer page's title: large-title-emphasized-tall. */
.large-title {
  display: block; padding: 11px var(--bodyGutter);
  font: 700 26px/34px var(--font-family); letter-spacing: -0.5px; overflow-wrap: break-word;
}

/* Shelves: 13 px above, 32 px below, a title row 13 px over the content. */
.shelf { padding: 13px 0 32px; }
.large-title + .shelf { padding-top: 8px; }
@media (min-width: 1000px) { .large-title + .shelf { padding-top: 16px; } }
.shelf-title-row { display: flex; margin: 0 var(--bodyGutter) 13px; }
.shelf-title { display: flex; align-items: center; gap: 6px; font: 700 17px/22px var(--font-family); }
/* The chevron's box is Apple's .chevron-container, 6 px over it and 4 under. */
.chevron { display: block; width: 7px; height: 12px; margin-block: 6px 4px; fill: var(--systemGray2); }
.shelf-body { margin: 0 var(--bodyGutter); }

/* The View button (.get-button.gray): the key colour at 6%, 8% in dark. */
.get-button {
  display: inline-block; border-radius: 1000px; padding: 7px 16px;
  font: 700 13px/18px var(--font-family); word-break: keep-all; white-space: nowrap;
  color: var(--keyColor); background-color: rgba(var(--keyColor-rgb), calc(var(--button-alpha) * .06));
}
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* App icons. Apple's website shows an iOS app's icon as a picture with the
   continuous corner already in it (.rounded-rect-prerendered), which
   border-radius can't draw, so each size is clipped with a path written by
   scripts/continuous_corner.py, at 0.26 of the width (the corner measured on
   Fineliner's 85 px icon). Apple draws no stroke round them, so neither does
   the site: app icons aren't pictures under the owner's hairline rule (28 Nov
   2026). The App Store app's own ring is on the phone's icons, below. */
.icon { position: relative; flex: none; background: var(--systemQuaternary); }
.icon img { display: block; width: 100%; height: 100%; }

/* Lockups. Medium (the developer page): an 85 px icon, the name in title-3,
   the subtitle in callout, the button 7 px lower. Small (More by): a 64 px
   icon, the name in title-3-emphasized, the button at the row's end. Both in
   two rows filled column by column. */
.lockups {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
  column-gap: 20px; row-gap: 24px; grid-auto-columns: 298px;
  margin: 0 var(--bodyGutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.lockups::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .lockups { grid-auto-columns: calc(25% - 15px); } }
@media (min-width: 1580px) { .lockups { grid-auto-columns: calc(20% - 16px); } }
.lockup { position: relative; display: flex; align-items: center; min-width: 0; }
/* The name is the link to the app's page, stretched over the whole lockup
   and under its .ipa button, so the lockup opens the page as it did when it
   was one link. */
.lockup .name a::after { content: ""; position: absolute; inset: 0; }
.lockup .name a:focus-visible { box-shadow: none; }
.lockup .name a:focus-visible::after { box-shadow: 0 0 0 4px rgba(var(--keyColor-rgb), .6); }
.lockup .get-button { position: relative; z-index: 1; }
/* The .ipa buttons' symbol, in lockups and at the top of an app's page:
   Pretendard's circled down arrow, set in that
   font at the label's size and weight: its ink 12.84 px across at the
   phone's 16 px label, where the App Store's own symbols in its Write a
   Review and App Support buttons are 13.15 and 13.67, on the baseline as the
   font sets it, and its ink 6 px before the label's (5.95 and 5.98 in those
   buttons; the arrow's right side bearing is 0.73 px and SF Pro's bold
   period starts 1.41 px into its advance, at 16 px). Its left side bearing
   (0.74 px) is taken back, so the button centres the ink. */
.symbol { font-family: "Pretendard Std", sans-serif; margin-inline: -.046em .241em; }
.lockup .icon {
  width: 85px; height: 85px; margin-inline-end: 16px;
  clip-path: path("M33.78 0L51.22 0C60.94 0 65.81 0 70.19 1.45L71.04 1.66C76.76 3.74 81.26 8.24 83.34 13.96C85 19.19 85 24.06 85 33.78L85 51.22C85 60.94 85 65.81 83.55 70.19L83.34 71.04C81.26 76.76 76.76 81.26 71.04 83.34C65.81 85 60.94 85 51.22 85L33.78 85C24.06 85 19.19 85 14.81 83.55L13.96 83.34C8.24 81.26 3.74 76.76 1.66 71.04C0 65.81 0 60.94 0 51.22L0 33.78C0 24.06 0 19.19 1.45 14.81L1.66 13.96C3.74 8.24 8.24 3.74 13.96 1.66C19.19 0 24.06 0 33.78 0Z");
}
.lockup .meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lockup .name { font: 400 15px/20px var(--font-family); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lockup .subtitle { font: 400 12px/15px var(--font-family); color: var(--systemSecondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lockup .get-button { align-self: flex-start; margin-top: 7px; }

.lockups.small { column-gap: 10px; }
@media (min-width: 1000px) { .lockups.small { column-gap: 20px; grid-auto-columns: calc(33.3333% - 13.3333px); } }
@media (min-width: 1580px) { .lockups.small { grid-auto-columns: calc(25% - 15px); } }
.lockups.small .icon {
  width: 64px; height: 64px;
  clip-path: path("M25.44 0L38.56 0C45.89 0 49.55 0 52.85 1.09L53.49 1.25C57.8 2.81 61.19 6.2 62.75 10.51C64 14.45 64 18.11 64 25.44L64 38.56C64 45.89 64 49.55 62.91 52.85L62.75 53.49C61.19 57.8 57.8 61.19 53.49 62.75C49.55 64 45.89 64 38.56 64L25.44 64C18.11 64 14.45 64 11.15 62.91L10.51 62.75C6.2 61.19 2.81 57.8 1.25 53.49C0 49.55 0 45.89 0 38.56L0 25.44C0 18.11 0 14.45 1.09 11.15L1.25 10.51C2.81 6.2 6.2 2.81 10.51 1.25C14.45 0 18.11 0 25.44 0Z");
}
.lockups.small .meta { flex: 1; margin-inline-end: 16px; }
/* A small lockup's name takes two lines before its ellipsis, and its button
   ends 16 px before the lockup does. */
.lockups.small .name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; font-weight: 600; }
.lockups.small .get-button { margin: 0 16px 0 auto; align-self: center; flex: none; }

.source-buttons { margin: 0 var(--bodyGutter); }

/* ---- The app page ---- */

/* The header: a band of the icon's own colours (the icon, covering the
   band, under a 100 px blur), darkening towards the bottom; the icon with a
   blurred copy of itself behind it as a glow. */
.hero {
  position: relative; display: flex; align-items: center; height: 200px; overflow: hidden;
  transform: translate(0); color: #ffffffeb;
  background: linear-gradient(to bottom, #0000 20%, #000c), var(--background-image, none), #000;
  background-position: 50%; background-size: cover;
  border-bottom: 1px solid var(--systemQuaternary-vibrant);
  border-bottom-left-radius: 2px; border-bottom-right-radius: 2px;
}
@media (min-width: 1000px) { .hero { height: 286px; } }
/* From 1940 px the page column stops filling the window beside the sidebar,
   and the band gets sides and round lower corners. */
@media (min-width: 1940px) {
  .hero { border: 1px solid var(--systemQuaternary-vibrant); border-top: 0; border-radius: 0 0 30px 30px; }
}
.hero-blur {
  position: absolute; inset: 0; z-index: 1;
  -webkit-backdrop-filter: blur(100px) saturate(1.5); backdrop-filter: blur(100px) saturate(1.5);
}
.hero-content { display: flex; gap: 1em; margin: 0 var(--bodyGutter); max-width: 840px; }
@media (min-width: 1000px) { .hero-content { gap: 1.5em; } }
@media (min-width: 1260px) { .hero-content { gap: 2em; } }
.hero-icon { position: relative; z-index: 2; display: flex; align-items: center; flex-shrink: 0; }
/* No border or shadow: Apple draws those only round an icon that isn't
   marked without-border, and an iOS app's is. */
.hero-icon .icon {
  width: 128px; height: 128px;
  clip-path: path("M50.87 0L77.13 0C91.77 0 99.1 0 105.7 2.18L106.98 2.49C115.59 5.63 122.37 12.41 125.51 21.02C128 28.9 128 36.23 128 50.87L128 77.13C128 91.77 128 99.1 125.82 105.7L125.51 106.98C122.37 115.59 115.59 122.37 106.98 125.51C99.1 128 91.77 128 77.13 128L50.87 128C36.23 128 28.9 128 22.3 125.82L21.02 125.51C12.41 122.37 5.63 115.59 2.49 106.98C0 99.1 0 91.77 0 77.13L0 50.87C0 36.23 0 28.9 2.18 22.3L2.49 21.02C5.63 12.41 12.41 5.63 21.02 2.49C28.9 0 36.23 0 50.87 0Z");
}
@media (min-width: 1000px) {
  .hero-icon .icon {
    width: 194px; height: 194px;
    clip-path: path("M77.11 0L116.89 0C139.1 0 150.2 0 160.21 3.3L162.15 3.78C175.19 8.53 185.47 18.81 190.22 31.85C194 43.8 194 54.9 194 77.11L194 116.89C194 139.1 194 150.2 190.7 160.21L190.22 162.15C185.47 175.19 175.19 185.47 162.15 190.22C150.2 194 139.1 194 116.89 194L77.11 194C54.9 194 43.8 194 33.79 190.7L31.85 190.22C18.81 185.47 8.53 175.19 3.78 162.15C0 150.2 0 139.1 0 116.89L0 77.11C0 54.9 0 43.8 3.3 33.79L3.78 31.85C8.53 18.81 18.81 8.53 31.85 3.78C43.8 0 54.9 0 77.11 0Z");
  }
}
.hero-glow { position: absolute; top: 0; left: 0; width: 100%; z-index: -1; filter: blur(60px); transform: scale(1.5); }
.hero-glow img { display: block; width: 100%; border-radius: 23%; }
.hero-text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hero h1 {
  color: #fff; font: 700 17px/22px var(--font-family); margin-bottom: 4px;
  text-shadow: 0 0 5px #0003; text-wrap: pretty; overflow-wrap: anywhere;
}
@media (min-width: 484px) { .hero h1 { font: 700 22px/26px var(--font-family); } }
@media (min-width: 1000px) { .hero h1 { font: 700 34px/40px var(--font-family); letter-spacing: -.02em; } }
.hero .subtitle { color: #f6f6f699; mix-blend-mode: plus-lighter; font: 400 13px/16px var(--font-family); margin-bottom: 4px; text-wrap: pretty; }
@media (min-width: 1000px) { .hero .subtitle { font: 700 17px/22px var(--font-family); margin-bottom: 8px; } }
.hero .button-row { margin-top: 10px; }
@media (min-width: 1580px) {
  .hero h1 { margin-bottom: 6px; }
  .hero .subtitle { margin-bottom: 10px; }
  .hero .button-row { margin-bottom: 14px; }
}
/* Under 484 px Apple's header has one row of buttons, its Share. The site's
   three don't fit beside the icon, so they run across the band under it, as
   they run across a phone's page under the icon (the owner's arrangement on
   a phone), and the band grows to hold them where they wrap. */
@media (max-width: 483.98px) {
  .hero { height: auto; min-height: 200px; }
  .hero-content { display: grid; grid-template-columns: 128px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr auto; gap: 0 1em; }
  .hero-icon { grid-area: 1 / 1 / 5 / 2; }
  .hero-text { grid-area: 1 / 1 / -1 / -1; display: grid; grid-template: subgrid / subgrid; }
  .hero h1 { grid-area: 2 / 2; }
  .hero .subtitle { grid-area: 3 / 2; }
  .hero .button-row { grid-area: 5 / 1 / 6 / 3; }
}
/* Share's capsule, the only button the web page has in this place. */
.hero-button {
  display: flex; align-items: center; height: 27px; padding: 0 16px; border-radius: 27px;
  background: #ffffff1a; mix-blend-mode: plus-lighter; color: #ffffffeb;
  font: 600 13px/16px var(--font-family); white-space: nowrap;
}
@media (min-width: 1000px) { .hero-button { height: 32px; border-radius: 32px; } }
/* The .ipa button: that capsule in the colours of Apple's blue Get button
   (.get-button.blue), not blended, so the blue stays the key colour. */
.hero-button.blue { background-color: var(--keyColor); color: var(--systemPrimary-onDark); mix-blend-mode: normal; }

/* The ribbon of badges under the band. Apple spreads three badges or fewer
   evenly across the page from 484 px and starts a row of 144 px columns at
   the margin under that. A badge: its label in capitals, the value in a
   25 px line 8 px under it, then the caption, the two in systemGray3. Its
   label is 13 px under the ribbon's top, which is 13 px under the band. */
.ribbon { margin-top: 13px; padding: 13px 0 16px; }
.ribbon-cells { display: flex; justify-content: space-evenly; margin: 0 var(--bodyGutter); }
.cell { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--badge); }
@media (max-width: 483.98px) { .ribbon-cells { justify-content: flex-start; } .cell { width: 144px; } }
.cell dt { margin-bottom: 4px; font: 600 11px/14px var(--font-family); text-transform: uppercase; color: var(--systemSecondary); }
.cell .value { height: 25px; margin: 4px 0 2px; font: 700 22px/26px var(--font-family); }
.cell .sub { margin-top: 4px; font: 400 11px/16px var(--font-family); }

/* What's new: the notes beside the version and date. */
.whats-new { display: flex; margin: 0 var(--bodyGutter); font: 400 13px/18px var(--font-family); }
.whats-new .notes { flex-grow: 1; white-space: break-spaces; overflow-wrap: anywhere; }
@media (min-width: 1000px) { .whats-new .notes { flex-grow: 0; width: 66%; } }
@media (min-width: 1580px) { .whats-new .notes { width: 50%; } }
.whats-new .metadata { display: flex; flex-direction: column; flex-grow: 1; gap: 4px; margin: 0 0 8px 8px; text-align: end; color: var(--systemSecondary); }
.whats-new time { white-space: nowrap; }

/* The description. */
.description { margin: 0 var(--bodyGutter); font: 400 13px/18px var(--font-family); white-space: break-spaces; overflow-wrap: anywhere; }
@media (min-width: 1260px) { .description { width: 66%; } }

/* Information: label over value, one column, three from 1000 px. */
.info { display: grid; grid-template-columns: 1fr; gap: 24px 10px; padding: 0 var(--bodyGutter); }
@media (min-width: 1000px) { .info { grid-template-columns: repeat(3, 1fr); column-gap: 20px; } }
.info dt { color: var(--systemSecondary); margin-bottom: 4px; }
.info dd { overflow-wrap: anywhere; }

/* A page with nothing to show, as Apple's Not found and error pages are: one
   line in the middle of the page above the footer, in the secondary colour.
   Under it, the capsule back to the source's page (the owner's, 20 Nov 2026),
   which doesn't move the line. */
.missing .page { display: flex; flex-direction: column; justify-content: center; }
.message { position: relative; padding: 0 var(--bodyGutter); text-align: center; }
.message p { font: 400 17px/22px var(--font-family); color: var(--systemSecondary); overflow-wrap: anywhere; }
.message .get-button { position: absolute; top: 100%; left: 50%; margin-top: 16px; transform: translateX(-50%); }

/* Used by the phone layout below; nothing to see elsewhere. */
.chevron-app, .inline-title, .whats-new time .app { display: none; }

/* ---- An app's page on a phone: the App Store app ---- */

/*
  apps.apple.com sends every iPhone to the App Store app, so on a phone (touch,
  and under 600 px wide, or under 600 px tall when it's turned sideways; never
  the user agent) an app's page copies that app's product page, not the
  website. Tablets are wider and taller than that both ways up. Sizes are
  the app's points as CSS px, from design-research/apple/app-store-ios/NOTES.md
  (written 23 Nov 2026): exact in dark, from the owner's iPhone SE on iOS 27.0
  or 27.0.1 and other people's iOS 27 screenshots; provisional where a line
  says so. Every page on a phone takes the app's colours, a page with nothing
  to show included; the source's own page has a phone layout of its own,
  further down this block.

  Text is placed by its baseline. Every font in the stack has SF Pro's ascent
  and descent (1950 and 494 of 2048), and Safari on iOS rounds both up to
  whole pixels: 21 and 6 at 22 px, 17 and 5 at 17, 16 and 4 at 16, 15 and 4
  at 15, 13 and 4 at 13, 11 and 3 at 11 (measured on the owner's iPhone SE,
  26 Nov 2026). A line's baseline is its ascent plus half of what the line
  height adds, under the line's top; the line heights and margins below are
  chosen to put each baseline where the app has it on an iPhone. Other
  engines round to the nearest pixel (WebKit on Windows) or in device pixels
  (Chromium), so text at 11, 15, 16 and 22 px is half a pixel off there.

  Not copied, because the site has nothing for them: the round back and share
  buttons (the icon starts 20 px down, their distance above it), ratings,
  screenshots, the "more" link that shortens long text, the compact bar after
  scrolling, and the tab bar.
*/
@media (hover: none) and (pointer: coarse) and (max-width: 599.98px), (hover: none) and (pointer: coarse) and (max-height: 599.98px) {

  /* Light is provisional. Apple publishes no exact light picture of the app,
     so each colour is the system's own named one with that colour's value
     (iOS 26 and later). The grey capsule's fill is the one whose dark value
     is the measured #1C1C1E. */
  :root {
    --as-page: #fff;                 /* systemBackground */
    --as-label: #000;                /* label */
    --as-secondary: #3c3c4399;       /* secondaryLabel */
    --as-ribbon-label: #aeaeb2;      /* systemGray2: the nearest named grey to Apple's pictures */
    --as-ribbon-value: #3c3c4399;    /* secondaryLabel */
    --as-hairline: #e5e5ea;          /* systemGray5 */
    --as-capsule: #7676801f;         /* tertiarySystemFill */
    --as-blue: #08f;                 /* systemBlue */
    --as-on-blue: #fff;              /* the Get button's label */
    /* The ring just inside an icon's edge: one translucent grey that gives
       both rings measured in dark (#E5E5E5 on a white icon, #262626 on a
       black one). Not measured in light. */
    --as-ring: #ababab38;
    /* Thinner than a device pixel on any phone, so the browser draws exactly
       one device pixel, as the app does: 0.5 px at 2x, 0.33 at 3x. */
    --hairline: 0.33px;
  }
  /* Where the browser supports the system's own colours (Safari), light uses
     them by name, so they follow the phone's settings. */
  @supports (color: -apple-system-secondary-label) {
    @media (prefers-color-scheme: light) {
      :root { --as-secondary: -apple-system-secondary-label; --as-ribbon-value: -apple-system-secondary-label; }
    }
  }
  @supports (color: -apple-system-blue) {
    @media (prefers-color-scheme: light) { :root { --as-blue: -apple-system-blue; } }
  }
  /* Dark is measured (the owner's iPhone SE, iOS 27.0 or 27.0.1). The app's
     dark Get button was never captured at rest, so the blue fill is the
     blue of its capsule labels. */
  @media (prefers-color-scheme: dark) {
    :root {
      --as-page: #000;
      --as-label: #fff;
      --as-secondary: #8d8d92;
      --as-ribbon-label: #76767a;
      --as-ribbon-value: #8e8e92;
      --as-hairline: #2a2a2b;
      --as-capsule: #1c1c1e;
      --as-blue: #0090ff;
    }
  }

  /* The App Store app has no website frame. */
  .app-container { display: block; }
  .navigation, .footer { display: none; }
  body { background: var(--as-page); color: var(--as-label); }

  /* A page with nothing to show: its line in the middle of the screen, and
     under it the capsule of the source page's buttons, below. */
  .missing .page { min-height: 100vh; min-height: 100dvh; }
  .message { padding: 0 20px; }
  .message p { color: var(--as-secondary); }

  .product .page { display: flex; flex-direction: column; max-width: none; padding-bottom: 32px; }

  /* The header: a 118 px icon 20 px in, the text column 16 px after it
     (x 154), the name's baseline 21 px under the icon's top, the subtitle's
     23 px under that; then the buttons, and the rule above the ribbon
     33.91 px under them. */
  .product .hero {
    display: block; height: auto; overflow: visible; transform: none; padding-bottom: 33.91px;
    color: inherit; background: none; border: 0; border-radius: 0;
  }
  .product .hero-blur, .product .hero-glow { display: none; }
  .product .hero-content {
    display: grid; grid-template-columns: 118px minmax(0, 1fr); grid-template-rows: auto 1fr;
    gap: 0 16px; margin: 0; max-width: none; padding: 20px 20px 0;
  }
  .product .hero-text, .product .button-row { display: contents; }
  .product .hero-icon { grid-area: 1 / 1 / 3 / 2; display: block; width: 118px; height: 118px; }
  .product .hero h1 {
    grid-area: 1 / 2; margin: 0; padding-top: .5px; color: var(--as-label);
    font: 600 22px/26px var(--font-family); letter-spacing: 0; text-shadow: none;
  }
  .product .hero .subtitle {
    grid-area: 2 / 2; margin: 2px 0 0; color: var(--as-secondary); mix-blend-mode: normal;
    font: 400 15px/20px var(--font-family);
  }

  /* Icons: Apple's continuous corner, 0.26 of the width (the paths are
     written by scripts/continuous_corner.py), and the 1 px ring the App Store
     app draws inside the edge (spec 5.2, measured), here the icon's ::after.
     The band of light iOS adds inside an icon's top and bottom edges isn't
     copied. */
  .product .hero-icon .icon {
    width: 118px; height: 118px;
    clip-path: path("M46.85 0L71.15 0C84.64 0 91.38 0 97.47 2.01L98.64 2.3C106.57 5.18 112.82 11.43 115.7 19.36C118 26.62 118 33.36 118 46.85L118 71.15C118 84.64 118 91.38 115.99 97.47L115.7 98.64C112.82 106.57 106.57 112.82 98.64 115.7C91.38 118 84.64 118 71.15 118L46.85 118C33.36 118 26.62 118 20.53 115.99L19.36 115.7C11.43 112.82 5.18 106.57 2.3 98.64C0 91.38 0 84.64 0 71.15L0 46.85C0 33.36 0 26.62 2.01 20.53L2.3 19.36C5.18 11.43 11.43 5.18 19.36 2.3C26.62 0 33.36 0 46.85 0Z");
  }
  .product .hero-icon .icon::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--as-ring);
    clip-path: path(evenodd, "M46.85 0L71.15 0C84.64 0 91.38 0 97.47 2.01L98.64 2.3C106.57 5.18 112.82 11.43 115.7 19.36C118 26.62 118 33.36 118 46.85L118 71.15C118 84.64 118 91.38 115.99 97.47L115.7 98.64C112.82 106.57 106.57 112.82 98.64 115.7C91.38 118 84.64 118 71.15 118L46.85 118C33.36 118 26.62 118 20.53 115.99L19.36 115.7C11.43 112.82 5.18 106.57 2.3 98.64C0 91.38 0 84.64 0 71.15L0 46.85C0 33.36 0 26.62 2.01 20.53L2.3 19.36C5.18 11.43 11.43 5.18 19.36 2.3C26.62 0 33.36 0 46.85 0ZM46.32 1L71.68 1C84.73 1 91.25 1 97.14 2.94L98.28 3.22C105.95 6.01 111.99 12.05 114.78 19.72C117 26.75 117 33.27 117 46.32L117 71.68C117 84.73 117 91.25 115.06 97.14L114.78 98.28C111.99 105.95 105.95 111.99 98.28 114.78C91.25 117 84.73 117 71.68 117L46.32 117C33.27 117 26.75 117 20.86 115.06L19.72 114.78C12.05 111.99 6.01 105.95 3.22 98.28C1 91.25 1 84.73 1 71.68L1 46.32C1 33.27 1 26.75 2.94 20.86L3.22 19.72C6.01 12.05 12.05 6.01 19.72 3.22C26.75 1 33.27 1 46.32 1Z");
  }

  /* The buttons. The app has one, a blue Get in the text column with its foot
     on the icon's foot; the page has three, and of three arrangements shown
     the owner chose this one (25 Nov 2026): all three across the page under
     the icon, .ipa first, nothing where Get goes. Each is the app's capsule,
     32 px tall, the label 16 bold with its baseline 21.5 px down (a 19 px
     line centred in the 31 above a 1 px pad): the .ipa in the blue of its
     Get, the other two in the grey of its lists. The first is 12.95 px under
     the icon and the rule 33.91 under the last, as with a pre-order's
     capsule, which the app puts in this place; they are 8 px apart, as its
     stacked buttons are. A capsule wider than 74 px is in no picture of the
     app. */
  .product .hero-button {
    grid-column: 1 / -1; box-sizing: border-box; justify-content: center; height: 32px; padding: 0 16px 1px; margin-top: 8px;
    border-radius: 16px; background: var(--as-capsule); color: var(--as-blue); mix-blend-mode: normal;
    font: 700 16px/19px var(--font-family);
  }
  .product .hero-button:first-child, .product .hero-button[hidden] + .hero-button { margin-top: 12.95px; }
  .product .hero-button.blue { background: var(--as-blue); color: var(--as-on-blue); }

  /* The ribbon, between two hairlines that start 20 px in and run to the
     screen's edge. Cells are 105 px, or wider when their text needs it; the
     label's baseline is 24 px under the top rule, the value's 32 under that,
     the line below 22 further, the bottom rule 15.5 further; separators are
     40 px tall from 27 px down, at a cell's right edge. A cell's text is
     centred with 8 px each side, the first cell starting at the margin, which
     puts its centre at x 68.5; a wider cell is its text plus 16 (112 for the
     app's "In-App Controls"). The values are SF Pro Rounded Semibold, which
     is ui-rounded on Apple's devices. */
  .product .ribbon { position: relative; height: 93.5px; margin: 0; padding: 0; }
  .product .ribbon::before, .product .ribbon::after {
    content: ""; position: absolute; left: 20px; right: 0; border-top: var(--hairline) solid var(--as-hairline);
  }
  .product .ribbon::before { top: 0; }
  .product .ribbon::after { top: 93.5px; }
  .product .ribbon-cells { justify-content: normal; margin: 0; padding: 0 0 0 20px; overflow-x: auto; scrollbar-width: none; }
  .product .ribbon-cells::-webkit-scrollbar { display: none; }
  .product .cell {
    position: relative; display: block; flex: none; box-sizing: border-box; width: auto; min-width: 105px; padding: 13.5px 8px 12.5px;
    white-space: nowrap; color: var(--as-ribbon-value);
  }
  .product .cell:first-child { padding-left: 0; }
  .product .cell::after {
    content: ""; position: absolute; right: 0; top: 27px; height: 40px;
    border-right: var(--hairline) solid var(--as-hairline);
  }
  .product .cell:last-child::after { content: none; }
  .product .cell dt { margin: 0; font: 600 11px/13px var(--font-family); text-transform: uppercase; color: var(--as-ribbon-label); }
  .product .cell .value { height: auto; margin: 9px 0 0; font: 600 22px/26px ui-rounded, var(--font-family); }
  .product .cell .sub { margin-top: 4.5px; font: 400 13px/15px var(--font-family); }

  /* Sections, in the app's order: What's New, the description, Information,
     More by. Headings are 22 bold, 20 px in. */
  .product .shelf { padding: 0; }
  .product .shelf-title-row { margin: 0 20px; }
  .product .shelf-title { align-items: baseline; gap: 8px; font: 700 22px/26px var(--font-family); }
  /* The chevron after a heading that opens something: 9.29 x 15.59 with a
     2.88 px stroke, standing on the baseline 8 px after the text. */
  .product .chevron { display: none; }
  .product .chevron-app {
    display: block; flex: none; width: 9.29px; height: 15.59px; fill: none;
    stroke: var(--as-secondary); stroke-width: 2.88; stroke-linecap: round; stroke-linejoin: round;
  }

  /* What's New: the heading's baseline 31.69 px under the ribbon's rule; the
     version and, at the right, the date 32.5 under that (the app has 32.5,
     32 and 34.3 on three phones, unexplained; this is the owner's); the
     notes 30 further, in lines 20 apart. */
  .product .shelf-new { padding-top: 11.19px; }
  .product .whats-new { flex-direction: column; margin: 0 20px; font: 400 15px/20px var(--font-family); }
  .product .whats-new .metadata {
    order: -1; flex-direction: row; justify-content: space-between; gap: 16px; margin: 11.5px 0 10px;
    text-align: start; color: var(--as-secondary);
  }
  .product .whats-new .notes { flex: none; width: auto; }
  .product .whats-new time .web { display: none; }
  .product .whats-new time .app { display: inline; }

  /* The description, as the app has it under a hairline 20 px in from both
     sides: its first baseline 30.67 px under the rule, lines 20 apart. The
     app's rule follows a row of device names, 27.32 px under that row's
     baseline, which is the distance kept here from the text above. Measured
     on one dark screenshot (iOS 26.4 or later), so provisional. */
  .product .shelf-desc { order: 1; position: relative; margin-top: 22.82px; padding-top: 15.17px; }
  .product .shelf-desc::before {
    content: ""; position: absolute; top: 0; left: 20px; right: 20px; border-top: var(--hairline) solid var(--as-hairline);
  }
  .product .description { width: auto; margin: 0 20px; font: 400 15px/20px var(--font-family); }
  /* With no What's New above it, the ribbon's own rule stands in for the
     description's. */
  .product .shelf-desc:has(+ .shelf-new[hidden]) { margin-top: 0; }
  .product .shelf-desc:has(+ .shelf-new[hidden])::before { content: none; }

  /* Information. No picture of it exists for iOS 27, so this is iOS 26's:
     the heading's baseline 67.68 px under the text above (the app's distance
     from What's New to its next heading), rows 48 px apart, the label grey
     and the value at the right, a rule 18 px under each baseline but the
     last. A long value goes under its label, in lines 20 apart. Provisional. */
  .product .shelf-info { order: 2; margin-top: 42.68px; }
  /* Straight after the ribbon, its heading is where What's New's would be. */
  .product .shelf-desc[hidden] + .shelf-new[hidden] + .shelf-info { margin-top: 11.19px; }
  .product .info { display: block; margin-top: 12.5px; padding: 0 20px; font: 400 15px/20px var(--font-family); }
  .product .info > div { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 14.5px 0 13.5px; }
  .product .info > div + div::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: var(--hairline) solid var(--as-hairline);
  }
  .product .info dt { flex: none; margin: 0; color: var(--as-secondary); }
  .product .info dd { text-align: end; }
  .product .info > .long { display: block; }
  .product .info > .long dd { text-align: start; }

  /* More by: the app's shelf of lockups. The heading's baseline is 60.98 px
     under Information's last line (iOS 26's distance to the next heading),
     the first icon 18 px under the heading's baseline. A lockup: a 62 px
     icon, the name 17 regular 10 px after it (two lines at most, 20 apart),
     the subtitle 13 regular with its baseline 20 px lower, and a 74 x 32
     capsule ending 20 px from the edge, all centred on the icon. Rows are
     78 px apart, three to a column, with a hairline 7.59 px under each icon
     from the text to the capsule's end; the next column starts 10 px after. */
  .product .shelf-more { order: 3; margin-top: 22.48px; }
  .product .shelf-info[hidden] + .shelf-more { margin-top: 42.68px; }
  .product .lockups.small {
    grid-template-rows: repeat(3, auto); grid-auto-columns: 100%; column-gap: 10px; row-gap: 16px;
    margin: 12.5px 0 0; padding: 0 20px;
  }
  .product .lockup { position: relative; height: 62px; }
  .product .lockup:not(:nth-child(3n)):not(:last-child)::after {
    content: ""; position: absolute; top: 69.59px; left: 72px; right: 0; border-top: var(--hairline) solid var(--as-hairline);
  }
  .product .lockup .icon, .home .lockup .icon {
    width: 62px; height: 62px; margin-inline-end: 10px;
    clip-path: path("M24.76 0L37.24 0C44.37 0 47.93 0 51.15 1.06L51.77 1.21C55.96 2.74 59.26 6.04 60.79 10.23C62 14.07 62 17.63 62 24.76L62 37.24C62 44.37 62 47.93 60.94 51.15L60.79 51.77C59.26 55.96 55.96 59.26 51.77 60.79C47.93 62 44.37 62 37.24 62L24.76 62C17.63 62 14.07 62 10.85 60.94L10.23 60.79C6.04 59.26 2.74 55.96 1.21 51.77C0 47.93 0 44.37 0 37.24L0 24.76C0 17.63 0 14.07 1.06 10.85L1.21 10.23C2.74 6.04 6.04 2.74 10.23 1.21C14.07 0 17.63 0 24.76 0Z");
  }
  .product .lockup .icon::after, .home .lockup .icon::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--as-ring);
    clip-path: path(evenodd, "M24.76 0L37.24 0C44.37 0 47.93 0 51.15 1.06L51.77 1.21C55.96 2.74 59.26 6.04 60.79 10.23C62 14.07 62 17.63 62 24.76L62 37.24C62 44.37 62 47.93 60.94 51.15L60.79 51.77C59.26 55.96 55.96 59.26 51.77 60.79C47.93 62 44.37 62 37.24 62L24.76 62C17.63 62 14.07 62 10.85 60.94L10.23 60.79C6.04 59.26 2.74 55.96 1.21 51.77C0 47.93 0 44.37 0 37.24L0 24.76C0 17.63 0 14.07 1.06 10.85L1.21 10.23C2.74 6.04 6.04 2.74 10.23 1.21C14.07 0 17.63 0 24.76 0ZM24.24 1L37.76 1C44.45 1 47.8 1 50.82 2L51.4 2.14C55.33 3.57 58.43 6.67 59.86 10.6C61 14.2 61 17.55 61 24.24L61 37.76C61 44.45 61 47.8 60 50.82L59.86 51.4C58.43 55.33 55.33 58.43 51.4 59.86C47.8 61 44.45 61 37.76 61L24.24 61C17.55 61 14.2 61 11.18 60L10.6 59.86C6.67 58.43 3.57 55.33 2.14 51.4C1 47.8 1 44.45 1 37.76L1 24.24C1 17.55 1 14.2 2 11.18L2.14 10.6C3.57 6.67 6.67 3.57 10.6 2.14C14.2 1 17.55 1 24.24 1Z");
  }
  /* The text stops 10 short of the capsule, the gap the shelf leaves between
     icon and text. Apple's truncated lines run to x 267 (IMG_4076), past
     where a 16 px gap would stop them. */
  .product .lockup .meta { gap: 0; margin-inline-end: 10px; }
  .product .lockup .name, .home .lockup .name {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal;
    font: 400 17px/20px var(--font-family);
  }
  .product .lockup .subtitle, .home .lockup .subtitle { margin-top: 3px; font: 400 13px/17px var(--font-family); color: var(--as-secondary); }
  .product .lockup .get-button, .home .lockup .get-button {
    display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 74px; height: 32px; margin: 0 0 0 auto;
    padding: 0 0 1px; border-radius: 16px; font: 700 16px/19px var(--font-family); color: var(--as-blue); background: var(--as-capsule);
  }

  /* ---- The source's page on a phone ---- */

  /*
    On a phone the source's page (index.html, the class "home" on <html>) is
    built from the App Store app's developer page, measured on the owner's
    iPhone SE on 26 Nov 2026 (design-research/apple/app-store-ios/NOTES.md,
    7.0), and cut down to what the owner asked for that day: "kayden's apps /
    buttons / pile of apps". Left out: the back button, Latest Release, shelf
    headings, the tab bar, and the source's address. Colours and the lockup's
    look are the app page's, above.
  */
  .home .page { max-width: none; padding-bottom: 32px; }

  /* The title: the developer page's large title, 34 bold, lines 41 apart,
     its baseline 46 under the top, the distance the App Store puts it under
     its back button, which this page doesn't have. It starts at x 16 on a
     375 pt phone and at 20 on a 402 pt one (the Apps tab's large title,
     #9), as iOS's own large titles move with the width; the switch at
     400 px is a reading of those two widths, no more. */
  .home .large-title {
    padding: 13.5px 16px 0; color: var(--as-label);
    font: 700 34px/41px var(--font-family); letter-spacing: 0;
  }
  @media (min-width: 400px) { .home .large-title { padding-left: 20px; padding-right: 20px; } }

  /* Scrolled, the developer page shows its title inline, centred, with its
     baseline 48 pt down the screen, 28 under the top of the bar below the
     status bar, which is where the page's top is here (spec 7.0). It shows
     once the large title has gone under that 44 px bar. Not measured, so
     plain: the size and weight are iOS's usual inline title's, 17 semibold,
     which the captures don't settle; the bar is the page's colour, with no
     material or fade; the title appears at once. */
  .home.scrolled .inline-title {
    display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 1; height: 44px; padding: 11px 16px 0;
    background: var(--as-page); color: var(--as-label); text-align: center;
    font: 600 17px/22px var(--font-family); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* The buttons: the app page's capsules (32 px tall, 16 bold, the label's
     baseline 21.5 down), one under another 8 px apart across the page, as
     the owner asked for when there are three. The first is 30 px under the
     title's baseline, where the App Store's Apps tab puts the capsules under
     its large title (29.96, #9). */
  .home .large-title + .shelf { padding: 0; margin-top: 21.5px; }
  .home .source-buttons { display: flex; flex-direction: column; gap: 8px; margin: 0 20px; }
  .home .source-buttons .get-button, .message .get-button {
    display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 32px;
    padding: 0 16px 1px; border-radius: 16px; font: 700 16px/19px var(--font-family);
    color: var(--as-blue); background: var(--as-capsule);
  }

  /* The apps: the developer page's shelf rows, one under another in one
     untitled section, the View capsule at each row's end. The first icon is
     33.91 px under the last button, the room the App Store leaves under a
     capsule in that place on a product page (the app page has it under the
     same buttons); rows are 78 apart, with a hairline 7.59 under each icon
     but the last, from the text to the capsule's end. */
  .home #appsShelf { padding: 0; margin-top: 33.91px; }
  .home .lockups { display: block; margin: 0; padding: 0 20px; overflow: visible; }
  .home .lockup { position: relative; height: 62px; }
  .home .lockup + .lockup { margin-top: 16px; }
  .home .lockup:not(:last-child)::after {
    content: ""; position: absolute; top: 69.59px; left: 72px; right: 0; border-top: var(--hairline) solid var(--as-hairline);
  }
  .home .lockup .meta { flex: 1; gap: 0; margin-inline-end: 84px; }  /* the capsule's 74 and the 10 before it */
  .home .lockup .get-button { position: absolute; top: 15px; right: 0; margin: 0; }

  /* The push and pop between pages, the last section of this file, run on a
     phone only, and not under reduced motion. */
  @media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
}

/* ---- Moving between pages on a phone: iOS's push and pop ---- */

/*
  A page opened by a link on the site slides in from the right over the page
  it came from, which moves left by 0.2975 of its width; going back slides the
  top page off to the right and brings the one beneath back (store.js tells
  them apart). The springs are iOS 27.2's, measured from the owner's iPhone SE
  screen recordings of 2 Nov 2026 (design-research/apple/
  ios-pages-for-artifacts/NOTES.md, Motion): the push damped 1.08 at
  24.9 rad/s, 435 ms to within half a point, the pop 1.16 at 27 rad/s, 450 ms,
  each sampled at 60 points. Not measured, so left out: any dimming of the
  page beneath, a shadow on the top page, and the highlight on a tapped row.
  Safari's own swipe back keeps Safari's motion, and a reduced-motion setting
  turns it all off. The phone block above opts the pages in.
*/
::view-transition-group(root) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) {
  mix-blend-mode: normal; animation-fill-mode: both;
  animation-duration: 435ms; animation-timing-function: linear(0, 0.0143, 0.0506, 0.1006, 0.1588, 0.2208, 0.2837, 0.3456, 0.4051, 0.4614, 0.5141, 0.5628, 0.6075, 0.6484, 0.6855, 0.7191, 0.7494, 0.7767, 0.8012, 0.8231, 0.8427, 0.8602, 0.8758, 0.8897, 0.9021, 0.9132, 0.923, 0.9317, 0.9394, 0.9463, 0.9524, 0.9578, 0.9626, 0.9668, 0.9706, 0.974, 0.9769, 0.9796, 0.9819, 0.984, 0.9858, 0.9874, 0.9888, 0.9901, 0.9912, 0.9922, 0.9931, 0.9939, 0.9946, 0.9952, 0.9958, 0.9963, 0.9967, 0.9971, 0.9974, 0.9977, 0.998, 0.9982, 0.9984, 0.9986, 1);
}
::view-transition-new(root) { animation-name: ios-push-in; }
::view-transition-old(root) { animation-name: ios-push-under; }
html.pop::view-transition-old(root), html.pop::view-transition-new(root) {
  animation-duration: 450ms; animation-timing-function: linear(0, 0.0176, 0.0606, 0.1181, 0.1829, 0.25, 0.3164, 0.3802, 0.4403, 0.4961, 0.5474, 0.5943, 0.6368, 0.6752, 0.7098, 0.7409, 0.7688, 0.7938, 0.8161, 0.8361, 0.8539, 0.8698, 0.884, 0.8966, 0.9079, 0.918, 0.9269, 0.9349, 0.942, 0.9484, 0.954, 0.959, 0.9635, 0.9675, 0.9711, 0.9742, 0.977, 0.9796, 0.9818, 0.9838, 0.9856, 0.9871, 0.9885, 0.9898, 0.9909, 0.9919, 0.9928, 0.9936, 0.9943, 0.9949, 0.9955, 0.996, 0.9964, 0.9968, 0.9971, 0.9975, 0.9977, 0.998, 0.9982, 0.9984, 1);
}
html.pop::view-transition-old(root) { z-index: 1; animation-name: ios-pop-off; }
html.pop::view-transition-new(root) { animation-name: ios-pop-under; }
@keyframes ios-push-in { from { transform: translateX(100%); } }
@keyframes ios-push-under { to { transform: translateX(-29.75%); } }
@keyframes ios-pop-off { to { transform: translateX(100%); } }
@keyframes ios-pop-under { from { transform: translateX(-29.75%); } }
