@font-face { font-family: Archivo; src: url('/assets/archivo.woff2') format('woff2'); font-display: swap; font-weight: 400 900; }
@font-face { font-family: Hanken; src: url('/assets/hanken.woff2') format('woff2'); font-display: swap; font-weight: 300 800; }
:root { color-scheme: light; --paper: #f4f0e6; --ink: #11231f; --white: #fffdf8; --muted: #52655d; --accent: #b93d1d; --line: #c7ccc3; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 18px/1.55 Hanken, Arial, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
.catalog-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.catalog-header { border-bottom: 1px solid var(--line); }
.header-content, .footer-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 800 24px/1 Archivo, sans-serif; letter-spacing: -.04em; }
.brand img { width: 44px; height: 44px; }
.brand small { display: block; margin-top: 7px; font: 500 13px/1 Hanken, sans-serif; letter-spacing: 0; }
.header-web { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.catalog-intro { padding: 54px 0 36px; max-width: 820px; }
.catalog-intro h1 { margin: 0 0 25px; font: 850 clamp(38px, 6.2vw, 76px)/.98 Archivo, sans-serif; letter-spacing: -.055em; }
.catalog-intro > p { max-width: 56ch; margin: 0 0 16px; font-size: 23px; line-height: 1.4; }
.catalog-intro .availability-note { max-width: 68ch; color: var(--muted); font-size: 17px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 20px; }
.catalog-toolbar h2 { font: 700 19px/1.3 Hanken, sans-serif; margin: 0; }
.platform-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.platform-choice[hidden] { display: none; }
.platform-choice > span { color: var(--muted); margin-right: 4px; }
.platform-choice button { border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--ink); padding: 8px 12px; min-height: 44px; cursor: pointer; font-weight: 700; }
.platform-choice button[aria-pressed=true] { color: var(--white); background: var(--ink); border-color: var(--ink); }
.app-entry { display: grid; grid-template-columns: 86px minmax(0, 1fr) 240px; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); align-items: start; }
.app-icon { width: 86px; height: 86px; border-radius: 19px; }
.app-copy h2 { margin: 0; font: 800 clamp(25px, 3vw, 32px)/1.12 Archivo, sans-serif; letter-spacing: -.035em; }
.app-copy p { max-width: 58ch; margin: 12px 0; }
.app-copy .app-tagline { font-size: 20px; font-weight: 700; margin-top: 8px; }
.app-copy .app-detail { color: var(--muted); font-size: 16px; }
.web-link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 16px; }
.app-stores { display: grid; gap: 12px; }
.platform-slot { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; gap: 4px; }
.platform-slot.is-preferred { border-color: var(--ink); box-shadow: inset 3px 0 var(--ink); }
.platform-name { color: var(--muted); font-size: 14px; }
.store-link { display: flex; align-items: center; min-height: 44px; font-weight: 800; line-height: 1.25; }
.store-status { display: flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--muted); }
.app-featured { background: var(--ink); color: var(--white); border: 0; border-radius: 10px; padding: 30px; grid-template-columns: 86px minmax(0, 1fr) 240px; margin-bottom: 12px; }
.app-featured .app-detail, .app-featured .platform-name, .app-featured .store-status { color: #c0cec7; }
.app-featured .platform-slot { border-color: #6d877a; }
.app-featured .platform-slot.is-preferred { border-color: #c8df59; box-shadow: inset 3px 0 #c8df59; }
.app-featured a:focus-visible { outline-color: #c8df59; }
.box-note { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 12px; padding: 28px 0; border-block: 1px solid var(--line); }
.box-note h2 { margin: 0 0 8px; font: 800 28px/1.1 Archivo, sans-serif; letter-spacing: -.025em; }
.box-note p { max-width: 62ch; color: var(--muted); margin: 0; font-size: 16px; }
.box-note > a { flex: 0 0 225px; display: flex; align-items: center; min-height: 44px; font-weight: 800; }
.catalog-footnote { color: var(--muted); font-size: 14px; margin: 24px 0 40px; }
.catalog-footer { border-top: 1px solid var(--line); background: var(--white); font-size: 15px; }
.footer-content nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-content a { display: inline-flex; align-items: center; min-height: 44px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 5; padding: 12px; background: var(--white); }
.skip-link:focus { top: 12px; }
@media (max-width: 820px) {
  .app-entry, .app-featured { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; }
  .app-icon { width: 72px; height: 72px; border-radius: 16px; }
  .app-stores { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box-note, .footer-content { align-items: flex-start; flex-direction: column; gap: 16px; }
  .box-note > a { flex-basis: auto; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .catalog-width { width: calc(100% - 32px); }
  .header-content { padding-block: 14px; gap: 12px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .header-web { font-size: 14px; text-align: right; }
  .catalog-intro { padding: 34px 0 24px; }
  .catalog-intro > p { font-size: 20px; }
  .catalog-intro .availability-note { font-size: 16px; }
  .app-entry, .app-featured { grid-template-columns: 52px minmax(0, 1fr); padding: 26px 0; gap: 16px 12px; }
  .app-featured { margin-inline: -8px; padding: 24px 16px; }
  .app-icon { width: 52px; height: 52px; border-radius: 12px; }
  .app-copy { display: contents; }
  .app-copy h2 { align-self: center; }
  .app-copy p, .web-link, .app-stores { grid-column: 1 / -1; margin: 0; }
  .app-copy .app-tagline { margin: 0; }
  .app-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .platform-slot { padding: 10px; }
  .store-link, .store-status { font-size: 16px; }
  .web-link { justify-self: start; }
  .catalog-toolbar { gap: 12px; }
  .platform-choice { gap: 6px; font-size: 14px; }
  .platform-choice button { padding-inline: 9px; }
}
