/*
 * StayReady Games: a game table. Cream paper, dark and gold letter tiles,
 * a wooden rack; every game page takes the colours of its game.
 */

/* Fonts: Playfair Display and Rubik, SIL Open Font License 1.1 (see fonts/README.md). */
@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/playfair-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/playfair-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/rubik-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/rubik-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Page colours; a game's page sets its own on <body>. */
:root {
    --paper: #f6efe1;
    --ink: #1d3a2e;
    --muted: #3f5249;
    --accent: #1d4d3a;
    --band: #4a2a1a;
    --band-ink: #f6ead3;
    --band-muted: #ead9bb;
    --row: #5a3523;
    --cta: #f5cf6b;
    --cta-ink: #2b1a0f;

    --soft: #efe4cf;
    --wood: #6e3b22;
    --tile-dark: #2b221d;
    --tile-cream: #f3e5c9;
    --tile-gold: #f5cf6b;
    --tile-mint: #9fd0b0;
    --tile-ink: #173e33;

    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: Rubik, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    --shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 14px 30px rgba(70, 45, 20, .12);
    --shadow-soft: 0 12px 26px rgba(70, 45, 20, .08);
}

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

body {
    /* Derived from the page colours here, so that a game page's own colours reach them. */
    --card: color-mix(in srgb, var(--paper) 30%, #fffdf7);
    --line: color-mix(in srgb, var(--ink) 14%, var(--paper));
    --chip: color-mix(in srgb, var(--ink) 9%, var(--paper));
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--accent);
    text-underline-offset: .18em;
}

a:hover {
    color: color-mix(in srgb, var(--accent) 70%, #000);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.band :focus-visible,
.sr-legal-hero :focus-visible {
    outline-color: var(--cta);
}

code {
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--chip);
    font-family: var(--mono);
    font-size: .92em;
    overflow-wrap: anywhere;
}

.container,
.sr-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 32px;
}

.narrow {
    max-width: 920px;
}

.skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 20;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 600;
    text-decoration: none;
}

.skip:focus {
    top: 16px;
    color: var(--paper);
}

/* Type */

.display,
.h2,
.h3,
.h4 {
    margin: 0;
    font-family: var(--serif);
    text-wrap: balance;
}

.display {
    font-weight: 900;
    font-size: clamp(40px, 5.2vw, 70px);
    line-height: 1.04;
    letter-spacing: -.5px;
}

.display--game {
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1;
}

.display--page {
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: 1.08;
}

.h2 {
    font-weight: 900;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.1;
}

.h3 {
    font-weight: 800;
    font-size: clamp(26px, 2.6vw, 32px);
    line-height: 1.15;
}

.h4 {
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--wood);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.eyebrow--gold {
    color: var(--tile-gold);
}

.eyebrow--cta {
    margin-bottom: 14px;
    color: var(--cta);
}

.lead {
    max-width: 540px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.55;
    text-wrap: pretty;
}

.lead--band {
    max-width: 580px;
    color: var(--band-muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn svg {
    flex: none;
}

.btn--lg {
    min-height: 54px;
    padding: 0 28px;
    font-size: 17px;
}

.btn--primary,
.btn--primary:hover {
    background: var(--accent);
    color: #fffaf0;
    box-shadow: 0 5px 0 color-mix(in srgb, var(--accent) 55%, #000);
}

.btn--cta,
.btn--cta:hover {
    background: var(--cta);
    color: var(--cta-ink);
    box-shadow: 0 5px 0 color-mix(in srgb, var(--cta) 55%, #000);
}

.btn--primary:hover,
.btn--cta:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 55%, #000);
}

.btn--cta:hover {
    box-shadow: 0 3px 0 color-mix(in srgb, var(--cta) 55%, #000);
}

.btn--outline,
.btn--outline:hover {
    border-color: currentColor;
    color: var(--ink);
}

.btn--outline:hover {
    background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.btn--card,
.btn--card:hover {
    min-height: 44px;
    padding: 0 14px;
    background: var(--c-accent);
    color: #fffaf0;
    font-size: 15px;
}

.btn--card-outline,
.btn--card-outline:hover {
    min-height: 44px;
    padding: 0 14px;
    border-color: currentColor;
    color: var(--c-ink);
    font-size: 15px;
}

.btn--card:hover,
.btn--card-outline:hover {
    transform: translateY(-1px);
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 2px dashed currentColor;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* Letter tiles */

.tile {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.tile small {
    position: absolute;
    right: 9%;
    bottom: 6%;
    font-family: var(--sans);
    font-size: clamp(11px, 1.3vw, 15px);
    font-weight: 600;
}

.tile--dark {
    background: var(--tile-dark);
    color: var(--tile-cream);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .38), inset 0 2px 0 rgba(255, 255, 255, .08);
}

.tile--gold {
    background: var(--tile-gold);
    color: var(--tile-ink);
    box-shadow: inset 0 -4px 0 rgba(120, 80, 0, .25);
}

.tile--cream {
    background: var(--tile-cream);
    color: #3d2316;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18);
}

.tile--mint {
    background: var(--tile-mint);
    color: var(--tile-ink);
    box-shadow: inset 0 -4px 0 rgba(0, 60, 30, .2);
}

.tile--small {
    width: 46px;
    height: 46px;
    background: var(--row);
    color: var(--cta);
    font-size: 24px;
}

/* Header */

.site-header__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.logo:hover {
    color: var(--ink);
}

.logo__tiles {
    display: flex;
    gap: 4px;
}

.logo__tiles .tile {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 22px;
}

.logo__tiles .tile--dark {
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35);
}

.logo__tiles .tile--gold {
    box-shadow: inset 0 -3px 0 rgba(120, 80, 0, .25);
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo__name {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 800;
}

.logo__sub {
    margin-top: 4px;
    color: var(--wood);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    font-size: 16px;
    font-weight: 500;
}

.site-nav > a {
    color: var(--ink);
    text-decoration: none;
}

.site-nav > a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.lang {
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: 10px;
    background: var(--chip);
    font-size: 14px;
}

.lang a {
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
}

.lang a:hover {
    color: var(--ink);
}

.lang a[aria-current] {
    background: var(--card);
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(60, 40, 20, .12);
}

/* Home: hero with the game table */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero__text {
    flex: 1 1 460px;
    min-width: 0;
}

.hero__art {
    position: relative;
    flex: 1 1 420px;
    max-width: 540px;
    height: 420px;
}

.ball {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 12px 20px rgba(60, 40, 20, .28);
}

.ball--amber {
    top: 22px;
    left: 5%;
    width: 84px;
    height: 84px;
    background: radial-gradient(circle at 34% 30%, #ffe3a1, #f2a516 55%, #b56b00);
}

.ball--red {
    top: 96px;
    left: 25%;
    width: 58px;
    height: 58px;
    background: radial-gradient(circle at 34% 30%, #ffb4a3, #e0533b 55%, #9e2a17);
}

.ball--teal {
    top: 30px;
    right: 6%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 34% 30%, #a6f0f2, #12808a 58%, #064a52);
}

.ball--orange {
    top: 132px;
    right: 27%;
    width: 64px;
    height: 64px;
    background: radial-gradient(circle at 34% 30%, #ffd59a, #e39222 58%, #9a5507);
}

.block {
    position: absolute;
    top: 34px;
    left: 46%;
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: #3f7a5a;
    transform: rotate(-10deg);
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .18), inset 0 4px 0 rgba(255, 255, 255, .18), 0 12px 20px rgba(60, 40, 20, .25);
}

.tile--loose {
    position: absolute;
    top: 158px;
    left: 4%;
    width: 72px;
    height: 72px;
    font-size: 42px;
    transform: rotate(12deg);
    box-shadow: inset 0 -5px 0 rgba(120, 80, 0, .25), 0 12px 20px rgba(60, 40, 20, .22);
}

.rack {
    position: absolute;
    right: 0;
    bottom: 34px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: clamp(6px, 2.4%, 12px);
    padding: 16px 18px 22px;
    border-radius: 16px;
    background: var(--wood);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, .12), inset 0 -8px 0 rgba(0, 0, 0, .25), 0 22px 34px rgba(60, 30, 10, .28);
}

.tile--rack {
    width: clamp(58px, 21%, 96px);
    height: auto;
    aspect-ratio: 1;
    font-size: clamp(34px, 5vw, 56px);
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .4), inset 0 2px 0 rgba(255, 255, 255, .08);
}

.tile--rack.tile--gold {
    box-shadow: inset 0 -5px 0 rgba(120, 80, 0, .25);
}

/* Home: the games */

.band-soft {
    padding: 80px 0 96px;
    background: var(--soft);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
}

.section-head p {
    max-width: 460px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 24px;
}

.game-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: var(--c-paper, var(--card));
    color: var(--c-ink, var(--ink));
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 20px 38px rgba(70, 45, 20, .16);
}

.game-card__art {
    display: block;
}

.game-card__art img {
    display: block;
    width: 100%;
    aspect-ratio: 1024 / 500;
    object-fit: cover;
}

.game-card__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1024 / 500;
    background: var(--c-panel);
}

.game-card__panel img {
    width: 116px;
    height: 116px;
    aspect-ratio: 1;
    border-radius: 26px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
}

.game-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 24px;
}

.game-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}

.game-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.game-card h3 a {
    color: inherit;
    text-decoration: none;
}

.game-card h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.game-card__kind {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .78;
}

.game-card__summary {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.game-card__platforms {
    margin: 0;
    font-size: 14px;
    opacity: .8;
}

.game-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.game-card__more,
.game-card__more:hover {
    margin-left: auto;
    padding: 10px 0;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.game-card__more:hover {
    text-decoration: underline;
}

/* Dark bands */

.band {
    padding: 88px 0 96px;
    background: var(--band);
    color: var(--band-ink);
}

.band :where(a:not(.btn, .store)) {
    color: var(--cta);
}

.band :where(a:not(.btn, .store)):hover {
    color: color-mix(in srgb, var(--cta) 75%, #fff);
}

.band__text {
    margin: 22px 0 0;
    color: var(--band-muted);
    font-size: 18px;
    line-height: 1.6;
}

.band__text--small {
    margin-top: 18px;
    font-size: 15px;
}

.link-gold,
.link-cta {
    font-weight: 600;
}

.band .link-gold {
    color: var(--tile-gold);
}

.link-gold:hover,
.link-cta:hover {
    text-decoration-thickness: 2px;
}

.split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 56px;
}

.split > * {
    flex: 1 1 400px;
    min-width: 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--row);
    font-size: 17px;
    line-height: 1.45;
}

.steps--light {
    margin: 26px 0;
}

.steps--light li {
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

/* Home: support and data */

.duo {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 88px;
    padding-bottom: 88px;
}

.panel {
    flex: 1 1 360px;
    min-width: 0;
    padding: 34px;
    border-radius: 22px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.panel p {
    margin: 14px 0 22px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
}

.site-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 36px;
    color: var(--muted);
    font-size: 15px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.site-footer a {
    color: var(--muted);
}

.site-footer a:hover {
    color: var(--ink);
}

/* Game page */

.band.game-hero {
    padding: 0;
}

.game-hero .hero {
    padding-top: 64px;
    padding-bottom: 72px;
}

.game-hero .hero__text {
    flex-basis: 500px;
}

.crumbs {
    margin: 0 0 14px;
    color: var(--band-muted);
    font-size: 15px;
}

.band .crumbs a {
    color: var(--band-muted);
}

.crumbs span {
    opacity: .8;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.fact {
    flex: 1 1 140px;
    max-width: 180px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .14);
}

.fact b {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.fact span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.hero__art--phones {
    flex-basis: 400px;
    max-width: 520px;
    height: 560px;
}

.phone {
    position: absolute;
    width: clamp(170px, 48%, 250px);
    overflow: hidden;
    border: 9px solid #1a120d;
    border-radius: 34px;
    background: #1a120d;
    box-shadow: 0 30px 50px rgba(0, 0, 0, .45);
}

.phone img {
    display: block;
    width: 100%;
}

.phone--left {
    top: 30px;
    left: 4%;
    transform: rotate(-5deg);
}

.phone--right {
    top: 70px;
    right: 4%;
    transform: rotate(4deg);
}

.hero__art--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.hero__icon img {
    display: block;
    width: 168px;
    height: 168px;
    border-radius: 38px;
    box-shadow: 0 26px 44px rgba(0, 0, 0, .4);
    transform: rotate(-4deg);
}

.section {
    padding-top: 88px;
    padding-bottom: 88px;
}

.section + .section {
    padding-top: 0;
}

.section-gap {
    margin-top: 56px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature {
    padding: 28px;
    border-radius: 20px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.feature .h4 {
    margin: 18px 0 8px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.shots {
    display: flex;
    gap: 28px;
    margin-top: 32px;
    padding-bottom: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--line) transparent;
}

.shot {
    flex: 0 0 230px;
    margin: 0;
    scroll-snap-align: start;
}

.shot img {
    display: block;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(60, 30, 10, .22);
}

.shot figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
}

.prose-sections {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.list {
    margin: 22px 0 0;
    padding: 0 0 0 20px;
    font-size: 17px;
    line-height: 1.6;
}

.list li + li {
    margin-top: 10px;
}

.list li::marker {
    color: var(--accent);
}

.note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.dark-box {
    align-self: flex-start;
    padding: 32px;
    border-radius: 22px;
    background: var(--tile-dark);
    color: var(--tile-cream);
}

.dark-box p {
    margin: 12px 0 22px;
    color: #ddc9a6;
    font-size: 16px;
    line-height: 1.55;
}

.tile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tile-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
}

.install .band__text {
    margin-top: 14px;
}

.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.store {
    position: relative;
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 72px;
    padding: 12px 22px;
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

a.store:hover {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
}

.store small {
    font-size: 13px;
    font-weight: 500;
    opacity: .75;
}

.store span {
    font-size: 19px;
}

.store--soon {
    border: 2px dashed color-mix(in srgb, var(--band-ink) 40%, transparent);
    background: transparent;
    color: var(--band-ink);
}

.store--soon em {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--cta);
    color: var(--cta-ink);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.install__sub {
    margin: 52px 0 18px;
}

.install__sub + .band__text {
    margin-top: 0;
}

.files {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    padding: 22px 24px;
    border-radius: 18px;
    background: var(--row);
}

.file__info {
    flex: 1 1 320px;
    min-width: 0;
}

.file__name {
    font-size: 19px;
    font-weight: 600;
}

.file__meta {
    margin-top: 6px;
    color: var(--band-muted);
    font-size: 15px;
}

.file__hash {
    margin-top: 6px;
    color: var(--band-muted);
    font-family: var(--mono);
    font-size: 13px;
    opacity: .85;
    overflow-wrap: anywhere;
}

.minis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
    gap: 20px;
    margin-top: 30px;
}

.mini {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: var(--c-paper);
    color: var(--c-ink);
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease;
}

.mini:hover {
    color: var(--c-ink);
    transform: translateY(-3px);
}

.mini > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mini__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: var(--c-panel);
}

.mini__panel img {
    width: 84px;
    height: 84px;
    border-radius: 20px;
}

.mini__title {
    padding: 14px 18px 18px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 800;
}

/* Text pages */

.band.page-hero {
    padding: 72px 0 80px;
}

.section.narrow p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.section.narrow .h2 {
    font-size: clamp(28px, 3.2vw, 40px);
}

.section.narrow .list {
    color: var(--muted);
}

/* 404 */

.not-found {
    padding-top: 72px;
    padding-bottom: 120px;
    text-align: center;
}

.not-found__tiles {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.not-found__tiles .tile--rack {
    width: clamp(70px, 18vw, 104px);
}

.not-found .lead {
    margin: 20px auto 34px;
}

/* Privacy policy (its markup came from stayready.space) */

.sr-legal-hero {
    padding: 72px 0 64px;
    background: var(--band);
    color: var(--band-ink);
}

.sr-legal-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--tile-gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.sr-legal-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 900;
    line-height: 1.08;
    text-wrap: balance;
}

.sr-legal-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--band-muted);
    font-size: 18px;
    line-height: 1.6;
}

.sr-legal-updated {
    display: inline-block;
    margin-top: 22px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 14px;
}

.sr-legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 96px;
}

.sr-legal-toc {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 22px;
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.sr-legal-toc strong {
    margin-bottom: 8px;
    color: var(--wood);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sr-legal-toc a {
    padding: 5px 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

.sr-legal-toc a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.sr-legal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sr-legal-card {
    padding: 30px 34px;
    border-radius: 20px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    color: #34473e;
    font-size: 16.5px;
    line-height: 1.65;
    scroll-margin-top: 24px;
}

.sr-legal-card h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.sr-legal-card p,
.sr-legal-card ul {
    margin: 0 0 12px;
}

.sr-legal-card > :last-child {
    margin-bottom: 0;
}

.sr-legal-card ul {
    padding-left: 20px;
}

.sr-legal-card li + li {
    margin-top: 6px;
}

.sr-legal-card li::marker {
    color: var(--accent);
}

.sr-legal-details {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.sr-legal-details div {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 4px 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.sr-legal-details dt {
    color: var(--ink);
    font-weight: 600;
}

.sr-legal-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* Narrow screens */

@media (max-width: 860px) {
    .sr-legal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sr-legal-toc {
        position: static;
    }
}

@media (max-width: 720px) {
    .container,
    .sr-container {
        padding-inline: 20px;
    }

    .site-header__row {
        padding-block: 16px;
    }

    .site-nav {
        gap: 8px 18px;
        font-size: 15px;
    }

    .hero {
        gap: 28px;
        padding-top: 20px;
        padding-bottom: 56px;
    }

    .lead {
        font-size: 17px;
    }

    .band,
    .band-soft {
        padding: 64px 0 72px;
    }

    .duo,
    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .split {
        gap: 36px;
    }

    .split > * {
        flex-basis: 100%;
    }

    .panel,
    .feature,
    .dark-box {
        padding: 26px 22px;
    }

    .game-hero .hero {
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .hero__art--phones {
        height: 430px;
    }

    .phone {
        width: 47%;
        border-width: 7px;
        border-radius: 26px;
    }

    .fact {
        max-width: none;
    }

    .install__sub {
        margin-top: 40px;
    }

    .file .btn {
        width: 100%;
    }

    .shot {
        flex-basis: 200px;
    }

    .band.page-hero {
        padding: 48px 0 56px;
    }

    .sr-legal-hero {
        padding: 48px 0 44px;
    }

    .sr-legal-layout {
        padding-top: 32px;
        padding-bottom: 64px;
    }

    .sr-legal-card {
        padding: 24px 22px;
    }

    .sr-legal-details div {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .hero__art {
        height: 310px;
    }

    .ball--amber {
        width: 64px;
        height: 64px;
    }

    .ball--red {
        top: 78px;
        width: 46px;
        height: 46px;
    }

    .ball--teal {
        width: 62px;
        height: 62px;
    }

    .ball--orange {
        top: 96px;
        width: 48px;
        height: 48px;
    }

    .block {
        width: 54px;
        height: 54px;
        border-radius: 12px;
    }

    .tile--loose {
        top: 112px;
        left: 6%;
        width: 54px;
        height: 54px;
        font-size: 30px;
    }

    .rack {
        bottom: 12px;
        padding: 12px 12px 16px;
    }

    .tile--rack {
        width: 22%;
        font-size: 36px;
    }

    .hero__art--phones {
        height: 380px;
    }

    .hero__art--icon {
        height: 220px;
    }

    .hero__icon img {
        width: 132px;
        height: 132px;
        border-radius: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
