:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: #172722;
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 280px; min-height: 100vh; margin: 0; background: #fff; }
a { color: inherit; }
a:focus-visible, select:focus-visible { outline: 2px solid #236f59; outline-offset: 4px; }

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 9px 12px; background: #172722; color: #fff; }
.skip-link:focus { top: 12px; }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { min-height: 68px; padding: 12px max(24px, calc((100vw - 960px) / 2)); border-bottom: 1px solid #e9edeb; }
.brand { font-family: Georgia, 'Noto Serif SC', serif; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.home-link { font-size: 13px; text-decoration: none; }
.home-link:hover, .outbound:hover { text-decoration: underline; text-underline-offset: 3px; }
.language-label { color: #66736c; font-size: 12px; }
select { min-height: 38px; padding: 6px 24px 6px 9px; border: 1px solid #d9dfdc; border-radius: 4px; background: #fff; color: #172722; font: inherit; font-size: 13px; }

.lobby-shell { width: min(100% - 48px, 960px); margin: 0 auto; padding: clamp(48px, 6vw, 72px) 0 70px; }
.eyebrow { margin: 0; color: #687b71; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { font-family: Georgia, 'Noto Serif SC', serif; font-weight: 500; }
h1 { margin: 13px 0 15px; font-size: clamp(35px, 6vw, 59px); line-height: 1.18; letter-spacing: -.035em; }
.lead { margin: 0; color: #54655b; font-size: clamp(15px, 2.2vw, 18px); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(34px, 5vw, 52px) 0 0; border-top: 1px solid #d7ded9; border-bottom: 1px solid #d7ded9; }
.feature { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 132px; padding: 21px 22px 22px; text-decoration: none; transition: background .18s ease, color .18s ease; }
.feature + .feature { border-left: 1px solid #d7ded9; }
.feature:hover, .feature:focus-visible { background: #f5f8f6; }
.feature.is-current { background: #f9fbfa; }
.feature-index { color: #84938b; font-size: 11px; letter-spacing: .14em; }
.feature strong { font-family: Georgia, 'Noto Serif SC', serif; font-size: clamp(19px, 2.4vw, 25px); font-weight: 500; }
.feature-arrow { position: absolute; right: 22px; bottom: 21px; color: #577a69; font-size: 20px; line-height: 1; }

.community-panel { scroll-margin-top: 28px; margin-top: clamp(42px, 6vw, 68px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid #e6ebe8; }
h2 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); }
.empty-state { display: flex; align-items: flex-start; gap: 18px; padding: 40px 0 44px; }
.status-dot { flex: none; width: 9px; height: 9px; margin-top: 10px; border: 1.5px solid #96794c; border-radius: 50%; }
h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.empty-state p { max-width: 600px; margin: 0 0 17px; color: #5e6a63; font-size: 14px; line-height: 1.8; }
.outbound { color: #265e4d; font-size: 14px; font-weight: 600; text-decoration: none; }
.scope-note { margin: 0; padding-top: 22px; border-top: 1px solid #e6ebe8; color: #718078; font-size: 12px; }
.site-footer { width: min(100% - 48px, 960px); margin: 0 auto; padding: 24px 0 34px; border-top: 1px solid #e9edeb; color: #85918a; font-size: 11px; letter-spacing: .04em; }

@media (max-width: 600px) {
  .site-header { min-height: 60px; padding: 10px 16px; }
  .brand { font-size: 16px; }
  .header-actions { gap: 10px; }
  .home-link, .language-label { display: none; }
  select { min-height: 44px; max-width: 100px; }
  .lobby-shell, .site-footer { width: calc(100% - 32px); }
  .lobby-shell { padding-top: 52px; padding-bottom: 56px; }
  .features { grid-template-columns: 1fr; margin-top: 30px; }
  .feature { align-items: center; flex-direction: row; justify-content: flex-start; gap: 16px; min-height: 66px; padding: 12px 14px; }
  .feature + .feature { border-top: 1px solid #d7ded9; border-left: 0; }
  .feature strong { font-size: 19px; }
  .feature-arrow { position: static; margin-left: auto; font-size: 17px; }
  .community-panel { margin-top: 43px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .empty-state { padding: 30px 0 36px; }
  .site-footer { gap: 10px; font-size: 10px; }
}

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