:root {
  --paper: #151a24;
  --raised: #1c2331;
  --ink: #dfe4ee;
  --ink-strong: #ffffff;
  --ink-soft: #9aa4b8;
  --ink-faint: #8892a8;
  --edge: #2a3345;
  --muted: #202939;
  --promo: #ffffff;
  --trust: #3d8bff;
  --trust-deep: #1f5fd6;
}

body { font-size: 15px; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
h1 { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; }

.shell { max-width: 72rem; margin: 0 auto; padding: 0 var(--sp-4); }
.shell--narrow { max-width: 40rem; }

.topbar {
  background: #0f131b;
  border-bottom: 1px solid var(--edge);
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.tg { display: inline-block; vertical-align: -0.2em; flex: none; margin-right: 2px; }
.topbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  gap: var(--sp-4);
}
.topbar a { display: inline-flex; align-items: center; gap: 4px; color: var(--trust); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

.masthead {
  background: var(--raised);
  border-bottom: 1px solid var(--edge);
  position: sticky;
  top: 0;
  z-index: 20;
}
.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
  text-decoration: none;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: var(--sp-1);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--motion), color var(--motion);
}
.nav a:hover { background: var(--muted); color: var(--ink-strong); }
.nav .nav__cta {
  background: var(--trust-deep);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
  margin-left: var(--sp-2);
}
.nav .nav__cta:hover { background: #184db0; color: #fff; }

.notice {
  margin-top: var(--sp-5);
  border: 1px solid var(--edge);
  background: var(--raised);
  border-radius: 8px;
  padding: var(--sp-4) var(--sp-5);
}
.notice h1 { margin: 0 0 var(--sp-2); }
.notice p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; max-width: 64ch; }
.notice .notice__actions { margin-top: var(--sp-3); }
.btn--trust { background: var(--trust-deep); color: #fff; min-height: 40px; font-size: 0.875rem; }
.btn--trust:hover { background: #184db0; }

.bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin: var(--sp-8) 0 var(--sp-3);
  border-bottom: 2px solid var(--edge);
}
.count {
  display: inline-block;
  min-width: 1.6em;
  margin-left: var(--sp-1);
  padding: 0 0.45em;
  border-radius: var(--radius-pill);
  background: var(--trust-deep);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  vertical-align: 0.15em;
  font-variant-numeric: tabular-nums;
}
.bar h2 { margin: 0 0 -2px; padding-bottom: var(--sp-2); border-bottom: 2px solid var(--trust); line-height: 1.1; }
.bar__note { font-size: 0.75rem; color: var(--ink-faint); padding-bottom: var(--sp-2); }

.promos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-2);
}
.promo {
  display: block;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: var(--muted);
  overflow: hidden;
  transition: border-color var(--motion), transform var(--motion) var(--ease);
}
.promo:hover { border-color: var(--trust); transform: translateY(-2px); }
.promo picture { display: block; }
.promo img { width: 100%; height: auto; display: block; }

.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 40rem) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tile__link {
  display: block;
  position: relative;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: var(--raised);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--motion), transform var(--motion) var(--ease);
}
.tile__link:hover { border-color: var(--trust); transform: translateY(-2px); }
.tile__banner { display: block; background: var(--muted); }
.tile__banner img { width: 100%; height: auto; aspect-ratio: 450 / 80; object-fit: cover; display: block; }
.tile__banner--text {
  display: grid;
  place-items: center;
  aspect-ratio: 450 / 80;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink-strong);
}
.tile__link--vacant { cursor: default; }
a.tile__link--vacant { cursor: pointer; }
.tile__link--vacant img {
  width: 100%;
  height: auto;
  aspect-ratio: 450 / 80;
  display: block;
}
.tile__link--vacant:hover { border-color: var(--edge); transform: none; }
a.tile__link--vacant:hover { border-color: var(--trust); transform: translateY(-2px); }
.tile__check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--raised);
}

.news {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--raised);
  overflow: hidden;
}
.news__item + .news__item { border-top: 1px solid var(--edge); }
.news__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  min-height: 48px;
  text-decoration: none;
  color: var(--ink);
  transition: background var(--motion);
}
.news__link:hover { background: var(--muted); color: var(--ink-strong); }
.news__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.news__date { flex: none; font-size: 0.8125rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.crumbs { margin: var(--sp-5) 0 var(--sp-3); font-size: 0.8125rem; color: var(--ink-faint); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--trust); }
.article {
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--raised);
  padding: var(--sp-6) var(--sp-5);
}
.article h1 { margin: 0 0 var(--sp-2); }
.article__meta { margin: 0 0 var(--sp-5); font-size: 0.8125rem; color: var(--ink-faint); }
.article__figure { margin: 0 0 var(--sp-5); }
.article__figure picture { display: block; }
.article__figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: var(--muted);
}
.article__body p { margin: 0 0 var(--sp-4); max-width: 68ch; line-height: 1.75; white-space: pre-line; }
.article__body p:last-child { margin-bottom: 0; }
.article__back { margin: var(--sp-5) 0 0; }

.footer {
  margin-top: var(--sp-12);
  border-top: 1px solid var(--edge);
  background: #0f131b;
  color: var(--ink-soft);
  font-size: 0.875rem;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4) var(--sp-6);
  padding: var(--sp-8) 0 var(--sp-6);
  border-bottom: 1px solid var(--edge);
}
.footer__brand { max-width: 36rem; }
.footer__brand p { margin: var(--sp-2) 0 0; color: var(--ink-soft); }
.footer__contact { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.footer .btn { min-height: 42px; font-size: 0.875rem; }
.footer .btn--ghost { background: transparent; color: var(--ink); border-color: var(--edge); }
.footer .btn--ghost:hover { background: var(--muted); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
}
.footer__col--wide { grid-column: span 2; }
@media (max-width: 40rem) { .footer__col--wide { grid-column: auto; } }
.footer h3 {
  margin: 0 0 var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-strong);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1); }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--trust); }
.footer .wordmark { color: var(--ink-strong); }
.footer .btn--trust, .footer .btn--trust:hover { color: #fff; }
.footer__col p { margin: 0; max-width: 60ch; line-height: 1.6; }
.footer__col p img { vertical-align: -0.3em; margin-right: var(--sp-1); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0 var(--sp-6);
  border-top: 1px solid var(--edge);
  font-size: 0.75rem;
  color: var(--ink-faint);
}
