:root {
  color-scheme: light;
  --ink: #11181c;
  --paper: #f4f3ed;
  --fog: #d8dfd9;
  --mint: #6ce5b1;
  --text: #11181c;
  --muted: #465650;
  --surface: #e9ece5;
  --rule: #b8c5bc;
  --link: #10634a;
  --ease: cubic-bezier(.22, 1, .36, 1);
  font: 16px/1.65 Geist, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #11181c; --text: #f4f3ed; --muted: #b5c4ba;
    --surface: #1d2a2c; --rule: #425450; --link: #6ce5b1;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #11181c; --text: #f4f3ed; --muted: #b5c4ba;
  --surface: #1d2a2c; --rule: #425450; --link: #6ce5b1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--paper); }
body { color: var(--text); margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(1280px, calc(100% - clamp(32px, 8vw, 128px))); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; min-height: 72px; align-items: center; gap: clamp(8px, 2vw, 32px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .88rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.mark { display: inline-block; width: 13px; height: 13px; background: var(--mint); border: 1px solid #20624f; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); flex: none; }
nav { margin-left: auto; display: flex; align-items: center; gap: clamp(0px, 1.8vw, 24px); }
nav a { min-height: 44px; display: inline-grid; align-items: center; padding-inline: 8px; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 5px; }
.theme { border: 1px solid var(--rule); border-radius: 50%; background: transparent; min-width: 44px; min-height: 44px; padding: 0; }
.skip { position: fixed; z-index: 10; left: 12px; top: -120px; background: var(--paper); padding: 10px; }
.skip:focus { top: 12px; }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 16px; align-items: center; padding-block: clamp(44px, 8vw, 116px); }
.hero-copy { grid-column: span 6; }
.eyebrow { color: var(--mint); font-size: .82rem; font-weight: 750; letter-spacing: .18em; display: flex; gap: 12px; align-items: center; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3,h4 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.5vw, 4.75rem); letter-spacing: -.055em; margin-top: 20px; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.45rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.28rem,2.35vw,2rem); letter-spacing: -.03em; }
h4 { font-size: clamp(1.15rem,1.9vw,1.55rem); }
.hero-description { color: #d8dfd9; margin-top: 24px; max-width: 33ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 16px; border: 1px solid transparent; text-decoration: none; font-weight: 700; border-radius: 4px; transition: transform 170ms var(--ease); }
.button:active { transform: scale(.97); }
.primary { background: #6ce5b1; color: #11181c; }
.secondary { border-color: currentColor; background: transparent; }
.contact-band :focus-visible { outline-color: #6ce5b1; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.section-title p { margin-top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.product-lead { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 4vw, 56px); background: var(--surface); border-top: 2px solid var(--link); }
.product-copy h3 { font-size: clamp(2rem, 4.2vw, 4rem); margin: 12px 0; }
.product-copy > p:not(.badge) { margin-block: 12px; max-width: 35ch; }
.badge { color: var(--link); font-weight: 750; font-size: .875rem; }
.text-link, .sources a { color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.notify-link { display: flex; width: fit-content; }
.product-art { background: #11181c; color: #d8dfd9; }
.product-art img { display: block; width: 100%; height: auto; }
.product-art figcaption { padding: 8px 12px; font-size: .82rem; }
.product-secondary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 16px; margin-top: 16px; }
.product-secondary { display: grid; gap: 16px; padding: clamp(16px,3vw,32px); border: 1px solid var(--rule); border-top: 2px solid var(--rule); }
.league-product { border-top-color: var(--link); }
.product-label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: .875rem; }
.product-label .badge { padding: 2px 8px; background: var(--surface); border: 1px solid var(--rule); border-radius: 3px; }
.product-secondary > p { max-width: 34ch; }
.product-actions { border-top: 1px solid var(--rule); }
.product-actions .text-link { gap: 8px; }
.product-actions details { margin-top: 4px; }
.product-actions summary { min-height: 44px; padding-block: 8px; cursor: pointer; color: var(--muted); }
.product-actions details p { margin: 0 0 8px; max-width: 38ch; }
.product-copy .primary { margin-top: 8px; }
.product-copy .notify-link { margin-top: 8px; }
@media (hover: hover) {
  .product-actions .text-link:hover, .product-actions summary:hover { color: var(--text); }
}
.product-actions .text-link:active,.product-actions summary:active { text-decoration-thickness: 2px; }
.trust { background: var(--surface); }
.trust-grid,.partners { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-block: 32px 24px; }
.trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.trust-grid > div,.partners > article { padding: 20px 0 0; border-top: 1px solid var(--rule); }
.trust-grid p,.partners p { margin-top: 12px; }
.contact-band { color: #f4f3ed; background: #152521; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(24px, 6vw, 84px); }
.contact-grid p { margin-top: 12px; color: #d8dfd9; }
.notify { margin-top: 24px; padding-top: 16px; border-top: 1px solid #53746b; }
.notify h3 { font-size: 1.18rem; }
.consult { padding: 24px; border: 1px solid #53746b; }
.consult pre { font: inherit; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
#copy-status:empty { display: none; }
.filters { display: flex; gap: 8px 16px; align-items: end; flex-wrap: wrap; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button, .search input { border: 1px solid var(--rule); min-height: 44px; background: var(--paper); padding: 7px 12px; border-radius: 3px; }
.filters button[aria-pressed="true"] { background: #174436; border-color: #174436; color: #fff; }
.search { display: grid; gap: 4px; color: var(--muted); font-size: .875rem; }
.search input { width: min(100%, 196px); color: var(--text); }
#filter-status { margin-top: 12px; }
#empty-state { padding: 16px; background: var(--surface); margin-top: 16px; }
.news-group { margin-top: 36px; }
.news-heading { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.news-card { background: var(--surface); border-top: 1px solid var(--rule); padding: 20px; overflow-wrap: anywhere; }
.news-card h4 { margin-block: 6px 12px; }
.news-card p + p,.news-card details,.sources { margin-top: 12px; }
.news-card dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 4px 10px; }
.news-card dt { color: var(--muted); }
.news-card dd { margin: 0; }
.news-card summary { cursor: pointer; font-weight: 650; min-height: 36px; }
.next-notice { color: var(--link); font-weight: 650; }
.sources { display: flex; flex-wrap: wrap; gap: 0 12px; }
.sources a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-block: 20px; font-size: .875rem; color: var(--muted); }
@media (max-width: 680px) {
  html { scroll-padding-top: 67px; }
  .header-inner { min-height: 56px; gap: 5px; }
  .wordmark { gap: 6px; letter-spacing: .065em; font-size: .74rem; }
  nav a { font-size: .82rem; padding-inline: 6px; }
  .theme { min-width: 36px; min-height: 44px; border: 0; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; padding-block: 36px; }
  .hero-copy { grid-column: auto; }
  h1 { margin-top: 12px; }
  .hero-description { margin-top: 16px; }
  .actions { margin-top: 20px; }
  .product-lead,.product-secondary-grid,.trust-grid,.partners,.contact-grid,.news-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.contact-methods { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.contact-methods figure { display: flex; align-items: center; gap: 12px; font-size: .875rem; color: #d8dfd9; }
.contact-methods img { flex: none; }
.contact-methods p { margin-top: 0; font-size: .875rem; }
/* The native fragment is the selected chapter, including without JavaScript. */
.header-inner { gap: clamp(8px,2vw,28px); }
.header-inner > nav.utility-nav { gap: 0; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.chapter-nav { display: flex; align-items: stretch; gap: 4px; min-width: 0; margin-left: 0; }
.chapter-nav a { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 48px; padding-inline: clamp(8px,1.05vw,16px); border-bottom: 2px solid transparent; font-weight: 700; }
.chapter-nav a:hover { text-decoration: none; background: var(--surface); }
.chapter-nav a:active { background: var(--fog); color: var(--ink); }
.chapter-nav a:focus-visible { outline-offset: -4px; }
.chapter-nav .tab-short { display: none; }
.chapter { display: none; color: #f4f3ed; }
.chapter-drone { display: block; }
.catalog:has(#chapter-ags:target, #chapter-club:target, #news:target, .chapter-news :target) .chapter-drone { display: none; }
.catalog:has(#chapter-ags:target) .chapter-ags,
.catalog:has(#chapter-club:target) .chapter-club,
.catalog:has(#news:target, .chapter-news :target) .chapter-news { display: block; }
body:not(:has(#chapter-ags:target,#chapter-club:target,#news:target,.chapter-news :target)) .chapter-nav a[href="#chapter-drone"],
body:has(#chapter-ags:target) .chapter-nav a[href="#chapter-ags"],
body:has(#chapter-club:target) .chapter-nav a[href="#chapter-club"],
body:has(#news:target,.chapter-news :target) .chapter-nav a[href="#news"] {
  color: var(--link); border-bottom-color: var(--link); background: var(--surface);
}
.chapter .hero-grid { padding-block: clamp(36px,6vw,88px); }
.chapter .hero-copy { min-width: 0; }
.chapter-title { font-size: clamp(2.5rem,5.1vw,5.15rem); letter-spacing: -.055em; margin-top: 18px; overflow-wrap: anywhere; }
.chapter-subtitle { font-weight: 650; font-size: clamp(1.14rem,2vw,1.6rem); margin-top: 12px; }
.chapter .hero-description { margin-top: 16px; max-width: 38ch; }
.chapter .actions { margin-top: 24px; }
.chapter .notify-link { color: #aef2d5; margin-top: 8px; }
.chapter .notify-link + p { color: #c0d3cc; }
.chapter-ags {
  background: linear-gradient(90deg,#10151ded 0%,#10151d92 37%,#10151d0b 72%),
    #10151d url("/assets/hub-home/ags-editing-room.webp") 72% center / cover no-repeat;
}
.chapter-ags .hero-grid { position: relative; min-height: clamp(440px,48vw,610px); }
.scene-credit { position: absolute; right: 0; bottom: 20px; font-size: .8rem; color: #ecf4ff; }
@media (max-width: 680px) {
  .chapter-ags { background-image: linear-gradient(180deg,#10151df5 0%,#10151dc8 38%,#10151d20 78%,#10151d9a),url("/assets/hub-home/ags-editing-room.webp"); }
  .chapter-ags .hero-grid { min-height: 540px; align-items: start; }
}
.chapter-club {
  background: linear-gradient(90deg,#101c17ed 0%,#101c1788 40%,#101c170a 70%),
    #101c17 url("/assets/hub-home/club-scene.webp") 72% center / cover no-repeat;
}
.chapter-club .hero-grid { position: relative; min-height: clamp(440px,48vw,610px); }
.chapter-news { background: radial-gradient(ellipse at right top, #35435a, #18222e 55%); }
.chapter-ags :focus-visible,.chapter-club :focus-visible,.chapter-news .hero-grid :focus-visible { outline-color: #6ce5b1; }
.stage-visual { position: relative; overflow: hidden; grid-column: span 6; width: 100%; min-width: 0; border: 1px solid #ffffff45; border-radius: 8px; }
.stage-visual figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; border-top: 1px solid #ffffff38; font-size: .85rem; }
.stage-visual figcaption span { opacity: .82; }
.news-visual { background: #e5e8e0; color:#172632; padding: clamp(16px,3.5vw,48px); }
.news-visual > p { font-size: .86rem; color:#3e5661; margin-bottom: 12px; }
.news-visual a { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #a6b4b6; padding: 15px 0; text-decoration:none; font-weight:750; font-size:clamp(1.15rem,2.2vw,1.85rem); }
.news-visual a:hover { color:#10634a; text-decoration:underline; text-underline-offset:5px; }
.news-visual a:focus-visible { outline-color:#10634a !important; }
.news-shell { color: var(--text); background: var(--paper); }
@media (max-width: 900px) {
  .chapter-nav .tab-short { display:inline; }
  .chapter-nav .tab-full { display:none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 124px; }
  .header-inner { display:grid; grid-template-columns: minmax(0,1fr) auto auto; column-gap:8px; row-gap:0; min-height:0; padding-top:2px; }
  .header-inner > .wordmark { grid-column:1; grid-row:1; }
  .header-inner > nav.utility-nav { grid-column:2; grid-row:1; margin:0; }
  .header-inner > .theme { grid-column:3; grid-row:1; }
  .chapter-nav { grid-column:1 / -1; grid-row:2; gap:0; justify-content:space-between; border-top:1px solid var(--rule); }
  .chapter-nav a { flex:1 1 auto; min-width:44px; padding-inline:7px; font-size:.82rem; }
}
@media (max-width: 680px) {
  .stage-visual { grid-column:auto; }
  .chapter-title { margin-top: 12px; }
  .chapter .hero-grid { gap: 24px; }
}

@media (max-width: 680px) {
  .chapter-club { background-image: linear-gradient(180deg,#101c17fa 0%,#101c17ac 39%,#101c1714 72%,#101c176b),url("/assets/hub-home/club-scene.webp"); background-position: 78% center; }
  .chapter-club .hero-grid { min-height: 560px; align-items: start; }
}
@supports not selector(:has(*)) {
  .catalog .chapter { display: block; }
  .chapter-nav a[aria-current="location"] { border-bottom-color: var(--link); color: var(--link); }
}

.trust-preview { display:none; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:24px; padding-top:24px; border-top:1px solid var(--rule); }
.trust-preview:target,#formation-preview:target + .trust-preview { display:grid; }
.trust-preview h3 + p { margin-top:10px; }
@media (max-width:680px) { .trust-preview { grid-template-columns:minmax(0,1fr); } }
