/* 捷新傳輸科技 — site styles
   Tokens: cool paper ground, slate ink, one brand blue. */
:root {
  --paper: #f5f7f8;
  --surface: #ffffff;
  --ink: #16212b;
  --steel: #56636f;
  --line: #d9e0e5;
  --blue: #0a6a9e;
  --blue-dark: #08557f;
  --deep: #0b3f5e;
  --mist: #e6eff5;

  --font: "IBM Plex Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.25rem, 1.5rem + 3.6vw, 3.75rem);

  --radius: 10px;
  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: 0.02em; }

p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--surface); padding: 0.5rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.25rem;
}
.logo {
  display: block; width: 132px; aspect-ratio: 628 / 185;
  background: var(--blue);
  -webkit-mask: var(--logo) no-repeat center / contain;
  mask: var(--logo) no-repeat center / contain;
}
.site-footer .logo { background: #fff; }

.nav-toggle {
  display: none;
  font: inherit; font-weight: 500; color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.35rem 0.9rem; cursor: pointer;
}
.site-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 0.5rem 0.9rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.site-nav a:hover { background: var(--mist); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--blue); }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--surface); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem var(--gutter) 1rem; }
  .site-nav a { padding: 0.75rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Buttons ---------- */
.button,
.prose a.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 2.75rem; padding: 0.55rem 1.25rem;
  border: 1.5px solid var(--ink); border-radius: 8px;
  color: var(--ink); background: transparent;
  font-weight: 500; line-height: 1.4; text-decoration: none;
}
.button:hover,
.prose a.btn:hover { background: var(--ink); color: #fff; }
.button.primary,
.prose a.btn-outline-success,
.prose a.btn-outline-primary {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.button.primary:hover,
.prose a.btn-outline-success:hover,
.prose a.btn-outline-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* ---------- Home: hero ---------- */
.hero { padding-top: clamp(3.5rem, 9vw, 6.5rem); text-align: center; overflow: hidden; }
.hero h1 { text-wrap: balance; font-size: var(--step-4); font-weight: 900; letter-spacing: 0.04em; line-height: 1.2; }
.hero .lede {
  max-width: 36em; margin: 1.5rem auto 0; text-wrap: balance;
  color: var(--steel); font-size: var(--step-1); line-height: 1.7;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }

.stage {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  background: var(--deep);
  padding-top: clamp(2rem, 6vw, 4rem);
}
.stage-shot {
  margin: 0 auto; width: min(100% - 2 * var(--gutter), 960px);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.15), 0 30px 80px rgba(0, 20, 35, 0.45);
}
.stage-shot img { width: 100%; }
.stage-caption {
  width: min(100% - 2 * var(--gutter), 960px); margin: 0 auto;
  padding: 1rem 0 1.5rem; color: #b8cfdd; font-size: var(--step--1); text-align: left;
}

@media (prefers-reduced-motion: no-preference) {
  .stage-shot { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px); } }
}

/* ---------- Home: sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: var(--step-3); font-weight: 900; }
.section-head p { margin-top: 0.75rem; color: var(--steel); }

/* Compatibility matrix */
.matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 40rem; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.matrix th, .matrix td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); text-align: center; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix th[scope="row"] { text-align: left; font-weight: 500; }
.matrix thead th { vertical-align: top; background: var(--mist); }
.matrix thead th:first-child { text-align: left; color: var(--steel); font-weight: 500; }
.matrix th[scope="row"] a { display: inline-block; padding-block: 0.4rem; margin-block: -0.4rem; color: var(--ink); text-decoration-color: var(--line); }
.matrix th[scope="row"] a:hover { color: var(--blue); text-decoration-color: currentColor; }
.matrix thead a { display: block; font-size: var(--step-1); font-weight: 700; text-decoration: none; color: var(--ink); }
.matrix thead a:hover { color: var(--blue); }
.matrix thead span { display: block; font-size: var(--step--1); font-weight: 400; color: var(--steel); }
.yes { color: var(--blue); font-size: 1.25rem; line-height: 1; }
.no { color: #a7b2bb; }
.partial { color: var(--steel); font-size: var(--step--1); }
.matrix-note { margin-top: 1rem; color: var(--steel); font-size: var(--step--1); }
@media (max-width: 640px) {
  .matrix { min-width: 0; font-size: var(--step--1); }
  .matrix th, .matrix td { padding: 0.75rem 0.4rem; }
  .matrix th[scope="row"] { padding-left: 0.75rem; }
  .matrix thead th:first-child { padding-left: 0.75rem; }
  .matrix thead a { font-size: var(--step-0); }
  .matrix thead span { display: none; }
}

/* Product catalog grid (accessories) */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.catalog a { display: block; color: var(--ink); text-decoration: none; }
.catalog img { aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.catalog h3 { margin-top: 1rem; font-size: var(--step-1); }
.catalog a:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: 0.2em; }
.catalog p { margin-top: 0.4rem; color: var(--steel); font-size: var(--step--1); line-height: 1.7; }

/* Feature row (image + text) */
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.feature img { border-radius: var(--radius); }
.feature h2 { font-size: var(--step-3); font-weight: 900; }
.feature p { margin-top: 0.75rem; color: var(--steel); }
.feature .button { margin-top: 1.5rem; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }

/* Where to buy band */
.band { background: var(--deep); color: #fff; padding-block: clamp(3rem, 7vw, 4.5rem); }
.band h2 { font-size: var(--step-3); font-weight: 900; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; margin-top: 2rem; list-style: none; padding: 0; }
.channels a { display: block; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, 0.25); color: #fff; text-decoration: none; }
.channels strong { display: block; font-size: var(--step-1); }
.channels span { color: #b8cfdd; }
.channels a:hover strong { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Generic page ---------- */
.page { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 8vw, 6rem); }
.page-title { font-size: var(--step-3); font-weight: 900; }
.page-lede { margin-top: 0.75rem; color: var(--steel); max-width: 40rem; }
.measure { max-width: 44rem; }

.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.prose h3, .prose h5 { font-size: var(--step-1); margin-top: 2rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin-top: 1rem; }
.prose ul { margin: 0.75rem 0 0; padding-left: 1.25em; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--blue); }
.prose a.btn { margin-top: 0.75rem; }
.prose a.btn p { margin: 0; }
.prose .ms-4 { margin: 0; }

/* About: timeline */
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 2rem 2rem; }
.timeline > li::before {
  content: ""; position: absolute; left: -7px; top: 0.55rem;
  width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--paper);
}
.timeline h3 { font-size: var(--step-1); color: var(--blue); }
.timeline p, .timeline ul { margin-top: 0.4rem; }

/* Buy & contact */
.buy-section { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.buy-section > h2 { font-size: var(--step-2); font-weight: 900; margin: 0 0 1.25rem; }

.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1rem; }
.channel {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); text-decoration: none;
}
.channel img { flex: none; width: 96px; height: 96px; object-fit: contain; border-radius: 8px; }
@media (max-width: 400px) {
  .channel { gap: 1rem; padding: 1.1rem; }
  .channel img { width: 64px; height: 64px; }
}
.channel > span { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; overflow-wrap: anywhere; }
.channel strong { font-size: var(--step-1); }
.channel > span > span { color: var(--steel); font-size: var(--step--1); }
.channel:hover { border-color: var(--blue); color: var(--ink); }
.prose .channel-action, .channel-action { color: var(--blue); font-weight: 500; font-size: var(--step--1); margin-top: 0.4rem; }
.channel:hover .channel-action, .social-grid a:hover .channel-action { text-decoration: underline; text-underline-offset: 0.2em; }

.contact-line { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; margin: 1.25rem 0 0; }
.contact-line div { display: flex; gap: 0.75rem; align-items: baseline; }
.contact-line dt { flex: none; color: var(--steel); font-size: var(--step--1); }
.contact-line dd { margin: 0; font-weight: 500; }

.pay-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; align-items: start; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }
.pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.pay-main { border-color: var(--blue); }
.pay h3 { font-size: var(--step-1); margin: 0; }
.bank { margin: 1rem 0 0; }
.bank div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.75rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.bank div:last-child { border-bottom: 0; }
.bank dt { color: var(--steel); font-size: var(--step--1); padding-top: 0.15rem; }
.bank dd { margin: 0; font-weight: 500; }
.bank-account dd span { white-space: nowrap; }
.bank-account dd { font-size: var(--step-1); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
@media (max-width: 480px) {
  .pay { padding: 1.1rem; }
  /* Stack label above value so the account number fits on one line */
  .bank div { grid-template-columns: 1fr; gap: 0.1rem; }
  .bank-account dd { letter-spacing: 0; }
}
.copy {
  margin-left: 0.5rem; padding: 0.15rem 0.7rem; vertical-align: middle;
  font: inherit; font-size: var(--step--1); font-weight: 500; letter-spacing: 0;
  color: var(--blue); background: var(--mist); border: 0; border-radius: 999px; cursor: pointer;
}
.copy:hover { background: #d4e5f0; }
.note { margin-top: 1.25rem; padding: 0.9rem 1rem; background: var(--paper); border-radius: 8px; font-size: var(--step--1); }
.prose .note h4 { margin: 0; font-size: var(--step--1); }
.prose .note ul { margin-top: 0.4rem; }
.prose ul.plain { list-style: none; padding: 0; margin-top: 1rem; }

.contact-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 0; }
.contact-big div { padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-big dt { color: var(--steel); font-size: var(--step--1); }
.contact-big dd { margin: 0.25rem 0 0; font-size: var(--step-1); font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.contact-big a { color: var(--ink); text-decoration-color: var(--line); }
.contact-big a:hover { color: var(--blue); text-decoration-color: currentColor; }

.prose .social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 40vw), 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.prose .social-grid li + li { margin-top: 0; }
.social-grid a {
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
  padding: 1.5rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.social-grid a:hover { border-color: var(--blue); color: var(--ink); }
.social-grid img { width: 120px; height: 120px; margin-bottom: 1rem; }
@media (max-width: 480px) { .social-grid a { padding: 1rem 0.5rem; } .social-grid img { width: 96px; height: 96px; } }
.social-grid strong { font-size: var(--step-0); line-height: 1.5; }

/* ---------- Products ---------- */
.product-layout { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

/* Side menu: grouped list with thumbnails; becomes a swipeable strip on small screens */
.product-menu {
  position: sticky; top: 5.75rem;
  max-height: calc(100vh - 7rem); overflow-y: auto;
  padding: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: var(--step--1);
}
.product-menu-all { display: block; padding: 0.6rem 0.75rem; border-radius: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.product-menu-all:hover { background: var(--mist); }
.product-menu-group { padding-top: 0.75rem; margin-top: 0.5rem; border-top: 1px solid var(--line); }
.product-menu h2 { padding: 0 0.75rem 0.35rem; font-size: var(--step--1); font-weight: 500; color: var(--steel); letter-spacing: 0.04em; }
.product-menu ul { list-style: none; margin: 0; padding: 0; }
.product-menu li a {
  position: relative; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.45rem 0.75rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; line-height: 1.45;
}
.product-menu li img { flex: none; width: 52px; height: 26px; object-fit: cover; border-radius: 4px; background: var(--line); }
.product-menu li a:hover { background: var(--paper); }
.product-menu li a[aria-current="page"] { background: var(--mist); color: var(--blue); font-weight: 700; }
.product-menu li a[aria-current="page"]::before {
  content: ""; position: absolute; left: -0.5rem; top: 0.4rem; bottom: 0.4rem; width: 3px; border-radius: 3px; background: var(--blue);
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .product-menu {
    position: static; max-height: none; overflow: visible;
    display: flex; gap: 0.5rem; padding: 0 0 0.75rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    background: none; border: 0; border-radius: 0;
  }
  .product-menu::-webkit-scrollbar { display: none; }
  .product-menu-group, .product-menu ul { display: contents; }
  .product-menu h2 { display: none; }
  .product-menu-all, .product-menu li a {
    flex: none; scroll-snap-align: start; white-space: nowrap;
    padding: 0.4rem 0.85rem 0.4rem 0.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500;
  }
  .product-menu-all { padding-left: 0.85rem; }
  .product-menu li img { width: 40px; height: 20px; border-radius: 999px; }
  .product-menu li a[aria-current="page"] { border-color: var(--blue); }
  .product-menu li a[aria-current="page"]::before { display: none; }
}

/* Product header */
.crumbs { display: flex; gap: 0.5rem; color: var(--steel); font-size: var(--step--1); }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--blue); }
.product-title { margin-top: 0.5rem; font-size: var(--step-3); font-weight: 900; }
.product-summary { margin-top: 0.75rem; max-width: 36em; color: var(--steel); font-size: var(--step-1); line-height: 1.7; }
.product-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Gallery */
.gallery { margin-top: 2rem; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; scroll-snap-align: start; aspect-ratio: 2 / 1; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs button {
  flex: none; padding: 0; width: 6.5rem; border: 2px solid transparent; border-radius: 8px;
  background: none; cursor: pointer; opacity: 0.6;
}
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--blue); opacity: 1; }
.gallery-thumbs img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 6px; }

/* In-page jump bar */
.jump {
  position: sticky; top: 4.25rem; z-index: 5;
  display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none;
  margin-top: 2.5rem; padding: 0.5rem 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.jump a { flex: none; padding: 0.4rem 0.9rem; border-radius: 999px; color: var(--steel); text-decoration: none; font-weight: 500; }
.jump a:hover { background: var(--mist); color: var(--ink); }
.jump a[aria-current="true"] { background: var(--ink); color: #fff; }

/* Sections */
.product-section { padding-top: 2.5rem; }
.product-section + .product-section { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.product-section > h2 { font-size: var(--step-2); font-weight: 900; }
/* 產品需求 content repeats the section name as its first heading */
#require > .ms-4 > h5:first-child { display: none; }
#require > .ms-4 > h5:first-child + ul { margin-top: 1rem; }

/* 介紹: feature lists as a two-column checklist */
.intro ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.6rem 2rem; }
.prose.intro li + li { margin-top: 0; }
.intro li { position: relative; padding-left: 1.75rem; }
.intro li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a6a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* 需求 / 規格: "項目：數值" rows (built by script) */
.specs ul.kv { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.prose .specs ul.kv li + li, .prose.specs ul.kv li + li { margin-top: 0; }
.specs ul.kv li { display: grid; grid-template-columns: minmax(6rem, 11rem) 1fr; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.specs .k { color: var(--steel); }
.specs .v { font-weight: 500; }
@media (max-width: 520px) { .specs ul.kv li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* 支援/下載 */
.support .ms-4 > div { display: inline-block; margin-right: 0.5rem; }
/* 歷史版本: <a><h6>version</h6></a> shown as a row of chips */
.support .ms-4 > a:not(.btn) {
  display: inline-block; margin: 0.6rem 0.4rem 0 0; padding: 0.3rem 0.8rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums;
}
.support .ms-4 > a:not(.btn):hover { border-color: var(--blue); color: var(--blue); }
.support .ms-4 > a:not(.btn) h6 { margin: 0; font-size: var(--step--1); font-weight: 500; letter-spacing: 0.02em; }

/* Prev / next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pager a {
  display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.pager a span { color: var(--steel); font-size: var(--step--1); font-weight: 400; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager-next { grid-column: 2; text-align: right; }
@media (max-width: 520px) { .pager { grid-template-columns: 1fr; } .pager-next { grid-column: 1; } }

/* Products index */
.group + .group { margin-top: clamp(3rem, 7vw, 4.5rem); }
.group > h2 { font-size: var(--step-2); font-weight: 900; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); margin-bottom: 2rem; }

/* ---------- Downloads ---------- */
.download-page { text-align: center; max-width: 40rem; margin-inline: auto; }
.download-page h2 { font-size: var(--step-2); }
.download-page h3 { font-size: var(--step-1); }
.download-page h4 { margin-top: 0.75rem; font-size: var(--step-0); font-weight: 500; color: var(--steel); }
.download-page .platform { margin-top: 0.75rem; color: var(--steel); font-size: var(--step--1); }
.download-page .button { margin-top: 1.5rem; }
.download-page .qr-link img { height: 200px; width: auto; margin: 1.5rem auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: #072f46; color: #d5e3ec; font-size: var(--step--1); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-grid li { overflow-wrap: anywhere; }
@media (max-width: 480px) { .footer-brand { grid-column: 1 / -1; } }
.site-footer h2 { font-size: var(--step--1); color: #fff; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.35rem; }
.site-footer a { color: #d5e3ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin-top: 0.75rem; line-height: 1.6; }
.social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social img { width: 32px; height: 32px; border-radius: 6px; }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); color: #8fb0c4; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Embedded videos in product content scale with the column */
.prose iframe { display: block; max-width: 100%; width: 560px; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
