:root {
  color-scheme: light;
  --ink: #132c47;
  --body: #345069;
  --action: #005caf;
  --action-hover: #004986;
  --accent: #0076b9;
  --sky: #f0faff;
  --line: #d2e6f1;
  --gutter: clamp(16px, 4.5vw, 54px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.75 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; line-break: strict; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.22; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(17px, 1.7vw, 21px); }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid #0065b5; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(42px, 5.6vw, 76px); }

.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 12px clamp(14px, 2.7vw, 36px); }
.header-inner { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; font-size: 18px; font-weight: 730; }
.brand img { border-radius: 8px; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 3px clamp(13px, 2.5vw, 30px); color: var(--body); font-size: 14px; }
nav a { display: inline-flex; min-height: 34px; align-items: center; white-space: nowrap; }
nav a:hover { color: var(--action); text-decoration: underline; text-underline-offset: 4px; }
.header-inner nav { margin-left: auto; }
.header-download { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; flex: none; padding: 2px 16px; border: 1px solid #b1d4ed; border-radius: 6px; background: #f3faff; color: var(--action); font-size: 14px; font-weight: 740; white-space: nowrap; }
.header-download:hover { background: #e4f4ff; }
.header-download::after { position: absolute; inset: -4px 0; content: ""; }

.hero { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(115deg, #fff 5%, #f6fcff 38%, #e4f6ff 100%); }
.hero::after { position: absolute; inset: 0 0 0 38%; z-index: -1; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); background: repeating-linear-gradient(-35deg, #83c5e32b 0 1px, transparent 1px 27px), linear-gradient(145deg, #dcf6fc, #a9daf5); content: ""; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(30px, 5vw, 72px); padding-block: clamp(44px, 6.25vw, 92px); }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(56px, 7.4vw, 105px); font-weight: 820; letter-spacing: -.045em; line-height: 1; }
.hero-lead { margin-top: 19px; color: #005e98; font-size: clamp(23px, 3vw, 39px); font-weight: 740; line-height: 1.3; }
.hero-description { max-width: 26em; margin-top: 13px; color: var(--body); font-size: clamp(15px, 1.4vw, 17px); }
.hero-art { position: relative; margin-right: 10px; padding: 6px; border-radius: 4px 27px 4px 27px; background: #f9fdff; box-shadow: 9px 10px 0 #69add331, 0 18px 35px #1c608524; }
.hero-art img { width: 100%; height: auto; border-radius: 2px 22px 2px 22px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 53px; width: min(100%, 260px); padding: 8px 21px; border-radius: 7px; background: var(--action); color: #fff; font-weight: 750; white-space: nowrap; }
.button:hover { background: var(--action-hover); }
.button::before { width: 18px; height: 18px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 17v4h16v-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; content: ""; }
.hero .button { margin-top: 23px; }

.gallery-section h2 { margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: minmax(0, 2.04fr) repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery a { display: grid; background: #e7f1f9; border: 1px solid #d7e7f0; border-radius: 8px; overflow: hidden; }
.gallery a:first-child { grid-row: span 2; }
.gallery a:hover, .gallery a:focus-visible { border-color: var(--accent); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: contain; }

.squad-section { border-block: 1px solid var(--line); background: var(--sky); }
.section-intro { max-width: 39em; margin-top: 9px; color: var(--body); }
.squad-layout { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); align-items: start; gap: clamp(22px, 4vw, 57px); margin-top: 24px; }
.formation { overflow: hidden; border: 1px solid #b8dbee; border-radius: 10px; background: #f8fcff; }
.formation > div { padding: 17px 19px; }
.formation > div + div { border-top: 1px solid #d5e9f5; }
.formation dt { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #075889; font-size: 17px; font-weight: 750; }
.formation strong { color: var(--body); font-size: 14px; }
.formation dd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.formation dd span { display: flex; align-items: center; min-height: 38px; padding: 5px 10px; border: 1px solid #d7e9f4; border-radius: 5px; background: #ebf7ff; color: #154c72; font-size: 14px; font-weight: 650; }
.formation > div:last-child dd span { border-color: #dbe5f5; background: #f0f4ff; }
.squad-tips article { padding: 4px 0 16px; }
.squad-tips article + article { padding: 15px 0 0; border-top: 1px solid #cfe5f2; }
.squad-tips p { margin-top: 8px; color: var(--body); }

.feature-section h2 { text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 23px; }
.feature-card { padding: clamp(14px, 2vw, 25px); border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, #f7fcff, #fff 76%); }
.feature-card p { margin-top: 8px; color: var(--body); font-size: 15px; }
.feature-icon { display: grid; width: 40px; height: 40px; align-items: center; justify-items: center; margin-bottom: 12px; border-radius: 7px; background: #dff3ff; color: #00649b; }
.feature-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

.faq-section { border-top: 1px solid var(--line); background: linear-gradient(#f6fbff, #fff); }
.faq-inner { max-width: 884px; }
.faq-inner h2 { text-align: center; }
.faq-list { margin-top: 21px; border-top: 1px solid #cfe3f0; }
.faq-list details { border-bottom: 1px solid #cfe3f0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 5px; list-style: none; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { width: 9px; height: 9px; flex: none; margin: -4px 5px 0 0; transform: rotate(45deg); border: solid var(--accent); border-width: 0 2px 2px 0; content: ""; }
.faq-list details[open] summary { color: #005ba1; }
.faq-list details[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.faq-list p { max-width: 43em; padding: 0 20px 14px 5px; color: var(--body); }
.download-section { padding-bottom: clamp(40px, 5.5vw, 74px); }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 17px 25px; padding: clamp(19px, 3.3vw, 37px); border: 1px solid #cce9fa; border-radius: 5px 18px 5px 18px; background: linear-gradient(110deg, #eaf8ff 35%, #dceffc); }
.download-brand { display: flex; align-items: center; gap: 13px; }
.download-brand img { flex: none; border-radius: 11px; }
.download-brand h2 { font-size: clamp(23px, 3vw, 34px); }
.download-panel .button { flex: none; }
.site-footer { border-top: 1px solid var(--line); background: #f8fcff; }
.footer-inner { justify-content: space-between; padding-block: 13px; }
.footer-inner .brand { font-size: 16px; }

@media (max-width: 840px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 34px 37px; }
  .hero::after { inset: 24% 0 0 17%; }
  .hero-description { max-width: 33em; }
  .hero-art { width: min(100% - 9px, 660px); }
  .gallery { grid-template-columns: none; grid-auto-columns: clamp(242px, 68vw, 400px); grid-auto-flow: column; overflow-x: auto; padding: 2px 2px 8px; margin: -2px -2px 0; scroll-snap-type: x proximity; scrollbar-color: #a6cce6 #f0f7fc; }
  .gallery a, .gallery a:first-child { grid-row: auto; scroll-snap-align: start; }
}
@media (max-width: 650px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding-block: 7px 4px; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 3px 7px; margin: 0; font-size: 13px; }
  .header-download { grid-column: 2; grid-row: 1; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .squad-layout { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .hero h1 { font-size: clamp(51px, 13vw, 69px); }
  .hero-lead { margin-top: 9px; }
  .hero-description { margin-top: 10px; }
  .hero .button { margin-top: 18px; }
  .hero-art { padding: 4px; border-radius: 4px 20px 4px 20px; }
  .hero-art img { border-radius: 2px 16px 2px 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 5px; }
  .footer-inner nav { font-size: 13px; }
}
@media (max-width: 540px) {
  .hero .button, .download-panel .button { width: 100%; }
  .download-panel { align-items: stretch; flex-direction: column; }
  .download-brand img { width: 46px; height: 46px; }
}
@media (max-width: 380px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
}
