:root {
  --paper: #ffffff;
  --canvas: #f7f7f8;
  --ink: #172033;
  --muted: #657084;
  --rule: #d6d9df;
  --orange: #ff4f00;
  --orange-deep: #db3700;
  --max: 1200px;
  font-family: "Helvetica Neue", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.site-shell { overflow: hidden; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.brand { display: block; height: 44px; width: 172px; overflow: hidden; }
.brand img { width: 172px; height: 60px; object-fit: contain; object-position: left top; }
.primary-nav { height: 100%; display: flex; align-items: stretch; justify-content: center; gap: 32px; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.primary-nav a:hover, .primary-nav a.active { color: var(--ink); }
.primary-nav a.active::after { position: absolute; content: ""; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--orange); }
.nav-signal { margin-left: 6px; padding: 2px 5px; background: var(--orange); color: var(--paper); font-size: 10px; line-height: 1; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-button, .menu-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--rule); background: transparent; color: var(--ink); }
.icon-button:hover, .menu-button:hover { border-color: var(--ink); }
.icon-button svg, .menu-button svg { width: 18px; height: 18px; }
.login-button { height: 38px; padding: 0 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; }
.login-button:hover { background: var(--orange); border-color: var(--orange); }
.menu-button { display: none; }

.hero, .guide-section, .service-section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.hero { padding: 92px 0 82px; }
.section-index { margin: 0; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 0; }
.hero-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(250px, .55fr); gap: 48px; align-items: end; }
.hero h1 { max-width: 790px; margin: 0; font-size: clamp(48px, 6.8vw, 94px); line-height: 1.04; font-weight: 800; letter-spacing: 0; }
.hero h1 span { color: var(--orange); }
.hero-lede { max-width: 570px; margin: 30px 0 0; font-size: 17px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.primary-link, .community-button { display: inline-flex; align-items: center; gap: 12px; padding: 15px 18px; background: var(--orange); color: var(--paper); font-size: 15px; font-weight: 700; }
.primary-link:hover, .community-button:hover { background: var(--orange-deep); }
.primary-link svg, .community-button svg { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link svg { width: 16px; height: 16px; }
.hero-note { min-height: 190px; border-top: 3px solid var(--orange); border-bottom: 1px solid var(--rule); padding: 20px 0; }
.hero-note svg { width: 24px; height: 24px; color: var(--orange); }
.hero-note p { margin: 34px 0 8px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.hero-note span { color: var(--muted); font-size: 13px; line-height: 1.6; }

.guide-section, .service-section { padding: 72px 0; border-top: 1px solid var(--rule); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: start; }
.section-heading h2 { max-width: 620px; margin: 0; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.16; letter-spacing: 0; }
.guide-grid { margin-top: 52px; border-top: 1px solid var(--rule); }
.guide-link { min-height: 116px; display: grid; grid-template-columns: 110px 1fr 30px; gap: 18px; align-items: center; border-bottom: 1px solid var(--rule); padding: 20px 0; transition: padding .25s ease, color .25s ease; }
.guide-link:hover { padding-left: 16px; color: var(--orange); }
.guide-link > span, .board-number { font-size: 13px; font-weight: 700; color: var(--orange); }
.guide-link h3 { margin: 0; font-size: 21px; }
.guide-link p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.guide-link svg { justify-self: end; width: 20px; height: 20px; }

.community-section { background: var(--ink); color: var(--paper); padding: 72px max(24px, calc((100vw - var(--max)) / 2)); }
.community-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 42px; border-bottom: 1px solid #4b5260; }
.community-status { display: inline-flex; align-items: center; gap: 8px; color: #e1e4e9; font-size: 13px; }
.community-status span { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; animation: signal 2.5s ease-in-out infinite; }
@keyframes signal { 50% { opacity: .35; transform: scale(.72); } }
.community-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 80px; padding: 58px 0; }
.community-copy h2 { margin: 0; font-size: clamp(44px, 5.5vw, 76px); line-height: 1.04; }
.community-copy p { max-width: 465px; color: #d4d9e1; font-size: 16px; line-height: 1.85; margin: 30px 0; }
.community-board { border-top: 1px solid #4b5260; }
.community-board a { min-height: 71px; display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; border-bottom: 1px solid #4b5260; gap: 12px; font-size: 18px; font-weight: 700; transition: color .2s ease, padding .2s ease; }
.community-board a:hover { color: var(--orange); padding-left: 12px; }
.community-board a svg { width: 18px; height: 18px; justify-self: end; }
.community-policy { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid #4b5260; color: #d4d9e1; font-size: 13px; line-height: 1.6; }
.community-policy svg { width: 20px; height: 20px; color: var(--orange); }
.community-policy p { margin: 0; }
.community-policy a { color: var(--paper); border-bottom: 1px solid #8c95a3; white-space: nowrap; }
.community-policy a svg { width: 14px; height: 14px; vertical-align: middle; color: currentColor; }

.service-section { padding-bottom: 96px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--rule); }
.service-item { padding: 23px 28px 10px 0; min-height: 150px; border-right: 1px solid var(--rule); }
.service-item:not(:first-child) { padding-left: 28px; }
.service-item:last-child { border-right: 0; }
.service-item span { color: var(--orange); font-size: 14px; font-weight: 800; }
.service-item p { margin: 18px 0 0; max-width: 270px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; min-height: 122px; display: flex; justify-content: space-between; align-items: center; gap: 32px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; line-height: 1.7; }
.site-footer strong { color: var(--ink); font-size: 15px; }.site-footer p { margin: 4px 0; }

.mobile-menu { display: none; }
.site-dialog { width: min(calc(100% - 36px), 480px); padding: 0; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); }
.site-dialog::backdrop { background: rgb(23 32 51 / .62); }
.site-dialog form { padding: 26px; }.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }.dialog-heading h2 { margin: 0; font-size: 24px; }.site-dialog label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }.site-dialog input { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--ink); }.site-dialog p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }.dialog-primary { margin-top: 24px; padding: 12px 18px; border: 0; background: var(--orange); color: var(--paper); font-weight: 700; }

@media (max-width: 760px) {
  .site-header, .hero, .guide-section, .service-section, .site-footer { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 72px; grid-template-columns: 1fr auto; }.brand { width: 152px; }.brand img { width: 152px; height: 53px; }.primary-nav, .login-button { display: none; }.menu-button { display: inline-grid; }
  .mobile-menu { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 10px 0 18px; border-bottom: 1px solid var(--rule); }.mobile-menu:not([hidden]) { display: grid; gap: 3px; }.mobile-menu a, .mobile-menu button { padding: 12px 0; border: 0; background: transparent; text-align: left; font-weight: 700; }.mobile-menu button { color: var(--orange); }
  .hero { padding: 60px 0; }.hero-grid, .community-layout { grid-template-columns: 1fr; gap: 36px; }.hero h1 { font-size: clamp(42px, 13.5vw, 68px); }.hero-lede { font-size: 16px; }.hero-note { min-height: auto; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }.hero-note p { margin: 0; }.hero-note span { grid-column: 2; margin-top: 5px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }.guide-section, .service-section { padding: 54px 0; }.guide-grid { margin-top: 32px; }.guide-link { grid-template-columns: 42px 1fr 22px; min-height: 105px; }.guide-link h3 { font-size: 18px; }.guide-link p { line-height: 1.5; }
  .community-section { padding: 54px 16px; }.community-topline { padding-bottom: 28px; }.community-layout { padding: 42px 0; }.community-copy h2 { font-size: clamp(42px, 13vw, 64px); }.community-board a { min-height: 64px; font-size: 16px; }.community-policy { grid-template-columns: 22px 1fr; }.community-policy a { grid-column: 2; justify-self: start; margin-top: 8px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 34px; }.service-item, .service-item:not(:first-child) { min-height: auto; padding: 23px 0; border-right: 0; border-bottom: 1px solid var(--rule); }.service-item:last-child { border-bottom: 0; }.site-footer { display: block; padding: 28px 0; }.site-footer > p { margin-top: 22px; }
}
