/* NexusBot Help Centre
   White page, navy type, blue for actions. Colours follow nexus-aurora.com. */

:root {
  --white: #ffffff;
  --paper: #f7f9fc;      /* very light panel, used sparingly */
  --line: #e4e9f1;
  --line-strong: #cfd8e6;
  --navy: #0f1f3d;       /* headings */
  --ink: #26324a;        /* body text */
  --muted: #5b6678;
  --faint: #8a94a6;
  --blue: #1e63e0;       /* primary action */
  --blue-hover: #1750b8;
  --blue-wash: #eef4ff;
  --green: #0f7a4f;
  --green-wash: #e8f6ef;
  --amber: #9a5b00;
  --amber-wash: #fdf3e2;

  --font: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Noto Sans SC", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 10px;
  --container: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
:lang(zh-Hans) body, body:lang(zh-Hans) { line-height: 1.75; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; line-height: 1.2; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.icon { flex: none; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font: 600 14px/1 var(--font); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-quiet { background: var(--white); color: var(--ink); border-color: var(--line-strong); height: 34px; padding: 0 14px; }
.btn-quiet:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-name { font: 700 18px/1 var(--display); letter-spacing: -.01em; }
.brand-sub { font-size: 15px; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line-strong); }
.search-trigger {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
  width: min(340px, 34vw); height: 40px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white);
  color: var(--faint); font: 400 14px var(--font); cursor: pointer; text-align: left;
}
.search-trigger:hover { border-color: var(--blue); }
.search-trigger span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
kbd { font: 500 11px var(--mono); color: var(--muted); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; background: var(--white); }
.header-nav { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; font-size: 14px; }
.lang-switch a { color: var(--muted); padding: 6px 9px; border-radius: 6px; }
.lang-switch a:hover { color: var(--navy); background: var(--paper); }
.lang-switch a[aria-current] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
@media (max-width: 900px) { .brand-sub { display: none; } .header-cta { display: none; } }
@media (max-width: 640px) {
  .header-row { gap: 10px; height: 60px; }
  .search-trigger { width: 40px; padding: 0; justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .lang-switch a { padding: 6px 6px; }
}

/* Home: hero */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { padding-block: 72px 56px; max-width: 860px; }
@media (max-width: 640px) { .hero-inner { padding-block: 44px 36px; } }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.025em; font-weight: 700; max-width: 22ch; }
:lang(zh-Hans) .hero h1 { max-width: 16em; letter-spacing: 0; }
.hero-sub { margin: 16px 0 28px; font-size: 18px; color: var(--muted); max-width: 58ch; }
.hero-search {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 680px;
  height: 58px; padding: 0 8px 0 18px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 31, 61, .06), 0 8px 24px -16px rgba(15, 31, 61, .25);
  color: var(--faint); font: 400 16px var(--font); cursor: text; text-align: left;
}
.hero-search:hover { border-color: var(--blue); }
.hero-search > span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-search-btn { background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; height: 42px; padding: 0 20px; border-radius: 8px; display: inline-flex; align-items: center; }
.hero-quick { margin: 18px 0 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-quick span { color: var(--faint); }
.hero-quick a { font-weight: 500; }

/* Sections */
.section { padding-block: 56px 0; }
.section-last { padding-bottom: 72px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 22px; letter-spacing: -.01em; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* Six steps */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.steps-row li + li { border-left: 1px solid var(--line); }
.steps-row a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 16px 16px; color: var(--ink); }
.steps-row a:hover { background: var(--paper); }
.steps-row a:hover .step-title { color: var(--blue); }
.step-num { font: 500 12px var(--mono); color: var(--blue); letter-spacing: .02em; }
.step-title { font: 600 15px/1.35 var(--display); color: var(--navy); }
.step-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); flex: 1; }
.step-time { font: 500 12px var(--mono); color: var(--faint); }
@media (max-width: 1060px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .steps-row li + li { border-left: 0; }
  .steps-row li:nth-child(3n+2), .steps-row li:nth-child(3n+3) { border-left: 1px solid var(--line); }
  .steps-row li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .steps-row { grid-template-columns: 1fr; }
  .steps-row li { border-left: 0 !important; }
  .steps-row li + li { border-top: 1px solid var(--line); }
}

/* Channels */
.chan-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chan { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); }
a.chan:hover { border-color: var(--line-strong); box-shadow: 0 6px 18px -12px rgba(15, 31, 61, .35); color: var(--ink); }
a.chan:hover .chan-go { color: var(--blue); }
.chan-head { display: flex; gap: 14px; align-items: flex-start; }
.chan-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); }
.chan-icon .brand-mark { width: 28px; height: 28px; }
.chan-text { display: grid; gap: 2px; }
.chan-text strong { font-size: 15.5px; color: var(--navy); font-weight: 600; }
.chan-text span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.chan-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chan-go { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.chan-soon { background: var(--paper); }
.chan-soon .chan-icon .brand-mark { opacity: .9; }
.chan-soon .chan-text strong { color: var(--muted); }
.badge { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.badge-live { background: var(--green-wash); color: var(--green); }
.badge-soon { background: var(--amber-wash); color: var(--amber); }
@media (max-width: 960px) { .chan-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .chan-row { grid-template-columns: 1fr; gap: 8px; }

}

/* Topics */
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.topic-grid li { border-bottom: 1px solid var(--line); }
.topic { display: flex; gap: 14px; padding: 20px 16px 20px 0; height: 100%; color: var(--ink); }
.topic-icon { color: var(--blue); padding-top: 2px; }
.topic-text { display: grid; gap: 4px; align-content: start; }
.topic-text strong { font: 600 16px/1.3 var(--display); color: var(--navy); }
.topic-text span { font-size: 14px; color: var(--muted); line-height: 1.5; }
a.topic:hover strong { color: var(--blue); }
.topic-disabled .topic-icon { color: var(--faint); }
.topic-soon { font-style: normal; font-size: 12.5px; color: var(--faint); }
@media (max-width: 900px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .topic-grid { grid-template-columns: 1fr; } }

/* Popular + help */
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; color: var(--navy); font-weight: 500; }
.link-list a:hover { color: var(--blue); }
.link-list a span { font-size: 13px; color: var(--faint); font-weight: 400; white-space: nowrap; }
.help-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.help-box h2 { font-size: 20px; }
.help-box p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px !important; }
.help-email { font-size: 14px; color: var(--ink); user-select: all; }

/* Article layout */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 48px; padding-block: 36px 72px; align-items: start; }
@media (max-width: 1140px) { .doc-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } .toc { display: none; } }
@media (max-width: 860px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; } }
.doc-nav, .toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; font-size: 14px; }
.nav-title { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
:lang(zh-Hans) .nav-title { letter-spacing: 0; }
.nav-group + .nav-group { margin-top: 22px; }
.doc-nav ul, .toc ul { list-style: none; margin: 0; padding: 0; }
.doc-nav li a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: 6px; color: var(--ink); line-height: 1.4; }
.doc-nav li a:hover { background: var(--paper); color: var(--navy); }
.doc-nav li a[aria-current] { background: var(--blue-wash); color: var(--blue); font-weight: 600; }
.doc-nav-toggle { display: none; }
@media (max-width: 860px) {
  .doc-nav { position: static; max-height: none; overflow: visible; }
  .doc-nav-toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); font: 500 14px var(--font); color: var(--navy); cursor: pointer; }
  .doc-nav-list { display: none; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
  .doc-nav.open .doc-nav-list { display: block; }
}
.toc li a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); color: var(--muted); line-height: 1.4; }
.toc li a:hover { color: var(--navy); }
.toc li a.active { border-left-color: var(--blue); color: var(--blue); font-weight: 500; }

/* Article content */
.doc { max-width: 740px; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.doc h1 { font-size: clamp(28px, 3.6vw, 36px); letter-spacing: -.02em; }
.doc-lede { font-size: 18px; color: var(--muted); margin: 12px 0 0; }
.doc-meta { font-size: 13px; color: var(--faint); margin: 14px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.prose { font-size: 16px; }
.prose > * + * { margin-top: 16px; }
.prose p, .prose li { color: var(--ink); }
.prose h2 { font-size: 22px; margin-top: 40px; letter-spacing: -.01em; position: relative; }
.prose h3 { font-size: 17px; margin-top: 28px; }
.prose .anchor { position: absolute; left: -22px; color: var(--line-strong); opacity: 0; font-weight: 400; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose h3 { position: relative; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-decoration-color: rgba(30, 99, 224, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose code { font: 500 13.5px var(--mono); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--navy); word-break: break-word; }

.table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 11px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-weight: 600; color: var(--navy); background: var(--paper); font-size: 13.5px; }
.table tr:last-child td { border-bottom: 0; }

.callout { border-radius: 8px; padding: 14px 18px; font-size: 15px; }
.callout p, .callout li { font-size: 15px; }
.callout > * + * { margin-top: 8px; }
.callout ul { margin: 0; }
.callout-label { margin: 0 0 2px; font-weight: 700; font-size: 13px !important; letter-spacing: .02em; }
.callout-info { background: var(--blue-wash); }
.callout-info .callout-label { color: var(--blue-hover); }
.callout-tip { background: var(--green-wash); }
.callout-tip .callout-label { color: var(--green); }
.callout-warning { background: var(--amber-wash); }
.callout-warning .callout-label { color: var(--amber); }

.steps ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 46px; margin: 0 !important; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--blue); background: var(--white); color: var(--blue);
  font: 600 14px/27px var(--font); text-align: center;
}
.steps li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1.5px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }

.feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 500; color: var(--navy); }
.feedback span { margin-right: 6px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.pager a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); font-weight: 600; font-size: 15px; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager a span { font-size: 12.5px; font-weight: 400; color: var(--faint); }
.pager-next { text-align: right; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager-next { text-align: left; } }

/* Search dialog */
.search-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(15, 31, 61, .35); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search-panel { width: 100%; max-width: 640px; background: var(--white); border-radius: 12px; box-shadow: 0 24px 60px -20px rgba(15, 31, 61, .45); overflow: hidden; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--faint); }
.search-field input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; font: 400 17px var(--font); color: var(--navy); background: transparent; }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 60vh; overflow: auto; }
.search-results:empty { display: none; }
.search-results a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.search-results a:hover, .search-results a.selected { background: var(--blue-wash); }
.search-results strong { display: block; color: var(--navy); font-weight: 600; }
.search-results small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.search-results mark { background: none; color: var(--blue); font-weight: 600; }
.search-empty { padding: 16px 12px; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--navy); }

.not-found { padding-block: 96px; }
.not-found p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ============================================================
 * NexusBot animated logo — ported from the NexusBot app
 * (wacrm-main/src/components/brand/nexusbot-icon.css).
 * Same eye tracking, random blink (3–6s), sparkle twinkle (6–10s)
 * and glow. Markup: src/nexusbot-mark.mjs. Motion: assets/app.js.
 * The help centre is light-only, so it uses the app's light palette.
 * ============================================================ */
:root {
  --nexusbot-primary: #2ab1ec;
  --nexusbot-mid: #1168c3;
  --nexusbot-secondary: #132599;
  --nexusbot-eye: #1f8ad2;
  --nexusbot-eye-shade: #1545b0;
  --nexusbot-badge: #1e9ee0;
  --nexusbot-badge-shade: #1952be;
  --nexusbot-glint: #ffffff;
  --nexusbot-sparkle: #ffffff;
  --nexusbot-sparkle-glow: rgb(255 255 255 / 0.7);
  --nexusbot-glow: rgb(22 137 216 / 0.12);
  --nexusbot-eye-max-x: 18px;
  --nexusbot-eye-max-y: 12px;
  --nexusbot-eye-rest-x: 0px;
  --nexusbot-eye-rest-y: -3px;
}
@property --nexusbot-eye-scale { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --nexusbot-eye-squash { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --nexusbot-eye-lift { syntax: "<length>"; inherits: true; initial-value: 0px; }

.nexusbot { display: inline-flex; align-items: center; flex-shrink: 0; }
.nexusbot-svg {
  display: block;
  flex-shrink: 0;
  overflow: visible;
  transition: transform 180ms ease-out, filter 180ms ease-out;
}
.nexusbot-svg--glow { filter: drop-shadow(0 0 var(--nexusbot-glow-blur, 6px) var(--nexusbot-glow)); }

/* Eyes: gaze (--nexusbot-eye-x/y from app.js), blink and happy compose. */
.nexusbot-eye {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate3d(
      var(--nexusbot-eye-x, var(--nexusbot-eye-rest-x)),
      calc(var(--nexusbot-eye-y, var(--nexusbot-eye-rest-y)) + var(--nexusbot-eye-lift)),
      0
    )
    scaleY(calc(var(--nexusbot-eye-scale) * var(--nexusbot-eye-squash)));
}
.nexusbot-glint {
  transform: translate(calc(var(--nexusbot-eye-x, 0px) * 0.25), calc(var(--nexusbot-eye-y, 0px) * 0.25));
}

/* Random blink: open → half → closed → open in 150ms. */
.nexusbot-svg[data-blink] .nexusbot-eye { animation: nexusbot-blink 150ms ease-in-out; }
.nexusbot-svg[data-blink] .nexusbot-eye-right { animation-delay: var(--nexusbot-blink-stagger, 0ms); }
@keyframes nexusbot-blink {
  0% { --nexusbot-eye-scale: 1; }
  30% { --nexusbot-eye-scale: 0.5; }
  55% { --nexusbot-eye-scale: 0.08; }
  100% { --nexusbot-eye-scale: 1; }
}

/* Sparkle twinkle: large star flares, small star follows 80ms later. */
.nexusbot-star { transform-box: fill-box; transform-origin: center; }
.nexusbot-svg[data-sparkle] .nexusbot-star-lg { animation: nexusbot-twinkle-lg 800ms ease-in-out; }
.nexusbot-svg[data-sparkle] .nexusbot-star-sm { animation: nexusbot-twinkle-sm 700ms ease-in-out 80ms both; }
@keyframes nexusbot-twinkle-lg {
  0% { opacity: 1; transform: scale(1); filter: none; }
  20% { opacity: 0.7; transform: scale(0.95); }
  40% { opacity: 0.3; transform: scale(0.9); }
  70% { opacity: 0.8; transform: scale(1.08); filter: drop-shadow(0 0 6px var(--nexusbot-sparkle-glow)); }
  100% { opacity: 1; transform: scale(1); filter: none; }
}
@keyframes nexusbot-twinkle-sm {
  0% { opacity: 1; transform: scale(1); }
  40% { opacity: 0.35; transform: scale(0.9); }
  75% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

/* Reduced motion: a complete, static mark. */
@media (prefers-reduced-motion: reduce) {
  .nexusbot-svg,
  .nexusbot-svg[data-blink] .nexusbot-eye,
  .nexusbot-svg[data-sparkle] .nexusbot-star { animation: none; transition: none; }
}
/* Header logo: 48px on desktop, 40px on phones. */
@media (max-width: 640px) { .brand .nexusbot-svg { width: 40px; height: 40px; } }
