:root {
  /* Dark cyber-neon theme: near-black base, violet/magenta glow accents,
     translucent glass cards (border+backdrop tint, no solid white). */
  --bg: #07050d;
  --bg-2: #0a0713;
  --surface: rgba(16, 10, 29, 0.82);
  --surface-solid: #100a1d;
  --surface-tint: rgba(155, 59, 240, 0.1);
  --border: rgba(151, 71, 224, 0.32);
  --text: #f5f0ff;
  --text-dim: #b7accd;
  --text-faint: #756a8c;

  /* Primary: violet/lilac. Secondary: a warm magenta that pairs with it —
     used together (gradients, dual-tone glow) rather than as a straight
     swap-in-place-of-blue. */
  --accent: #9b3bf0;
  --accent-dark: #c9a6ff;
  --accent-soft: rgba(155, 59, 240, 0.14);
  --accent-ring: rgba(155, 59, 240, 0.22);

  --accent2: #ec36dc;
  --accent2-dark: #ff8fe0;
  --accent2-soft: rgba(236, 54, 220, 0.13);
  --accent2-ring: rgba(236, 54, 220, 0.22);

  --mint-soft: rgba(52, 211, 153, 0.14);
  --mint-ink: #34d399;
  --amber-soft: rgba(251, 191, 36, 0.14);
  --amber-ink: #fbbf24;

  --low: #34d399;
  --medium: #fbbf24;
  --high: #fb923c;
  --critical: #ff5e7a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 32px -16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 70px -22px rgba(0, 0, 0, 0.65), 0 0 40px -14px rgba(155, 59, 240, 0.28);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 520px at 10% -10%, rgba(140, 53, 238, 0.2), transparent 65%),
    radial-gradient(720px 520px at 100% 5%, rgba(236, 54, 220, 0.14), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  position: relative;
  /* Establishes a stacking context on body itself, so its own gradient
     background (painted as this context's root background) sits BELOW the
     negative z-index .bg-glow/.bg-dots children instead of being painted
     over them as a later, non-positioned sibling box. Without this the dot
     grid and the glow blobs render but are fully hidden under body's own
     background. */
  z-index: 0;
  overflow-x: hidden;
}

/* Sticky footer: .container (the <main>) grows to fill any leftover space
   so .footer sits at the bottom of the viewport on short pages instead of
   leaving a big empty gap below it, and is pushed down normally once
   content is taller than the viewport. */
.footer { flex-shrink: 0; }

h1, h2, .logo, .stat-block strong, .gauge__score, .account__balance {
  font-family: "Orbitron", "Manrope", sans-serif;
}

/* ---------- background: thin purple dot grid + restrained glow ---------- */
/* position: fixed already keeps this covering the full viewport at any
   scroll position, so no fade mask is needed to make it read as "always
   in the background" rather than a hero-only accent. */

.bg-dots {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: radial-gradient(rgba(155, 59, 240, 0.4) 1px, transparent 1.6px);
  background-size: 26px 26px;
  animation: dots-drift 60s linear infinite;
}

@keyframes dots-drift {
  from { background-position: 0 0; }
  to { background-position: -260px -260px; }
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}

.blob--1 {
  width: 520px;
  height: 520px;
  top: -220px;
  left: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(155, 59, 240, 0.55), transparent 70%);
  animation: drift1 26s ease-in-out infinite;
}

.blob--2 {
  width: 480px;
  height: 480px;
  top: -80px;
  right: -200px;
  background: radial-gradient(circle at 60% 40%, rgba(236, 54, 220, 0.5), transparent 70%);
  animation: drift2 30s ease-in-out infinite;
}

/* ---------- scan beam: slow neon strip sweeping top-to-bottom ---------- */

.scan-beam {
  position: fixed;
  left: 0;
  right: 0;
  top: -20vh;
  height: 20vh;
  z-index: 999;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(155, 59, 240, 0) 12%,
    rgba(155, 59, 240, 0.16) 38%,
    rgba(236, 54, 220, 0.4) 49%,
    rgba(236, 54, 220, 0.4) 51%,
    rgba(155, 59, 240, 0.16) 62%,
    rgba(155, 59, 240, 0) 88%,
    transparent 100%
  );
  animation: scan-sweep 13s linear infinite;
  will-change: transform;
}

@keyframes scan-sweep {
  from { transform: translateY(0); }
  to { transform: translateY(calc(100vh + 20vh)); }
}

@media (prefers-reduced-motion: reduce) {
  .scan-beam { display: none; }
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 60px) scale(1.1); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .bg-dots { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- reveal-on-load / scroll animations ---------- */

.reveal {
  animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--delay, 0s);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- layout ---------- */

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 5, 13, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
  display: inline-block;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

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

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.lang-switch button.is-active {
  background: var(--accent);
  color: #ffffff;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 20px 110px;
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.hero__badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.hero__badge-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero h1 .accent-text {
  color: var(--accent);
  background-image: linear-gradient(100deg, var(--accent) 30%, var(--accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.65;
  font-size: 17px;
  margin: 0 0 30px;
}

.hero__sources {
  color: var(--text-faint);
  font-size: 13px;
  margin: 14px 0 0;
}

/* ---------- hero visual: network graph card ---------- */

.hero-visual { display: none; }

@media (min-width: 960px) {
  .hero-visual { display: block; }
}

.graph-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  position: relative;
}

.graph-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-ring), var(--accent2-ring) 55%, transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.graph-card svg { width: 100%; height: auto; display: block; }

.graph-edge {
  stroke: var(--border);
  stroke-width: 1.5;
}

.graph-edge--flag {
  stroke: #f3b8b8;
}

.graph-node {
  transform-box: fill-box;
  transform-origin: center;
}

.graph-node--clean {
  fill: var(--mint-ink);
  animation: node-float 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.3s);
}

.graph-node--flag {
  fill: var(--critical);
  animation: node-float 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.3s);
}

.graph-node--core { fill: var(--accent); }

.graph-node-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: core-pulse 2.4s ease-out infinite;
}

@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes core-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}

.graph-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  fill: var(--text-faint);
}

.graph-label--flag { fill: var(--critical); }

@media (prefers-reduced-motion: reduce) {
  .graph-node--clean, .graph-node--flag, .graph-node-ring { animation: none; }
}

/* ---------- stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 36px;
  width: fit-content;
}

.stat-block { display: flex; flex-direction: column; gap: 2px; }

.stat-block strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-block span {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- check form ---------- */

.check-form {
  display: flex;
  gap: 12px;
  margin: 0 0 30px;
  max-width: 600px;
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  min-width: 0;
}

.field--grow { flex: 1 1 240px; }

.field select,
.field input {
  width: 100%;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
}

.field input {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

#submit-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  height: 44px;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  box-shadow: 0 10px 24px -8px var(--accent-ring);
}

#submit-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
#submit-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ---------- result ---------- */

.result {
  margin: 0 auto 24px;
  max-width: 600px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
  animation: fade-in 0.2s ease-out;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.result__level {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result__level--low { background: rgba(52, 211, 153, 0.16); color: var(--low); }
.result__level--medium { background: rgba(251, 191, 36, 0.16); color: var(--medium); }
.result__level--high { background: rgba(251, 146, 60, 0.16); color: var(--high); }
.result__level--critical { background: rgba(255, 94, 122, 0.16); color: var(--critical); }

.result__address {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--text-dim);
  margin: 12px 0 0;
  word-break: break-all;
  font-size: 13px;
}

.result__error { color: var(--critical); margin: 0; font-weight: 600; }

.result__analyzing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* result: gauge + summary */

.result__top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.result__gauge-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.gauge { width: 100%; height: 100%; transform: rotate(-90deg); }

.gauge__track {
  fill: none;
  stroke: var(--border);
  stroke-width: 10;
}

.gauge__value {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge__value--low { stroke: var(--low); }
.gauge__value--medium { stroke: var(--medium); }
.gauge__value--high { stroke: var(--high); }
.gauge__value--critical { stroke: var(--critical); }

.gauge__score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.result__summary { min-width: 0; }

/* result: checked-sources checklist */

.result__sources {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.result__sources h4,
.result__exposure h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result__sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.result__sources li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

.result__source-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.result__sources li.is-clean .result__source-icon { background: rgba(52, 211, 153, 0.16); color: var(--low); }
.result__sources li.is-hit .result__source-icon { background: rgba(255, 94, 122, 0.16); color: var(--critical); }
.result__sources li.is-hit { color: var(--text); font-weight: 600; }

/* result: indirect exposure */

.result__exposure {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.result__exposure p { margin: 0 0 10px; color: var(--text); }
.result__exposure ul { margin: 0 0 10px; padding-left: 18px; }
.result__exposure li {
  margin-bottom: 6px;
  color: var(--text-dim);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
}

.result__caveat {
  margin: 0;
  color: var(--text-faint);
  font-size: 12.5px;
  font-style: italic;
}

.result__hopstats {
  margin: 12px 0 0;
  color: var(--text-faint);
  font-size: 12.5px;
}

.result__exposure--hop2 {
  border-top-color: var(--accent2-ring);
}

.result__exposure--hop2 h4 { color: var(--accent2-dark); }

/* ---------- features ---------- */

.features {
  margin-top: 96px;
}

.features h2 {
  font-size: 24px;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 720px) {
  .features__grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-card__icon {
  font-size: 20px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
}

.feature-card--a .feature-card__icon { background: var(--accent-soft); }
.feature-card--b .feature-card__icon { background: var(--mint-soft); }
.feature-card--c .feature-card__icon { background: var(--accent2-soft); }

.feature-card h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* ---------- api teaser ---------- */

.api-teaser {
  margin-top: 64px;
  padding: 34px 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(115, 39, 183, 0.22), rgba(234, 54, 215, 0.12));
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.api-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.api-teaser h2 { color: var(--text); font-size: 20px; margin: 0 0 10px; letter-spacing: -0.01em; }
.api-teaser p { color: var(--text-dim); margin: 0; line-height: 1.65; max-width: 640px; }

.footer {
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  padding: 32px 20px 40px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.footer__links a {
  color: var(--text-faint);
  text-decoration: none;
}

.footer__links a:hover { color: var(--text-dim); }

/* ---------- legal pages (terms / privacy) ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal__updated {
  color: var(--text-faint);
  font-size: 13px;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}

.legal p,
.legal li {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 15px;
}

.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal a { color: var(--accent); }

/* ---------- account page ---------- */

.account { max-width: 600px; }

.account__h1 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.account__intro {
  color: var(--text-dim);
  line-height: 1.6;
  margin: 8px 0 28px;
}

.account__form {
  flex-direction: column;
  align-items: stretch;
  max-width: 420px;
}

.account__form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-secondary {
  background: var(--surface-tint);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  height: 44px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.account__header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.account__email { color: var(--text-dim); margin: 0 0 28px; }

.account__card { margin: 0 0 24px; }

.account__card-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account__balance {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.account__caveat { margin: 0 0 14px; }

.account__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account__list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}

.account__list-chain {
  font-weight: 700;
  color: var(--text-dim);
  min-width: 44px;
}

.account__list-address {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  word-break: break-all;
  flex: 1 1 auto;
}

.account__copy-btn {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.account__history-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.account__history-item:last-child { border-bottom: none; }

@media (max-width: 480px) {
  .check-form { padding: 14px; }
  .topbar__inner { justify-content: center; }
  .stats-grid { gap: 24px; }
}

/* ---------- large monitors: everything was reading a bit small in a
   narrow centered column with lots of empty space on either side ---------- */
@media (min-width: 1440px) {
  .container, .topbar__inner { max-width: 1360px; }

  .logo { font-size: 19px; }
  .nav a { font-size: 15px; }
  .lang-switch button { font-size: 13px; padding: 7px 14px; }

  .hero__badge { font-size: 13px; padding: 8px 16px; }
  .hero h1 { font-size: clamp(42px, 4.4vw, 68px); }
  .hero__sub { font-size: 18px; max-width: 620px; }
  .hero__sources { font-size: 14px; }

  .check-form { padding: 22px; gap: 14px; }
  .field { font-size: 14px; }
  .field select, .field input { font-size: 15px; padding: 13px 15px; }
  #submit-btn { font-size: 15px; padding: 13px 26px; height: 48px; }

  .stat-block strong { font-size: 32px; }
  .stat-block span { font-size: 14px; }

  .features h2 { font-size: 28px; }
  .feature-card { padding: 30px 26px; }
  .feature-card__icon { width: 48px; height: 48px; font-size: 22px; }
  .feature-card h3 { font-size: 18px; }
  .feature-card p { font-size: 15px; }

  .api-teaser { padding: 40px 34px 38px; }
  .api-teaser h2 { font-size: 23px; }
  .api-teaser p { font-size: 16px; max-width: 720px; }

  .result { max-width: 680px; padding: 26px; }
  .result__gauge-wrap { width: 96px; height: 96px; }
  .gauge__score { font-size: 22px; }
  .result__address { font-size: 14px; }
  .result__sources li { font-size: 15px; }
  .result__exposure { font-size: 15px; }

  .legal { max-width: 800px; }
  .legal h1 { font-size: clamp(32px, 3.4vw, 42px); }
  .legal h2 { font-size: 21px; }
  .legal p, .legal li { font-size: 16px; }

  .account { max-width: 660px; }
  .account__intro { font-size: 16px; }
  .account__balance { font-size: 36px; }
  .account__list-item { font-size: 14px; padding: 12px 14px; }
}
