@font-face {
  font-family: Hanken;
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Hanken, sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus, #aa3824); outline-offset: 4px; }
main:focus { outline: none; }
.catalogue-screen:focus-visible { outline: none; }
.catalogue-screen:focus-visible > header h1 { text-decoration: underline; text-underline-offset: .16em; text-decoration-color: var(--app-accent); }
.shell { width: min(calc(100% - 40px), 1240px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 16px; background: white; color: #18202a; }
.icon { flex: none; vertical-align: middle; }
.app-top.app-top {
  position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--app-line); background: var(--app-paper);
}
.app-top .app-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.app-brand, .app-account {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  color: var(--app-ink); font-size: .97rem; font-weight: 800; letter-spacing: -.025em; text-decoration: none;
}
.app-brand img { flex: none; width: 35px; height: 35px; border-radius: 10px; }
.app-account { justify-content: center; flex: none; padding: 0 12px; border: 1px solid var(--app-line); border-radius: 99px; font-size: .86rem; }
.app-account .icon { width: 17px; height: 17px; }
.app-nav { display: flex; align-items: stretch; gap: 4px; }
.app-nav a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 5px 12px; border-radius: 99px; color: var(--app-ink); font-size: .89rem; font-weight: 750; text-decoration: none; }
.app-nav a[aria-current] { color: var(--app-accent); background: color-mix(in srgb, var(--app-accent) 10%, transparent); }
.app-nav a { -webkit-tap-highlight-color: transparent; }
.app-nav .icon { width: 19px; height: 19px; }
.app-nav a:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  body { --app-nav-height: 64px; padding-bottom: calc(var(--app-nav-height) + env(safe-area-inset-bottom)); }
  .app-top .app-top-inner { min-height: 56px; }
  .app-account { width: 44px; padding: 0; }
  .app-account span { display: none; }
  .app-nav { position: fixed; inset: auto 0 0; z-index: 25; gap: 5px; justify-content: center; padding: 5px 8px max(5px, env(safe-area-inset-bottom)); background: var(--app-paper); border-top: 1px solid var(--app-line); }
  .app-nav a { flex: 1; flex-direction: column; gap: 3px; min-height: 53px; max-width: 110px; padding: 5px 4px; border-radius: 14px; font-size: .75rem; }
  .app-nav a:focus-visible { outline-offset: -4px; }
}
