:root {
  color-scheme: light;
  --ink: #202321;
  --paper: #faf9f6;
  --muted: #60635f;
  --line: #dcded6;
  --orange: #f36924;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid #146bb2; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.symbols { display: none; }
.wrap { width: min(86.5%, 1240px); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: -6rem; left: 1rem; background: var(--ink); color: white; padding: .75rem 1rem; }
.skip:focus { top: .5rem; }
.mast { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; }
.brand span { display: grid; gap: 3px; }
.brand strong { font-size: 1.35rem; letter-spacing: .06em; line-height: 1; font-weight: 850; }
.brand small { font: 700 .64rem/1.2 "IBM Plex Mono", Consolas, monospace; letter-spacing: .085em; }
nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(1.1rem, 2.7vw, 2.5rem); }
nav > * { display: inline-flex; align-items: center; position: relative; padding: 0 2px; font-weight: 600; font-size: .94rem; }
nav .nav-current::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--orange); }
nav button:hover, footer button:hover { color: #a84214; }
.hero { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(1.5rem, 3.3vw, 3.4rem); padding-block: clamp(2.6rem, 3.8vw, 4rem); }
.hero-copy { min-width: 0; padding: .5rem 0; }
.kicker { display: flex; gap: .65rem; align-items: center; font-size: .89rem; letter-spacing: .09em; font-weight: 700; color: #55594f; }
.mini-signal { display: inline-flex; align-items: end; gap: 2px; height: 14px; transform: skew(-10deg); }
.mini-signal i { background: #d85613; width: 3px; height: 4px; }
.mini-signal i:nth-child(2) { height: 7px; }
.mini-signal i:nth-child(3) { height: 10px; }
.mini-signal i:nth-child(4) { height: 13px; }
h1 { margin: 1.05rem 0 1.1rem; font-size: clamp(3rem, 4.8vw, 4.65rem); line-height: 1.18; letter-spacing: -.065em; font-weight: 900; }
h1 span { color: var(--orange); }
.intro { color: var(--muted); font-size: 1.02rem; max-width: 25em; line-height: 1.85; text-wrap: pretty; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 47px; border-radius: 8px; padding: .65rem 1.45rem; font-weight: 700; }
.primary { margin-top: 1.65rem; color: white; background: var(--ink); transition: background .16s, transform .16s; }
.primary svg { width: 18px; height: 18px; }
.primary:hover { background: #484d45; transform: translateY(-2px); }
.hero-art { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1.57; background: #f87515; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.directory { border-top: 1px solid var(--line); padding: 2.1rem 0 3rem; scroll-margin-top: 1.5rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
h2 { font-size: clamp(1.68rem, 2.2vw, 2rem); line-height: 1.4; letter-spacing: -.04em; }
.section-heading > span { color: var(--muted); font-size: .9rem; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.group { border: 1px solid #d9dbd4; background: #fffefa; border-radius: 14px; overflow: hidden; }
.group-head { display: flex; gap: .95rem; align-items: center; padding: 1.22rem 1.45rem; border-bottom: 1px solid #e8ded1; position: relative; isolation: isolate; overflow: hidden; background-color: #f8eee1; }
.group-head::after { content: ""; width: 34%; position: absolute; z-index: -1; inset: 0 0 0 auto; opacity: .3; background-image: radial-gradient(#b58e6b .95px, transparent 1px); background-size: 8px 8px; mask-image: linear-gradient(to right, transparent, black); }
.wireless .group-head { background-color: #eaf1ed; border-color: #dce5df; }
.wireless .group-head::after { background-image: radial-gradient(#849b8e .95px, transparent 1px); }
.icon-tile { width: 49px; height: 49px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: #ffcb9d; color: #753809; }
.icon-tile svg { width: 28px; height: 28px; stroke-width: 1.6; }
.wireless .icon-tile { color: #304e40; background: #c7dccd; }
.group-head h3 { font-size: 1.4rem; letter-spacing: -.035em; line-height: 1.4; }
.group-head p { color: #62665f; margin-top: .15rem; font-size: .88rem; }
.entries { list-style: none; margin: 0; padding: .12rem 1.45rem; }
.entries li + li { border-top: 1px solid #e9e9e2; }
.entry { display: flex; gap: .7rem; align-items: center; min-height: 55px; padding: .6rem .05rem; }
.entry > svg { flex-shrink: 0; width: 18px; height: 18px; color: #797c72; }
.entry strong { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.entry small { margin-left: auto; white-space: nowrap; font-size: .83rem; color: #686b65; }
.live small { color: #923b13; font-weight: 600; }
.live:hover strong { text-decoration: underline; text-underline-offset: .22em; }
footer { display: flex; gap: 1rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); min-height: 78px; font-size: .83rem; color: var(--muted); }
footer > span { font: 600 .8rem/1.5 "IBM Plex Mono", Consolas, "Microsoft YaHei", monospace; }
footer b { font-weight: 400; margin: 0 .2em; }
footer button { display: flex; align-items: center; gap: .45rem; font-size: .91rem; min-height: 44px; }
footer svg { width: 17px; height: 17px; }
dialog { width: min(90vw, 510px); max-height: 85dvh; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 24px 100px #171c182b; }
dialog::backdrop { background: rgb(26 30 26 / 45%); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.close { width: 44px; height: 44px; display: grid; place-items: center; background: #edeee7; border-radius: 50%; }
dialog section { border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: 1.2rem; }
dialog section p { color: var(--muted); margin-top: .35rem; line-height: 1.8; }
@media (max-width: 960px) {
  .wrap { width: 90%; }
  .hero { gap: 1.6rem; }
  .hero-art { aspect-ratio: 1.25; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 64px; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.15rem 0 1.8rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.9rem, 9.4vw, 3.6rem); margin: .8rem 0; }
  .hero-art { aspect-ratio: 1.95; border-radius: 11px; }
  .primary { margin-top: 1.1rem; }
  .directory { padding: 1.45rem 0 2.2rem; }
  .groups { grid-template-columns: 1fr; gap: 1rem; }
  .group-head { padding: 1rem 1.2rem; }
  .entries { padding-inline: 1.2rem; }
}
@media (max-width: 420px) {
  .brand img { width: 34px; height: 34px; }
  .brand strong { font-size: 1.14rem; }
  nav { gap: 1rem; }
  nav > * { font-size: .88rem; }
  .intro { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 600px) {
  .mast .header-inner:has(.nav-current) { flex-wrap: wrap; padding-top: 10px; }
  .mast nav:has(.nav-current) { width: 100%; justify-content: space-between; gap: 4px; }
  .mast nav:has(.nav-current) > * { min-height: 44px; }
}
