@font-face { font-family: "gg sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/gg-sans-regular.woff2") format("woff2"); }
@font-face { font-family: "gg sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/gg-sans-medium.woff2") format("woff2"); }
@font-face { font-family: "gg sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/gg-sans-semibold.woff2") format("woff2"); }
@font-face { font-family: "gg sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/gg-sans-bold.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ground: #1C1C1E;
  --surface: #2A2A2C;
  --raised: #333336;
  --line: rgba(255, 255, 255, 0.1);
  --text: #FFFFFF;
  --sub: #CBCBCB;
  --muted: #9A9AA0;
  --red: #FF4651;
  --red-press: #E8343F;
  --blue: #2F96FF;
  --good: #4CAF50;
  --font: "gg sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--text);
  font: 500 16px/1.55 var(--font);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 14px; border-radius: 6px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header-home .wrap { justify-content: flex-end; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 118px; }
.header-links { display: flex; align-items: center; gap: 6px; }
.header-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--sub); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 6px;
}
.header-link:hover { color: var(--text); }
.header-link[aria-current="page"] { color: var(--text); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: 6px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  transition: background-color 0.15s;
}
.button:hover { background: var(--red-press); }
.button-large { min-height: 56px; padding: 0 26px; font-size: 18px; border-radius: 8px; }
.button-icon { width: 20px; height: 20px; flex: none; }
.header-links .button { padding: 0 14px; }

main { flex: 1 0 auto; }

.hero { position: relative; overflow: hidden; padding: 40px 0 72px; }
.hero-mark {
  position: absolute; z-index: 0; pointer-events: none;
  width: 340px; right: -120px; top: -10px; opacity: 0.22;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-logo { width: 220px; margin-bottom: 28px; }
.hero h1 { max-width: 13ch; font-size: 42px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.hero-lead { max-width: 34em; margin-top: 18px; color: var(--sub); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.hero-note { color: var(--muted); font-size: 14px; }

.feature { padding: 56px 0; border-top: 1px solid var(--line); }
.feature .wrap { display: grid; gap: 28px; align-items: center; }
.feature h2 { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; max-width: 18ch; }
.feature-text p { margin-top: 14px; color: var(--sub); max-width: 34em; }
.feature-text p:first-of-type { margin-top: 16px; }

.org-card {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  max-width: 440px; padding: 16px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
}
.org-card img { width: 72px; height: 72px; border-radius: 6px; }
.org-name { font-weight: 700; font-size: 18px; }
.org-slug { color: var(--muted); font-size: 14px; }
.org-meta { display: flex; gap: 18px; margin-top: 6px; font-size: 13px; color: var(--sub); }
.org-meta dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.org-meta dd { margin: 0; }
.org-pin { width: 18px; height: 18px; opacity: 0.55; align-self: start; }
.org-stack { display: grid; gap: 12px; }
.org-card.back { opacity: 0.55; margin-left: 18px; }

.nametag {
  display: inline-grid; grid-template-columns: 56px auto; gap: 14px; align-items: center;
  padding: 14px 18px 14px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
}
.nametag img.avatar { width: 56px; height: 56px; border-radius: 6px; }
.nametag-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: #3D83EB; }
.nametag-name img { width: 22px; height: 22px; }
.nametag-role { color: var(--sub); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 72px)); gap: 14px; margin-top: 22px; }
.badges li { list-style: none; }
.badges img { width: 72px; height: 72px; }
.badges figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: center; }
.badge-list { padding: 0; }
.art-caption { margin-top: 12px; color: var(--muted); font-size: 14px; }

.seasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; padding: 0; margin-top: 8px; }
.seasons li {
  list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 8px; background: var(--surface);
}
.seasons img { width: 40px; height: 40px; }
.season-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.season-date { color: var(--muted); font-size: 12px; }
.season-reversed { grid-template-columns: 1fr; }

.points { display: grid; gap: 18px; padding: 0; }
.points li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.points img { width: 24px; height: 24px; margin-top: 2px; }
.points strong { display: block; font-weight: 700; }
.points span { color: var(--sub); }

.closing { padding: 64px 0 80px; border-top: 1px solid var(--line); }
.closing .wrap { display: grid; gap: 22px; justify-items: start; }
.closing h2 { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; max-width: 16ch; }
.closing p { color: var(--sub); max-width: 34em; }

.page { padding: 32px 0 72px; }
.page h1 { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.page-lead { margin-top: 14px; color: var(--sub); font-size: 18px; max-width: 34em; }

.doc { max-width: 720px; }
.doc h1 { margin-bottom: 8px; }
.doc h2 { margin-top: 40px; font-size: 22px; line-height: 1.25; font-weight: 700; }
.doc h3 { margin-top: 28px; font-size: 18px; font-weight: 700; }
.doc h4, .doc h5, .doc h6 { margin-top: 22px; font-size: 16px; font-weight: 700; }
.doc p { margin-top: 14px; color: var(--sub); }
.doc ul, .doc ol { margin-top: 12px; padding-left: 22px; color: var(--sub); }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--red); }
.doc strong { color: var(--text); font-weight: 700; }
.doc hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.doc a { word-break: break-word; }
.doc-status { margin-top: 24px; color: var(--sub); }
.doc-status:empty { display: none; }

.help { display: grid; gap: 16px; margin-top: 36px; max-width: 720px; }
.help-item { padding: 20px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.help-item h2 { font-size: 20px; font-weight: 700; }
.help-item p { margin-top: 10px; color: var(--sub); }
.help-item .path { color: var(--text); font-weight: 700; }
.mail-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px;
  font-weight: 700; font-size: 18px; text-decoration: none;
}
.mail-link img { width: 22px; height: 22px; }
.mail-link:hover { text-decoration: underline; }

.lost { padding: 72px 0 96px; }
.lost-code { color: var(--red); font-weight: 700; font-size: 15px; }
.lost h1 { margin-top: 8px; font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.lost p { margin-top: 14px; color: var(--sub); max-width: 32em; }
.lost .button { margin-top: 28px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.footer-links li { list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--sub); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-links li:first-child a { padding-left: 0; }

@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .hero h1 { font-size: 52px; }
  .hero-mark { width: 420px; right: -110px; opacity: 0.3; }
  .badges { grid-template-columns: repeat(4, 80px); }
  .badges img { width: 80px; height: 80px; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .site-header .wrap { min-height: 84px; }
  .brand img { width: 132px; }
  .hero { padding: 64px 0 112px; }
  .hero-mark { width: 560px; right: -40px; top: 10px; opacity: 1; animation: mark-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-logo { width: 280px; }
  .hero h1 { font-size: 60px; max-width: 14ch; }
  .hero-lead { font-size: 20px; max-width: 28em; }
  .hero .wrap { padding-right: 520px; }
  .feature { padding: 88px 0; }
  .feature .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .feature.flip .feature-art { order: -1; }
  .feature h2 { font-size: 36px; }
  .feature-wide .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .feature-top .wrap { align-items: start; }
  .seasons { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
  .closing h2 { font-size: 44px; }
  .page { padding: 48px 0 96px; }
  .page h1 { font-size: 44px; }
}

@media (min-width: 1200px) {
  .hero .wrap { padding-right: 560px; }
  .hero-mark { right: calc((100vw - var(--wrap)) / 2 - 20px); }
}

@keyframes mark-in {
  from { opacity: 0; transform: translateX(40px) rotate(4deg); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark { animation: none; }
  .button { transition: none; }
}
