/* ==========================================================================
   QuickQ · "Signal" public site theme
   A light editorial system: paper, cobalt, lime, ink.
   Loaded by public pages and generated article pages only.
   ========================================================================== */

:root {
  --paper: #f4f1e8;
  --paper-2: #ece8dc;
  --surface: #fffef8;
  --surface-2: #f8f7f0;
  --ink: #0a1821;
  --ink-2: #1b2b34;
  --muted: #58656b;
  --muted-2: #7b878b;
  --blue: #1f46ff;
  --blue-deep: #1532c9;
  --blue-soft: #e8ecff;
  --lime: #d9ff54;
  --lime-soft: #efffc0;
  --line: #d7d3c5;
  --line-strong: #0a1821;
  --white: #fffef8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-hard: 9px 9px 0 var(--blue);
  --shadow-soft: 0 18px 50px rgba(10, 24, 33, 0.08);
  --container: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
::selection { color: var(--ink); background: var(--lime); }

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

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

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

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--ink); background: var(--lime); }

.toast {
  position: fixed;
  z-index: 220;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h2 { font-size: clamp(34px, 4vw, 50px); }
h3 { font-size: 21px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.kicker::before {
  width: 8px;
  height: 8px;
  background: var(--blue);
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
  transition: color .2s ease, border-color .2s ease;
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }

.meta-dot {
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--muted-2);
  border-radius: 50%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 20px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  color: var(--paper);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--primary:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn--ghost { color: var(--ink); background: transparent; border-color: var(--ink); }
.btn--ghost:hover { color: var(--paper); background: var(--ink); }

.btn--sm { min-height: 34px; padding: 7px 13px; font-size: 11.5px; }
.btn--lg { min-height: 50px; padding: 13px 25px; font-size: 14px; }

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

.site-header {
  position: sticky;
  z-index: 120;
  top: 0;
  background: rgba(244, 241, 232, .93);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(10, 24, 33, .08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand__icon {
  width: 39px;
  height: 39px;
  border-radius: 3px;
  object-fit: cover;
}
.brand__copy { display: flex; flex-direction: column; gap: 1px; }
.brand__copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.brand__copy small {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .055em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.main-nav > a:not(.btn) {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.main-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav > a:not(.btn):hover::after,
.main-nav > a.is-active::after { transform: scaleX(1); }
.main-nav > a.is-active { color: var(--blue); }
.nav-divider { width: 1px; height: 23px; background: var(--line); }
.main-nav .btn--primary { color: var(--paper); background: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--blue); }
.main-nav .btn--primary:hover { color: var(--ink); background: var(--lime); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span { width: 17px; height: 1.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.q-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  background:
    linear-gradient(90deg, rgba(31, 70, 255, .055) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(31, 70, 255, .055) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
  border-bottom: 1px solid var(--ink);
}
.q-hero::before {
  position: absolute;
  top: 32px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: var(--lime);
  border-radius: 50%;
  content: "";
  opacity: .5;
  pointer-events: none;
}
.q-hero::after {
  position: absolute;
  z-index: 0;
  top: 44px;
  left: 34px;
  color: var(--blue);
  content: "SIGNAL / 2026";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}
.q-hero > .container { position: relative; z-index: 1; }

.q-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  min-height: 600px;
}

.q-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.q-eyebrow i { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }

.q-hero h1 {
  max-width: 720px;
  margin: 21px 0 24px;
  color: var(--ink);
  font-size: clamp(56px, 7.2vw, 96px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.075em;
}
.q-hero h1 span {
  display: inline-block;
  color: var(--blue);
  background: linear-gradient(transparent 66%, var(--lime) 66%);
  padding: 0 .04em;
}

.q-hero__lead {
  max-width: 575px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.8;
}

.q-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}
.q-hero__actions .btn--primary { color: var(--ink); background: var(--lime); border-color: var(--ink); box-shadow: 5px 5px 0 var(--blue); }
.q-hero__actions .btn--primary:hover { color: var(--paper); background: var(--blue); box-shadow: 2px 2px 0 var(--ink); }

.q-hero__points {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin-top: 33px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.q-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.q-hero__points svg { width: 12px; height: 12px; color: var(--blue); }

.q-console-wrap {
  position: relative;
  max-width: 560px;
  margin-left: auto;
}
.q-console-wrap::before {
  position: absolute;
  z-index: 0;
  right: -26px;
  bottom: 28px;
  width: 92%;
  height: 78%;
  background: var(--blue);
  content: "";
}
.q-console {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-hard);
}
.q-console__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.q-console__brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.q-console__brand img { width: 23px; height: 23px; border-radius: 2px; }
.q-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  font-size: 9.5px;
  font-weight: 800;
}
.q-status i { width: 5px; height: 5px; background: var(--ink); border-radius: 50%; }
.q-console__main {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 20px;
}
.q-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 142px;
  padding: 12px;
  text-align: center;
  background: var(--blue-soft);
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.q-meter strong { display: block; color: var(--blue); font-size: 31px; line-height: 1; letter-spacing: -.05em; }
.q-meter span { display: block; margin-top: 7px; color: var(--muted); font-size: 9.5px; }
.q-node-list { display: grid; gap: 8px; }
.q-node {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 41px;
  padding: 7px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.q-node > i { width: 6px; height: 6px; background: var(--muted-2); border-radius: 50%; }
.q-node > span { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--ink-2); font-size: 10px; font-weight: 700; }
.q-node em { display: block; width: 100%; height: 2px; overflow: hidden; background: var(--line); }
.q-node em::after { display: block; width: var(--w, 70%); height: 100%; background: var(--blue); content: ""; }
.q-node small { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.q-node--best { background: var(--lime-soft); border-color: var(--ink); }
.q-node--best > i { background: var(--blue); }
.q-console__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
}
.q-console__bottom strong { color: var(--ink); }
.q-console-note {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 9.5px;
  text-align: right;
}

.q-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 61px;
  border-top: 1.5px solid var(--ink);
}
.q-stat { padding: 23px 22px 27px; border-right: 1px solid var(--line); }
.q-stat:first-child { padding-left: 0; }
.q-stat:last-child { border-right: 0; }
.q-stat strong { display: block; color: var(--ink); font-size: 27px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.q-stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 10.5px; }

/* --------------------------------------------------------------------------
   Shared section
   -------------------------------------------------------------------------- */

.section { padding: 96px 0; background: var(--paper); }
.section--tint { background: var(--blue-soft); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { margin-top: 11px; }
.section-head p { max-width: 660px; margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}
.section-head--row > div { max-width: 760px; }
.section-head--row .text-link { flex: 0 0 auto; margin-bottom: 4px; }

/* --------------------------------------------------------------------------
   Feature bento
   -------------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  position: relative;
  display: flex;
  min-height: 242px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 7px 7px 0 var(--blue); }
.feature-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 27px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 8px;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 { margin-bottom: 8px; font-size: 21px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.feature-card--wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: 20px;
  min-height: 300px;
  padding: 35px;
  color: var(--paper);
  background: var(--blue);
  border-color: var(--ink);
}
.feature-card--wide:hover { box-shadow: 7px 7px 0 var(--ink); }
.feature-card--wide .feature-icon { color: var(--ink); background: var(--lime); }
.feature-card--wide h3 { color: var(--paper); font-size: 34px; }
.feature-card--wide p { max-width: 380px; color: #dfe4ff; font-size: 13.5px; }
.feature-card--wide .feature-note { color: var(--lime); }
.feature-card__content { position: relative; z-index: 1; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; padding-left: 0; list-style: none; }
.feature-tags li {
  padding: 4px 8px;
  color: var(--paper);
  border: 1px solid rgba(255, 254, 248, .4);
  font-size: 9px;
  font-weight: 700;
}
.feature-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 21px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}
.feature-note svg { width: 13px; height: 13px; }
.feature-card--wide .feature-note { margin-top: 23px; }
.q-feature-wide { overflow: hidden; }
.q-mesh { width: 100%; max-width: 270px; margin-left: auto; opacity: .95; }
.q-mesh svg { width: 100%; height: auto; }
.feature-card--cta {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 28px;
  min-height: 242px;
  color: var(--ink);
  background: var(--lime);
}
.feature-card--cta:hover { box-shadow: 7px 7px 0 var(--ink); }
.feature-card--cta h3 { color: var(--ink); font-size: 30px; }
.feature-card--cta p { max-width: 380px; color: #45562f; }
.feature-card--cta .feature-note { color: var(--ink); }
.feature-card--cta .btn { align-self: flex-start; color: var(--paper); background: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--blue); }
.feature-card--cta .btn:hover { color: var(--ink); background: var(--paper); }
.cta-orbit { position: relative; display: grid; width: 132px; height: 132px; justify-self: end; place-items: center; }
.cta-orbit__ring { position: absolute; inset: 0; border: 1px solid rgba(10, 24, 33, .25); border-radius: 50%; }
.cta-orbit__ring--two { inset: 21px; border-color: rgba(10, 24, 33, .3); }
.cta-orbit img { position: relative; width: 54px; height: 54px; border-radius: 3px; }

/* --------------------------------------------------------------------------
   Platform strip / steps / scenes / CTA
   -------------------------------------------------------------------------- */

.q-platform-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.q-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 79px;
  padding: 15px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.q-platform:hover { color: var(--paper); background: var(--blue); box-shadow: 4px 4px 0 var(--ink); transform: translateY(-2px); }
.q-platform__icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 7px; }
.q-platform__icon svg { width: 20px; height: 20px; }
.q-platform:hover .q-platform__icon { color: var(--ink); background: var(--lime); }
.q-platform strong { display: block; color: inherit; font-size: 13px; font-weight: 800; line-height: 1.2; }
.q-platform small { display: block; margin-top: 3px; color: var(--muted); font-size: 9.5px; }
.q-platform:hover small { color: #dfe4ff; }

.q-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; border-top: 1.5px solid var(--ink); }
.q-step { position: relative; counter-increment: step; padding: 26px 30px 0 0; }
.q-step + .q-step { padding-left: 30px; border-left: 1px solid var(--line); }
.q-step::before {
  display: block;
  margin-bottom: 25px;
  color: var(--blue);
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.q-step h3 { margin-bottom: 9px; font-size: 20px; }
.q-step p { max-width: 300px; color: var(--muted); font-size: 13px; line-height: 1.75; }

.q-scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.q-scene {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 25px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.q-scene:hover { background: var(--lime); box-shadow: 5px 5px 0 var(--ink); transform: translateY(-3px); }
.q-scene__icon { display: grid; width: 41px; height: 41px; margin-bottom: 37px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 8px; }
.q-scene__icon svg { width: 20px; height: 20px; }
.q-scene h3 { margin-bottom: 8px; font-size: 20px; }
.q-scene p { max-width: 230px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.q-scene__tag { margin-top: auto; padding-top: 20px; color: var(--blue); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 56px clamp(28px, 6vw, 68px);
  color: var(--paper);
  background: var(--blue);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
}
.cta-band::before {
  position: absolute;
  top: -145px;
  right: -70px;
  width: 390px;
  height: 390px;
  background: var(--lime);
  border-radius: 50%;
  content: "";
  opacity: .9;
}
.cta-band::after {
  position: absolute;
  top: 35px;
  right: 86px;
  width: 93px;
  height: 93px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "";
  opacity: .35;
}
.cta-band__content { position: relative; z-index: 1; max-width: 650px; }
.cta-band .eyebrow { color: var(--ink); background: var(--lime); border-color: var(--ink); }
.cta-band .eyebrow__dot { background: var(--blue); }
.cta-band h2 { max-width: 540px; margin-top: 18px; color: var(--paper); font-size: clamp(37px, 4.5vw, 56px); }
.cta-band p { max-width: 450px; margin-top: 17px; color: #dfe4ff; font-size: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta-band .btn--primary { color: var(--ink); background: var(--lime); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.cta-band .btn--primary:hover { color: var(--paper); background: var(--blue-deep); }
.cta-band .btn--ghost { color: var(--paper); border-color: rgba(255, 254, 248, .6); }
.cta-band .btn--ghost:hover { color: var(--ink); background: var(--paper); border-color: var(--ink); }
.q-legal { max-width: 880px; margin: 22px auto 0; color: var(--muted); font-size: 11px; line-height: 1.8; text-align: center; }

/* --------------------------------------------------------------------------
   Article cards and shared article grid
   -------------------------------------------------------------------------- */

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 7px 7px 0 var(--blue); }
.post-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1200 / 675; background: var(--blue-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
}
.post-card__body { display: flex; min-height: 240px; flex-direction: column; padding: 19px 20px 16px; }
.post-card__meta { display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-family: var(--mono); font-size: 9px; }
.post-card h3 { margin: 11px 0 8px; font-size: 19px; line-height: 1.35; }
.post-card h3 a { transition: color .2s ease; }
.post-card h3 a:hover { color: var(--blue); }
.post-card__desc { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.post-card__read { color: var(--muted-2); font-size: 9.5px; }
.post-card__more { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 10px; font-weight: 800; }
.post-card__more svg { width: 13px; height: 13px; transition: transform .2s ease; }
.post-card__more:hover svg { transform: translateX(3px); }
.articles-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.articles-footer strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Page hero / breadcrumbs
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 35px 0 65px;
  background:
    linear-gradient(90deg, rgba(31, 70, 255, .055) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(31, 70, 255, .055) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
  border-bottom: 1px solid var(--ink);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 20px 0 17px; font-size: clamp(44px, 5.8vw, 70px); line-height: 1.03; }
.page-hero__lead { max-width: 720px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 10.5px; }
.breadcrumbs svg { width: 11px; height: 11px; color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span { color: var(--ink); }

.download-hero__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.download-hero__meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.download-hero__meta svg { width: 13px; height: 13px; color: var(--blue); }

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */

.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.platform-card {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 25px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--blue); }
.platform-icon { display: grid; width: 45px; height: 45px; margin-bottom: 25px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 8px; }
.platform-icon svg { width: 23px; height: 23px; }
.platform-card h2 { position: relative; z-index: 1; margin-bottom: 4px; font-size: 19px; }
.platform-card__version { margin-bottom: 16px; color: var(--blue); font-family: var(--mono); font-size: 9.5px; }
.platform-card p { margin-bottom: 20px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.platform-card .btn { width: 100%; margin-top: auto; }
.platform-card::after { display: none; }

.install-guide { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 60px; }
.install-guide__intro h2 { margin: 11px 0 12px; }
.install-guide__intro > p { color: var(--muted); font-size: 13.5px; }
.guide-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; padding: 11px 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); font-size: 11px; line-height: 1.7; }
.guide-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: var(--blue); }

.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; counter-increment: step; padding: 23px 0 25px 50px; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--paper);
  background: var(--blue);
  content: counter(step);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.step:first-child::before { top: 0; }
.step h3 { margin-bottom: 6px; font-size: 17px; }
.step p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }

.requirements { overflow: hidden; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); }
.requirements__head { padding: 19px 22px; border-bottom: 1px solid var(--line); }
.requirements__head h3 { font-size: 16px; }
.requirements table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.requirements th, .requirements td { padding: 13px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.requirements th { width: 30%; color: var(--ink); font-weight: 800; white-space: nowrap; }
.requirements td { color: var(--muted); }
.requirements tr:last-child th, .requirements tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 55px; }
.faq-intro h2 { margin: 11px 0 13px; }
.faq-intro p { max-width: 370px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.faq-intro .text-link { margin-top: 20px; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 20px 36px 20px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  position: absolute;
  top: 19px;
  right: 2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  content: "+";
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; background: var(--blue); color: var(--paper); }
.faq-item__answer { padding: 0 38px 20px 0; color: var(--muted); font-size: 12.5px; line-height: 1.85; }
.faq-item__answer p { margin: 0; }

/* --------------------------------------------------------------------------
   Help centre
   -------------------------------------------------------------------------- */

.help-hero__search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(660px, 100%);
  margin-top: 27px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
}
.help-hero__search > svg { width: 19px; height: 19px; margin-left: 16px; color: var(--blue); flex: 0 0 auto; }
.help-search { width: 100%; min-width: 0; height: 54px; padding: 0 14px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 14px; }
.help-search::placeholder { color: var(--muted-2); }
.help-search__hint { flex: 0 0 auto; margin-right: 14px; padding: 3px 6px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); font-family: var(--mono); font-size: 8.5px; white-space: nowrap; }

.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 298px; align-items: start; gap: 29px; }
.help-main { min-width: 0; }
.help-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 2px; font-size: 10.5px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.filter-pill span { display: inline-grid; min-width: 17px; height: 17px; place-items: center; color: var(--muted); background: var(--paper); border: 1px solid var(--line); font-family: var(--mono); font-size: 8px; }
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.is-active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filter-pill.is-active span { color: var(--ink); background: var(--lime); border-color: var(--ink); }
.help-result-count { flex: 0 0 auto; color: var(--muted); font-size: 10px; }
.help-result-count strong { color: var(--blue); }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.help-empty { padding: 50px 20px; text-align: center; background: var(--surface); border: 1.5px dashed var(--line); }
.help-empty h3 { margin-bottom: 7px; font-size: 19px; }
.help-empty p { color: var(--muted); font-size: 12px; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; }
.page-btn { min-height: 32px; padding: 5px 10px; color: var(--ink); background: transparent; border: 1px solid var(--line); font-size: 10px; cursor: pointer; }
.page-btn:hover { border-color: var(--ink); }
.page-btn.is-current { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-ellipsis { padding: 0 4px; color: var(--muted); font-size: 10px; }

.help-aside { position: sticky; top: 98px; display: grid; gap: 13px; }
.side-card { padding: 21px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); }
.side-card h2 { margin-bottom: 15px; font-size: 15px; letter-spacing: -.02em; }
.side-links { display: grid; gap: 0; list-style: none; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 11.5px; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--blue); }
.side-links svg { width: 13px; height: 13px; }
.side-card--accent { color: var(--ink); background: var(--lime); }
.side-card--accent p { margin-bottom: 14px; color: #45562f; font-size: 11.5px; line-height: 1.7; }
.side-card--accent .btn { color: var(--paper); background: var(--ink); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Links page
   -------------------------------------------------------------------------- */

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.resource-card { display: flex; min-height: 210px; flex-direction: column; padding: 22px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.resource-card:hover { background: var(--lime); box-shadow: 5px 5px 0 var(--ink); transform: translateY(-3px); }
.resource-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.resource-card__icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 7px; }
.resource-card:hover .resource-card__icon { color: var(--ink); background: var(--paper); }
.resource-card__icon svg { width: 19px; height: 19px; }
.resource-card__badge { padding: 3px 6px; color: var(--blue); border: 1px solid var(--blue); font-family: var(--mono); font-size: 8px; }
.resource-card h3 { margin: 25px 0 6px; font-size: 18px; }
.resource-card p { max-width: 250px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.resource-card__more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 18px; color: var(--blue); font-size: 10px; font-weight: 800; }
.resource-card:hover .resource-card__more { color: var(--ink); }
.resource-card__more svg { width: 13px; height: 13px; }
.resource-grid--external .resource-card { min-height: 170px; }
.links-note { grid-column: 1 / -1; padding: 26px; color: var(--muted); background: rgba(255, 254, 248, .55); border: 1px dashed var(--line); font-size: 12px; text-align: center; }
.links-external-badge { padding: 4px 8px; color: var(--blue); border: 1px solid var(--blue); font-family: var(--mono); font-size: 8.5px; white-space: nowrap; }
.link-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.link-article { display: flex; min-height: 105px; flex-direction: column; justify-content: space-between; padding: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease, transform .2s ease; }
.link-article:hover { border-color: var(--ink); transform: translateY(-2px); }
.link-article h3 { font-size: 14px; line-height: 1.45; }
.link-article__meta { display: flex; gap: 8px; margin-top: 17px; color: var(--muted); font-family: var(--mono); font-size: 8.5px; }

/* --------------------------------------------------------------------------
   Article page
   -------------------------------------------------------------------------- */

.reading-progress { position: fixed; z-index: 210; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.reading-progress__bar { width: 0; height: 100%; background: var(--blue); }
.article-hero { position: relative; padding: 37px 0 45px; background: linear-gradient(90deg, rgba(31,70,255,.05) 1px, transparent 1px) 0 0 / 64px 64px, var(--paper); border-bottom: 1px solid var(--line); }
.article-hero__inner { position: relative; }
.article-category { display: inline-block; margin-top: 25px; padding: 5px 9px; color: var(--ink); background: var(--lime); border: 1px solid var(--ink); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.article-hero h1 { max-width: 1000px; margin: 15px 0 16px; font-size: clamp(36px, 4.7vw, 56px); line-height: 1.12; }
.article-hero__lead { max-width: 820px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 22px; color: var(--muted); font-size: 10px; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta svg { width: 13px; height: 13px; color: var(--blue); }
.article-meta__author { color: var(--ink); font-weight: 800; }
.article-meta__dot { width: 3px; height: 3px; background: var(--line); border-radius: 50%; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 42px; padding-top: 42px; padding-bottom: 70px; }
.article-main { min-width: 0; }
.article-cover { overflow: hidden; margin: 0 0 38px; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.article-cover img { width: 100%; height: auto; }
.prose { max-width: 810px; color: var(--ink-2); font-size: 15.5px; line-height: 1.95; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 42px; padding-top: 22px; color: var(--ink); border-top: 1px solid var(--line); font-size: 29px; line-height: 1.25; }
.prose h3 { margin-top: 30px; color: var(--ink); font-size: 20px; }
.prose p { margin: 0; }
.prose ul, .prose ol { display: grid; gap: 7px; padding-left: 22px; }
.prose li { padding-left: 3px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 27px 0; padding: 17px 20px; color: var(--ink); background: var(--lime-soft); border-left: 4px solid var(--blue); font-size: 14px; }
.prose code { padding: 2px 5px; color: var(--blue-deep); background: var(--blue-soft); font-family: var(--mono); font-size: .86em; }
.prose pre { overflow-x: auto; padding: 18px; color: var(--paper); background: var(--ink); font-family: var(--mono); font-size: 12px; line-height: 1.7; }
.prose pre code { padding: 0; color: inherit; background: transparent; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; }
.prose th, .prose td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface); }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-tags > span { margin-right: 2px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.article-tags a { padding: 4px 8px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); font-size: 9.5px; }
.article-tags a:hover { color: var(--paper); background: var(--blue); border-color: var(--blue); }
.article-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-end p { color: var(--muted); font-size: 10px; }
.article-end__actions { display: flex; flex-wrap: wrap; gap: 7px; }
.copy-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: var(--ink-2); background: transparent; border: 1px solid var(--line); font-size: 9px; cursor: pointer; }
.copy-link:hover { color: var(--blue); border-color: var(--blue); }
.copy-link svg { width: 12px; height: 12px; }

.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 31px; padding: 27px; color: var(--paper); background: var(--blue); border-radius: var(--radius); }
.article-cta h2 { margin-bottom: 6px; color: var(--paper); font-size: 25px; }
.article-cta p { color: #dfe4ff; font-size: 11.5px; }
.article-cta .btn { flex: 0 0 auto; color: var(--ink); background: var(--lime); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }

.article-sidebar { position: sticky; top: 98px; display: grid; gap: 13px; }
.toc-card, .related-card { padding: 20px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); }
.toc-card h2, .related-card h2 { margin-bottom: 13px; font-size: 14px; }
.toc { display: grid; gap: 3px; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 6px 0; color: var(--muted); font-size: 10px; line-height: 1.5; border-bottom: 1px solid transparent; }
.toc a::before { color: var(--blue); content: "0" counter(toc); font-family: var(--mono); font-size: 8px; line-height: 1.8; }
.toc a:hover { color: var(--ink); border-color: var(--line); }
.related-list { display: grid; gap: 0; padding: 0; list-style: none; }
.related-list a { display: block; padding: 10px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 10.5px; line-height: 1.6; }
.related-list li:last-child a { border-bottom: 0; }
.related-list a:hover { color: var(--blue); }
.related-list a span { display: block; margin-top: 4px; color: var(--muted-2); font-family: var(--mono); font-size: 8px; }
.sidebar-help { padding: 21px; color: var(--ink); background: var(--lime); border: 1.5px solid var(--ink); border-radius: var(--radius); }
.sidebar-help p { margin-bottom: 14px; color: #45562f; font-size: 11px; line-height: 1.7; }
.sidebar-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 800; }
.sidebar-help svg { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page { display: grid; min-height: 58vh; padding: 80px 0; place-items: center; text-align: center; }
.error-page .error-code { margin-bottom: 30px; color: var(--blue); font-family: var(--mono); font-size: clamp(92px, 16vw, 190px); font-weight: 800; line-height: .78; letter-spacing: -.09em; }
.error-page h1 { font-size: clamp(30px, 4vw, 46px); }
.error-page p { max-width: 480px; margin: 13px auto 0; color: var(--muted); font-size: 13px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 27px; }

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

.site-footer { color: var(--paper); background: var(--ink); border-top: 1.5px solid var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.8fr .8fr .8fr .9fr; gap: 38px; padding: 58px 0 42px; }
.footer-brand p { max-width: 340px; margin: 17px 0 18px; color: #aab5b6; font-size: 11.5px; line-height: 1.85; }
.footer-brand .brand__copy strong { color: var(--paper); }
.footer-brand .brand__copy small { color: #839092; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: var(--lime); border: 1px solid #3a484c; font-size: 9px; }
.footer-badge svg { width: 12px; height: 12px; }
.footer-col h2 { margin-bottom: 13px; color: var(--paper); font-size: 12px; }
.footer-col a { display: block; width: fit-content; margin: 8px 0; color: #aab5b6; font-size: 11px; }
.footer-col a:hover { color: var(--lime); }
.footer-friend { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; padding: 13px 0; border-top: 1px solid #2a393e; border-bottom: 1px solid #2a393e; }
.footer-friend__label { color: var(--lime); font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; }
.footer-friend a { color: #aab5b6; font-size: 10px; }
.footer-friend a:hover { color: var(--paper); }
.footer-friend a.is-external::after { margin-left: 3px; color: var(--lime); content: "↗"; font-size: 9px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0 20px; color: #7c898b; font-size: 9.5px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a:hover { color: var(--paper); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

section[id], [id="article-list"], [id="faq"], [id="install-guide"] { scroll-margin-top: 92px; }

@media (max-width: 1080px) {
  .q-hero h1 { font-size: clamp(54px, 7.2vw, 78px); }
  .q-hero__grid { gap: 45px; }
  .q-console__main { grid-template-columns: 130px minmax(0, 1fr); }
  .section { padding: 82px 0; }
  .feature-card--wide { grid-template-columns: minmax(0, 1fr) 210px; }
  .q-scene { padding: 21px; }
  .platform-card { padding: 21px; }
}

@media (max-width: 920px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .header-inner { height: 68px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    z-index: 110;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 14px;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    box-shadow: 7px 7px 0 var(--blue);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.btn) { padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .main-nav > a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 13px; width: 100%; }
  .nav-divider { display: none; }

  .q-hero { padding-top: 45px; }
  .q-hero::before { top: auto; right: -150px; bottom: 60px; width: 390px; height: 390px; opacity: .35; }
  .q-hero::after { display: none; }
  .q-hero__grid { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
  .q-hero h1 { max-width: 720px; font-size: clamp(54px, 11vw, 82px); }
  .q-hero__lead { max-width: 620px; }
  .q-console-wrap { width: min(560px, 100%); margin: 0 auto; }
  .q-stats { margin-top: 45px; }
  .q-stat { padding: 20px 17px 23px; }
  .q-stat strong { font-size: 23px; }

  .section { padding: 70px 0; }
  .section-head--row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-head h2 { font-size: 39px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card--wide, .feature-card--cta { grid-column: span 2; }
  .q-platform-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-steps { grid-template-columns: 1fr; border-top: 0; }
  .q-step { padding: 23px 0; border-top: 1.5px solid var(--ink); }
  .q-step + .q-step { padding-left: 0; border-left: 0; }
  .q-step::before { margin-bottom: 15px; }
  .q-scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-scene { min-height: 220px; }
  .cta-band { padding: 44px 30px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-hero { padding: 28px 0 48px; }
  .page-hero h1 { font-size: clamp(40px, 8.5vw, 58px); }
  .download-hero__meta { margin-top: 19px; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-guide { grid-template-columns: 1fr; gap: 35px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro p { max-width: 540px; }
  .help-layout { grid-template-columns: 1fr; gap: 35px; }
  .help-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-card--accent { grid-column: span 2; }
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-help { grid-column: span 2; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .prose { max-width: none; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 27px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .feature-card--cta { display: flex; align-items: flex-start; flex-direction: column; }
  .brand__copy small { display: none; }
  .brand__icon { width: 36px; height: 36px; }
  .q-hero { padding-top: 36px; }
  .q-hero h1 { margin: 17px 0 19px; font-size: clamp(47px, 14vw, 64px); }
  .q-hero__lead { font-size: 14.5px; line-height: 1.75; }
  .q-hero__actions { display: grid; grid-template-columns: 1fr; }
  .q-hero__actions .btn { width: 100%; }
  .q-hero__points { gap: 8px 15px; margin-top: 24px; font-size: 10px; }
  .q-console-wrap::before { right: -11px; bottom: 19px; }
  .q-console { border-radius: 13px; box-shadow: 7px 7px 0 var(--blue); }
  .q-console__top { padding: 14px; }
  .q-console__main { grid-template-columns: 103px minmax(0, 1fr); gap: 10px; padding: 14px; }
  .q-meter { min-height: 110px; }
  .q-meter strong { font-size: 23px; }
  .q-meter span { font-size: 8px; }
  .q-node { grid-template-columns: 6px minmax(0, 1fr) auto; min-height: 34px; padding: 6px 7px; }
  .q-node > span { font-size: 8.5px; }
  .q-node small { font-size: 7.5px; }
  .q-console__bottom { padding: 10px 14px; font-size: 7.5px; }
  .q-console__bottom span:last-child { display: none; }
  .q-console-note { margin-top: 11px; font-size: 8px; }
  .q-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 37px; border-bottom: 1px solid var(--line); }
  .q-stat { padding: 16px 12px; border-bottom: 1px solid var(--line); }
  .q-stat:nth-child(2n) { border-right: 0; }
  .q-stat strong { font-size: 22px; }
  .q-stat span { font-size: 9px; }

  .section { padding: 58px 0; }
  .section-head { margin-bottom: 27px; }
  .section-head h2 { font-size: 34px; }
  .section-head p { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card, .feature-card--wide, .feature-card--cta { grid-column: span 1; min-height: 0; padding: 23px; }
  .feature-card--wide { display: flex; flex-direction: column-reverse; align-items: flex-start; }
  .feature-card--wide h3 { font-size: 28px; }
  .q-mesh { width: 165px; margin: 0 0 10px auto; }
  .feature-card--cta { flex-direction: column; }
  .cta-orbit { display: none; }
  .feature-card--cta h3 { font-size: 26px; }
  .q-platform-row { grid-template-columns: 1fr; }
  .q-scene-grid { grid-template-columns: 1fr; gap: 10px; }
  .q-scene { min-height: 0; padding: 20px; }
  .q-scene__icon { margin-bottom: 22px; }
  .q-scene__tag { padding-top: 17px; }
  .cta-band { padding: 34px 23px; border-radius: 14px; }
  .cta-band::before { top: auto; right: -130px; bottom: -170px; width: 320px; height: 320px; opacity: .55; }
  .cta-band::after { display: none; }
  .cta-band h2 { font-size: 35px; }
  .cta-band p { font-size: 12.5px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .q-legal { font-size: 10px; text-align: left; }

  .article-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-card__body { min-height: 0; }
  .post-card__desc { -webkit-line-clamp: 3; }
  .articles-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .page-hero { padding: 22px 0 39px; }
  .page-hero h1 { margin: 15px 0 13px; font-size: 40px; }
  .page-hero__lead { font-size: 13.5px; }
  .download-hero__meta { gap: 6px; }
  .download-hero__meta span { font-size: 9px; padding: 5px 7px; }
  .platform-grid { grid-template-columns: 1fr; gap: 11px; }
  .platform-card { min-height: 0; padding: 21px; }
  .platform-icon { margin-bottom: 16px; }
  .platform-card h2 { font-size: 18px; }
  .platform-card p { font-size: 12px; }
  .requirements th, .requirements td { padding: 10px 13px; font-size: 11.5px; }
  .requirements th { width: 34%; white-space: normal; }
  .faq-item summary { font-size: 13px; padding-right: 30px; }
  .faq-item__answer { padding-right: 8px; }

  .help-hero__search { margin-top: 20px; box-shadow: 4px 4px 0 var(--blue); }
  .help-search { height: 47px; font-size: 12px; padding: 0 9px; }
  .help-search__hint { display: none; }
  .help-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .help-grid { grid-template-columns: 1fr; }
  .help-aside { grid-template-columns: 1fr; }
  .side-card--accent { grid-column: span 1; }
  .side-card { padding: 18px; }
  .resource-grid { grid-template-columns: 1fr; gap: 10px; }
  .resource-card { min-height: 0; padding: 19px; }
  .resource-card__more { margin-top: 17px; padding-top: 0; }
  .link-article-grid { grid-template-columns: 1fr; gap: 9px; }
  .links-external-badge { display: none; }

  .article-hero { padding: 24px 0 30px; }
  .article-category { margin-top: 18px; }
  .article-hero h1 { font-size: 31px; line-height: 1.2; }
  .article-hero__lead { font-size: 12.5px; }
  .article-meta { gap: 7px; font-size: 9px; }
  .article-layout { gap: 26px; padding-top: 26px; padding-bottom: 48px; }
  .article-cover { margin-bottom: 24px; border-radius: 10px; }
  .prose { font-size: 14.5px; line-height: 1.9; }
  .prose h2 { margin-top: 30px; padding-top: 17px; font-size: 24px; }
  .prose h3 { font-size: 18px; }
  .prose blockquote { padding: 13px 14px; font-size: 13px; }
  .article-end { align-items: flex-start; flex-direction: column; }
  .article-end__actions { width: 100%; }
  .copy-link { flex: 1 1 auto; justify-content: center; }
  .article-cta { padding: 22px; }
  .article-cta h2 { font-size: 22px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .sidebar-help { grid-column: span 1; }
  .toc-card, .related-card { padding: 17px; }

  .error-page { min-height: 52vh; padding: 55px 0; }
  .error-code { font-size: 100px; }
  .error-page h1 { font-size: 31px; }
  .error-actions { flex-direction: column; align-items: stretch; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; padding: 40px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-col h2 { margin-bottom: 8px; }
  .footer-col a { margin: 6px 0; }
  .footer-friend { gap: 8px 12px; padding: 12px 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding: 13px 0 18px; }
  .footer-bottom nav { gap: 10px; }
  .footer-bottom p { font-size: 8.5px; }
}

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