:root {
  color-scheme: light;
  --ink: #14231e;
  --text: #43534c;
  --muted: #78847f;
  --line: #dce4e0;
  --surface: #ffffff;
  --soft: #f3f7f5;
  --green: #176f55;
  --green-dark: #123f32;
  --gold: #c99b5c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { display: flex; width: min(1180px, calc(100% - 48px)); min-height: 76px; align-items: center; justify-content: space-between; gap: 36px; margin: 0 auto; }
.brand img { width: 238px; height: auto; }
nav { display: flex; align-items: center; gap: 32px; color: var(--text); font-size: 14px; }
nav a { padding: 27px 0 23px; border-bottom: 3px solid transparent; }
nav a:hover, nav a.is-active { border-color: var(--green); color: var(--green); }

.hero { min-height: 570px; background: url("/assets/logo-mark.png") right 10% center / 460px auto no-repeat, #123f32; color: #fff; }
.hero__content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0 100px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: 62px; font-weight: 700; letter-spacing: 0; }
.hero__lead { max-width: 610px; margin: 24px 0 34px; color: rgb(255 255 255 / 76%); font-size: 19px; line-height: 1.85; }
.primary-link { display: inline-flex; min-height: 46px; align-items: center; padding: 0 24px; border: 1px solid var(--gold); background: var(--gold); color: #1f2c27; font-size: 15px; font-weight: 700; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0; }
.section-heading p, .contact-band > div > p { margin: 0 0 10px; color: var(--green); font-size: 13px; font-weight: 700; }
.section h2 { margin: 0; font-size: 34px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.service-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--green); background: var(--surface); }
.service-grid span { color: var(--gold); font-size: 13px; font-weight: 700; }
.service-grid h3 { margin: 34px 0 12px; font-size: 22px; }
.service-grid p, .game-section p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.8; }
.game-section { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 90px; border-top: 1px solid var(--line); }
.game-section h2 { margin-bottom: 22px; }
.game-section img { width: 270px; justify-self: center; }
.contact-band { display: flex; width: 100%; max-width: none; align-items: center; justify-content: space-between; gap: 32px; padding: 58px max(24px, calc((100% - 1180px) / 2)); background: var(--soft); }
.contact-band h2 { font-size: 27px; }
.contact-band > a { flex: 0 0 auto; padding: 13px 21px; border: 1px solid var(--green); color: var(--green); font-size: 14px; font-weight: 700; }

footer { padding: 48px max(24px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); background: #102a22; color: rgb(255 255 255 / 64%); font-size: 13px; }
footer > div:first-child img { width: 200px; filter: brightness(0) invert(1); opacity: .84; }
footer > div:first-child p { margin: 14px 0 0; }
.footer-links { display: flex; gap: 22px; margin-top: 30px; color: rgb(255 255 255 / 82%); }
.copyright { margin: 32px 0 0; }

.document-wrap { min-height: calc(100vh - 260px); padding: 64px 24px 92px; background: var(--soft); }
.document { width: min(860px, 100%); margin: 0 auto; padding: 54px 62px; border: 1px solid var(--line); background: #fff; }
.document h1, .contact-page h1 { margin: 0; font-size: 36px; }
.effective { margin: 12px 0 42px; color: var(--muted); font-size: 13px; }
.document h2 { margin: 36px 0 12px; font-size: 21px; }
.document > p:not(.eyebrow):not(.effective) { margin: 0; color: var(--text); font-size: 15px; line-height: 1.9; }
.simple-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.simple-footer p { margin: 0; }
.simple-footer a { color: #fff; }
.contact-page { min-height: calc(100vh - 220px); padding: 80px 24px; background: var(--soft); }
.contact-page section { width: min(860px, 100%); margin: 0 auto; padding: 58px 62px; background: #fff; border: 1px solid var(--line); }
.contact-page section > p:not(.eyebrow) { max-width: 650px; margin: 20px 0 38px; color: var(--text); font-size: 15px; line-height: 1.8; }
.contact-page dl { margin: 0; border-top: 1px solid var(--line); }
.contact-page dl div { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-page dt { color: var(--muted); font-size: 14px; }
.contact-page dd { margin: 0; color: var(--ink); font-size: 15px; }

@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); min-height: 66px; flex-wrap: wrap; gap: 0; padding: 12px 0 0; }
  .brand img { width: 180px; }
  nav { width: 100%; gap: 20px; overflow-x: auto; font-size: 13px; white-space: nowrap; }
  nav a { padding: 14px 0 11px; }
  .hero { min-height: 480px; background-size: 300px auto; background-position: right -90px bottom 15px; }
  .hero__content { width: calc(100% - 40px); padding: 92px 0 76px; }
  .hero h1 { font-size: 42px; }
  .hero__lead { font-size: 16px; }
  .section { width: calc(100% - 40px); padding: 62px 0; }
  .section h2 { font-size: 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .game-section { grid-template-columns: 1fr; gap: 36px; }
  .game-section img { width: 190px; }
  .contact-band { width: 100%; align-items: flex-start; flex-direction: column; padding: 42px 20px; }
  .contact-band h2 { font-size: 23px; }
  .document-wrap, .contact-page { padding: 30px 16px 60px; }
  .document, .contact-page section { padding: 36px 24px; }
  .document h1, .contact-page h1 { font-size: 29px; }
  .contact-page dl div { grid-template-columns: 1fr; gap: 8px; }
  .simple-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
