:root {
  --bg: #070d14;
  --surface: #0d1622;
  --surface-2: #132031;
  --surface-3: #1b2c42;
  --border: #21344d;
  --border-subtle: #152336;
  --text: #edf3fa;
  --muted: #96a8c0;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-ink: #041714;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --danger: #fb7185;
  --danger-soft: rgba(251, 113, 133, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text-h2: clamp(1.35rem, 2.3vw, 1.7rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-variant-numeric: tabular-nums;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(62rem 32rem at 50% -8rem, rgba(45, 212, 191, 0.08), transparent 65%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.24;
}

p, ul, ol, dl, dd {
  margin: 0;
  font-size: var(--text-body);
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

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

.num {
  font-variant-numeric: tabular-nums;
}

/* Header & Single-Line Desktop Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 20, 0.8);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.nav.is-scrolled,
.nav.is-open {
  background: rgba(7, 13, 20, 0.96);
  border-bottom-color: var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 14px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav__logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  flex-shrink: 0;
}

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav__ico-close,
.nav.is-open .nav__ico-menu {
  display: none;
}

.nav.is-open .nav__ico-close {
  display: block;
}

.nav__menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  padding: 12px clamp(16px, 4vw, 32px) 20px;
  background: rgba(7, 13, 20, 0.98);
  border-bottom: 1px solid var(--border);
}

.nav.is-open .nav__menu {
  display: flex;
}

.nav__link {
  padding: 10px 10px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav__cta {
  margin-top: 8px;
}

@media (min-width: 960px) {
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    position: static;
    padding: 0;
    background: none;
    border: none;
  }
  .nav__link {
    padding: 7px 10px;
  }
  .nav__cta {
    margin-top: 0;
    margin-left: 8px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease), opacity 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-sm {
  padding: 8px 13px;
  font-size: var(--text-sm);
}

/* Segmented Controls */
.seg {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  gap: 2px;
  flex-wrap: wrap;
}

.seg__opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

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

.seg__opt[aria-checked="true"],
.seg__opt.is-active {
  background: var(--surface-3);
  color: var(--text);
}

/* Opening Workspace Layout (Direct Utility Entry) */
.workspace-open {
  padding-top: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(32px, 5vw, 54px);
}

.workspace-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(18px, 2.5vw, 24px);
}

@media (min-width: 820px) {
  .workspace-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}

.workspace-title {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.workspace-title span {
  color: var(--accent);
}

.workspace-sub {
  max-width: 64ch;
  color: var(--muted);
  font-size: var(--text-body);
}

/* Primary Workbench Surface (Zero Nested Card Cages) */
.wb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.wb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.018);
  border-bottom: 1px solid var(--border-subtle);
}

.wb__bar-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text);
}

.wb__bar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

/* Hero Readout Banner inside Workbench */
.wb__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(18px, 3vw, 26px);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 820px) {
  .wb__hero--split {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
    align-items: center;
    gap: 28px;
  }
}

.ip-readout__label {
  display: block;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 4px;
}

.ip-readout__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ip-readout__val {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  word-break: break-all;
  line-height: 1.2;
}

.ip-readout__meta {
  margin-top: 8px;
  color: var(--text);
  font-size: var(--text-body);
}

.ip-readout__sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Score / Verdict Meter Panel */
.score-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.score-panel__num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 850;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}

.score-panel[data-tone="ok"] .score-panel__num {
  color: var(--ok);
}

.score-panel[data-tone="warn"] .score-panel__num {
  color: var(--warn);
}

.score-panel[data-tone="danger"] .score-panel__num {
  color: var(--danger);
}

.score-panel__body {
  min-width: 0;
}

.score-panel__title {
  display: block;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text);
}

.score-panel__desc {
  margin-top: 3px;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Verdict Alert Strip */
.verdict-strip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px clamp(16px, 3vw, 24px);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.verdict-strip[data-tone="ok"] {
  background: var(--ok-soft);
}

.verdict-strip[data-tone="warn"] {
  background: var(--warn-soft);
}

.verdict-strip[data-tone="danger"] {
  background: var(--danger-soft);
}

.verdict-strip__main {
  max-width: 64ch;
}

.verdict-strip__title {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text);
}

.verdict-strip[data-tone="ok"] .verdict-strip__title {
  color: var(--ok);
}

.verdict-strip[data-tone="warn"] .verdict-strip__title {
  color: var(--warn);
}

.verdict-strip[data-tone="danger"] .verdict-strip__title {
  color: var(--danger);
}

.verdict-strip__desc {
  margin-top: 4px;
  color: var(--text);
  font-size: var(--text-sm);
}

/* Hairline Grid Cells inside Workbench (1px Divider Architecture) */
.wb__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--border-subtle);
}

@media (min-width: 680px) {
  .wb__grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .wb__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .wb__grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wb__cell {
  background: var(--surface);
  padding: 18px clamp(16px, 2.5vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wb__cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wb__cell-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
}

.wb__cell-val {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.wb__cell-note {
  font-size: var(--text-sm);
  color: var(--muted);
}

.wb__cell-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

/* Semantic Status Text (Table & Diagnostic Cells) */
.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
}

.st--ok {
  color: var(--ok);
}

.st--warn {
  color: var(--warn);
}

.st--danger {
  color: var(--danger);
}

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

/* Key-Value Data Table / Rows */
.kv-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 720px) {
  .kv-table--2col {
    grid-template-columns: 1fr 1fr;
  }
}

.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px clamp(16px, 3vw, 24px);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 720px) {
  .kv-table--2col .kv-row:nth-child(odd) {
    border-right: 1px solid var(--border-subtle);
  }
}

.kv-row__k {
  font-size: var(--text-sm);
  color: var(--muted);
  flex-shrink: 0;
}

.kv-row__v {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text);
  text-align: right;
  word-break: break-all;
}

/* Audit Check List (Anti-Association / DNS / WebRTC Rows) */
.audit-list {
  display: block;
}

.audit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px clamp(16px, 3vw, 24px);
  border-bottom: 1px solid var(--border-subtle);
}

.audit-row:last-child {
  border-bottom: 0;
}

@media (min-width: 760px) {
  .audit-row {
    grid-template-columns: 200px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
  }
}

.audit-row__name {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text);
}

.audit-row__detail {
  font-size: var(--text-body);
  color: var(--text);
  word-break: break-word;
}

.audit-row__sub {
  display: block;
  margin-top: 2px;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Search / Manual IP Lookup Toolbar inside Workbench */
.lookup-bar {
  padding: 16px clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
}

.lookup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.input {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: var(--text-body);
  outline: none;
  transition: border-color 160ms var(--ease);
}

.input::placeholder {
  color: var(--muted);
  opacity: 0.72;
}

.input:focus {
  border-color: var(--accent);
}

.preset-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.preset-row__label {
  font-size: var(--text-sm);
  color: var(--muted);
}

.preset-btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-family: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.preset-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* Canvas Specimen Preview Box (Fingerprint Workbench) */
.fp-specimen {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 24px);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.fp-specimen__canvas {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #09131e;
  width: 260px;
  height: 64px;
  flex-shrink: 0;
}

.fp-specimen__info {
  flex: 1;
  min-width: 220px;
}

.fp-specimen__info p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 4px;
}

/* Workbench Footer Trust & Contextual Tip */
.wb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  color: var(--muted);
}

.wb__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.wb__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.wb__trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Copy Icon Button */
.copy-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.copy-inline:hover {
  color: var(--text);
  border-color: var(--accent);
}

.copy-inline[data-copied="1"] {
  color: var(--ok);
  border-color: var(--ok);
}

/* Content Sections Below the Fold */
.section {
  padding-block: clamp(40px, 6vw, 68px);
  border-top: 1px solid var(--border-subtle);
}

.section__title {
  font-size: var(--text-h2);
  font-weight: 800;
  margin-bottom: 10px;
}

.section__desc {
  color: var(--muted);
  max-width: 64ch;
  margin-bottom: 26px;
}

/* Tool Matrix Grid (1px Divider Hairline Grid) */
.matrix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 680px) {
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.matrix-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: var(--surface);
  color: var(--text);
  transition: background-color 160ms var(--ease);
}

.matrix-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.matrix-item.is-current {
  background: rgba(45, 212, 191, 0.06);
}

.matrix-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.matrix-item__title {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text);
}

.matrix-item__arrow {
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}

.matrix-item__desc {
  color: var(--muted);
  font-size: var(--text-body);
}

/* Genuine Step Sequence */
.steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 760px) {
  .steps-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps-list__item {
  padding-top: 14px;
  border-top: 2px solid var(--border);
}

.steps-list__num {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.steps-list__h {
  font-size: var(--text-body);
  font-weight: 700;
  margin-bottom: 6px;
}

.steps-list__p {
  color: var(--muted);
  font-size: var(--text-body);
}

/* Two-Column Practical Guide Split */
.guide-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 760px) {
  .guide-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.guide-block h3 {
  font-size: var(--text-body);
  font-weight: 700;
  margin-bottom: 10px;
}

.guide-list {
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.guide-list strong {
  color: var(--text);
}

/* FAQ Accordion */
.faq__list {
  display: block;
  border-top: 1px solid var(--border-subtle);
}

.faq__item {
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 16px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: var(--text-body);
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 65ch;
}

/* Inline Sponsored Partner Card (.vcta preserved for toolsite_patch.py) */
.vcta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 3.5vw, 30px);
  border-radius: var(--radius);
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: linear-gradient(135deg, rgba(13, 22, 34, 0.96), rgba(9, 25, 34, 0.96));
}

@media (min-width: 820px) {
  .vcta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

.vcta__content {
  max-width: 60ch;
}

.vcta__title {
  font-size: var(--text-h2);
  font-weight: 800;
  margin-bottom: 8px;
}

.vcta__desc {
  color: var(--muted);
  margin-bottom: 12px;
}

.vcta__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--text);
  font-size: var(--text-body);
}

.vcta__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vcta__list svg {
  color: var(--accent);
  flex-shrink: 0;
}

.vcta__side {
  flex-shrink: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 36px 96px;
  background: rgba(255, 255, 255, 0.01);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 820px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand-sub {
  font-size: var(--text-sm);
  color: var(--muted);
}

.footer__links,
.footer__sisters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.footer__links a,
.footer__sister {
  color: var(--muted);
  font-size: var(--text-sm);
}

.footer__links a:hover,
.footer__sister:hover {
  color: var(--accent);
}

.footer__sisters {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.footer__sisters-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.footer__legal {
  margin-top: 18px;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Floating CTA (.fcta preserved for toolsite_patch.py) */
.fcta {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -10px rgba(45, 212, 191, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.fcta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fcta:hover {
  color: var(--accent-ink);
  background: var(--accent-hover);
}

.fcta__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(4, 23, 20, 0.14);
  flex-shrink: 0;
}

.fcta__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.fcta__text strong {
  font-size: var(--text-body);
  font-weight: 800;
}

.fcta__text small {
  font-size: var(--text-sm);
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcta__arrow {
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .fcta {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 348px;
  }
}

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