/* Zitrix Digital — single stylesheet. Brand cues from zitrixnet.com: palette, gradient, Plus Jakarta Sans. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.52d04440a9fa.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  --ink: #0c0a12;
  --ink-raised: #14111c;
  --ink-high: #1c1826;
  --line: #2a2536;
  --line-strong: #3e374d;
  --text: #f5f3f8;
  --text-muted: #a8a1b5;

  --orange: #f59e0b;
  --pink: #ec4899;
  --purple: #a855f7;
  --gradient: linear-gradient(120deg, var(--orange) 0%, var(--pink) 52%, var(--purple) 100%);
  --focus: #f9a8d4;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 9vw, 7.5rem);
  --header-height: 4.5rem;

  --radius-panel: 1.5rem;
  --radius-card: 1.25rem;
  --radius-small: 0.75rem;
  --radius-pill: 999px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: currentColor;
}

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

main:focus {
  outline: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-small);
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.muted {
  color: var(--text-muted);
}

.lead {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.55;
}

.text-link {
  font-weight: 650;
  color: var(--text);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, filter 160ms ease;
}

.button--primary {
  background: var(--gradient);
  color: var(--ink);
}

.button--primary:hover {
  filter: brightness(1.08);
}

.button--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.button--ghost:hover {
  border-color: var(--text-muted);
  background: var(--ink-high);
}

.button--large {
  min-height: 3.25rem;
  padding-inline: 1.6rem;
  font-size: 1rem;
}

.button--block {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(12 10 18 / 0.94);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 2.25rem;
}

.brand__name {
  padding-left: 0.7rem;
  border-left: 1px solid var(--line-strong);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav__links,
.lang-switch {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links {
  gap: 1.75rem;
}

.site-nav__links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--text);
}

.lang-switch {
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.lang-switch li + li::before {
  content: "/";
  margin-right: 0.25rem;
  color: var(--line-strong);
}

.lang-switch a {
  padding: 0.25rem 0.2rem;
  color: var(--text-muted);
  text-decoration: none;
}

.lang-switch a[aria-current="true"] {
  color: var(--text);
}

@media (max-width: 959px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-toggle__icon,
  .nav-toggle__icon::before {
    display: block;
    width: 1rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 160ms ease;
  }

  .nav-toggle__icon {
    position: relative;
    transform: translateY(-3px);
  }

  .nav-toggle__icon::before {
    content: "";
    position: absolute;
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    transform: translateY(0) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
    top: 0;
    transform: rotate(-90deg);
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
    padding-block: 1rem 1.5rem;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__links a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }

  .lang-switch a {
    display: inline-block;
    padding: 0.5rem 0.4rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-space);
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 1.25rem;
}

.product-grid > li {
  display: flex;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink-raised);
  transition: border-color 160ms ease;
}

.product-card:hover {
  border-color: var(--line-strong);
}

.product-card:has(a:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.product-card__media {
  aspect-ratio: 16 / 10;
  background: var(--ink-high);
  border-bottom: 1px solid var(--line);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  background:
    linear-gradient(120deg, rgb(245 158 11 / 0.1), rgb(236 72 153 / 0.08) 50%, rgb(168 85 247 / 0.14)),
    var(--ink-high);
}

.product-card__placeholder span {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.35rem 1.4rem 1.4rem;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.product-card__category {
  color: var(--text-muted);
  font-weight: 600;
}

.product-card__title {
  font-size: 1.3125rem;
  font-weight: 750;
}

.product-card__title a {
  text-decoration: none;
}

.product-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.product-card__title a:focus-visible {
  outline: none;
}

.product-card__summary {
  color: var(--text-muted);
  font-size: 0.9688rem;
  line-height: 1.55;
}

.product-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.product-card__price {
  font-weight: 700;
}

.product-card__cta {
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25em;
}

.product-card:hover .product-card__cta {
  text-decoration-color: currentColor;
}

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.badge--beta {
  border-color: rgb(245 158 11 / 0.45);
  background: rgb(245 158 11 / 0.1);
  color: #fcd34d;
}

.badge--coming_soon {
  border-color: rgb(168 85 247 / 0.5);
  background: rgb(168 85 247 / 0.12);
  color: #d8b4fe;
}

.badge--unlisted {
  border-color: var(--line-strong);
  background: var(--ink-high);
  color: var(--text-muted);
}

/* ---------- Empty state ---------- */

.empty-state {
  padding: clamp(2rem, 6vw, 3.5rem);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-panel);
  text-align: center;
}

.empty-state__title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 700;
}

.empty-state__text {
  color: var(--text-muted);
}

/* ---------- Inner pages ---------- */

.page {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-space);
}

.page-intro {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.page-title {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.status-page {
  min-height: 50vh;
}

.status-page .lead {
  margin-bottom: 2rem;
}

.filter {
  margin-bottom: 2rem;
}

.filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.filter a:hover {
  color: var(--text);
}

.filter a[aria-current="page"] {
  border-color: var(--text);
  color: var(--text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination__status {
  color: var(--text-muted);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin: 2.5rem 0 0.85rem;
  font-size: 1.375rem;
}

.prose h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.125rem;
}

.prose > :first-child,
.prose > section:first-child > h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  color: var(--text);
}

.support-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .support-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }

  .support-contact {
    order: 2;
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }
}

.support-contact {
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--ink-raised);
}

.support-contact h2 {
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.support-contact p {
  color: var(--text-muted);
}

.support-contact .button {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ---------- Product detail ---------- */

.preview-banner {
  padding-block: 0.75rem;
  border-bottom: 1px solid rgb(245 158 11 / 0.4);
  background: rgb(245 158 11 / 0.12);
  color: #fde68a;
  font-size: 0.9375rem;
  font-weight: 600;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--text-muted);
}

/* Mobile order: header, purchase panel, body. Desktop: purchase panel in a sticky side column. */
.product__layout {
  display: grid;
  grid-template-areas:
    "header"
    "purchase"
    "body";
  gap: 2rem;
  align-items: start;
}

.product__header {
  grid-area: header;
}

.product__body {
  grid-area: body;
  min-width: 0;
}

.product__body > :first-child {
  margin-top: 0;
}

@media (min-width: 960px) {
  .product__body {
    padding-top: 2.5rem;
  }
}

.purchase {
  grid-area: purchase;
}

@media (min-width: 960px) {
  .product__layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "header purchase"
      "body purchase";
    column-gap: 4rem;
    row-gap: 0;
  }

  .purchase {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }
}

.product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.product__category {
  color: var(--text-muted);
  font-weight: 600;
}

.product__title {
  margin-bottom: 0.75rem;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.product__tagline {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 650;
  line-height: 1.35;
}

/* The main image sits beside the product intro and takes its height. */
.product__header--with-image {
  display: grid;
  gap: 1.25rem;
}

.product__image {
  width: 7.5rem;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink-high);
}

.product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .product__header--with-image {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1.25rem, 3vw, 2rem);
  }

  /* Square tile whose height follows the intro; min-width is a fallback for engines that can't size it. */
  .product__image {
    position: relative;
    width: auto;
    height: 100%;
    min-width: 9rem;
    aspect-ratio: 1 / 1;
  }

  .product__image img {
    position: absolute;
    inset: 0;
  }

  .product__header--with-image .product__intro {
    align-self: center;
  }
}

.product__section {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.product__section-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 750;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
  gap: 0.75rem;
}

.gallery__item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--ink-high);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  width: min(100% - 2rem, 70rem);
  max-height: calc(100vh - 2rem);
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background: var(--ink-raised);
  color: var(--text);
}

.lightbox::backdrop {
  background: rgb(5 4 8 / 0.82);
}

.lightbox form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.lightbox__image {
  width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  border-radius: var(--radius-small);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink-raised);
}

.feature__title {
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
}

.feature__text {
  color: var(--text-muted);
  font-size: 0.9688rem;
}

.check-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.9rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0.2rem;
  width: 0.8rem;
  height: 0.45rem;
  border-bottom: 2px solid var(--pink);
  border-left: 2px solid var(--pink);
  transform: rotate(-45deg);
}

.purchase {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background: var(--ink-raised);
}

.purchase__price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.purchase__note {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.purchase__state {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-small);
  background: var(--ink-high);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.platforms__title {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}

.platforms__list {
  display: grid;
  gap: 0.5rem;
}

.platforms__note {
  margin-top: 0.75rem;
}

.purchase__details {
  margin: 0.5rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.9063rem;
}

.purchase__details > div {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.purchase__details > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.purchase__details dt {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.purchase__details dd {
  margin: 0.1rem 0 0;
  overflow-wrap: anywhere;
}

/* ---------- Legal ---------- */

.legal__header {
  max-width: 44rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal__updated {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .legal__layout {
    grid-template-columns: 16rem minmax(0, 44rem);
    gap: 4rem;
  }

  .legal__toc {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    max-height: calc(100vh - var(--header-height) - 3rem);
    overflow-y: auto;
  }
}

@media (min-width: 1100px) {
  .legal__layout--single {
    grid-template-columns: minmax(0, 44rem);
  }
}

.legal__product {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 650;
}

.legal__product a {
  color: var(--text-muted);
}

.support-contact .support-contact__company {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.product__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
}

.legal__toc {
  font-size: 0.875rem;
}

.legal__toc-title {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.legal__toc ol {
  margin: 0;
  padding-left: 1.4rem;
  color: var(--text-muted);
}

.legal__toc li {
  padding-block: 0.2rem;
}

.legal__toc a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal__toc a:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal-company {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--line-strong);
  color: var(--text);
}

.legal__body {
  color: #d9d4e1;
}

.legal__body h2 {
  color: var(--text);
}

.legal__related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.legal__related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.legal__related a {
  color: var(--text-muted);
}

.legal__related a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.legal__toc summary {
  cursor: pointer;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--ink-raised);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.site-footer__brand p {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.site-footer__brand a[href^="mailto:"] {
  color: var(--text);
  overflow-wrap: anywhere;
}

.site-footer__nav ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer__company {
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer__company strong {
  color: var(--text);
}

.site-footer__copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
