/* ──────────────────────────────────────────────────────────────
   netplex.io — shared styles for Product / Pricing / KB / Forums /
   Contact / About pages. Loads after site.css + landing.css.
   Brand-locked: accent = var(--accent), wordmark = Quicksand.
   ────────────────────────────────────────────────────────────── */

/* ── Mobile nav drawer ── */
@media (max-width: 960px) {
  .navlinks.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--surface-1); border-bottom: 1px solid var(--border);
    padding: 8px 22px 16px; box-shadow: var(--shadow-2); z-index: 99;
  }
  .navlinks.open a { padding: 12px 0; border-bottom: 1px solid var(--border-soft); font-size: 15px; }
}

/* ── Generic page header ── */
.page-head { padding: 74px 0 8px; }
.page-head.center { text-align: center; }
.page-head h1 { font-size: 50px; letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 16px; text-wrap: balance; }
.page-head h1 .accent { color: var(--accent); }
.page-head .lede { font-size: 18.5px; color: var(--text-3); max-width: 640px; line-height: 1.55; }
.page-head.center .lede { margin-left: auto; margin-right: auto; }
@media (max-width: 640px){
  .page-head { padding-top: 52px; }
  .page-head h1 { font-size: 34px; }
  .phrase-rotator { font-size: 16px; }
  .contact-form { padding: 22px 18px; }
}

/* ── Australian badge ── */
.au-badge {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px;
}
.au-badge .cross { display: inline-flex; gap: 3px; align-items: center; }
.au-badge .cross i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); display: block; }
.au-badge b { color: var(--text-1); font-weight: 600; }
.au-strip {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 16px; border: 1px solid var(--border); border-radius: var(--r-4);
  background: var(--surface-1); font-size: 14px; color: var(--text-3);
}

/* ── VENDOR MARQUEE ── */

/* Clip viewport + edge fade (mask is theme-proof: works on dark, cloud, paper) */
.vmq {
  display: flex; flex-direction: column; gap: 14px; margin-top: 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.vmq-row { display: flex; overflow: hidden; }
.vmq-track {
  display: flex; gap: 12px; width: max-content; flex: 0 0 auto; will-change: transform;
}

/* Animations — track is exactly 2 copies wide, so ±50% is a seamless jump-free loop */
@keyframes vmq-left  { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes vmq-right { from { transform: translateX(-50%); } to { transform: translateX(0);    } }
.vmq-row--left  .vmq-track { animation: vmq-left  55s linear infinite; }
.vmq-row--right .vmq-track { animation: vmq-right 55s linear infinite; }
.vmq:hover .vmq-track { animation-play-state: paused; }

/* Tiles */
.vchip {
  flex: 0 0 auto; width: 80px; height: 80px; display: grid; place-items: center;
  border-radius: var(--r-3); background: var(--surface-1); border: 1px solid var(--border);
  transition: border-color .18s, background .18s; cursor: default;
}
.vchip:hover { border-color: var(--border-bright); background: var(--surface-2); }
.vchip .vlogo { display: grid; place-items: center; width: 52px; height: 52px; }
.vchip .vlogo img {
  height: 40px; width: auto; object-fit: contain;
  opacity: 1; filter: none;
}

/* Monogram fallback */
.vchip .vmark {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--r-1);
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-3); font-family: var(--font-mono);
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.vendor-note { margin-top: 18px; font-size: 13.5px; color: var(--text-4); text-align: center; }
.vendor-note .mono { color: var(--accent); }

/* Reduced motion — collapse to a static centred grid, hide duplicate tiles */
@media (prefers-reduced-motion: reduce) {
  .vmq-track { animation: none; }
  .vmq { -webkit-mask-image: none; mask-image: none; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; padding-inline: 24px; }
  .vmq-row { overflow: visible; display: contents; }
  .vmq-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .vmq-track [aria-hidden="true"] { display: none; }
}
@media (max-width: 768px) { .vchip { width: 64px; height: 64px; } .vchip .vlogo { width: 40px; height: 40px; } .vchip .vlogo img { height: 30px; } }
@media (max-width: 480px) { .vchip { width: 56px; height: 56px; } }

/* ── ONE-LINER MARQUEE / capability chips ── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cap { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-4); padding: 24px; transition: border-color .18s, transform .18s; }
.cap:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.cap-ic { width: 42px; height: 42px; border-radius: var(--r-3); display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 16px; }
.cap-ic svg { width: 21px; height: 21px; }
.cap h3 { font-size: 17px; margin-bottom: 7px; letter-spacing: -0.01em; }
.cap p { font-size: 14px; color: var(--text-3); line-height: 1.55; }
@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap { display: flex; gap: 16px; align-items: flex-start; }
  .cap-ic { flex-shrink: 0; margin-bottom: 0; }
}

/* ── ROADMAP/BETA flag inline ── */
.flag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--warn); border: 1px solid var(--warn);
  border-radius: 999px; padding: 3px 9px; font-weight: 600; vertical-align: middle; margin-left: 8px;
}

/* ════════════════════ KNOWLEDGE BASE ════════════════════ */
.kb-search {
  display: flex; align-items: center; gap: 12px; max-width: 620px;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--r-4);
  padding: 14px 18px; margin-top: 28px;
}
.kb-search svg { width: 20px; height: 20px; color: var(--text-4); flex-shrink: 0; }
.kb-search input { flex: 1; background: none; border: none; outline: none; color: var(--text-1); font-family: inherit; font-size: 15.5px; }
.kb-search input::placeholder { color: var(--text-4); }
.kb-search .kbd { flex-shrink: 0; }

.kb-layout { display: grid; grid-template-columns: 248px 1fr; gap: 44px; align-items: start; }
.kb-side { position: sticky; top: 84px; }
.kb-side .grp { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); margin: 22px 0 10px; }
.kb-side .grp:first-child { margin-top: 0; }
.kb-side a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); padding: 7px 11px; border-radius: var(--r-2); transition: all .14s; }
.kb-side a:hover { color: var(--text-1); background: var(--surface-2); }
/* selected topic: only the icon turns accent — no highlight block */
.kb-side a.active { color: var(--text-1); background: transparent; font-weight: 500; }
.kb-side a .ico { width: 15px; height: 15px; color: currentColor; opacity: 0.8; }
.kb-side a.active .ico { color: var(--accent); opacity: 1; }

.kb-section-head { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--border); }
.kb-section-head:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.kb-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.kb-cat { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-4); padding: 24px; transition: border-color .18s, transform .18s; }
.kb-cat:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.kb-cat .kc-ic { width: 44px; height: 44px; border-radius: var(--r-3); display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); margin-bottom: 16px; }
.kb-cat .kc-ic svg { width: 22px; height: 22px; }
.kb-cat h3 { font-size: 17px; margin-bottom: 7px; }
.kb-cat p { font-size: 13.5px; color: var(--text-3); line-height: 1.5; margin-bottom: 14px; }
.kb-cat .kc-links { display: flex; flex-direction: column; gap: 2px; }
.kb-cat .kc-links a { font-size: 13.5px; color: var(--text-2); padding: 5px 0; display: flex; align-items: center; gap: 7px; transition: color .14s; }
.kb-cat .kc-links a:hover { color: var(--accent); }
.kb-cat .kc-links a::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.kb-cat .kc-links a:hover::before { background: var(--accent); }
.kb-cat .kc-count { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); margin-top: 14px; display: block; }

/* KB article (wiki) reader */
.kb-article { max-width: 760px; }
.kb-bread { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kb-bread a { color: var(--text-3); } .kb-bread a:hover { color: var(--accent); }
.kb-bread .sep { color: var(--text-dim); }
.kb-article h1 { font-size: 34px; letter-spacing: -0.03em; margin-bottom: 12px; }
.kb-article .meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--text-4); margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.kb-article .meta .tag { font-family: var(--font-mono); font-size: 11px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 9px; }
.kb-body h2 { font-size: 22px; letter-spacing: -0.02em; margin: 34px 0 12px; }
.kb-body h3 { font-size: 17px; margin: 24px 0 8px; }
.kb-body p { font-size: 16px; color: var(--text-2); line-height: 1.72; margin-bottom: 16px; }
.kb-body ul, .kb-body ol { margin: 0 0 18px 22px; color: var(--text-2); }
.kb-body li { font-size: 15.5px; line-height: 1.7; margin-bottom: 7px; }
.kb-body code { font-family: var(--font-mono); font-size: 13.5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--accent-2); }
.kb-pre { font-family: var(--font-mono); font-size: 13px; line-height: 1.7; background: var(--surface-canvas); border: 1px solid var(--border); border-radius: var(--r-3); padding: 16px 18px; overflow-x: auto; margin-bottom: 20px; color: var(--text-2); white-space: pre; }
.kb-pre .cm { color: var(--text-4); } .kb-pre .kw { color: var(--accent-2); } .kb-pre .st { color: #a5e8b5; }
.kb-callout { display: flex; gap: 12px; background: var(--info-soft); border: 1px solid color-mix(in srgb, var(--info) 28%, transparent); border-radius: var(--r-3); padding: 14px 16px; margin-bottom: 20px; }
.kb-callout svg { width: 19px; height: 19px; color: var(--info); flex-shrink: 0; margin-top: 1px; }
.kb-callout p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; }
.kb-callout.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 28%, transparent); }
.kb-callout.warn svg { color: var(--warn); }
/* KB step-by-step how-to (generated articles with screenshots) */
.kb-article.kb-howto { max-width: 1040px; }
.kb-howto .kb-body > p { max-width: 76ch; }
.kb-howto .kb-step-body { max-width: 74ch; }
.kb-step { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 12px; }
.kb-step-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 3px; }
.kb-step-body { flex: 1; } .kb-step-body p { margin-bottom: 0; }
.kb-shot { margin: 14px 0 26px; }
.kb-shot img { width: 100%; height: auto; display: block; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-canvas); }

.kb-foot-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-soft); flex-wrap: wrap; }
.kb-foot-nav a { font-size: 14px; color: var(--text-3); display: flex; flex-direction: column; gap: 3px; }
.kb-foot-nav a:hover { color: var(--accent); }
.kb-foot-nav .dir { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); }
@media (max-width: 860px){ .kb-layout { grid-template-columns: 1fr; } .kb-side { position: static; display: none; } .kb-cats { grid-template-columns: 1fr; } }

/* ════════════════════ FORUMS ════════════════════ */
/* Elevated 2026 pass: glassy search, glowing category chips, card-contained
   thread rows with accent rails, ranked contributors, staggered entry motion.
   Token-driven throughout - inherits all 6 themes + 8 accents. */

.forum-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.forum-stats .fs { display: flex; flex-direction: column; gap: 1px; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-3); padding: 9px 16px; }
.forum-stats .fs .n { font-family: var(--font-mono); font-size: 19px; font-weight: 600; color: var(--text-1); letter-spacing: -0.01em; }
.forum-stats .fs .l { font-size: 10.5px; color: var(--text-4); font-family: var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; }
.forum-stats[hidden], .forum-aside .card[hidden] { display: none !important; }

.fsearch { display: flex; align-items: center; gap: 10px; max-width: 560px; background: color-mix(in srgb, var(--surface-1) 78%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 999px; padding: 6px 8px 6px 18px; transition: border-color .18s, box-shadow .18s; }
.fsearch:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent); }
.fsearch svg { width: 17px; height: 17px; color: var(--text-4); flex-shrink: 0; }
.fsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text-1); font-size: 14px; font-family: inherit; }
.fsearch input::placeholder { color: var(--text-4); }
.fsearch .kbd { flex-shrink: 0; }
.fsearch .btn { padding: 7px 16px; font-size: 13px; border-radius: 999px; }
@media (max-width: 640px){ .fsearch .kbd { display: none; } }

.forum-layout { display: grid; grid-template-columns: 1fr 296px; gap: 36px; align-items: start; }

/* entry motion (JS adds .f-in + per-row animation-delay) */
.f-in { opacity: 0; animation: fIn .45s cubic-bezier(.21,.7,.25,1) forwards; }
@keyframes fIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .f-in { animation: none; opacity: 1; } }

/* ── category cards ── */
.cat-list { display: flex; flex-direction: column; gap: 13px; }
.cat-row {
  display: grid; grid-template-columns: 52px 1fr auto auto; gap: 18px; align-items: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 55%, transparent), transparent 55%) var(--surface-1);
  border: 1px solid var(--border); border-radius: var(--r-5);
  padding: 19px 22px; position: relative;
  transition: border-color .18s, transform .16s, box-shadow .18s;
}
.cat-row:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.cat-ic { width: 52px; height: 52px; border-radius: var(--r-4); display: grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px -10px rgba(0,0,0,.55); transition: transform .18s; }
.cat-row:hover .cat-ic { transform: scale(1.06) rotate(-2deg); }
.cat-ic svg { width: 25px; height: 25px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.cat-main h3 { font-size: 16.5px; margin-bottom: 3px; letter-spacing: -0.01em; }
.cat-main p { font-size: 13.5px; color: var(--text-3); line-height: 1.45; }
.cat-main .tags { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.cat-main .tags span { font-size: 11px; color: var(--text-4); background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 999px; padding: 2px 9px; }
.cat-count { text-align: center; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--r-3); padding: 7px 13px; min-width: 62px; }
.cat-count .n { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--text-1); }
.cat-count .l { font-size: 10px; color: var(--text-4); text-transform: uppercase; letter-spacing: .05em; }
.cat-latest { display: flex; align-items: center; gap: 10px; min-width: 168px; }
.cat-latest .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; font-family: var(--font-display); flex-shrink: 0; box-shadow: 0 0 0 2px var(--surface-1), 0 0 0 3.5px var(--border-bright); }
.cat-latest .lm { display: flex; flex-direction: column; min-width: 0; }
.cat-latest .lm b { font-size: 12.5px; color: var(--text-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.cat-latest .lm span { font-size: 11px; color: var(--text-4); }

/* ── thread rows (contained in a card, accent rail on hover) ── */
.thread-list { display: flex; flex-direction: column; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-5); padding: 4px 6px; overflow: hidden; }
.thread {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 14px; border-radius: var(--r-3); position: relative;
  transition: background .14s;
}
.thread + .thread::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: var(--border-soft); }
.thread:hover { background: var(--surface-2); }
.thread:hover::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }
.thread .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; font-family: var(--font-display); box-shadow: 0 0 0 2px var(--surface-1), 0 0 0 3.5px var(--border); }
.thread .tmeta { min-width: 0; }
.thread .tmeta .tt { font-size: 14.5px; color: var(--text-1); font-weight: 500; display: flex; align-items: center; gap: 8px; letter-spacing: -0.005em; min-width: 0; }
.thread .tmeta .tt .pin { color: var(--accent); flex-shrink: 0; }
.thread .tmeta .sub { font-size: 12px; color: var(--text-4); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.thread .tmeta .sub .cat { color: var(--accent); font-weight: 500; }
.thread .tnum { text-align: center; font-family: var(--font-mono); background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 999px; padding: 5px 12px; transition: border-color .14s, color .14s; }
.thread:hover .tnum { border-color: var(--accent-line); }
.thread .tnum .r { font-size: 13.5px; color: var(--text-2); font-weight: 600; display: inline; }
.thread .tnum .rl { font-size: 10px; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.05em; display: inline; margin-left: 4px; }
.tag-pill { font-size: 10.5px; font-weight: 500; padding: 1px 8px; border-radius: 999px; border: 1px solid; background: color-mix(in srgb, currentColor 8%, transparent); }

/* ── aside ── */
.forum-aside .card { margin-bottom: 16px; }
.forum-aside h4 { font-size: 14px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.forum-aside h4 svg { width: 16px; height: 16px; color: var(--accent); }
.top-list { display: flex; flex-direction: column; gap: 12px; }
.top-row { display: flex; align-items: center; gap: 11px; }
.top-row .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; font-family: var(--font-display); flex-shrink: 0; }
.top-row.r1 .av { box-shadow: 0 0 0 2px var(--surface-1), 0 0 0 4px #e8b24a; }
.top-row.r2 .av { box-shadow: 0 0 0 2px var(--surface-1), 0 0 0 4px #9aa4b2; }
.top-row.r3 .av { box-shadow: 0 0 0 2px var(--surface-1), 0 0 0 4px #c07a4b; }
.top-row .nm { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.top-row .role { font-size: 11px; color: var(--text-4); }
.top-row .pts { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); border-radius: 999px; padding: 3px 10px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a { font-size: 12px; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; transition: all .14s; }
.tag-cloud a:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-1px); }
@media (max-width: 900px){ .forum-layout { grid-template-columns: 1fr; } .cat-row { grid-template-columns: 52px 1fr auto; } .cat-latest { display: none; } }
@media (max-width: 480px){ .cat-row { grid-template-columns: 44px 1fr; gap: 12px; } .cat-count { display: none; } .cat-ic { width: 44px; height: 44px; } }

/* ── live views (category page / thread reader / search) ── */
.av { position: relative; overflow: hidden; }
.av .av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; z-index: 1; }
.av .av-fb { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; }

.fv-skel { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.fv-skel-row { height: 58px; border-radius: var(--r-4); border: 1px solid var(--border-soft); background: linear-gradient(100deg, var(--surface-1) 40%, var(--surface-2) 50%, var(--surface-1) 60%); background-size: 200% 100%; animation: fvShimmer 1.2s linear infinite; }
@keyframes fvShimmer { to { background-position: -200% 0; } }

.fv-cat-head { display: flex; align-items: flex-start; gap: 16px; margin: 16px 0 20px; flex-wrap: wrap; }
.fv-cat-head > div { flex: 1; min-width: 220px; }
.fv-cat-head h2 { font-size: 27px; letter-spacing: -0.025em; margin-bottom: 4px; }
.fv-cat-head p { font-size: 14px; color: var(--text-3); }
.fv-cat-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-top: 8px; }

.fv-thread-head h2 { font-size: 28px; letter-spacing: -0.028em; margin: 4px 0 14px; line-height: 1.22; text-wrap: balance; }
.fv-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-4); padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); margin-bottom: 22px; }
.fv-meta .av, .fv-chead .av { width: 27px; height: 27px; font-size: 10px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.fv-author { color: var(--text-2); font-weight: 500; }
.fv-when { color: var(--text-4); }
.fv-up { font-family: var(--font-mono); font-size: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); border-radius: 999px; padding: 2px 9px; }
.fv-answered { color: #41c178; font-size: 12px; font-weight: 500; }
.fv-answer-badge { font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(150deg, #41c178, #2f9e5f); border-radius: 999px; padding: 3px 10px; box-shadow: 0 4px 12px -4px rgba(47,158,95,.6); }

.fv-post, .fv-comment { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-5); padding: 20px 22px; margin-bottom: 14px; }
.fv-op { border: 1px solid transparent; background: linear-gradient(var(--surface-1), var(--surface-1)) padding-box, linear-gradient(160deg, var(--accent-line), var(--border) 55%) border-box; }
.fv-comment.is-answer { border-color: color-mix(in srgb, #2f9e5f 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, #2f9e5f 25%, transparent), 0 10px 30px -18px rgba(47,158,95,.5); }
.fv-chead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; font-size: 13px; }
.fv-reply { margin: 14px 0 0 24px; padding: 14px 16px; border-left: 2px solid color-mix(in srgb, var(--accent) 30%, var(--border)); background: var(--surface-2); border-radius: 0 var(--r-3) var(--r-3) 0; }
.fv-more-replies { display: inline-block; margin: 12px 0 0 24px; font-size: 12.5px; color: var(--text-3); }
.fv-more-replies:hover { color: var(--accent); }

.post-body { font-size: 15px; color: var(--text-2); line-height: 1.72; overflow-wrap: break-word; }
.post-body p { margin-bottom: 12px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body h1, .post-body h2, .post-body h3 { font-size: 17px; letter-spacing: -0.01em; margin: 22px 0 8px; color: var(--text-1); }
.post-body ul, .post-body ol { margin: 0 0 12px 22px; }
.post-body li { margin-bottom: 5px; }
.post-body a { color: var(--accent); }
.post-body a:hover { text-decoration: underline; }
.post-body code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--accent-2); }
.post-body pre { background: var(--surface-canvas); border: 1px solid var(--border); border-radius: var(--r-3); padding: 14px 16px; overflow-x: auto; margin: 0 0 14px; }
.post-body pre code { background: none; border: 0; padding: 0; color: var(--text-2); font-size: 13px; line-height: 1.65; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.post-body blockquote { border-left: 3px solid var(--border-bright); margin: 0 0 12px; padding: 4px 0 4px 14px; color: var(--text-3); }
.post-body table { border-collapse: collapse; margin-bottom: 14px; display: block; overflow-x: auto; max-width: 100%; }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 6px 12px; font-size: 13.5px; }

.fv-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; border: 1px solid transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(140deg, var(--accent-line), var(--border) 60%) border-box; }
.fv-cta p { font-size: 13.5px; color: var(--text-3); margin: 0; max-width: 460px; }
.fv-error { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.fv-error p { font-size: 14px; color: var(--text-2); margin: 0; }
.fv-empty { font-size: 14px; color: var(--text-3); padding: 22px 14px; }
.fv-more { margin-top: 16px; }
.fv-gh-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-size: 12.5px; color: var(--text-4); }
.fv-gh-link:hover { color: var(--text-2); }
.fv-gh-link svg { flex-shrink: 0; }
.fv-search-h { font-size: 21px; letter-spacing: -0.02em; margin: 14px 0 6px; }
#fView .kb-bread { margin-bottom: 6px; }
#fView { padding-top: 4px; }

/* ════════════════════ CONTACT ════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-intro h2 { font-size: 30px; letter-spacing: -0.03em; margin-bottom: 12px; }
.contact-intro .lede { font-size: 16.5px; color: var(--text-3); line-height: 1.6; margin-bottom: 28px; }
.contact-ch { display: flex; flex-direction: column; gap: 14px; }
.ch-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-3); transition: border-color .18s; }
.ch-row:hover { border-color: var(--border-bright); }
.ch-ic { width: 40px; height: 40px; border-radius: var(--r-3); display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); flex-shrink: 0; }
.ch-ic svg { width: 20px; height: 20px; }
.ch-row .ch-t { font-size: 14.5px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.ch-row .ch-d { font-size: 13.5px; color: var(--text-3); line-height: 1.45; }
.ch-row .ch-d a { color: var(--accent); }

.contact-form { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-5); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--r-2);
  padding: 11px 14px; color: var(--text-1); font-family: inherit; font-size: 14.5px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.topic-seg, .prio-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-seg label, .prio-seg label { cursor: pointer; margin: 0; }
.topic-seg input, .prio-seg input { position: absolute; opacity: 0; pointer-events: none; }
.topic-seg .opt, .prio-seg .opt { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-3); background: var(--surface-0); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; transition: all .18s var(--ease-out); }
/* selected → a full, solid pill with white writing */
.topic-seg input:checked + .opt, .prio-seg input:checked + .opt { color: #fff; border-color: var(--accent); background: var(--accent); font-weight: 600; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--text-4); margin-top: 14px; text-align: center; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok.show { display: block; }
.form-ok .ok-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--ok-soft); color: var(--ok); }
.form-ok .ok-ic svg { width: 28px; height: 28px; }
.form-ok h3 { font-size: 20px; margin-bottom: 8px; }
.form-ok p { font-size: 14.5px; color: var(--text-3); }
@media (max-width: 860px){ .contact-layout { grid-template-columns: 1fr; gap: 36px; } .field-row { grid-template-columns: 1fr; } }

/* ── Team grid (About) ── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.tmember { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-4); padding: 22px; text-align: center; }
.tmember .tav { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; }
.tmember h3 { font-size: 16px; margin-bottom: 3px; }
.tmember .trole { font-size: 12.5px; color: var(--accent); font-family: var(--font-mono); margin-bottom: 8px; }
.tmember p { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
@media (max-width: 860px){ .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .team-grid { grid-template-columns: 1fr; } }

/* ── Pricing: 5-tier responsive grid ── */
.tiers5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 44px; align-items: start; }
@media (max-width: 1080px){ .tiers5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .tiers5 { grid-template-columns: 1fr; } }
.tiers4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; align-items: start; }
@media (max-width: 980px){ .tiers4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .tiers4 { grid-template-columns: 1fr; } }
.tiers3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; align-items: stretch; }
@media (max-width: 860px){ .tiers3 { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
/* roadmap / coming-soon inline tag */
.rm { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 5px; padding: 1px 5px; margin-left: 5px; white-space: nowrap; vertical-align: middle; }

/* ── Pricing tabs (Individual / Teams & Collaboration) ── */
.ptabs { display: inline-flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px; margin-top: 26px; }
.ptabs button { font-size: 14px; font-weight: 600; color: var(--text-3); padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: color .15s, background .15s, box-shadow .15s; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ptabs button:hover { color: var(--text-1); }
.ptabs button.on { background: var(--accent); color: #fff; box-shadow: 0 3px 12px var(--accent-soft); }
@media (max-width: 540px){ .ptabs button { padding: 9px 14px; font-size: 13px; } }
.tier-pane { display: none; }
.tier-pane.on { display: block; }

/* ── Tier card: equal-height flex, hover lift, staggered entrance ── */
.tier { display: flex; flex-direction: column; transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.tier > ul { flex: 1 1 auto; margin-bottom: 20px; }
.tier:hover { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: 0 14px 34px rgba(0,0,0,0.30); }
.tier.feat:hover { border-color: var(--accent); box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 24%, transparent); }
.tier .cta-row { margin-top: auto; padding-top: 4px; }
.tier .price-row { display: flex; align-items: baseline; gap: 3px; min-height: 40px; }
.tier .save-note { min-height: 16px; }
@keyframes tier-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tier-anim > .tier { opacity: 0; animation: tier-in .5s var(--ease-out) forwards; }
.tier-anim > .tier:nth-child(1) { animation-delay: .04s; }
.tier-anim > .tier:nth-child(2) { animation-delay: .12s; }
.tier-anim > .tier:nth-child(3) { animation-delay: .20s; }
@media (prefers-reduced-motion: reduce){ .tier-anim > .tier { animation: none; opacity: 1; } .tier:hover { transform: none; } }

/* ── Billing toggle (shared by landing teaser + pricing page) ── */
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.bill-toggle button { font-size: 13.5px; font-weight: 500; color: var(--text-3); padding: 8px 18px; border-radius: 999px; transition: all .15s; cursor: pointer; font-family: inherit; border: none; background: none; }
.bill-toggle button.on { background: var(--accent); color: #fff; }
.bill-save { font-size: 12px; color: var(--ok); margin-left: 10px; font-weight: 600; font-family: var(--font-mono); }

/* ── Catchy-phrase rotator band ── */
.phrase-band { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--surface-0); padding: 18px 0; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 59px; }
.phrase-rotator { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--text-2); text-align: center; opacity: 0; transform: translateY(6px); transition: opacity 400ms ease, transform 400ms ease; }
.phrase-rotator.is-shown { opacity: 1; transform: translateY(0); }
.phrase-rotator .accent { color: var(--accent); }
@media (prefers-reduced-motion: reduce){ .phrase-rotator, .phrase-rotator.is-shown { transition: none; transform: none; } }

/* KB article CTA (SEO + traffic to netplex.io) */
.kb-cta { margin: 40px 0 8px; padding: 22px 24px; border: 1px solid var(--accent-line, var(--border)); border-radius: 12px; background: color-mix(in srgb, var(--accent) 7%, var(--surface-1)); }
.kb-cta h2 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.02em; }
.kb-cta p { font-size: 15px; color: var(--text-2); line-height: 1.6; margin: 0 0 10px; }
.kb-cta .kb-cta-links { font-size: 14.5px; margin-top: 12px; }
.kb-cta .kb-cta-links a { color: var(--accent); font-weight: 600; }
.kb-cta .kb-cta-links a:hover { text-decoration: underline; }
