:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #171928;
  --muted: #515361;
  --night: #171928;
  --line: #dddce3;
  --yellow: #ffe36d;
  --shell: min(100% - 32px, 1200px);
  font-family: "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #5142a8; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 12px; background: var(--yellow); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 68px; padding-top: 8px; }
.brand { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 1.32rem; font-weight: 850; letter-spacing: -.055em; }
.brand span span { color: #6356ae; font-size: .92em; }
.navigation { display: flex; justify-content: space-between; flex: 1 0 100%; gap: 2px; }
.navigation a { display: grid; place-items: center; min-height: 44px; padding-inline: 5px; border-bottom: 2px solid transparent; font-size: .84rem; font-weight: 650; white-space: nowrap; color: var(--muted); }
.navigation a:hover, .navigation a[aria-current] { color: var(--night); border-color: #5142a8; }
.hero { display: grid; margin-top: 20px; overflow: hidden; border-radius: 24px; background: var(--night); color: #fffdf8; }
.hero-inner { padding: clamp(24px, 5vw, 64px); }
.source-note { display: inline-flex; align-items: center; gap: 7px; color: var(--yellow); font-size: .83rem; font-weight: 700; }
.source-note .icon { width: 17px; height: 17px; }
h1 { margin-top: 17px; font-size: clamp(2.21rem, 5.25vw, 4.85rem); font-weight: 820; line-height: 1.01; letter-spacing: -.065em; }
h1 span { color: var(--yellow); }
.hero-copy { max-width: 400px; margin-top: 17px; color: #dfdeec; font-size: 1rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 14px; border: 1px solid transparent; border-radius: 9px; font-size: .88rem; font-weight: 750; transition: background .2s, border-color .2s, transform .2s; }
.button .icon { width: 17px; height: 17px; }
.primary { background: var(--yellow); color: var(--ink); }
.primary:hover { background: #ffec9d; }
.secondary { color: white; border-color: #9594ab; }
.secondary:hover { background: #32344b; }
.hero a:focus-visible { outline-color: var(--yellow); }
.hero-art { container-type: inline-size; position: relative; min-height: clamp(170px, 48vw, 290px); overflow: hidden; background: radial-gradient(ellipse at 65% 52%,#515486 0%,#292c48 63%,var(--night) 100%); }
.hero-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg,transparent 0 26px,#ded8ff18 27px 28px,transparent 29px 42px); }
.hero-tile { position: absolute; width: min(62%,350px); overflow: hidden; border: 5px solid #fbf8f1; border-radius: 16px; box-shadow: 0 12px 35px #08091880; }
.hero-tile img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tile-back { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 3vw, 16px); aspect-ratio: 16 / 9; left: 10%; top: 10%; transform: rotate(-10deg); background: var(--yellow); color: var(--ink); }
.tile-back img { width: 22%; aspect-ratio: 1; object-fit: contain; }
.tile-back .icon { width: 17%; height: auto; }
.tile-front { right: 8%; top: 30%; transform: rotate(8deg); background: #5a509d; }
.collection { padding-top: 43px; }
.section-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.section-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: #fff0b6; }
.desktop-icon { background: #e9e3ff; }
.section-heading h2 { font-size: clamp(1.47rem,3vw,2.22rem); line-height: 1.1; letter-spacing: -.046em; }
.section-heading p { margin-top: 5px; color: var(--muted); line-height: 1.45; }
.card-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 15px; }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover, .card:focus-within { border-color: #a9a0d0; box-shadow: 0 9px 24px #17192812; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); } }
.cover { position: relative; aspect-ratio: 16 / 9; background: #e8e2f5; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.offer-badge { position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 5px; background: var(--yellow); color: var(--ink); font-size: .78rem; font-weight: 750; }
.software-license { margin-top: auto; margin-bottom: 8px; color: #50439b; font-size: .8rem; font-weight: 700; }
.app-card .platform { margin-top: 0; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 15px; }
.category { color: #50439b; font-size: .78rem; font-weight: 750; margin-bottom: 4px; }
.card h3 { font-size: 1.18rem; line-height: 1.17; letter-spacing: -.026em; }
.description { margin-block: 8px 15px; color: var(--muted); font-size: .93rem; line-height: 1.48; }
.platform { display: flex; align-items: center; gap: 6px; margin-top: auto; margin-bottom: 11px; font-size: .8rem; color: var(--muted); }
.platform .icon { width: 16px; height: 16px; }
.card-button { align-self: stretch; background: #f2effa; color: var(--night); border-color: #ddd6f0; padding-inline: 8px; }
.card-button:hover { background: #e8e0fa; border-color: #bdb0de; }
.app-heading { display: flex; align-items: center; gap: 10px; }
.app-icon { display: grid; place-items: center; flex: none; width: 55px; height: 55px; border-radius: 11px; background: #f0ecfa; }
.app-icon img { object-fit: contain; }
.info { padding-block: 42px; }
.info-panel { display: grid; gap: 20px; padding: 21px; border-radius: 16px; background: #efecf7; }
.info h2 { margin-bottom: 6px; font-size: 1.13rem; }
.info p { color: var(--muted); line-height: 1.55; font-size: .9rem; }
.info .credits { margin-top: 12px; font-size: .77rem; }
.credits a { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; }
.footer-inner nav { display: flex; gap: 15px; }
.footer-inner nav a { display: grid; place-items: center; min-height: 44px; font-size: .9rem; }
.footer-inner nav a:hover { text-decoration: underline; }
@media (min-width: 540px) {
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 760px) {
  :root { --shell: min(100% - 72px, 1200px); }
  html { scroll-padding-top: 88px; }
  .header-inner { padding-top: 0; }
  .navigation { flex: 0 0 auto; gap: 16px; }
  .navigation a { min-height: 68px; font-size: .9rem; }
  .hero { grid-template-columns: 58% 42%; margin-top: 30px; }
  .tile-back { top: 24%; left: 8%; }
  .tile-front { top: 44%; right: 8%; }
  .info-panel { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1050px) {
  .card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .navigation { gap: 24px; }
  .collection { padding-top: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
