/* Audit Desk — Paper system */
:root {
  --paper: #f7f6f3;
  --paper-2: #f0eee8;
  --elev: #ffffff;
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --mute: #6b6b6b;
  --mute-2: #8a8a8a;
  --line: #e6e4df;
  --line-strong: #d4d1c9;
  --tron: #ef0027;
  --tron-dark: #c4001f;
  --tron-soft: rgba(239, 0, 39, 0.08);
  --ok: #0f7a5a;
  --ok-soft: #e8f6f1;
  --warn: #b45309;
  --warn-soft: #fff4e5;
  --flag: #c4001f;
  --flag-soft: #fdecee;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Syne", "DM Sans", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1080px;
  --header-h: 3.75rem;
  --gutter: 1.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
  --motion-distance: 22px;
  --mx: 0;
  --my: 0;
  --spot-x: 50%;
  --spot-y: 40%;
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-stagger > *,
  #results.on,
  .btn:not(:disabled),
  .cluster-card,
  .scan.is-on,
  .hero-atmosphere,
  .deep-demo,
  .deep-demo::backdrop,
  .faq-answer,
  .faq-answer-inner > p,
  .faq summary::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
.brand-logo,
.hero-brand-token,
.input-token,
.btn .icon,
.paste .icon {
  display: inline-block;
  max-width: none;
}
button, input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }

.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
}

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

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
@media (min-width: 640px) {
  :root { --gutter: 1.75rem; }
}

/* ——— Skip ——— */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--tron);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 246, 243, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 246, 243, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.03);
}

.header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-logo {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 11rem;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong {
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand-text em { display: none; }

.header-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin: 0;
}
@media (min-width: 820px) {
  .header-nav { display: flex; }
}
.header-nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.header-nav a:hover {
  color: var(--ink);
  background: rgba(20, 20, 20, 0.04);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.nav-burger {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover {
  color: var(--tron);
  background: transparent;
}
.nav-burger-icon {
  display: block;
  pointer-events: none;
}
.nav-burger-icon--close {
  display: none;
  position: absolute;
}
.nav-burger[aria-expanded="true"] .nav-burger-icon--menu {
  display: none;
}
.nav-burger[aria-expanded="true"] .nav-burger-icon--close {
  display: block;
}

@media (max-width: 819px) {
  .nav-burger {
    display: inline-flex;
    justify-content: flex-end;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: -0.35rem;
  }
  .header-actions .btn-sm#navPayBtn { display: none; }
  .site-header .wrap.header-bar {
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}

/* Mobile nav — full-screen (must live outside header; backdrop-filter breaks fixed) */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.mobile-nav.is-open {
  pointer-events: auto;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  padding:
    calc(var(--header-h) + env(safe-area-inset-top) + 1rem)
    max(1.15rem, env(safe-area-inset-right))
    calc(1.35rem + env(safe-area-inset-bottom))
    max(1.15rem, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s var(--ease-out),
    transform 0.28s var(--ease-out),
    visibility 0.28s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open .mobile-nav-panel {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.mobile-nav-intro,
.mobile-nav-section {
  display: none;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.15rem;
  padding-top: 0.35rem;
}
.mobile-nav-item {
  display: block;
  padding: 0.85rem 0.1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--ink);
}
.mobile-nav-item:hover,
.mobile-nav-item:active {
  color: var(--tron);
  text-decoration: none;
}
.mobile-nav-item strong,
.mobile-nav-item span {
  display: contents;
}
.mobile-nav-lang {
  padding-top: 0.15rem;
}
.mobile-nav-label {
  margin: 0 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.lang-mobile {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
}
.lang-mobile a {
  flex: none;
  text-align: center;
  padding: 0.75rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--mute);
}
.lang-mobile a[aria-current="page"] {
  color: #fff !important;
  background: var(--tron) !important;
  box-shadow: none !important;
}
.mobile-nav-connect {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
body.nav-open {
  overflow: hidden;
}
body.nav-open .site-header {
  z-index: 90;
  background: #fff;
  border-bottom-color: var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.nav-open .nav-burger {
  opacity: 1;
  pointer-events: auto;
  color: var(--ink);
  z-index: 91;
}

@media (min-width: 820px) {
  .mobile-nav,
  .nav-burger {
    display: none !important;
  }
}


.lang {
  display: none;
  align-items: center;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}
@media (min-width: 820px) {
  .lang:not(.lang-mobile) { display: inline-flex; }
}
.lang a,
.lang button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--mute-2);
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang a:hover { color: var(--ink); text-decoration: none; }
.lang a[aria-current="page"] {
  color: var(--ink);
  background: var(--elev);
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.06);
}

.net-chip { display: none; }
.header-progress,
.header-shell,
.header-island,
.header-search-wrap,
.header-search-inline,
.header-search,
.trust-bar,
.header-row,
.page-atmosphere { display: none !important; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.15rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s var(--ease-out),
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(0.985); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-sm { padding: 0.5rem 0.85rem; font-size: 0.75rem; }

.btn-tron,
.btn-chaos,
.btn-cta {
  background: var(--tron);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 24px rgba(239, 0, 39, 0.18);
}
.btn-tron:hover,
.btn-chaos:hover,
.btn-cta:hover {
  background: var(--tron-dark);
  color: #fff;
}

.btn-login {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04);
  font-weight: 600;
}
.btn-login:hover {
  background: var(--paper);
  border-color: #cfcbc3;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(20, 20, 20, 0.06);
}
.btn-login .icon {
  opacity: 0.85;
}

.btn-deep {
  background: var(--tron);
  color: #fff;
  border: 1px solid transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 4px 14px rgba(239, 0, 39, 0.18);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.btn-deep:hover {
  background: var(--tron-dark);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 18px rgba(239, 0, 39, 0.24);
}
.btn-deep .icon { opacity: 1; }
.btn-deep-block { width: 100%; }
.pay .btn-deep {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.pay .btn-deep:hover {
  background: #f4f4f4;
  color: var(--ink);
}

.btn-ghost,
.btn-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover,
.btn-dark:hover {
  background: rgba(20, 20, 20, 0.04);
  color: var(--ink);
}

.btn-signal {
  background: var(--ink);
  color: #fff;
}

/* ——— Micro interactions ——— */
.site-nav a,
.footer-nav a,
.explore-links a,
.related a {
  transition: color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.paste {
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s var(--ease-out);
}
.paste:hover { transform: translateY(-1px); }
.cluster-card,
.how-step,
.tool-shell {
  transition: border-color 0.2s ease, box-shadow 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

/* ——— Hero (tool-in-hero) ——— */
.hero-stage {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}
@media (min-width: 900px) {
  .hero-stage { padding: 3.5rem 0 4.5rem; }
}

/* After a check, collapse hero so the report sits tight under the tool */
body.has-results .hero-stage {
  min-height: 0;
  padding-bottom: 1.75rem;
}
@media (min-width: 900px) {
  body.has-results .hero-stage {
    padding-bottom: 2rem;
  }
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      900px circle at calc(50% + var(--mx) * 8%) calc(32% + var(--my) * 6%),
      rgba(239, 0, 39, 0.09) 0%,
      transparent 55%
    ),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 55%, var(--paper-2) 100%);
}
.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("../img/noise.svg");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-frame {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0;
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .hero-copy { margin-bottom: 2.5rem; }
}

.hero-brand {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.hero-brand-token {
  width: 0.48em;
  height: 0.48em;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(239, 0, 39, 0.2);
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink-soft);
}

.hero-lede,
.hero-copy .lede {
  margin: 0 0 0.75rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--mute);
}

.hero-net {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tron);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0;
  max-width: 36rem;
}
.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-live i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ok, #1a7f4b);
  box-shadow: 0 0 0 0 rgba(26, 127, 75, 0.45);
  animation: live-pulse 2.2s ease-out infinite;
}
.hero-stat {
  font-size: 0.875rem;
  color: var(--mute);
  letter-spacing: -0.01em;
}
.hero-stat strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-right: 0.3rem;
}
.hero-trust-sep {
  width: 1px;
  height: 0.9rem;
  background: var(--line-strong);
}
.hero-trust-note {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 127, 75, 0.45); }
  70% { box-shadow: 0 0 0 0.45rem rgba(26, 127, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 127, 75, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-live i { animation: none; }
}

.hero-aside { display: none; }
.hero-bottom { display: block; }
.hero-spot,
.hero-grid-canvas,
.hero-tron,
.hero-mark { display: none !important; }

/* ——— Tool in hero ——— */
.hero-tool {
  width: 100%;
  max-width: 44rem;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 50px rgba(20, 20, 20, 0.06);
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) {
  .hero-tool { padding: 1.35rem 1.4rem 1.5rem; }
}

.hero-tool::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--spot-x, 70%) var(--spot-y, 20%),
    rgba(239, 0, 39, 0.06),
    transparent 55%
  );
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.hero-tool:hover::before { opacity: 1; }

.tool-head { margin-bottom: 1rem; }
.tool-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.tool-head p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--mute);
}

.tool-form { position: relative; }
.lbl {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
}

.tool-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
@media (min-width: 560px) {
  .tool-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.input-shell {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.35rem 0.45rem 0.35rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.25s var(--ease-out), background 0.2s ease;
}
.input-shell:focus-within {
  background: #fff;
  border-color: var(--tron);
  box-shadow: 0 0 0 4px var(--tron-soft);
}
.input-shell.is-invalid {
  border-color: var(--flag);
  box-shadow: 0 0 0 4px rgba(196, 0, 31, 0.08);
}
.input-shell.is-valid {
  border-color: rgba(15, 122, 90, 0.45);
}

.input-token {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.input-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.input-shell input::placeholder { color: var(--mute-2); }

.paste {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--mute);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.paste:hover {
  color: var(--ink);
  background: rgba(20, 20, 20, 0.05);
}

.tool-submit {
  min-height: 3.15rem;
  padding-inline: 1.35rem;
  flex-shrink: 0;
}

.hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--mute-2);
}
.hint.ok { color: var(--ok); }
.hint.bad,
.hint.is-error { color: var(--flag); }

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  margin-top: 0.7rem;
}
.tool-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.sample-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  line-height: 1.4;
}
.sample-btn:hover {
  color: var(--tron);
  border-bottom-color: var(--tron);
}
.tool-kbd {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.tool-kbd kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  font: inherit;
  color: var(--mute);
}

.scan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.scan.is-on { opacity: 1; }
.scan.is-on::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, var(--tron), transparent);
  animation: sweep 1.1s var(--ease-out) infinite;
}
@keyframes sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}

/* Glance */
.tool-glance {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.glance-idle {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--mute);
}
.tool-glance.is-idle .glance-idle { display: flex; }
.tool-glance.is-idle .glance-grid,
.tool-glance.is-idle .glance-foot { display: none; }
.glance-idle-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--mute);
  flex-shrink: 0;
  position: relative;
}
.tool-glance.is-idle .glance-idle-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(239, 0, 39, 0.25);
  animation: idle-ring 2.8s ease-out infinite;
}
@keyframes idle-ring {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tool-glance.is-idle .glance-idle-icon::after { animation: none; opacity: 0; }
}
.glance-idle p { margin: 0; font-size: 0.875rem; }
.glance-idle strong { color: var(--ink); font-weight: 600; }

.glance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}
@media (min-width: 560px) {
  .glance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.glance-cell { min-width: 0; }
.glance-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 0.2rem;
}
.glance-cell strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.glance-cell .usd {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--mute-2);
}
.glance-cell .usd.muted { color: var(--mute-2); }

.glance-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.95rem;
}
.glance-badge {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--mute);
}
.glance-badge.is-live {
  background: var(--ok-soft);
  color: var(--ok);
}
.glance-badge.is-risk {
  background: var(--flag-soft);
  color: var(--flag);
}
.glance-total {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.tool-addr {
  margin: 0.85rem 0 0;
  font-size: 0.6875rem;
  color: var(--mute-2);
  word-break: break-all;
}

/* ——— Directory / backlink logo rail ——— */
.logo-rail {
  padding: 0 0 0.25rem;
  background: var(--paper);
}
.logo-rail-head {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.logo-rail-label {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.logo-rail-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-rail-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: logo-marquee 42s linear infinite;
  will-change: transform;
}
.logo-rail:hover .logo-rail-track {
  animation-play-state: paused;
}
.logo-rail-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-rail-item {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  height: 4.25rem;
  padding: 0 1.75rem;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}
.logo-rail-item img {
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: 13.5rem;
  object-fit: contain;
  filter: grayscale(0.15);
}
.logo-rail-item:hover {
  opacity: 1;
  transform: translateY(-1px);
  text-decoration: none;
}
.logo-rail-item:hover img {
  filter: none;
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-rail-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem 0;
  }
  .logo-rail-set[aria-hidden="true"] {
    display: none;
  }
  .logo-rail-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .logo-rail-item {
    padding: 0 1rem 0 0;
  }
}

/* legacy bento aliases */
.band,
.band-light,
.section { background: var(--paper); }
.stat-panel { display: none; }
.bento,
.bento-cell,
.bento-tool { display: contents; }

/* ——— Results ——— */
#results {
  display: none;
  padding: 0 0 3.25rem;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-h) + 0.85rem);
}
#results.on {
  display: block;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  animation: resultsIn 0.55s var(--ease-out) both;
}
@keyframes resultsIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.15rem;
}
.results-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.results-head .addr {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mute);
  word-break: break-all;
}
.results-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
}
.badge i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}
.badge.is-ok { background: var(--ok-soft); color: var(--ok); }
.badge.is-flag { background: var(--flag-soft); color: var(--flag); }

.results-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .results-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.panel {
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .panel { padding: 1.5rem; }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1rem;
}
@media (min-width: 640px) {
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.metrics p {
  margin: 0 0 0.25rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.metrics strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.metrics .usd {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--mute-2);
}

.risk-block { margin-top: 1.35rem; }
.risk-lab {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--mute);
  margin-bottom: 0.45rem;
}
.bar {
  height: 6px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, var(--tron));
  transition: width 0.8s var(--ease-out);
}

.table-wrap {
  margin-top: 1.35rem;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
.signals {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.signals th,
.signals td {
  padding: 0.85rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.signals th {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.signals td:first-child { font-weight: 600; color: var(--ink); }
.signals td:nth-child(2) { color: var(--mute); }
.signals tbody tr:last-child th,
.signals tbody tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
}
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-flag { background: var(--flag-soft); color: var(--flag); }

.pay {
  background: var(--ink);
  color: #f5f5f5;
  border-radius: 14px;
  padding: 1.35rem 1.35rem 1.45rem;
  position: relative;
  overflow: hidden;
}
.pay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--spot-x, 70%) var(--spot-y, 20%),
    rgba(239, 0, 39, 0.22),
    transparent 60%
  );
}
.pay > * { position: relative; z-index: 1; }
.pay .micro {
  margin: 0 0 0.45rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.45);
}
.pay h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.pay .blurb {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: rgba(245, 245, 245, 0.65);
  line-height: 1.5;
}
.pay ul {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.pay li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  color: rgba(245, 245, 245, 0.78);
}
.pay .price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}
.pay .price strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.pay .price span {
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.45);
}
.pay .btn-login {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-color: transparent;
}
.pay .btn-login:hover {
  background: #f2f2f2;
  color: var(--ink);
}
.pay .btn-tron { width: 100%; }
.pay-status {
  margin: 0.65rem 0 0;
  min-height: 1.2em;
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.55);
}

/* ——— Deep scan modal (paper) ——— */
.deep-demo {
  border: 0;
  padding: 0;
  max-width: min(1120px, calc(100vw - 1.25rem));
  width: 100%;
  background: transparent;
  color: var(--ink);
}
.deep-demo[open] {
  animation: deep-open 0.28s var(--ease-out);
}
.deep-demo[open]::backdrop {
  animation: deep-backdrop 0.24s ease;
}
.deep-demo.is-closing {
  animation: deep-close 0.2s ease forwards;
}
.deep-demo.is-closing::backdrop {
  animation: deep-backdrop-out 0.2s ease forwards;
}
@keyframes deep-open {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes deep-close {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(8px) scale(0.985); }
}
@keyframes deep-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes deep-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
.deep-demo::backdrop {
  background: rgba(20, 20, 20, 0.38);
  backdrop-filter: blur(6px);
}
.deep-demo-shell {
  background: var(--elev);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(20, 20, 20, 0.16);
}
.deep-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.deep-demo-bar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.deep-demo-back {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--elev);
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.deep-demo-back:hover {
  background: var(--paper-2);
  border-color: #cfcbc3;
}
.deep-demo-back[hidden] { display: none !important; }
.deep-demo-kicker {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.deep-demo-addr {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--mute);
}
.deep-demo-bar-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.deep-demo-badge {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--tron-soft);
  color: var(--tron-dark);
  border: 1px solid rgba(239, 0, 39, 0.18);
}
.deep-demo-x {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--elev);
  color: var(--ink);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s var(--ease-out);
}
.deep-demo-x:hover {
  background: var(--paper-2);
  border-color: #cfcbc3;
  transform: scale(1.04);
}

.deep-demo-body {
  min-height: 16rem;
  padding: 1.25rem 1.2rem;
  background: var(--elev);
}
.deep-demo-gate[hidden],
.deep-demo-wallet[hidden],
.deep-demo-scanning[hidden],
.deep-demo-report[hidden] { display: none !important; }

.deep-demo-gate {
  display: grid;
  gap: 1rem;
}
.deep-gate-proof {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.deep-gate-title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
}
.deep-gate-sub {
  margin: 0 0 0.85rem;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--mute);
}
.deep-trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.deep-trust-row li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.deep-offer {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.15rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(239, 0, 39, 0.28);
  background:
    linear-gradient(180deg, #fff 0%, #fff7f8 100%);
  box-shadow: 0 12px 32px rgba(239, 0, 39, 0.07);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s var(--ease-out), box-shadow 0.18s ease;
}
.deep-offer:hover {
  border-color: rgba(239, 0, 39, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(239, 0, 39, 0.1);
}
.deep-offer:focus-visible {
  outline: 2px solid var(--tron);
  outline-offset: 2px;
}
.deep-offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.deep-offer-rec {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tron-dark);
  background: var(--tron-soft);
  border: 1px solid rgba(239, 0, 39, 0.18);
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
}
.deep-offer-tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.deep-offer-main {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .deep-offer-main {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
  }
}
.deep-offer-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.deep-offer-copy > p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--mute);
}
.deep-offer-price {
  margin: 0 !important;
  display: grid;
  gap: 0.2rem;
}
.deep-offer-price strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.deep-offer-price span {
  font-size: 0.75rem;
  color: var(--mute-2);
}
.deep-offer-includes {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0.85rem;
  display: grid;
  gap: 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}
.deep-offer-includes li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.deep-offer-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--tron);
  box-shadow: 0 0 0 3px var(--tron-soft);
}
.deep-offer-cta {
  width: 100%;
  pointer-events: none;
}

.deep-sample-link {
  appearance: none;
  display: grid;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background: var(--paper);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s var(--ease-out);
}
.deep-sample-link:hover {
  border-color: #cfcbc3;
  background: #fff;
  transform: translateY(-1px);
}
.deep-sample-link > span:first-child {
  font-weight: 650;
  font-size: 0.9rem;
}
.deep-sample-link-sub {
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.4;
}

.deep-upsell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--tron-soft);
  border: 1px solid rgba(239, 0, 39, 0.18);
}
.deep-upsell p {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  line-height: 1.4;
}

.deep-demo-wallet {
  display: grid;
  place-items: center;
  min-height: 14rem;
}
.deep-wallet-card {
  width: min(32rem, 100%);
  padding: 0.25rem 0.15rem;
}
.deep-wallet-kicker {
  margin: 0 0 0.45rem;
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tron-dark);
  background: var(--tron-soft);
  border: 1px solid rgba(239, 0, 39, 0.18);
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
}
.deep-wallet-includes {
  margin: 0 0 1rem;
}
.deep-wallet-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.deep-wallet-card > p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--mute);
}
.deep-wallet-note {
  margin: 0 0 1.15rem !important;
  font-size: 0.8125rem !important;
  color: var(--mute-2) !important;
}
.deep-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.deep-demo-scanning {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  min-height: 14rem;
  text-align: center;
  color: var(--mute);
}
.deep-scan-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--tron);
  animation: spin 0.7s linear infinite;
}
.deep-scan-meter {
  width: min(14rem, 70vw);
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.deep-scan-meter b {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: inherit;
  background: var(--tron);
  transition: width 0.3s linear;
}
.deep-scan-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.deep-scan-steps span {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--mute-2);
  background: var(--paper);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.deep-scan-steps span.is-on {
  color: var(--tron-dark);
  border-color: rgba(239, 0, 39, 0.28);
  background: var(--tron-soft);
}
.deep-scan-log { margin: 0; }

.deep-demo-report {
  display: grid;
  gap: 0.85rem;
  animation: deep-view-in 0.28s var(--ease-out);
}
@keyframes deep-view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.deep-demo-gate,
.deep-demo-wallet,
.deep-demo-scanning {
  animation: deep-view-in 0.24s var(--ease-out);
}
.deep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.deep-meta > span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 7px;
  background: var(--elev);
  border: 1px solid var(--line);
}
.deep-meta b {
  color: var(--ink-soft);
  font-weight: 600;
  margin-left: 0.28rem;
}
@media (min-width: 860px) {
  .deep-demo-report {
    grid-template-columns: 14.5rem minmax(0, 1fr);
    align-items: start;
  }
  .deep-upsell,
  .deep-meta,
  .deep-insight { grid-column: 1 / -1; }
}
.deep-insight {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(239, 0, 39, 0.04), transparent 42%),
    var(--paper);
  border: 1px solid var(--line);
}
@media (min-width: 720px) {
  .deep-insight {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}
.deep-insight-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.deep-insight-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  max-width: 42rem;
}
.deep-insight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(4.5rem, 1fr));
  gap: 0.45rem;
}
.deep-insight-stats div {
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  background: var(--elev);
  border: 1px solid var(--line);
  text-align: center;
}
.deep-insight-stats span {
  display: block;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 0.2rem;
}
.deep-insight-stats strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.deep-insight-stats strong.is-up { color: var(--tron-dark); }
.deep-verdict {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--mute);
  text-align: center;
}
.deep-modules {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.deep-modules-label {
  margin: 0 0 0.45rem;
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.deep-modules ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.deep-modules li {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--mute);
}
.deep-modules li.is-on {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: rgba(15, 122, 90, 0.18);
}
.deep-modules li.is-dim { opacity: 0.45; }
.deep-findings {
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 720px) {
  .deep-findings { grid-template-columns: repeat(3, 1fr); }
}
.deep-finding {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.deep-finding.is-flag {
  background: linear-gradient(180deg, #fff8f8 0%, var(--paper) 100%);
  border-color: rgba(239, 0, 39, 0.18);
}
.deep-finding .tag { margin-bottom: 0.45rem; }
.deep-finding strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.deep-finding p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--mute);
}
.deep-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin: -0.15rem 0 0.65rem;
  font-size: 0.6875rem;
  color: var(--mute);
}
.deep-graph-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.deep-graph-legend i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
}
.deep-graph-legend .lg-core { background: var(--tron); }
.deep-graph-legend .lg-mid { background: #d8d5ce; border: 1px solid #bdb9b0; }
.deep-graph-legend .lg-flag { background: #f5c2c8; border: 1px solid var(--tron); }
.deep-graph-legend .lg-ok { background: #cfe8df; border: 1px solid var(--ok); }
.deep-table-wrap {
  overflow-x: auto;
  margin: 0 -0.15rem;
  padding: 0 0.15rem;
}
.deep-side {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.deep-score {
  position: relative;
  width: 6.75rem;
  height: 6.75rem;
  margin: 0 auto 0.65rem;
}
.deep-score svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.deep-score-track {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 8;
}
.deep-score-val {
  fill: none;
  stroke: var(--tron);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 0.9s var(--ease-out);
}
.deep-score-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.deep-score-num strong {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.deep-score-num span {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--mute-2);
}
.deep-score-label {
  margin: 0 0 0.4rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--mute);
}
.deep-sev {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 auto 0.9rem;
  width: fit-content;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tron-dark);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--flag-soft);
  border: 1px solid rgba(239, 0, 39, 0.14);
}
.deep-sev-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--tron);
}
.deep-sev.is-low {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: rgba(15, 122, 90, 0.18);
}
.deep-sev.is-low .deep-sev-dot { background: var(--ok); }
.deep-sev.is-high { color: var(--flag); }
.deep-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0;
}
.deep-kv div {
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  background: var(--elev);
  border: 1px solid var(--line);
}
.deep-kv dt {
  margin: 0 0 0.15rem;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.deep-kv dd {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.deep-bars {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}
.deep-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.45rem;
  align-items: center;
  font-size: 0.625rem;
  color: var(--mute);
}
.deep-bar span { grid-column: 1; }
.deep-bar b {
  grid-column: 2;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink-soft);
}
.deep-bar i {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.deep-bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 30%);
  background: var(--tron);
  border-radius: inherit;
}
.deep-main { display: grid; gap: 0.75rem; }
.deep-split {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .deep-split { grid-template-columns: 1.15fr 0.95fr; }
}
.deep-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.deep-timeline li {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  background: var(--elev);
  border: 1px solid var(--line);
}
.deep-timeline li.is-flag {
  border-color: rgba(239, 0, 39, 0.16);
  background: #fff8f8;
}
.deep-timeline li > span {
  font-size: 0.625rem;
  color: var(--mute-2);
  padding-top: 0.15rem;
}
.deep-timeline strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 650;
  margin-bottom: 0.12rem;
}
.deep-timeline p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--mute);
  line-height: 1.35;
}
.deep-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem 1rem;
}
.deep-panel header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.deep-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.deep-panel header span {
  font-size: 0.6875rem;
  color: var(--mute-2);
}
.deep-graph {
  border-radius: 12px;
  background:
    radial-gradient(ellipse 45% 55% at 12% 50%, rgba(239, 0, 39, 0.05), transparent 60%),
    var(--elev);
  border: 1px solid var(--line);
  color: var(--mute);
  overflow: hidden;
}
.deep-graph svg { width: 100%; height: auto; display: block; }
.deep-nodes .n-core { fill: var(--tron); }
.deep-nodes .n-mid { fill: #d8d5ce; stroke: #bdb9b0; stroke-width: 1; }
.deep-nodes .n-flag { fill: #f5c2c8; stroke: var(--tron); stroke-width: 1.5; }
.deep-nodes .n-ok { fill: #cfe8df; stroke: var(--ok); stroke-width: 1.5; }
.deep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.deep-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
  padding: 0.35rem 0.35rem;
  border-bottom: 1px solid var(--line);
}
.deep-table td {
  padding: 0.6rem 0.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.deep-table .tag { font-size: 0.625rem; }
.deep-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.deep-paths li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: var(--elev);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.deep-paths li:hover {
  border-color: rgba(239, 0, 39, 0.22);
  background: #fff;
}
.deep-path-main { min-width: 0; flex: 1; }
.deep-path-hops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}
.deep-path-hops span {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--mute);
}
.deep-path-hops span.is-flag {
  color: var(--tron-dark);
  background: var(--flag-soft);
  border-color: rgba(239, 0, 39, 0.18);
}
.deep-path-hops span.is-ok {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: rgba(15, 122, 90, 0.18);
}
.deep-path-line {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deep-path-score {
  flex-shrink: 0;
  color: var(--tron-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.5rem;
  border-radius: 7px;
  background: var(--flag-soft);
  border: 1px solid rgba(239, 0, 39, 0.14);
}
.deep-demo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.deep-demo-foot p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.45;
}
.deep-demo-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
body.deep-demo-open { overflow: hidden; }
@media (max-width: 639px) {
  .deep-demo { max-width: calc(100vw - 0.75rem); }
  .deep-demo-body { padding: 1rem 0.9rem; }
  .deep-table th:nth-child(2),
  .deep-table td:nth-child(2),
  .deep-table th:nth-child(4),
  .deep-table td:nth-child(4),
  .deep-table th:nth-child(5),
  .deep-table td:nth-child(5) { display: none; }
  .deep-path-line { display: none; }
  .deep-insight-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ——— How it works ——— */
.home-block {
  padding: 0 0 3.25rem;
  background: var(--paper);
}
.home-block > .wrap {
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}
.how-layout {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
}
@media (min-width: 900px) {
  .how-layout {
    grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.6fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.how-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  max-width: 14ch;
}
.how-trust {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.55;
  max-width: 22rem;
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.how-steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.how-steps li:last-child {
  border-bottom: 0;
}
.how-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--tron);
  padding-top: 0.2rem;
}
.how-steps h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.how-steps p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--mute);
  line-height: 1.5;
}

.trust-strip {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.trust-strip .trust-point {
  padding: 1.25rem 0 0;
  border-bottom: 0;
}
@media (min-width: 800px) {
  .trust-strip .trust-point {
    padding: 1.35rem 1.25rem 0 0;
    border-right: 1px solid var(--line);
  }
  .trust-strip .trust-point:last-child {
    border-right: 0;
    padding-right: 0;
  }
  .trust-strip .trust-point:nth-child(2),
  .trust-strip .trust-point:last-child {
    padding-left: 1.25rem;
  }
  .trust-strip .trust-point:first-child {
    padding-left: 0;
  }
}
@media (max-width: 799px) {
  .trust-strip .trust-point {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-strip .trust-point:last-child {
    border-bottom: 0;
  }
}

.home-split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .home-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}
.seo-copy {
  max-width: 36rem;
}
.seo-copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.seo-copy .seo-sub {
  margin: 1.5rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.seo-copy p {
  margin: 0;
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.55;
}
.home-faq .section-head.tight {
  margin-bottom: 0;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid var(--line);
}
.home-faq .section-head h2 {
  max-width: none;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
}
.home-faq .faq {
  border-top: 0;
  max-width: none;
}
.home-faq .faq-more {
  margin-top: 1.1rem;
}

.explore-grid {
  display: grid;
  gap: 1.75rem 2rem;
  padding-top: 0.25rem;
}
@media (min-width: 800px) {
  .explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.explore-label {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.explore-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.explore-col a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  text-decoration: none;
  line-height: 1.35;
}
.explore-col a:hover {
  color: var(--tron);
}
.explore-col li:last-child a {
  border-bottom: 0;
}

/* legacy how/trust aliases kept for article pages if needed */
.chaos-grid,
.steps-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1rem 0 4rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .chaos-grid {
    grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    padding-top: 2.5rem;
    align-items: start;
  }
}
.chaos-grid-title h2,
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  max-width: 14ch;
}
.chaos-grid-item,
.steps > div {
  padding-top: 0.25rem;
}
.chaos-grid-item .step-icon {
  display: none;
}
.chaos-grid-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.chaos-grid-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--mute);
  line-height: 1.5;
}

/* ——— Trust band (legacy) ——— */
.trust-band {
  padding: 0.5rem 0 3.5rem;
}
.trust-head {
  padding: 2rem 0 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 36rem;
}
.trust-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.trust-lede {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.55;
}
.trust-points {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .trust-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.trust-point h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.trust-point p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--mute);
  line-height: 1.5;
  max-width: 28rem;
}

.seo-band {
  padding: 0.5rem 0 3rem;
}

.related-label,
.footer-col-title {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.cta-box-title {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 0;
}
.section-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--mute);
}

/* ——— Cluster (legacy list style) ——— */
.cluster-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 3rem;
}
.cluster-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.15rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.cluster-card:last-child {
  border-bottom: 0;
}
.cluster-card:hover {
  text-decoration: none;
  color: var(--tron);
}
.cluster-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.cluster-card-body strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.cluster-card-body span {
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.4;
}
.cluster-go {
  color: var(--mute-2);
  flex-shrink: 0;
}

/* ——— Closing CTA ——— */
.chaos-cta {
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(239, 0, 39, 0.08), transparent 60%),
    var(--paper-2);
  border-top: 1px solid var(--line);
}
.chaos-cta-inner {
  max-width: 34rem;
}
.chaos-cta h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.chaos-cta p {
  margin: 0 0 1.35rem;
  color: var(--mute);
  font-size: 1.05rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(245, 245, 245, 0.72);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.75rem;
  }
}
.footer-brand .footer-meta {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.42);
}
.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.55rem;
}
.footer-brand p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-col h2 {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.4);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-nav a {
  color: rgba(245, 245, 245, 0.78);
  text-decoration: none;
  font-size: 0.875rem;
}
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-meta {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.footer-bottom { padding-top: 1.15rem; }
.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.4);
}

/* ——— Mobile dock ——— */
.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(247, 246, 243, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ——— Mobile / narrow ——— */
@media (max-width: 639px) {
  :root {
    --header-h: 3.35rem;
    --motion-distance: 14px;
    --gutter: 1.5rem;
  }

  body {
    padding-bottom: 0;
  }
  body:has(.mobile-dock) {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  .wrap,
  .site-header .wrap,
  #main.wrap,
  .prose-page.wrap {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  .header-bar {
    gap: 0.65rem;
  }

  .brand-name {
    font-size: 0.75rem;
    max-width: 9.5rem;
  }

  .header-actions {
    gap: 0.4rem;
    justify-self: end;
  }

  .nav-burger {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: -0.2rem;
    justify-content: flex-end;
  }

  .header-actions .btn-sm {
    padding: 0.55rem 0.75rem;
    min-height: 2.5rem;
  }

  .lang {
    padding: 0.1rem;
  }
  .lang a {
    padding: 0.4rem 0.38rem;
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
  }

  /* Hero: compact, not forced full-viewport */
  .hero-stage {
    min-height: 0;
    padding: 1.35rem 0 1.75rem;
  }

  .hero-frame {
    justify-content: flex-start;
  }

  .hero-copy {
    margin-bottom: 1.15rem;
  }

  .hero-brand {
    gap: 0.35rem;
    margin-bottom: 0.55rem;
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    white-space: nowrap;
  }

  .hero-title {
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
  }

  .hero-lede,
  .hero-copy .lede {
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-net {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
  }

  .hero-atmosphere {
    background:
      radial-gradient(
        520px circle at 50% 18%,
        rgba(239, 0, 39, 0.1) 0%,
        transparent 58%
      ),
      linear-gradient(180deg, #fbfaf7 0%, var(--paper) 60%, var(--paper-2) 100%);
  }

  .hero-tool {
    padding: 0.95rem 0.9rem 1.05rem;
    border-radius: 12px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.8) inset,
      0 12px 32px rgba(20, 20, 20, 0.06);
  }

  .tool-head {
    margin-bottom: 0.85rem;
  }
  .tool-head h2 {
    font-size: 1rem;
  }

  .tool-row {
    flex-direction: column;
    gap: 0.55rem;
  }

  .input-shell {
    min-height: 3rem;
    padding: 0.3rem 0.35rem 0.3rem 0.75rem;
  }

  /* Prevent iOS zoom on focus */
  .input-shell input {
    font-size: 16px;
  }

  .paste {
    min-height: 2.5rem;
    min-width: 2.5rem;
    padding: 0.45rem 0.55rem;
  }
  .paste span {
    display: none;
  }

  .tool-submit {
    width: 100%;
    min-height: 3rem;
  }

  .hint {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .tool-glance {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
  }

  .glance-idle {
    gap: 0.65rem;
  }
  .glance-idle-icon {
    width: 2rem;
    height: 2rem;
  }
  .glance-idle p {
    font-size: 0.8125rem;
  }

  .glance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.85rem;
  }
  .glance-cell strong {
    font-size: 1.05rem;
  }

  .glance-foot {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .mobile-dock {
    display: block;
  }

  #results {
    padding-bottom: 2.25rem;
  }
  #results.on {
    padding-top: 1.15rem;
  }

  .results-head {
    padding-bottom: 0.9rem;
    margin-bottom: 1rem;
    gap: 0.75rem;
  }
  .results-head h2 {
    font-size: 1.35rem;
  }
  .results-actions {
    width: 100%;
    justify-content: space-between;
  }

  .panel {
    padding: 1rem;
    border-radius: 12px;
  }

  .metrics {
    gap: 0.95rem 0.75rem;
  }
  .metrics strong {
    font-size: 1.15rem;
  }

  .signals th,
  .signals td {
    padding: 0.7rem 0.25rem;
    font-size: 0.8125rem;
  }

  .pay {
    padding: 1.15rem;
    border-radius: 12px;
  }
  .pay h3 {
    font-size: 1.2rem;
  }

  .chaos-grid,
  .steps-grid,
  .home-block > .wrap {
    gap: 1.25rem;
    padding-top: 1.75rem;
  }
  .home-block {
    padding-bottom: 2.35rem;
  }
  .how-intro h2,
  .chaos-grid-title h2,
  .section-head h2,
  .trust-head h2,
  .seo-copy h2,
  .home-faq .section-head h2 {
    max-width: none;
    font-size: 1.55rem;
  }
  .section-head {
    margin-bottom: 1.1rem;
    padding-top: 0;
  }
  .how-layout {
    margin-bottom: 1.5rem;
  }
  .how-steps li {
    padding: 0.9rem 0;
  }
  .explore-grid {
    gap: 1.5rem;
  }
  .trust-band {
    padding-bottom: 2.5rem;
  }
  .trust-head {
    padding: 1.5rem 0 1.25rem;
  }

  .chaos-cta {
    padding: 2.5rem 0 3rem;
  }
  .chaos-cta h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }
  .chaos-cta p {
    font-size: 0.975rem;
    margin-bottom: 1.1rem;
  }
  .chaos-cta .btn {
    width: 100%;
    min-height: 3rem;
  }

  .site-footer {
    padding: 2.25rem 0 calc(1.25rem + env(safe-area-inset-bottom));
  }
  .footer-grid {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .prose-page {
    padding: 1.15rem 0 2.75rem;
  }
  .prose-page > h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
    margin-bottom: 0.65rem;
  }
  .prose-page .lead {
    font-size: 0.975rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }
  .prose-page .meta {
    margin-bottom: 0.5rem;
    font-size: 0.625rem;
  }
  .prose-page section {
    margin-bottom: 1.35rem;
  }
  .prose-page section h2 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
  }
  .prose-page section p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .breadcrumbs {
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .cta-box {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }
  .cta-box-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
  .cta-box-body h2 {
    font-size: 1.05rem;
  }
  .cta-box-body p {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  .cta-box .btn {
    width: 100%;
    min-height: 2.85rem;
  }

  .related {
    margin-top: 2rem;
    padding-top: 1.25rem;
  }
  .faq + .related {
    margin-top: 0;
    padding-top: 1.5rem;
    border-top: 0;
  }
  .related ul {
    gap: 0;
  }
  .related li {
    border-bottom: 1px solid var(--line);
  }
  .related li:last-child {
    border-bottom: 0;
  }
  .related a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.95rem;
    line-height: 1.35;
    min-height: 2.75rem;
  }

  .faq summary {
    padding: 1rem 0;
    min-height: 2.85rem;
    font-size: 0.95rem;
  }
  .faq-answer-inner > p {
    padding: 0 1.5rem 1rem 0;
    font-size: 0.92rem;
  }
}

/* Very small phones */
@media (max-width: 379px) {
  .brand-name { letter-spacing: -0.04em; }
  .hero-brand { font-size: 1.55rem; }
  .hero-net { letter-spacing: 0.05em; }
}

/* Tablet: keep stacked tool until roomy */
@media (min-width: 640px) and (max-width: 819px) {
  .hero-stage {
    min-height: 0;
    padding: 2rem 0 2.75rem;
  }
  .header-actions .btn-sm {
    min-height: 2.5rem;
  }
}

/* ——— Articles / prose ——— */
.prose-page {
  padding: 2rem 0 4.5rem;
  color: var(--ink);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--mute);
}
.breadcrumbs a { color: var(--mute); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.prose-page .meta {
  margin: 0 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.prose-page > h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.prose-page .lead {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--mute);
  line-height: 1.55;
}
.prose-page section {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}
.prose-page section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.prose-page section p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  margin-bottom: 2rem;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 42rem;
}
.cta-box-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tron-soft);
  color: var(--tron);
  flex-shrink: 0;
}
.cta-box-body h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cta-box-body p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--mute);
}

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 42rem;
}
.faq + .related {
  /* FAQ list already ends with a rule — avoid a double empty line */
  border-top: 0;
  margin-top: 0;
  padding-top: 2.35rem;
}
.related h2,
.related .related-label {
  margin: 0 0 0.95rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.related a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.related a:hover { color: var(--tron); }

.faq {
  max-width: 40rem;
  border-top: 0;
}
.prose-page section.faq {
  margin-bottom: 0;
}
.prose-page section.faq > h2 {
  margin: 0;
  padding: 0.1rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
}
.faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
/* Author `display` on answers can override UA hide for closed <details> */
.faq details:not([open]) > .faq-answer {
  display: none;
}
.faq details[open] > .faq-answer {
  display: grid;
}
.faq summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  list-style: none;
  transition: color 0.18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--tron-dark); }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.25rem;
  margin-top: 0;
  color: var(--mute-2);
  font-family: var(--mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: color 0.2s ease, transform 0.28s var(--ease-out);
}
.faq details[open] summary::after,
.faq details.is-open summary::after {
  content: "−";
  color: var(--tron);
  transform: rotate(180deg);
}
.faq details[open] summary,
.faq details.is-open summary {
  color: var(--ink);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
}
.faq details.is-open > .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-answer-inner > p {
  margin: 0;
  padding: 0 1.75rem 1.15rem 0;
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36rem;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.24s var(--ease-out),
    transform 0.24s var(--ease-out);
}
.faq details.is-open .faq-answer-inner > p {
  opacity: 1;
  transform: none;
  transition-delay: 0.04s;
}

.faq-more {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}
.faq-more a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.faq-more a:hover {
  color: var(--tron);
  border-bottom-color: var(--tron);
}

/* ——— Motion ——— */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(var(--motion-distance));
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.motion-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}
.motion-ready .reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 45ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 90ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 135ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 180ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 225ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(7) { transition-delay: 270ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(8) { transition-delay: 315ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(9) { transition-delay: 360ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(10) { transition-delay: 405ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(11) { transition-delay: 450ms; }
.motion-ready .reveal-stagger.is-in > *:nth-child(12) { transition-delay: 495ms; }
.motion-ready .reveal-stagger.is-in > * {
  opacity: 1;
  transform: none;
}

.reveal-lift.is-in {
  animation: liftIn 0.6s var(--ease-out) both;
}
@keyframes liftIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
