:root {
  color-scheme: light;
  --ink: #111111;
  --secondary: #555555;
  --line: #dedede;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-shell {
  width: min(100%, 1376px);
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: clamp(24px, 5.5vw, 80px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 14px 20px; color: #ffffff; background: var(--ink); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 116px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; border-radius: 3px; }
.brand-logo { display: block; width: 142px; height: auto; }
.contact-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 14px; line-height: 1.4; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-link svg { width: 18px; height: 18px; }

main { padding-block: 40px 72px; }
.app-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 220px)); gap: 40px 48px; margin: 0; padding: 0; list-style: none; }
.app-catalog li { min-width: 0; }
.app { display: block; width: fit-content; max-width: 100%; border-radius: 4px; }
.app-icon { display: block; width: 112px; height: 112px; margin-bottom: 22px; border-radius: 26px; transition: transform 160ms ease; }
.app-name { display: flex; align-items: center; gap: 10px; }
.app-name h2 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.app-name svg { width: 16px; height: 16px; }
.app p { margin: 6px 0 0; color: var(--secondary); font-size: 14px; line-height: 1.6; }
.app:hover .app-icon { transform: translateY(-3px); }
.app:hover h2 { text-decoration: underline; text-underline-offset: 4px; }

.site-footer { padding-block: 24px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--secondary); font-size: 12px; line-height: 1.5; }

@media (max-width: 600px) {
  .site-shell { padding-inline: 24px; }
  .site-header { min-height: 96px; }
  .brand-logo { width: 120px; }
  main { padding-block: 32px 56px; }
  .app-catalog { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 36px 24px; }
  .app-icon { width: 104px; height: 104px; margin-bottom: 18px; border-radius: 24px; }
  .app-name { gap: 8px; }
  .app-name h2 { font-size: 15px; }
  .app p { font-size: 13px; }
  .site-footer { padding-block: 20px; }
}

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