:root {
  --ink: #1f2a36;
  --ink-soft: #4a5663;
  --muted: #54606b;
  --paper: #f1f5f8;
  --sheet: #eef3f6;
  --white: #f7fafb;
  --hydro: #146e89;
  --hydro-deep: #0c4d61;
  --ochre: #c4453c;
  --line: #b7c6d1;
  --ok: #2c5d50;
  --navy: #132033;
  --navy-2: #1b3147;
  --focus: #146e89;
  --radius: 12px;
  --nav-h: 64px;
  --measure: 1120px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

section[id],
article[id],
footer[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -ms-overflow-style: none;
}

a {
  color: var(--hydro-deep);
  cursor: pointer;
}

a:hover {
  color: var(--hydro);
}

button,
.btn {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--measure), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--hydro-deep);
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 {
  font-size: clamp(32px, 4vw, 44px);
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

.lede {
  max-width: none;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(238, 243, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6e6e6;
}

.nav-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a[aria-current="page"],
.nav-links a[aria-current="true"] {
  color: var(--ochre);
  box-shadow: inset 0 -2px 0 var(--ochre);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
}

.nav-cta {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.btn::after {
  content: "";
  display: block;
  width: 0;
  height: 11px;
  margin-left: 0;
  overflow: hidden;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 8h10.2M9 4.2 13.8 8 9 11.8' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat left center / 14px 11px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 8h10.2M9 4.2 13.8 8 9 11.8' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat left center / 14px 11px;
  opacity: 0;
  transform: translateX(-5px);
  pointer-events: none;
  transition:
    width 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    margin-left 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 200ms ease,
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn:hover::after,
.btn:focus-visible::after {
  width: 14px;
  margin-left: 8px;
  opacity: 1;
  transform: translateX(0);
}

.btn-dl::after {
  height: 14px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 2.3v7.4M5 6.8l3 3.3 3-3.3' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 11.6v1.2c0 .6.5 1.1 1.1 1.1h7.8c.6 0 1.1-.5 1.1-1.1v-1.2' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat left center / 14px 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 2.3v7.4M5 6.8l3 3.3 3-3.3' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 11.6v1.2c0 .6.5 1.1 1.1 1.1h7.8c.6 0 1.1-.5 1.1-1.1v-1.2' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat left center / 14px 14px;
}

.btn-primary {
  background: #cc473e;
  color: #fff;
  border-color: #cc473e;
}

.btn-primary:hover {
  background: #b53a32;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #e8f1f4;
  border-color: rgba(232, 241, 244, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-line {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-line:hover {
  border-color: #cc473e;
  color: #cc473e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
}

.page-hero {
  position: relative;
  background: var(--navy);
  color: #e8f1f4;
  padding: 56px 0 48px;
  overflow: visible;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 110, 137, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 110, 137, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}

.page-hero .wrap {
  position: relative;
}

.page-hero .eyebrow {
  color: #efa8a0;
}

.page-hero .eyebrow span {
  color: rgba(232, 241, 244, 0.82);
}

.page-hero h1 {
  color: #fff;
}

.page-hero .lede {
  color: rgba(232, 241, 244, 0.88);
}

section.block {
  padding: 88px 0;
}

section.alt {
  background: var(--sheet);
}

.card {
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  position: relative;
  transition:
    box-shadow 380ms ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}

.card h3 {
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--ink-soft);
  font-size: 14px;
}

.card ul {
  margin: 8px 0 0;
  padding-left: 1.1em;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .change:hover {
    z-index: 2;
    box-shadow:
      0 6px 18px rgba(19, 32, 51, 0.07),
      0 2px 6px rgba(19, 32, 51, 0.03);
  }

  .dl-list:hover {
    z-index: 2;
    box-shadow:
      0 -6px 18px rgba(160, 168, 176, 0.12),
      0 6px 16px rgba(19, 32, 51, 0.06);
  }
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--hydro);
  margin-bottom: 6px;
}

.fine {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 52em;
}

.fine a {
  color: #4b8fe8;
  font-weight: 500;
  text-decoration: none;
}

.fine a:hover {
  color: #3b7fd4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.mod-grid article:first-child {
  grid-column: 1 / -1;
}

.ext-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  -webkit-overflow-scrolling: touch;
}

table.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}

table.matrix th,
table.matrix td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

table.matrix th {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 13px;
}

td.ok {
  color: var(--ok);
  font-weight: 600;
}

td.opt {
  color: var(--ochre);
  font-weight: 600;
}

td.sup {
  color: var(--hydro-deep);
  font-weight: 600;
}

.dl-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 -6px 18px rgba(160, 168, 176, 0.12);
  transition:
    box-shadow 380ms ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}

.dl-item {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr auto;
  gap: 16px;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 20px 22px;
  position: relative;
}

.dl-item + .dl-item::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: rgba(31, 42, 54, 0.1);
  pointer-events: none;
}

.dl-item h3 {
  font-size: 16px;
}

.dl-item p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.dl-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

footer.cta {
  padding: 36px 0 12px;
  background: #1a222b;
  color: #e8f1f4;
}

footer.cta h2 {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 32px);
}

footer.cta .lede {
  color: rgba(186, 190, 194, 0.78);
  margin-top: 6px;
}

footer.cta .eyebrow {
  color: #e09086;
}

footer.cta .eyebrow span {
  color: rgba(232, 241, 244, 0.55);
}

.foot-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.foot-cta .hero-actions {
  margin-top: 16px;
}

.foot-meta {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto auto;
  column-gap: 48px;
  align-items: end;
}

.foot-qr {
  display: contents;
}

.foot-qr img {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  background: #fff;
  border-radius: 0;
}

.foot-qr figcaption {
  grid-column: 1;
  grid-row: 2;
  margin-top: 6px;
  text-align: center;
  font-size: 13px;
  color: rgba(232, 241, 244, 0.55);
}

.contact {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 22px 40px;
  margin: 0;
  text-align: left;
}

.contact article {
  border: 0;
  padding: 0;
}

.contact b {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(232, 241, 244, 0.55);
  margin-bottom: 2px;
}

.contact a,
.contact span {
  color: #fff;
  text-decoration: none;
}

.contact a,
.contact .val {
  display: block;
  min-height: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.contact a[href^="tel:"] {
  font-size: 20px;
}

.contact .hours {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(232, 241, 244, 0.62);
}

.contact a:hover {
  text-decoration: underline;
  color: #fff;
}

.legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 241, 244, 0.12);
  font-size: 12px;
  color: rgba(232, 241, 244, 0.78);
  text-align: center;
}

.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ochre);
  color: #fff;
  border: 1px solid var(--ochre);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease,
    background 180ms ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: #b53a32;
  color: #fff;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.change {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  margin-top: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  position: relative;
  transition:
    box-shadow 380ms ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}

.subhead + .change {
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.badge-new {
  background: #f4efe2;
  color: var(--ochre);
}

.badge-opt {
  background: #e8eee8;
  color: var(--ok);
}

.badge-cur {
  background: #cc473e;
  color: #fff;
}

.badge-old {
  background: var(--white);
  color: var(--muted);
  border: 1px solid var(--line);
}

.change h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.change p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.ver-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.ver-index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
}

.ver-index a:hover,
.ver-index a[aria-current="location"] {
  border-color: var(--ink);
  color: var(--ink);
}

.ver-index .now {
  font-size: 11px;
  color: var(--ochre);
  letter-spacing: 0.04em;
}

.page-hero .ver-index a {
  background: rgba(255, 255, 255, 0.08);
  color: #e8f1f4;
  border-color: rgba(232, 241, 244, 0.14);
}

.page-hero .ver-index a:hover,
.page-hero .ver-index a[aria-current="location"] {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.page-hero .ver-index .now {
  color: #efa8a0;
}

.page-hero .ver-index a:hover .now,
.page-hero .ver-index a[aria-current="location"] .now {
  color: var(--ochre);
}

.release {
  padding: 88px 0;
  border-top: 1px solid rgba(31, 42, 54, 0.08);
}

.release:first-of-type {
  border-top: 0;
}

.release.alt {
  background: var(--sheet);
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 12px;
  margin-bottom: 8px;
}

.release-head h2 {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
}

.release-dl {
  margin-left: auto;
}

.subhead {
  margin: 28px 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.dl-group + .dl-group {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(31, 42, 54, 0.08);
}

@media (max-width: 1024px) {
  .mod-grid,
  .ext-grid,
  .dl-item {
    grid-template-columns: 1fr 1fr;
  }

  .mod-grid article:first-child {
    grid-column: auto;
  }

  .foot-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .foot-qr {
    display: block;
    width: 100px;
  }

  .contact {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sheet);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    z-index: 42;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .mod-grid,
  .ext-grid,
  .dl-item {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 40px 0 36px;
  }

  section.block,
  .release {
    padding: 64px 0;
  }
}
