@font-face {
  font-family: 'Georgia Local';
  src: local('Georgia');
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: 'Georgia Local', Georgia, 'Times New Roman', serif;
  background: #27383e;
  color: #f7f8f6;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100dvh; }
button, input { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #e7d5a6; outline-offset: 4px; }
.site-page { position: relative; display: grid; place-items: center; overflow-x: hidden; }
.scene, .scene-shade { position: fixed; inset: 0; pointer-events: none; }
.scene { background: #31444a url('/background.jpg') center center / cover no-repeat; }
.scene video, .scene canvas { width: 100%; height: 100%; object-fit: cover; }
.scene canvas { position: absolute; inset: 0; }
.scene-shade { background: linear-gradient(180deg, rgb(13 26 33 / .22) 0%, rgb(9 23 31 / .40) 58%, rgb(9 21 28 / .46) 100%); }
.site-shell { position: relative; width: min(100% - 48px, 940px); margin: 120px auto 130px; }
.site-shell h1 { margin: 0 0 58px; text-align: center; font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; text-shadow: 0 2px 24px rgb(5 20 27 / .22); }
.categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.category { min-width: 0; min-height: 248px; padding: 26px 27px 22px; border: 1px solid rgb(255 255 255 / .5); border-radius: 13px; background: rgb(23 38 49 / .14); backdrop-filter: blur(7px) saturate(112%); -webkit-backdrop-filter: blur(7px) saturate(112%); box-shadow: 0 18px 45px rgb(7 20 28 / .1), inset 0 1px rgb(255 255 255 / .13); }
.category h2 { margin: 0 0 16px; font-size: 1.55rem; line-height: 1.2; font-weight: 400; letter-spacing: -.025em; }
.category ul { list-style: none; margin: 0; padding: 0; }
.category li + li { margin-top: 2px; }
.category a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; font-family: Arial, Helvetica, sans-serif; font-size: .9rem; letter-spacing: .015em; text-decoration: none; color: rgb(255 255 255 / .9); transition: color .18s ease, transform .18s ease; }
.category a:hover { color: #fff; transform: translateX(3px); }
.link-arrow { font-size: 1.15rem; font-weight: 300; opacity: .8; }
.settings-link { position: fixed; z-index: 2; top: 25px; right: 28px; border: 1px solid rgb(255 255 255 / .28); border-radius: 99px; padding: 8px 13px; background: rgb(20 35 44 / .35); backdrop-filter: blur(12px); font: 12px/1 Arial, Helvetica, sans-serif; letter-spacing: .045em; text-decoration: none; color: rgb(255 255 255 / .9); transition: background .18s ease; }
.settings-link:hover { background: rgb(20 35 44 / .65); }
@media (max-width: 760px) {
  .site-page { display: block; }
  .site-shell { width: min(100% - 36px, 430px); margin: 112px auto 64px; }
  .site-shell h1 { margin-bottom: 36px; }
  .categories { grid-template-columns: 1fr; gap: 14px; }
  .category { min-height: 0; padding: 22px 23px; }
  .settings-link { top: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (prefers-reduced-transparency: reduce) { .category { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(39 57 68 / .5); } }
