:root {
  --bg:          #fbfbfd;
  --surface:     #ffffff;
  --surface-2:   #f3f4f8;
  --ink:         #16181d;
  --ink-2:       #454a56;
  --ink-3:       #656c7a;
  --line:        #e2e5ec;
  --line-2:      #cfd4de;
  --accent:      #4338ca;
  --accent-hov:  #322aa0;
  --accent-ink:  #ffffff;
  --accent-soft: #eef0ff;
  --warn:        #9a4b06;
  --warn-soft:   #fff6ec;
  --warn-line:   #f0d3b4;
  --good:        #06603f;
  --shadow:      0 1px 2px rgb(16 18 29 / .05), 0 8px 24px -12px rgb(16 18 29 / .18);
  --shadow-sm:   0 1px 2px rgb(16 18 29 / .06);

  --radius:      12px;
  --radius-sm:   8px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;

  --col-text:    45rem;
  --col-aside:   19rem;
  --gap:         clamp(1.5rem, 4vw, 3rem);
  --pad:         clamp(1rem, 4vw, 2rem);
  --head-h:      4rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0d0f14;
    --surface:     #141821;
    --surface-2:   #1a1f2a;
    --ink:         #e9ebf0;
    --ink-2:       #aeb4c2;
    --ink-3:       #838b9b;
    --line:        #262c39;
    --line-2:      #364054;
    --accent:      #a5b4fc;
    --accent-hov:  #c7d2fe;
    --accent-ink:  #0d0f14;
    --accent-soft: #1c2138;
    --warn:        #f0b072;
    --warn-soft:   #241a10;
    --warn-line:   #4a3520;
    --good:        #6ee7b7;
    --shadow:      0 1px 2px rgb(0 0 0 / .4), 0 8px 24px -12px rgb(0 0 0 / .7);
    --shadow-sm:   0 1px 2px rgb(0 0 0 / .4);
  }
}

:root[data-theme="dark"] {
  --bg:          #0d0f14;
  --surface:     #141821;
  --surface-2:   #1a1f2a;
  --ink:         #e9ebf0;
  --ink-2:       #aeb4c2;
  --ink-3:       #838b9b;
  --line:        #262c39;
  --line-2:      #364054;
  --accent:      #a5b4fc;
  --accent-hov:  #c7d2fe;
  --accent-ink:  #0d0f14;
  --accent-soft: #1c2138;
  --warn:        #f0b072;
  --warn-soft:   #241a10;
  --warn-line:   #4a3520;
  --good:        #6ee7b7;
  --shadow:      0 1px 2px rgb(0 0 0 / .4), 0 8px 24px -12px rgb(0 0 0 / .7);
  --shadow-sm:   0 1px 2px rgb(0 0 0 / .4);
}

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

html {
  scroll-behavior: smooth;

  scroll-padding-top: calc(var(--head-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-hov); }

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

button { font: inherit; color: inherit; }

.icon { display: block; fill: none; stroke: currentColor; stroke-width: 1.75;
        stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: .75rem 1.25rem; background: var(--accent); color: var(--accent-ink);
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; font-weight: 600;
}
.skip:focus { left: 0; }

.page-header {
  position: sticky; top: 0; z-index: 50;

  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header.content {
  max-width: 78rem; margin: 0 auto; padding: 0 var(--pad);
  min-height: var(--head-h);
  display: flex; align-items: center; gap: 1rem;
}

.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink); text-decoration: none; font-weight: 700;
  letter-spacing: -.015em; white-space: nowrap;
}

.logo-mark { flex: none; width: 2rem; height: 2rem; border-radius: 7px; }

.nav-sections { margin-left: auto; }
.panel.wrapper { display: flex; }
.panel.header { display: flex; align-items: center; gap: .5rem; }
.navigation > ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.navigation .level0 { margin: 0; }

summary.level-top,
a.level-top {
  display: block; padding: .5rem .7rem; border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem;
  cursor: pointer;
}
summary.level-top::-webkit-details-marker { display: none; }
summary.level-top { list-style: none; }
summary.level-top:hover,
a.level-top:hover { background: var(--surface-2); color: var(--ink); }
a.level-top[aria-current="page"] { color: var(--accent); }

.level-top-toggle { position: relative; }
.submenu {
  position: absolute; top: calc(100% + .35rem); left: 0; z-index: 10;
  min-width: 15rem; margin: 0; padding: .4rem; list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.submenu a {
  display: block; padding: .5rem .65rem; border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-size: .9375rem;
}
.submenu a:hover { background: var(--surface-2); color: var(--ink); }
.submenu a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.switcher-trigger, .nav-toggle {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink-2); cursor: pointer;
}
.switcher-trigger:hover, .nav-toggle:hover { background: var(--surface-2); color: var(--ink); }
.icon--moon { display: none; }
:root[data-theme="dark"] .icon--sun { display: none; }
:root[data-theme="dark"] .icon--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon--sun { display: none; }
  :root:not([data-theme="light"]) .icon--moon { display: block; }
}
.nav-toggle { display: none; }

.page-wrapper { display: flow-root; }
.page-main { max-width: 78rem; margin: 0 auto; padding: 0 var(--pad) 4rem; }

.page-main > .breadcrumbs { padding: clamp(1.5rem, 4vw, 2.75rem) 0 0; }

.page-main > .breadcrumbs,
.column.main > .article-byline { max-width: var(--col-text); }

.columns {
  display: grid;
  grid-template-columns: minmax(0, var(--col-text)) minmax(0, var(--col-aside));
  gap: var(--gap);
  align-items: start;
}
.page-layout-1column .columns { grid-template-columns: minmax(0, var(--col-text)); }

.sidebar { position: relative; }
.sidebar-sticky {
  position: sticky; top: calc(var(--head-h) + 1.5rem);
  display: grid; gap: 1.25rem;
  max-height: calc(100vh - var(--head-h) - 3rem);

  overflow-y: auto;
}

.breadcrumbs { font-size: .875rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.breadcrumbs .items {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  margin: 0; padding: 0; list-style: none;
}
.breadcrumbs .item { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs .item:not(.home)::before { content: "›"; color: var(--ink-3); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs strong { color: var(--ink-2); font-weight: inherit; }

.article-byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-bottom: 1.25rem; font-size: .875rem; color: var(--ink-3);
}
.article-byline-author {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ink-2); text-decoration: none; font-weight: 600;
}
.article-byline-author:hover { color: var(--accent); }
.article-byline-avatar {
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: .6875rem; font-weight: 700; letter-spacing: .02em;
}
.article-byline-sep { color: var(--line-2); }

.block-hero { margin: 0 0 clamp(1.5rem, 4vw, 2.25rem); }
.block-hero img {
  width: 100%;

  aspect-ratio: 2.4 / 1; max-height: 26rem; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface-2);
}
.block-hero figcaption { margin-top: .6rem; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 48em) {

  .block-hero img { aspect-ratio: 16 / 9; max-height: none; }
}

.column.main { min-width: 0; }

article[data-page] { max-width: var(--col-text); }
.page-layout-1column article[data-page] { max-width: none; }

article h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.85rem);
  line-height: 1.13; letter-spacing: -.022em; font-weight: 800;
  text-wrap: balance;
}
article h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.35rem, 1.15rem + .85vw, 1.75rem);
  line-height: 1.22; letter-spacing: -.015em; font-weight: 700;
  scroll-margin-top: calc(var(--head-h) + 1rem);
  text-wrap: balance;
}
article h3 {
  margin: 2rem 0 .65rem;
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  line-height: 1.3; letter-spacing: -.01em; font-weight: 700;
  scroll-margin-top: calc(var(--head-h) + 1rem);
  text-wrap: balance;
}

article p { margin: 0 0 1.15rem; }
article strong { font-weight: 680; color: var(--ink); }
article em { color: var(--ink-2); }

article ul, article ol { margin: 0 0 1.35rem; padding-left: 1.35rem; }
article li { margin-bottom: .55rem; }
article li::marker { color: var(--ink-3); }

article a { font-weight: 500; }

article code {
  font-family: var(--mono); font-size: .875em;
  padding: .12em .35em; border-radius: 5px;
  background: var(--surface-2); border: 1px solid var(--line);
}

.table-wrapper { max-width: 100%; overflow-x: auto; }

article table {
  width: 100%; margin: 0 0 1.6rem; border-collapse: collapse;
  font-size: .9375rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
article caption {
  caption-side: top; text-align: left; padding: 0 0 .6rem;
  font-size: .875rem; color: var(--ink-3); font-weight: 500;
}
article thead th {
  padding: .7rem .85rem; text-align: left; vertical-align: bottom;
  background: var(--surface-2); color: var(--ink-2);
  font-size: .8125rem; font-weight: 650; letter-spacing: .01em;
  border-bottom: 1px solid var(--line);
}
article tbody th, article tbody td {
  padding: .75rem .85rem; text-align: left; vertical-align: top;
  border-top: 1px solid var(--line);
}
article tbody tr:first-child th, article tbody tr:first-child td { border-top: 0; }
article tbody th[scope="row"] { font-weight: 650; color: var(--ink); }
article tbody tr:hover { background: var(--surface-2); }

article [data-block="lead"] {
  margin-bottom: 1.5rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  line-height: 1.6; color: var(--ink-2);
}
article [data-block="lead"] strong { color: var(--ink); font-weight: 620; }

article [data-block="answer"] {
  margin: 0 0 1.75rem; padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); line-height: 1.55;
}
article [data-block="answer"] strong { font-weight: 620; }

article [data-block="disclaimer"] {
  position: relative;
  margin: 0 0 1.75rem; padding: .9rem 1.1rem .9rem 2.9rem;
  background: var(--warn-soft); border: 1px solid var(--warn-line);
  border-radius: var(--radius-sm);
  font-size: .9375rem; line-height: 1.55; color: var(--ink-2);
}
article [data-block="disclaimer"]::before {
  content: "!"; position: absolute; left: 1rem; top: .95rem;
  display: grid; place-items: center; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: var(--warn); color: var(--warn-soft);
  font-size: .8125rem; font-weight: 800; line-height: 1;
}
article [data-block="disclaimer"] em { font-style: normal; color: var(--ink-2); }

article [data-block="ranking"] tbody th[scope="row"] { min-width: 11rem; }
article [data-block="ranking"] tbody tr td:last-child { color: var(--ink-2); white-space: nowrap; }

article [data-block="spec-table"] tbody th[scope="row"] {
  width: 42%; color: var(--ink-2); font-weight: 550;
  background: var(--surface-2);
}

article [data-block="checklist"] {
  list-style: none; padding-left: 0; display: grid; gap: .1rem;
}
article [data-block="checklist"] li {
  position: relative; padding: .1rem 0 .1rem 2rem; margin-bottom: .5rem;
}
article [data-block="checklist"] li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent-soft) no-repeat center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.8' fill='none' stroke='%234338ca' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: .8rem;
}
:root[data-theme="dark"] article [data-block="checklist"] li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.8' fill='none' stroke='%23a5b4fc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) article [data-block="checklist"] li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.8' fill='none' stroke='%23a5b4fc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

article [data-block="howto"] {
  list-style: none; padding-left: 0; counter-reset: step;
  display: grid; gap: .15rem;
}
article [data-block="howto"] li {
  position: relative; counter-increment: step;
  padding: .15rem 0 .15rem 2.6rem; margin-bottom: .85rem;
}
article [data-block="howto"] li::before {
  content: counter(step);
  position: absolute; left: 0; top: .1em;
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: .8125rem; font-weight: 700; line-height: 1;
}
article [data-block="howto"] li > strong:first-child { display: block; }

article [data-block="faq"] { margin: 2.75rem 0 0; }
article [data-block="faq"] > h2 { margin-top: 0; }
article [data-block="faq"] details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); margin-bottom: .6rem;
}
article [data-block="faq"] details[open] { border-color: var(--line-2); }
article [data-block="faq"] summary {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .9rem 1rem; cursor: pointer; list-style: none;
  font-weight: 620; color: var(--ink);
}
article [data-block="faq"] summary::-webkit-details-marker { display: none; }
article [data-block="faq"] summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: .35em;
  width: .55rem; height: .55rem;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .18s ease;
}
article [data-block="faq"] details[open] summary::after { transform: rotate(-135deg); }
article [data-block="faq"] summary h3 { margin: 0; font-size: 1.0625rem; font-weight: inherit; }
article [data-block="faq"] .faq-answer { padding: 0 1rem 1rem; }
article [data-block="faq"] .faq-answer p:last-child { margin-bottom: 0; }
article [data-block="faq"] .faq-answer p { color: var(--ink-2); }

article [data-block="sources"] {
  margin: 2.75rem 0 0; padding: 1.25rem 1.35rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); font-size: .9375rem;
}
article [data-block="sources"] > h2 {
  margin: 0 0 .6rem; font-size: 1.0625rem; letter-spacing: 0;
}
article [data-block="sources"] p { color: var(--ink-2); margin-bottom: .9rem; }
article [data-block="sources"] ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
article [data-block="sources"] li { margin: 0; }
article [data-block="sources"] a {
  display: inline-flex; align-items: baseline; gap: .4rem;
  word-break: break-word;
}
article [data-block="sources"] a::after {
  content: ""; flex: none; align-self: center;
  width: .7rem; height: .7rem; opacity: .65;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3h7v7M13 3L4 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3h7v7M13 3L4 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

article [data-block="contact-form"] {
  margin: 1.5rem 0; padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
article [data-block="contact-form"] p { margin: 0 0 1.1rem; }
article [data-block="contact-form"] label { font-weight: 550; font-size: .9375rem; color: var(--ink-2); }
article [data-block="contact-form"] input[type="text"],
article [data-block="contact-form"] input[type="email"],
article [data-block="contact-form"] input[type="url"],
article [data-block="contact-form"] textarea {
  width: 100%; margin-top: .4rem; padding: .65rem .8rem;
  font: inherit; font-size: .9375rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}
article [data-block="contact-form"] textarea { resize: vertical; min-height: 9rem; }
article [data-block="contact-form"] input:focus-visible,
article [data-block="contact-form"] textarea:focus-visible {
  border-color: var(--accent); outline-offset: 0;
}
article [data-block="contact-form"] input[type="checkbox"] {
  width: 1.1rem; height: 1.1rem; margin: .1rem .5rem 0 0;
  float: left; accent-color: var(--accent);
}
article [data-block="contact-form"] input[type="checkbox"] + label {
  display: block; overflow: hidden; font-size: .875rem; line-height: 1.5;
}
article [data-block="contact-form"] button[type="submit"] {
  padding: .7rem 1.4rem; border: 0; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 650; cursor: pointer;
}
article [data-block="contact-form"] button[type="submit"]:hover { background: var(--accent-hov); }
article [data-block="contact-form"] br { display: none; }

article th[data-prod] {
  display: flex; align-items: center; gap: .7rem;
}
article th[data-prod] img {
  order: -1; flex: none;
  width: 3.5rem; height: 3.5rem; object-fit: contain;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .2rem;
}

article th[data-prod] img[data-no-photo] {
  background: none; border-color: transparent; padding: 0; opacity: .75;
}

.block-toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font-size: .875rem;
}
.block-toc .block-title {
  padding: .8rem 1rem; cursor: pointer; list-style: none;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: .5rem;
}
.block-toc .block-title::-webkit-details-marker { display: none; }

.block-toc .block-title::after {
  content: ""; margin-left: auto;
  width: .5rem; height: .5rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease;
}
.toc-details[open] .block-title::after { transform: rotate(-135deg); }
.toc-items { margin: 0; padding: 0 .6rem .8rem; list-style: none; }
.toc-item { margin: 0; }
.toc-item-h3 { padding-left: .9rem; }
.toc-link {
  display: block; padding: .35rem .55rem; border-radius: 6px;
  color: var(--ink-2); text-decoration: none; line-height: 1.4;
  border-left: 2px solid transparent;
}
.toc-link:hover { background: var(--surface-2); color: var(--ink); }
.toc-link[aria-current="true"] {
  color: var(--accent); background: var(--accent-soft);
  border-left-color: var(--accent); font-weight: 600;
}
.toc-item-h3 .toc-link { font-size: .8125rem; color: var(--ink-3); }

.block-share {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: .8rem 1rem 1rem;
}
.block-share .block-title {
  margin: 0 0 .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
}
.share-items { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.share-action {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .6rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg);
  color: var(--ink-2); text-decoration: none; font-size: .8125rem; cursor: pointer;
}
.share-action:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); }
.share-action span { white-space: nowrap; }
.share-item-native[hidden] { display: none; }

.block-author {
  max-width: var(--col-text); margin: 3rem 0 0;
  padding: 1.35rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.block-author .block-title {
  margin: 0 0 .9rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
}
.block-author .block-content { display: flex; gap: 1rem; align-items: flex-start; }
.author-avatar {
  flex: none; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: .9375rem;
}
.author-name { margin: 0 0 .35rem; font-weight: 700; display: flex; flex-wrap: wrap; gap: .55rem; align-items: baseline; }
.author-role { font-weight: 400; font-size: .8125rem; color: var(--ink-3); }
.author-bio { margin: 0 0 .6rem; font-size: .9375rem; color: var(--ink-2); }
.author-links { margin: 0; display: flex; flex-wrap: wrap; gap: 1rem; font-size: .875rem; }

.related { margin: 3rem 0 0; }
.block.related .block-title { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; }
.product-items {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem; margin: 0; padding: 0; list-style: none;
}

.product-item { margin: 0; }
.product-item-info {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.product-item-info:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.product-item-photo { display: block; }
.product-item-link { color: inherit; text-decoration: none; }
.product-item-link:hover { color: var(--accent); }
.product-image-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.product-image-empty { display: block; background: linear-gradient(135deg, var(--surface-2), var(--accent-soft)); }
.product-item-details { display: block; padding: .9rem 1rem 1.1rem; }
.product-item-name { display: block; font-weight: 650; line-height: 1.35; margin-bottom: .35rem; }
.product-item-info:hover .product-item-name { color: var(--accent); }
.product-item-description {
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; font-size: .875rem; color: var(--ink-3); line-height: 1.5;
}

.block-credits {
  max-width: var(--col-text); margin: 2.5rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2);
}
.block-credits .block-title {
  margin: 0 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
}
.credits-items {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: .3rem; font-size: .8125rem; color: var(--ink-3);
}
.credits-items a { color: var(--ink-2); }

.block-topics { margin: 3.5rem 0 0; }
.block-topics .block-title { margin: 0 0 1.25rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -.015em; }
.topics-group { margin-bottom: 1.5rem; }
.topics-group-title {
  margin: 0 0 .65rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
}
.topics-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: .5rem; margin: 0; padding: 0; list-style: none;
}
.topics-link {
  display: block; padding: .7rem .9rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); text-decoration: none;
  color: var(--ink-2); font-size: .9375rem; font-weight: 500;
}
.topics-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.block-downloads {
  display: flex; gap: 1rem; align-items: flex-start;
  max-width: var(--col-text); margin: 2rem 0 0; padding: 1.35rem 1.5rem;
  background: var(--accent-soft); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.downloads-icon { flex: none; color: var(--accent); }
.block-downloads .block-title { margin: 0 0 .35rem; font-size: 1.0625rem; font-weight: 700; }
.downloads-desc { margin: 0 0 .8rem; font-size: .9375rem; color: var(--ink-2); }
.downloads-action {
  display: inline-block; padding: .6rem 1.15rem; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 650; font-size: .9375rem;
}
.downloads-action:hover { background: var(--accent-hov); color: var(--accent-ink); }
.downloads-note { margin: .7rem 0 0; font-size: .8125rem; color: var(--ink-3); }

.message {
  margin: 0 0 1.5rem; padding: .9rem 1.15rem;
  border: 1px solid var(--line); border-left-width: 3px;
  border-radius: var(--radius-sm); font-size: .9375rem;
}
.success  { border-left-color: var(--good); background: var(--surface-2); }
.error { border-left-color: var(--warn); background: var(--warn-soft); }

.cms-noroute-index .page-title-wrapper,
.cms-noroute { max-width: 34rem; margin: 0 auto; text-align: center; }
.cms-noroute-index .page-title-wrapper { padding: 4rem var(--pad) 0; }
.cms-noroute { padding: 0 var(--pad) 4rem; }
.noroute-code { font-size: 4rem; font-weight: 800; color: var(--accent); line-height: 1; margin: 0 0 .5rem; }
.cms-noroute-index .page-title { margin: 0 0 .75rem; font-size: 1.75rem; font-weight: 700; }
.cms-noroute p { margin: 0 0 1.75rem; color: var(--ink-2); }
.cms-noroute .action.primary {
  display: inline-block; padding: .7rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 650;
}

.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 50%;
  box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; transform: translateY(.5rem);
  transition: opacity .18s ease, transform .18s ease, color .18s ease;
}
.back-to-top[hidden] { display: none; }
.back-to-top[data-visible] { opacity: 1; transform: none; }
.back-to-top:hover { color: var(--accent); border-color: var(--accent); }

.page-footer {
  margin-top: 4rem; border-top: 1px solid var(--line);
  background: var(--surface); font-size: .9375rem;
}
.footer.content {
  max-width: 78rem; margin: 0 auto; padding: 3rem var(--pad) 2rem;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem;
}
.footer-tagline { margin: .75rem 0 0; color: var(--ink-3); font-size: .875rem; max-width: 20rem; }
.block-footer-links .block-title {
  margin: 0 0 .85rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
}
.block-footer-links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.block-footer-links a { color: var(--ink-2); text-decoration: none; }
.block-footer-links a:hover { color: var(--accent); text-decoration: underline; }
.block-footer-links a[aria-current="page"] { color: var(--accent); }

.footer-legal {
  max-width: 78rem; margin: 0 auto; padding: 1.5rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
}
.footer-disclaimer { margin: 0 0 .9rem; font-size: .8125rem; color: var(--ink-3); max-width: 52rem; }
.copyright {
  margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem;
  font-size: .8125rem; color: var(--ink-3);
}

@media (max-width: 63.99em) {
  .columns { grid-template-columns: minmax(0, 1fr); }

  .sidebar, .sidebar-sticky { display: contents; }
  .block-toc   { order: -1; margin-bottom: 1.5rem; }
  .block-share { order: 2; margin-top: 2rem; }

  article[data-page], .block-author, .block-downloads { max-width: none; }
}

@media (max-width: 51.99em) {
  .nav-sections {
    position: fixed; inset: var(--head-h) 0 auto; z-index: 40;
    margin: 0; padding: 1rem var(--pad) 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
    display: none;
  }
  .nav-sections[data-open] { display: block; }
  .navigation > ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  summary.level-top, a.level-top { padding: .7rem .5rem; font-size: 1rem; display: flex; align-items: center; }
  summary.level-top::after {
    content: ""; margin-left: auto;
    width: .5rem; height: .5rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }
  .level-top-toggle[open] summary.level-top::after { transform: rotate(-135deg); }
  .submenu {
    position: static; min-width: 0; border: 0; box-shadow: none;
    background: none; padding: 0 0 .5rem .75rem;
    border-left: 1px solid var(--line); margin-left: .5rem;
  }
  .nav-toggle { display: grid; margin-left: auto; order: 3; }
  .switcher-trigger { order: 2; }
  .footer.content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 40em) {
  article table, article thead, article tbody, article tr, article th, article td {
    display: block;
  }
  article thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  article table { border: 0; background: none; }
  article tbody tr {
    margin-bottom: .85rem; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
  }
  article tbody tr:hover { background: var(--surface); }
  article tbody th[scope="row"] {
    padding: .7rem .9rem; background: var(--surface-2);
    border: 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
  }
  article tbody td {
    display: flex; gap: 1rem; justify-content: space-between; align-items: baseline;
    padding: .55rem .9rem; border: 0; border-top: 1px solid var(--line);
    text-align: right;
  }
  article tbody td::before {
    content: attr(data-label);
    flex: none; text-align: left; color: var(--ink-3);
    font-size: .8125rem; font-weight: 550;
  }
  article tbody td:not([data-label]) { display: block; text-align: left; }
  article [data-block="spec-table"] tbody th[scope="row"] { width: auto; }
  article [data-block="ranking"] tbody tr td:last-child { white-space: normal; }

  .footer.content { grid-template-columns: 1fr; gap: 1.75rem; }
  .block-author .block-content { flex-direction: column; gap: .85rem; }
}
