@font-face {
  font-family: "Inter";
  src: url("/assets/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy-950: #03122d;
  --ink: #071631;
  --text: #152545;
  --line: #dbe3ed;
  --line-strong: #cad6e4;
  --blue: #075ee8;
  --blue-dark: #0347bd;
  --header-height: 100px;
  --shadow-sm: 0 8px 24px rgba(4, 23, 51, 0.07);
  --shell: min(1408px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
}

body.menu-open {
  padding-right: var(--scrollbar-compensation, 0px);
}

body.menu-open .site-header {
  position: fixed;
  right: 0;
  left: 0;
  padding-right: var(--scrollbar-compensation, 0px);
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  color: #fff;
  background:
    radial-gradient(circle at 16% -70%, rgba(12, 186, 192, 0.15), transparent 46%),
    linear-gradient(110deg, #020b20 0%, #04142f 54%, #020e24 100%);
  border-bottom: 1px solid rgba(126, 183, 225, 0.14);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(1, 14, 37, 0.2);
}

.nav-measure-header {
  position: absolute !important;
  top: -10000px !important;
  visibility: hidden !important;
}

.header-inner {
  --header-nav-gap: clamp(34px, 3vw, 56px);
  --nav-gap: clamp(24px, 2.25vw, 42px);
  --nav-font-size: 0.88rem;
  --nav-chevron-size: 13px;
  --nav-chevron-gap: 6px;
  width: min(1536px, 100%);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 48px);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: max(32px, var(--header-nav-gap));
}

.site-header[data-nav-mode="spacious"] .header-inner {
  --nav-font-size: 0.96rem;
  --nav-chevron-size: 14px;
  --nav-chevron-gap: 7px;
}

.site-header[data-nav-mode="compact"] .header-inner {
  --header-nav-gap: 32px;
  --nav-gap: 18px;
}

.site-header[data-nav-mode="tight"] .header-inner,
.site-header[data-nav-mode="wrapped"] .header-inner {
  --header-nav-gap: 32px;
  --nav-gap: 14px;
  --nav-chevron-size: 12px;
  --nav-chevron-gap: 4px;
}

.site-header[data-nav-mode="small"] .header-inner,
.site-header[data-nav-mode="brand-small"] .header-inner {
  --header-nav-gap: 32px;
  --nav-gap: 14px;
  --nav-font-size: var(--nav-small-font-size, 0.8rem);
  --nav-chevron-size: 11px;
  --nav-chevron-gap: 4px;
}

.brand {
  z-index: 1002;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: clamp(12px, 1vw, 16px);
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand img {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  display: grid;
  line-height: 1;
}

.brand-name {
  color: #f8fbff;
  font-size: clamp(1.6rem, 1.42rem + 0.32vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-name span {
  color: #06b8b7;
}

.brand-tagline {
  margin-top: 7px;
  color: #11d6d2;
  font-size: clamp(0.68rem, 0.64rem + 0.08vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.095em;
  white-space: nowrap;
}

.site-header[data-nav-mode="brand-small"] .brand {
  gap: 10px;
}

.site-header[data-nav-mode="brand-small"] .brand img {
  flex-basis: 64px;
  width: 64px;
  height: 64px;
}

.site-header[data-nav-mode="brand-small"] .brand-name {
  font-size: 1.5rem;
}

.site-header[data-nav-mode="brand-small"] .brand-tagline {
  margin-top: 6px;
  font-size: 0.63rem;
  letter-spacing: 0.085em;
}

.primary-nav {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  width: max-content;
  min-width: 0;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--nav-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  min-width: 0;
  flex: 0 0 auto;
}

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--nav-chevron-gap);
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  border: 0;
  font-size: var(--nav-font-size);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-trigger {
  max-inline-size: 100%;
}

.nav-label {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  white-space: nowrap;
}

.site-header[data-nav-mode="wrapped"] .nav-list,
.site-header[data-nav-mode="small"] .nav-list,
.site-header[data-nav-mode="brand-small"] .nav-list {
  width: 100%;
  justify-content: space-between;
  gap: max(14px, var(--nav-gap));
}

.site-header[data-nav-mode="wrapped"] .nav-label.is-wrappable,
.site-header[data-nav-mode="small"] .nav-label.is-wrappable,
.site-header[data-nav-mode="brand-small"] .nav-label.is-wrappable {
  display: grid;
  grid-template-columns: max-content;
  gap: 0;
  line-height: 1.02;
  white-space: normal;
}

.nav-chevron {
  flex: 0 0 var(--nav-chevron-size);
  width: var(--nav-chevron-size);
  height: var(--nav-chevron-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms ease;
}

.nav-link:hover,
.nav-trigger:hover {
  color: #20d2d0;
}

.submenu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: -24px;
  width: 330px;
  padding: 10px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(19, 210, 207, 0.6), rgba(29, 100, 232, 0.18)) border-box;
  border: 1px solid transparent;
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(0, 13, 39, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
  pointer-events: none;
}

.submenu-align-right {
  right: max(-24px, -3vw);
  left: auto;
}

.submenu a {
  display: grid;
  gap: 2px;
  padding: 13px 14px;
  color: var(--ink);
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

.submenu a:hover {
  color: var(--ink);
  background: #f0f7fb;
  transform: translateX(2px);
}

.submenu span {
  font-size: 0.91rem;
  font-weight: 700;
}

.submenu small {
  color: #63718a;
  font-size: 0.77rem;
  line-height: 1.45;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: currentColor;
  border-radius: 10px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #05283f;
  border-bottom: 1px solid rgba(9, 65, 113, 0.35);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1450px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(580px, 740px);
  gap: clamp(24px, 2.4vw, 48px);
  align-items: center;
  padding-block: 22px;
}

.hero-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 27px 0 32px;
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("/img/hero-bg.avif") center / 100% 100% no-repeat;
}

.hero-intro h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.7rem, 3.55vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.hero-intro > p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.35vw, 1.27rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.button-primary {
  color: #fff;
  background: linear-gradient(100deg, #04a7a7, #00c0c1);
  box-shadow: 0 10px 25px rgba(0, 184, 184, 0.18);
}

.button-primary:hover {
  color: #fff;
  background: linear-gradient(100deg, #039b9d, #00b3b6);
  box-shadow: 0 13px 30px rgba(0, 184, 184, 0.25);
}

.button-outline-light {
  color: #fff;
  background: rgba(4, 25, 54, 0.7);
  border-color: rgba(153, 201, 236, 0.62);
}

.button-outline-light:hover {
  color: #fff;
  background: rgba(13, 69, 113, 0.7);
  border-color: rgba(71, 188, 224, 0.8);
}

.button-dark {
  color: #fff;
  background: var(--navy-950);
}

.button-dark:hover {
  color: #fff;
  background: #0a2c59;
}

.version-grid {
  width: 100%;
  max-width: 740px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: end;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(135, 183, 221, 0.18);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 8, 26, 0.22);
}

.version-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 27px 23px;
  background: rgba(3, 26, 59, 0.95);
}

.version-card + .version-card {
  position: relative;
}

.version-card + .version-card::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 1px;
  background: rgba(153, 187, 219, 0.2);
}

.version-heading {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
}

.version-heading img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.version-heading h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.25vw, 1.32rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.version-ts3 h2,
.version-ts3 > a {
  color: #2bb4ff;
}

.version-ts6 h2,
.version-ts6 > a {
  color: #70db0d;
}

.status-badge {
  padding: 5px 8px;
  background: #1477e6;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.version-ts6 .status-badge {
  background: #309747;
}

.version-card > p {
  min-height: 52px;
  margin: 16px 0 15px;
  color: rgba(255, 255, 255, 0.91);
  font-size: 0.94rem;
  line-height: 1.52;
}

.version-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  list-style: none;
}

.version-card li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check {
  flex: 0 0 16px;
  height: 16px;
  border: 2px solid #27b5ff;
  border-radius: 50%;
}

.check::after {
  content: "";
  display: block;
  width: 5px;
  height: 3px;
  margin: 3px 0 0 3px;
  border-bottom: 1.8px solid #27b5ff;
  border-left: 1.8px solid #27b5ff;
  transform: rotate(-45deg);
}

.version-ts6 .check {
  border-color: #71d90a;
}

.version-ts6 .check::after {
  border-color: #71d90a;
}

.version-card > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 0.82rem;
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, background-color 150ms ease;
}

.version-card > a:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.home-content {
  container-type: inline-size;
  padding: 28px 0 40px;
  background: linear-gradient(#fff, #fbfcfe);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
  padding: 20px 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.quick-links a {
  min-width: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 0 22px;
  color: var(--text);
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.quick-links a:hover {
  color: var(--text);
  background: #f3f8ff;
  box-shadow: 0 9px 24px rgba(5, 55, 125, 0.08);
  transform: translateY(-2px);
}

.quick-links a + a {
  border-left: 1px solid var(--line-strong);
}

.quick-links svg {
  width: 68px;
  height: 68px;
  padding: 14px;
  color: #0d3da0;
  background: #eef5fc;
  border-radius: 50%;
  transition: color 170ms ease, background-color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.quick-links a:hover svg {
  color: #075ee8;
  background: #e3efff;
  box-shadow: 0 8px 18px rgba(7, 94, 232, 0.14);
  transform: translateY(-1px) scale(1.04);
}

.quick-links a:hover strong {
  color: var(--blue-dark);
}

.quick-links span {
  display: grid;
  gap: 5px;
}

.quick-links strong {
  color: var(--blue);
  font-size: 0.87rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.quick-links small {
  color: #364869;
  font-size: 0.91rem;
  line-height: 1.45;
}

.panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.panel > h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.popular-guides {
  margin-bottom: 18px;
  padding: 24px 20px 20px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 17px;
}

.guide-card {
  min-width: 0;
  min-height: 256px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 28px 0;
  text-align: center;
}

.guide-card + .guide-card {
  border-left: 1px solid var(--line-strong);
}

.guide-main-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.guide-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 10px;
  color: #fff;
  border-radius: 50%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-card .eyebrow,
.guide-card h3 {
  transition: color 180ms ease, transform 180ms ease;
}

.guide-card:hover .guide-icon,
.guide-card:focus-within .guide-icon {
  box-shadow: 0 12px 26px rgba(7, 37, 82, 0.18);
  transform: translateY(-3px) scale(1.035);
}

.guide-card:hover h3,
.guide-card:focus-within h3 {
  transform: translateY(-1px);
}

.guide-blue:hover h3,
.guide-blue:focus-within h3 {
  color: #075ee8;
}

.guide-green:hover h3,
.guide-green:focus-within h3 {
  color: #13853c;
}

.guide-orange:hover h3,
.guide-orange:focus-within h3 {
  color: #eb4a08;
}

.guide-card:hover .eyebrow,
.guide-card:focus-within .eyebrow {
  transform: translateY(-1px);
}

.guide-icon svg {
  width: 46px;
  height: 46px;
}

.guide-blue .guide-icon {
  background: linear-gradient(145deg, #127df0, #0348c9);
}

.guide-green .guide-icon {
  background: linear-gradient(145deg, #279c4b, #087b31);
}

.guide-orange .guide-icon {
  background: linear-gradient(145deg, #ff7118, #e14406);
}

.guide-card .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-blue .eyebrow,
.guide-blue > a {
  color: #075ee8;
}

.guide-green .eyebrow,
.guide-green > a {
  color: #13853c;
}

.guide-orange .eyebrow,
.guide-orange > a {
  color: #eb4a08;
}

.guide-card h3 {
  max-width: 300px;
  margin: 7px 0 10px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.guide-card p {
  max-width: 300px;
  margin: 0;
  color: #4a5a76;
  font-size: 0.86rem;
  line-height: 1.55;
}

.guide-card > a:not(.guide-main-link) {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.guide-card:hover > a:not(.guide-main-link),
.guide-card:focus-within > a:not(.guide-main-link) {
  transform: translateY(-1px);
}

.latest-articles {
  padding: 24px 20px 8px;
}

.content-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
}

.content-panels .popular-guides {
  margin-bottom: 0;
}

.content-panels .panel {
  min-width: 0;
}

.content-panels .guide-card {
  padding-inline: 16px;
}

.content-panels .guide-card h3 {
  font-size: 0.93rem;
}

.content-panels .guide-card p {
  font-size: 0.79rem;
}

.content-panels .article-row {
  grid-template-columns: 112px minmax(0, 1fr) max-content;
  gap: 16px;
}

.content-panels .article-thumb {
  width: 112px;
  height: 74px;
}

.content-panels .article-summary h3 {
  font-size: 0.88rem;
}

.content-panels .article-summary p {
  font-size: 0.78rem;
}

.article-list {
  margin-top: 12px;
}

.article-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) max-content;
  gap: 26px;
  align-items: center;
  min-height: 100px;
  padding: 10px 0;
}

.article-row + .article-row {
  border-top: 1px solid var(--line);
}

.article-thumb {
  display: block;
  width: 136px;
  height: 84px;
  overflow: hidden;
  background: #061a3b;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(6, 25, 56, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.article-row:has(.article-thumb:hover) .article-thumb {
  box-shadow: 0 13px 28px rgba(6, 25, 56, 0.2);
  filter: saturate(1.08);
  transform: translateY(-3px);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.article-summary {
  min-width: 0;
}

.article-category {
  display: block;
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.category-green {
  color: #13853c;
}

.category-blue {
  color: #075ee8;
}

.category-orange {
  color: #ef4e0b;
}

.article-summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.article-summary h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.article-row:has(.article-thumb:hover) .article-summary h3 a,
.article-summary h3 a:hover {
  color: var(--blue);
}

.article-summary p {
  margin: 2px 0 0;
  color: #586985;
  font-size: 0.84rem;
}

.article-date {
  align-self: start;
  padding-top: 7px;
  color: #5a6984;
  font-size: 0.77rem;
  white-space: nowrap;
}

.site-footer {
  padding: 12px 16px;
  color: #445675;
  background: #fbfcfe;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  line-height: 1.5;
}

.footer-part:not(:last-child)::after {
  content: " ";
  word-spacing: 1em;
  background-image: radial-gradient(circle, #6f7f98 0 1.4px, transparent 1.6px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1em 1em;
}

.footer-policy {
  white-space: nowrap;
}

.site-footer a {
  color: var(--blue);
  text-decoration: none;
}

.article-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 780px);
  gap: 48px;
  justify-content: start;
  padding-top: 64px;
  padding-bottom: 70px;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  min-height: 760px;
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

.toc-wrap > h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.article-toc {
  margin: 0;
  padding: 0;
  counter-reset: toc;
  list-style: none;
}

.article-toc li {
  counter-increment: toc;
}

.article-toc a {
  position: relative;
  display: block;
  padding: 9px 12px 9px 15px;
  color: #334766;
  border-left: 3px solid transparent;
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

[data-numbered] .article-toc a {
  padding-left: 35px;
}

[data-numbered] .article-toc a::before {
  content: counter(toc) ".";
  position: absolute;
  left: 13px;
}

.article-toc a:hover,
.article-toc a.is-active {
  color: #008c91;
  background: linear-gradient(90deg, rgba(0, 164, 170, 0.095), rgba(0, 164, 170, 0.025));
  border-left-color: #05a6aa;
}

.sidebar-links {
  display: grid;
  gap: 16px;
  padding: 0 12px 22px;
}

.toc-wrap + .sidebar-links {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sidebar-links a {
  color: #2c4265;
  font-size: 0.83rem;
  text-decoration: none;
}

.sidebar-links a:hover {
  color: var(--blue);
}

.sidebar-help {
  margin-top: 28px;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.help-title {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--ink);
}

.help-title svg {
  width: 24px;
  height: 24px;
  color: #0863dd;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.help-title strong {
  font-size: 0.89rem;
}

.sidebar-help p {
  margin: 12px 0 16px;
  color: #40516e;
  font-size: 0.82rem;
}

.sidebar-help .button {
  width: 100%;
  min-height: 40px;
  padding-inline: 13px;
  font-size: 0.78rem;
  text-transform: none;
}

.article-main {
  overflow-wrap: break-word;
  min-width: 0;
}

.article-header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  color: #52627d;
  font-size: 0.79rem;
}

.article-kicker span:first-child,
.article-kicker span:nth-child(3) {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}

.article-kicker time {
  margin-left: 14px;
}

.article-header h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 3.1vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.article-header > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #425475;
  font-size: 1.04rem;
  line-height: 1.62;
}

.article-body {
  counter-reset: section;
}

.article-body section {
  padding: 23px 0 24px;
  border-bottom: 1px solid var(--line);
}

.article-body section:last-of-type {
  border-bottom: 0;
}

.article-body h2 {
  counter-increment: section;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.28;
}

[data-numbered] .article-body h2::before {
  content: counter(section) ". ";
}

.article-body h3 {
  color: var(--ink);
}

.article-body p {
  margin: 0 0 12px;
  color: #263858;
  font-size: 0.93rem;
  line-height: 1.7;
}

.article-body ul,
.article-body ol {
  margin: 8px 0 12px;
  padding-left: 22px;
  color: #263858;
  font-size: 0.93rem;
}

.article-body li {
  padding-left: 3px;
}

.article-body code {
  padding: 0.13em 0.32em;
  color: #073d75;
  background: #edf4fa;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.article-body pre {
  overflow-x: auto;
  margin: 16px 0 12px;
  padding: 18px 20px;
  color: #d9f9f7;
  background: #061a3b;
  border: 1px solid #0a315c;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(2, 22, 54, 0.1);
}

.article-body pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: 0.82rem;
  line-height: 1.7;
}

.notice,
.tip-box {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin: 15px 0;
  padding: 15px 17px;
  background: linear-gradient(110deg, #f6fbff, #f2f8fe);
  border: 1px solid #bcd7f4;
  border-radius: 7px;
}

.notice svg,
.tip-box svg {
  width: 27px;
  height: 27px;
  margin-top: 1px;
  color: #00969a;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.notice p,
.tip-box p {
  margin: 0;
  color: #1d3152;
  font-size: 0.86rem;
}

.notice a {
  color: #008d91;
  font-weight: 500;
}

.tip-box {
  background: #f9fbfd;
  border-color: var(--line-strong);
}

.tip-box svg {
  color: #0a65dc;
}

.download-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: center;
  margin-top: 11px;
  padding: 14px 18px 14px 10px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
}

.download-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  color: #fff;
  background: #041936;
  border-radius: 7px;
}

.download-icon svg {
  width: 55px;
  height: 55px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.download-copy h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  line-height: 1.35;
}

.download-copy p {
  margin: 0;
  color: #52617b;
  font-size: 0.8rem;
  line-height: 1.6;
}

.download-copy span {
  margin-inline: 8px;
}

.download-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.download-actions .button {
  min-height: 44px;
  padding-inline: 19px;
  font-size: 0.81rem;
  text-transform: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.feature-grid div {
  display: grid;
  gap: 3px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.feature-grid strong {
  color: var(--ink);
  font-size: 0.87rem;
}

.feature-grid span {
  color: #56657f;
  font-size: 0.79rem;
  line-height: 1.45;
}

.article-feedback {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  padding: 14px 18px;
  background: linear-gradient(110deg, #f4f9ff, #f7fbff);
  border: 1px solid #bed7f1;
  border-radius: 8px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.article-feedback.is-submitted {
  background: linear-gradient(110deg, #f3f8ff, #f7fbff);
  border-color: #a9c9ed;
  box-shadow: 0 9px 24px rgba(7, 94, 232, 0.08);
  animation: feedback-confirm 360ms ease both;
}

.article-feedback > span {
  color: var(--ink);
  font-size: 0.82rem;
}

.feedback-question {
  min-height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.feedback-status {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: #1769b5;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(2px);
  transition: max-height 180ms ease, margin-top 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.article-feedback.is-submitted .feedback-status {
  max-height: 1.25em;
  margin-top: 3px;
  opacity: 1;
  transform: translateY(0);
}

.article-feedback > div {
  display: flex;
  gap: 8px;
}

.article-feedback button {
  min-width: 80px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.article-feedback button:not(:disabled):hover {
  border-color: #9fbfe2;
  box-shadow: 0 6px 16px rgba(6, 46, 96, 0.08);
  transform: translateY(-1px);
}

.article-feedback button.is-selected {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(7, 94, 232, 0.2);
}

.article-feedback button:disabled {
  cursor: default;
  opacity: 0.48;
}

.article-feedback button.is-selected:disabled {
  opacity: 1;
}

.article-feedback button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.article-feedback p {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid #d5e2ef;
  font-size: 0.79rem;
  text-align: right;
}

.article-feedback a {
  color: #00979a;
  font-weight: 600;
}

/* Page without sidebar (404) */
.article-main:only-child {
  grid-column: 1 / -1;
}

/* Help page index */
.help-guides h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.help-list h3 {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.4;
}

.help-list h3:last-child {
  border-bottom: 0;
}

.help-list a {
  color: var(--ink);
  text-decoration: none;
}

.help-list a:hover {
  color: var(--blue);
}

@keyframes feedback-confirm {
  0% { transform: scale(1); }
  45% { transform: scale(1.008); }
  100% { transform: scale(1); }
}

.site-header[data-nav-layout="mobile"] .header-inner {
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 18px;
  padding-inline: clamp(18px, 4vw, 34px);
}

.site-header[data-nav-layout="mobile"] .menu-toggle {
  z-index: 1002;
  display: inline-flex;
}

.site-header[data-nav-layout="mobile"] .primary-nav {
  position: fixed;
  z-index: 999;
  inset: var(--header-height) 0 0;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 5vw, 52px) 56px;
  background:
    radial-gradient(circle at 88% 4%, rgba(0, 198, 200, 0.18), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(13, 88, 175, 0.3), transparent 40%),
    linear-gradient(145deg, #031630 0%, #061f42 58%, #03152e 100%);
  opacity: 0;
  visibility: hidden;
}

.site-header[data-nav-layout="mobile"] .primary-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.site-header[data-nav-layout="mobile"] .primary-nav .nav-list {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.site-header[data-nav-layout="mobile"] .primary-nav .nav-item {
  border: 1px solid rgba(156, 199, 228, 0.2);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(3, 27, 60, 0.92), rgba(4, 39, 77, 0.72));
  box-shadow: 0 14px 34px rgba(0, 7, 25, 0.16);
}

.site-header[data-nav-layout="mobile"] .primary-nav .nav-trigger,
.site-header[data-nav-layout="mobile"] .primary-nav .nav-link {
  position: relative;
  width: 100%;
  min-height: 66px;
  display: flex;
  gap: 0;
  padding: 22px 60px 22px 24px;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
}

.site-header[data-nav-layout="mobile"] .primary-nav .nav-label {
  display: inline;
  white-space: normal;
}

.site-header[data-nav-layout="mobile"] .primary-nav .nav-label-part {
  display: inline;
}

.site-header[data-nav-layout="mobile"] .primary-nav .nav-label-part + .nav-label-part::before {
  content: " ";
}

.site-header[data-nav-layout="mobile"] .primary-nav .nav-chevron {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}

.site-header[data-nav-layout="mobile"] .nav-item.is-mobile-open > .nav-trigger {
  color: #20d2d0;
}

.site-header[data-nav-layout="mobile"] .nav-item.is-mobile-open > .nav-trigger .nav-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.site-header[data-nav-layout="mobile"] .submenu {
  position: static;
  display: none;
  width: auto;
  margin: 0 14px 14px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(151, 199, 232, 0.08);
  border-radius: 12px;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.site-header[data-nav-layout="mobile"] .nav-item.is-mobile-open > .submenu {
  display: block;
  pointer-events: auto;
}

.site-header[data-nav-layout="mobile"] .submenu a {
  color: #fff;
}

.site-header[data-nav-layout="mobile"] .submenu a:hover {
  color: #fff;
  background: rgba(30, 189, 193, 0.11);
}

.site-header[data-nav-layout="mobile"] .submenu small {
  color: #abc0d7;
}

@media (hover: hover) {
  .site-header:not([data-nav-layout="mobile"]) .nav-item:hover > .nav-trigger {
    color: #20d2d0;
  }

  .site-header:not([data-nav-layout="mobile"]) .nav-item:hover > .nav-trigger .nav-chevron {
    transform: rotate(180deg);
  }

  .site-header:not([data-nav-layout="mobile"]) .nav-item:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header:not([data-nav-layout="mobile"]) .nav-item.has-submenu {
    padding-bottom: 12px;
    margin-bottom: -12px;
  }
}

@media (orientation: portrait) {
  .home-hero::before {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    /* never shorter than the hero on narrow phones (keeps aspect ratio) */
    width: max(297.675vw, 1120px);
    height: max(100vw, 376.25px);
    transform-origin: center;
    transform:
      translate(
        -50%,
        calc(-50% + clamp(0px, calc(63vw - 315px), 480px))
      )
      scaleX(-1)
      rotate(90deg);
  }
}

@media (max-width: 1260px) {
  :root {
    --shell: min(1160px, calc(100% - 48px));
  }
  .hero-grid {
    grid-template-columns: minmax(340px, 1fr) minmax(540px, 660px);
    gap: 24px;
  }
  .version-grid {
    max-width: 660px;
  }
  .hero-intro {
    padding-block: 24px 28px;
  }
  .hero-intro h1 {
    font-size: clamp(2.45rem, 3.8vw, 3.35rem);
  }
  .version-card {
    padding: 22px 20px 20px;
  }
  .version-heading {
    gap: 10px;
  }
  .version-heading h2 {
    font-size: clamp(0.96rem, 1.45vw, 1.16rem);
  }
  .quick-links a {
    grid-template-columns: 68px minmax(0, 1fr);
    padding-inline: 16px;
  }
  .quick-links svg {
    width: 58px;
    height: 58px;
    padding: 12px;
  }
  .article-shell {
    grid-template-columns: 260px minmax(0, 760px);
    gap: 42px;
  }
}

@media (max-width: 1179px) {
  .content-panels {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .content-panels .guide-card {
    padding-inline: 28px;
  }
  .content-panels .guide-card h3 {
    font-size: 1.02rem;
  }
  .content-panels .guide-card p {
    font-size: 0.86rem;
  }
  .content-panels .article-row {
    grid-template-columns: 136px minmax(0, 1fr) max-content;
    gap: 26px;
  }
  .content-panels .article-thumb {
    width: 136px;
    height: 84px;
  }
  .content-panels .article-summary h3 {
    font-size: 0.98rem;
  }
  .content-panels .article-summary p {
    font-size: 0.84rem;
  }
}

@media (max-width: 1050px) and (min-width: 901px) {
  .hero-grid {
    grid-template-columns: minmax(300px, 1fr) minmax(510px, 590px);
    gap: 18px;
    padding-block: 20px;
  }
  .version-grid {
    max-width: 590px;
  }
  .hero-intro {
    padding-block: 22px 26px;
  }
  .hero-intro h1 {
    font-size: clamp(2.25rem, 4.5vw, 2.7rem);
  }
  .hero-intro > p {
    font-size: 0.98rem;
  }
  .version-card {
    padding: 18px 15px 18px;
  }
  .version-heading {
    gap: 8px;
  }
  .version-heading h2 {
    font-size: 0.88rem;
  }
  .status-badge {
    padding: 4px 6px;
    font-size: 0.56rem;
  }
  .version-card > p {
    min-height: 48px;
    font-size: 0.82rem;
  }
  .version-card ul {
    font-size: 0.76rem;
  }
  .version-card > a {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.72rem;
  }
  .quick-links {
    padding: 14px 8px;
  }
  .quick-links a {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 9px;
    min-height: 80px;
    padding: 0 12px;
  }
  .quick-links svg {
    width: 46px;
    height: 46px;
    padding: 9px;
  }
  .quick-links strong {
    font-size: 0.73rem;
  }
  .quick-links small {
    font-size: 0.78rem;
  }
  .article-shell {
    grid-template-columns: 246px minmax(0, 1fr);
    gap: 38px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 82px;
    --shell: min(100% - 44px, 760px);
  }
  .brand img {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }
  .home-hero {
    padding-bottom: 22px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 0;
  }
  .hero-intro {
    padding-bottom: 38px;
  }
  .hero-intro h1 {
    font-size: clamp(2.45rem, 8vw, 3.5rem);
  }
  .hero-intro > p {
    max-width: 560px;
    font-size: 1.08rem;
  }
  .version-grid {
    max-width: 760px;
    justify-self: center;
  }
  .version-card {
    padding: 22px 22px 20px;
  }
  .quick-links {
    padding-inline: 8px;
  }
  .quick-links a {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 0 10px;
    text-align: center;
  }
  .quick-links span {
    justify-items: center;
  }
  .quick-links svg {
    width: 54px;
    height: 54px;
    background: transparent;
    padding: 7px;
  }
  .quick-links strong {
    font-size: 0.75rem;
  }
  .quick-links small {
    font-size: 0.78rem;
  }
  .guide-card {
    padding-inline: 18px;
  }
  .article-shell {
    display: block;
    width: min(100% - 58px, 760px);
    padding-top: 38px;
  }
  .article-sidebar {
    display: none;
  }
  .article-header h1 {
    font-size: clamp(2.35rem, 7vw, 3.15rem);
  }
  .article-kicker {
    flex-wrap: wrap;
    font-size: 0.83rem;
  }
  .article-kicker time {
    flex-basis: 100%;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .version-heading {
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 0;
    height: 62px;
  }
  .version-heading img {
    grid-column: 1;
    grid-row: 1 / -1;
  }
  .version-heading h2 {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: end;
  }
  .status-badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin: 0;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    min-height: 0;
    padding: 20px 14px 22px;
  }
  .guide-card + .guide-card {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }
  .guide-main-link {
    width: 100%;
  }
  .guide-card h3,
  .guide-card p {
    width: 100%;
    max-width: none;
  }
  .guide-card p {
    text-align: left;
  }
  .guide-card > a:not(.guide-main-link) {
    margin-top: 12px;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 42px);
  }
  body {
    font-size: 15px;
  }
  .site-header[data-nav-layout="mobile"] .header-inner {
    width: calc(100% - 30px);
  }

  .site-header[data-nav-layout="mobile"] .brand-name {
    font-size: 1.68rem;
  }
  .site-header[data-nav-layout="mobile"] .brand-tagline {
    display: none;
  }
  .site-header[data-nav-layout="mobile"] .menu-toggle {
    width: 45px;
    height: 45px;
    border: 0;
  }
  .site-header[data-nav-layout="mobile"] .menu-toggle span {
    width: 28px;
  }
  .home-hero {
    padding-bottom: 20px;
  }
  .hero-grid {
    gap: 22px;
    padding-top: 20px;
  }
  .hero-intro h1 {
    font-size: clamp(2.25rem, 10.3vw, 3rem);
    line-height: 1.08;
  }
  .hero-intro > p {
    margin-top: 14px;
    font-size: 1rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    margin-top: 22px;
  }
  .button {
    min-height: 50px;
    padding-inline: 10px;
    font-size: 0.74rem;
  }
  .button svg {
    width: 21px;
    height: 21px;
  }
  .version-grid {
    gap: 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .version-card {
    padding: 16px 12px 16px;
    border: 1px solid rgba(144, 183, 216, 0.28);
    border-radius: 10px;
  }
  .version-card + .version-card::before {
    display: none;
  }
  .version-heading {
    column-gap: 8px;
  }
  .version-heading h2 {
    font-size: 0.94rem;
    white-space: normal;
  }
  .status-badge {
    font-size: 0.57rem;
  }
  .version-card > p {
    min-height: 0;
    margin: 13px 0;
    font-size: 0.78rem;
  }
  .version-card ul {
    gap: 7px;
    margin-bottom: 16px;
    font-size: 0.73rem;
  }
  .check {
    flex-basis: 14px;
    height: 14px;
  }
  .check::after {
    margin: 2px 0 0 2px;
  }
  .version-card > a {
    width: 100%;
    min-height: 38px;
    padding-inline: 7px;
    justify-content: center;
    font-size: 0.68rem;
  }
  .home-content {
    padding-top: 0;
  }
  .quick-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
    padding-block: 20px 16px;
  }
  .quick-links a {
    min-height: 132px;
    padding-inline: 5px;
  }
  .quick-links svg {
    width: 48px;
    height: 48px;
    padding: 6px;
  }
  .quick-links strong {
    font-size: 0.65rem;
  }
  .quick-links small {
    font-size: 0.68rem;
    line-height: 1.38;
  }
  .panel {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .panel > h2 {
    font-size: 1.22rem;
  }
  .popular-guides,
  .latest-articles {
    margin-inline: calc((100cqi - 100%) / -2);
    padding-inline: 22px;
  }
  .popular-guides {
    padding-top: 20px;
  }
  .guide-icon {
    width: 58px;
    height: 58px;
  }
  .guide-icon svg {
    width: 39px;
    height: 39px;
  }
  .guide-card .eyebrow {
    font-size: 0.65rem;
  }
  .guide-card h3 {
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .guide-card p {
    font-size: 0.78rem;
  }
  .guide-card > a:not(.guide-main-link) {
    font-size: 0.78rem;
  }
  .latest-articles {
    padding-top: 21px;
    padding-bottom: 4px;
  }
  .article-list {
    margin-top: 6px;
  }
  .article-row,
  .content-panels .article-row {
    grid-template-columns: 112px minmax(0, 1fr) max-content;
    gap: 13px;
    min-height: 101px;
  }
  .article-thumb,
  .content-panels .article-thumb {
    width: 112px;
    height: 74px;
  }
  .article-category {
    font-size: 0.61rem;
  }
  .article-summary h3,
  .content-panels .article-summary h3 {
    font-size: 0.78rem;
    line-height: 1.42;
  }
  .article-summary p,
  .content-panels .article-summary p {
    display: none;
  }
  .article-date {
    font-size: 0.65rem;
  }
  .site-footer {
    padding: 16px 7px;
  }

  .article-shell {
    width: calc(100% - 50px);
    padding-top: 33px;
    padding-bottom: 50px;
  }
  .article-header {
    padding-bottom: 18px;
  }
  .article-kicker {
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.78rem;
  }
  .article-header h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.75rem);
    line-height: 1.17;
  }
  .article-header > p {
    margin-top: 14px;
    font-size: 0.96rem;
  }
  .article-body section {
    padding: 22px 0;
  }
  .article-body h2 {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.28rem;
  }
  [data-numbered] .article-body h2::before {
    content: counter(section);
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: #fff;
    background: linear-gradient(145deg, #07a3a5, #008087);
    border-radius: 50%;
    font-size: 0.78rem;
    letter-spacing: 0;
  }
  .article-body p,
  .article-body ul,
  .article-body ol {
    font-size: 0.88rem;
  }
  [data-numbered] .article-body section > p,
  [data-numbered] .article-body section > ul,
  [data-numbered] .article-body section > ol,
  [data-numbered] .article-body section > pre,
  [data-numbered] .article-body section > .notice,
  [data-numbered] .article-body section > .tip-box,
  [data-numbered] .article-body section > .download-card,
  [data-numbered] .article-body section > .feature-grid {
    margin-left: 50px;
  }
  .article-body section > ul,
  .article-body section > ol {
    padding-left: 18px;
  }
  .notice,
  .tip-box {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 15px;
  }
  .notice svg,
  .tip-box svg {
    width: 36px;
    height: 36px;
    padding: 7px;
    color: #fff;
    background: #0869eb;
    border-radius: 50%;
  }
  .notice p,
  .tip-box p {
    font-size: 0.82rem;
  }
  .download-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }
  .download-icon {
    width: 74px;
    height: 74px;
  }
  .download-icon svg {
    width: 46px;
    height: 46px;
  }
  .download-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-items: center;
  }
  .download-actions .button {
    width: 100%;
  }
  .download-copy h3 {
    font-size: 0.88rem;
  }
  .download-copy p {
    font-size: 0.75rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .article-feedback {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 13px;
  }
  .article-feedback > div {
    justify-self: end;
  }
  .article-feedback button {
    min-width: 66px;
  }
  .article-feedback p {
    grid-column: 1 / -1;
    padding: 11px 0 0;
    border-top: 1px solid #d5e2ef;
    border-left: 0;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-links a {
    min-height: 116px;
    padding: 12px 8px;
  }
  .quick-links a + a {
    border-left: 0;
  }
  .quick-links a:nth-child(even) {
    border-left: 1px solid var(--line-strong);
  }
  .quick-links a:nth-child(n + 3) {
    border-top: 1px solid var(--line-strong);
  }
  .quick-links strong {
    font-size: 0.72rem;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .version-grid {
    width: calc(100% - 52px);
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .version-card {
    padding: 22px 20px 20px;
  }
  .version-heading {
    grid-template-columns: 62px minmax(0, 1fr) max-content;
    grid-template-rows: auto;
    height: auto;
    column-gap: 11px;
  }
  .version-heading img,
  .version-heading h2,
  .status-badge {
    grid-column: auto;
    grid-row: auto;
    align-self: center;
  }
  .version-heading h2 {
    font-size: 1.05rem;
    white-space: nowrap;
  }
  .version-card > p {
    font-size: 0.86rem;
  }
  .version-card ul {
    font-size: 0.82rem;
  }
  .version-card > a {
    width: auto;
    align-self: flex-start;
    padding-inline: 16px;
    font-size: 0.76rem;
  }
}

@media (max-width: 420px) {
  .site-header[data-nav-layout="mobile"] .header-inner {
    width: 100%;
  }

  .version-grid {
    width: 100%;
  }
  
  .version-heading {
    column-gap: 10px;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .quick-links small {
    font-size: 0.61rem;
  }
  .article-row,
  .content-panels .article-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .article-thumb,
  .content-panels .article-thumb {
    width: 92px;
    height: 66px;
  }
  .article-date {
    display: none;
  }
  .article-body section > p,
  .article-body section > ul,
  .article-body section > ol,
  .article-body section > pre,
  .article-body section > .notice,
  .article-body section > .tip-box,
  .article-body section > .download-card,
  .article-body section > .feature-grid {
    margin-left: 0 !important;
  }
}

/* Below 350px, borrow space from padding/gaps so "TEAMSPEAK 3" stays on one line */
@media (max-width: 349px) {
  .version-card {
    padding-inline: 16px;
  }
  .version-heading {
    grid-template-columns: 56px minmax(0, 1fr) max-content;
  }
  .version-heading img {
    width: 56px;
    height: 56px;
  }
}