/* The close: every app, and a way to get each one. */
.close { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4vw; visibility: hidden; }
.close h2 { margin-top: auto; font-size: clamp(52px, 5.4vw, 100px); font-weight: 830; font-stretch: 125%; letter-spacing: -0.038em; line-height: 0.96; }
.close h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0 0.1em; margin: -0.04em 0 -0.1em; }
.close h2 .w > span { display: inline-block; }
.close-sub { margin-top: 18px; font-size: 19px; color: rgba(var(--ink-rgb), var(--soft)); font-weight: 420; }
.close-sub b { color: var(--ink); font-weight: 680; }
.close-apps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; width: min(1200px, 100%); margin-top: 54px; }
/* a card is two links: the app (icon, name, job) to its own page, and below it the App Store */
.close-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px; height: 100%; padding: 26px 14px 22px; border-radius: 26px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.25s, transform 0.25s;
}
.close-app { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; width: 100%; border-radius: 18px; outline-offset: 6px; }
.close-card:has(.close-app:hover) { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.close-app:hover b, .close-app:focus-visible b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.close-apps img { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.close-apps b { font-size: 19px; font-weight: 720; }
.close-apps span { font-size: 14px; line-height: 1.4; color: var(--ink-2); min-height: 2.8em; text-wrap: balance; }
.close-get { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; font-size: 13px; font-weight: 650; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--thumb-ink); white-space: nowrap; transition: transform 0.2s; }
a.close-get:hover { transform: translateY(-1px); }
.close-get.soon { gap: 8px; padding: 0; background: transparent; color: var(--ink-2); }
.close-get.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #47b38a; box-shadow: 0 0 0 3px rgba(71, 179, 138, 0.24); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: min(1200px, 100%); margin-top: auto; padding: 28px 0 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
/* (the finale's tiles land here: the card's own ground and the icon's shadow come in round them) */
.close-card { background: rgba(255, 255, 255, calc(0.04 * var(--cb, 1))); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), calc(0.14 * var(--cb, 1))); }
.close-card:has(.close-app:hover) { background: rgba(255, 255, 255, calc(0.08 * var(--cb, 1))); }
.close-apps img { box-shadow: 0 calc(10px * var(--sh, 1)) calc(24px * var(--sh, 1)) rgba(0, 0, 0, calc(0.4 * var(--sh, 1))); }
.close-apps li { border-color: rgba(var(--ink-rgb), calc(0.14 * var(--cb, 1))) !important; }
