@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/space-grotesk-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/space-grotesk-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/jetbrains-mono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/jetbrains-mono-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Heebo";
  src: url("./assets/fonts/heebo-hebrew-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("./assets/fonts/noto-sans-sc-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #070908;
  --surface: #0d100f;
  --surface-raised: #141816;
  --ink: #eef2ed;
  --muted: #a7afa9;
  --muted-strong: #c8cec9;
  --line: #303632;
  --line-strong: #59615b;
  --accent: #d7ff3f;
  --accent-soft: #b7d62f;
  --accent-ink: #11140a;
  --header-height: 72px;
  --shell: min(1440px, calc(100vw - 64px));
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

:root:lang(he) {
  --font-display: "Heebo", Arial, sans-serif;
}

:root:lang(zh-CN) {
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] h3,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  letter-spacing: 0;
}

html[lang="he"] .hero h1,
html[lang="zh-CN"] .hero h1 {
  line-height: 1;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 15%, rgb(215 255 63 / 0.055), transparent 24rem),
    linear-gradient(90deg, transparent 0 49.95%, rgb(255 255 255 / 0.022) 50%, transparent 50.05%),
    var(--bg);
}

button,
input,
select {
  font: inherit;
}

button,
a,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

a,
button,
summary,
select {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--accent);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: transform 160ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.14;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgb(238 242 237 / 0.06) 4px
  );
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 10vw, 160px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgb(7 9 8 / 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1;
}

.brand-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 5px 5px 0 rgb(238 242 237 / 0.28);
}

.glitch-word {
  position: relative;
}

.glitch-word::before,
.glitch-word::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
  opacity: 0;
}

.brand:hover .glitch-word::before {
  opacity: 0.75;
  color: var(--accent);
  transform: translate(-2px, -1px);
  clip-path: inset(18% 0 54% 0);
}

.brand:hover .glitch-word::after {
  opacity: 0.5;
  color: var(--ink);
  transform: translate(2px, 1px);
  clip-path: inset(58% 0 12% 0);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a,
.text-link,
.site-footer nav a {
  color: var(--muted-strong);
  transition: color 160ms ease-out;
}

.site-nav .mobile-only {
  display: none;
}

.site-nav a:hover,
.text-link:hover,
.site-footer nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.language-switcher {
  direction: ltr;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.language-switcher-desktop {
  display: flex;
}

.language-switcher-mobile {
  display: none;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 44px;
  color: var(--muted-strong);
  transition:
    color 160ms ease-out,
    background-color 160ms ease-out;
}

.language-link:hover,
.language-link[aria-current="page"] {
  color: var(--accent);
}

.language-link[aria-current="page"] {
  background: rgb(215 255 63 / 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 160ms ease-out,
    background-color 160ms ease-out,
    color 160ms ease-out,
    border-color 160ms ease-out;
}

.button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 0.68rem;
}

.button-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  border-color: var(--accent);
  background: var(--surface-raised);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero {
  --hero-gap: clamp(40px, 5vw, 80px);
  --hero-shift: clamp(20px, 2.5vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: var(--hero-gap);
  min-height: calc(100dvh - var(--header-height));
  padding-block: clamp(28px, 3.5vw, 52px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(100%, 900px);
  text-align: center;
  --reveal-x: var(--hero-shift);
  transform: translateX(var(--hero-shift));
}

html[dir="rtl"] .hero-copy {
  --reveal-x: calc(0px - var(--hero-shift));
  transform: translateX(calc(0px - var(--hero-shift)));
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 0.75vw, 0.78rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(3.8rem, 5.7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.072em;
  line-height: 0.87;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.accent-line {
  color: var(--accent);
}

.hero-summary {
  max-width: 680px;
  margin: 30px auto 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.signal-figure {
  width: 100%;
  max-width: 430px;
  margin: 0;
  margin-inline-start: auto;
}

.signal-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0a0c0b;
  box-shadow: 24px 24px 0 rgb(215 255 63 / 0.045);
}

.signal-frame::before {
  position: absolute;
  inset: 14px;
  z-index: 2;
  content: "";
  border: 1px solid rgb(238 242 237 / 0.16);
  pointer-events: none;
}

.signal-frame picture,
.signal-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.signal-frame picture {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 220ms ease-out;
}

.signal-frame img {
  object-fit: contain;
}

.fragment-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.signal-frame.is-fragment-ready picture {
  opacity: 1;
}

.signal-frame.is-fragment-ready .fragment-canvas {
  opacity: 1;
}

.image-infographics {
  position: absolute;
  inset: 0;
  z-index: 5;
  margin: 0;
  padding: 0;
  pointer-events: none;
  list-style: none;
}

.infographic-callout {
  --leader-length: 46px;
  --hud-from: -2px;
  --hud-to: 3px;
  --hud-duration: 5.2s;
  --hud-delay: 0s;
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 116px;
  padding: 7px 9px 6px;
  border: 1px solid rgb(215 255 63 / 0.78);
  background: rgb(7 9 8 / 0.86);
  box-shadow: inset 0 0 0 1px rgb(238 242 237 / 0.08);
  backdrop-filter: blur(4px);
  animation: hud-signal var(--hud-duration) ease-in-out var(--hud-delay) infinite;
}

.callout-code,
.callout-detail {
  display: block;
  white-space: nowrap;
}

.callout-code {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.25;
}

.callout-detail {
  color: var(--ink);
  font-size: 0.68rem;
  line-height: 1.25;
}

.callout-leader {
  position: absolute;
  top: 50%;
  width: var(--leader-length);
  height: 1px;
  background: var(--accent);
}

.callout-leader::after {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border: 1px solid var(--accent);
  background: var(--bg);
  transform: translateY(-50%);
}

.callout-address {
  top: 8%;
  inset-inline-start: 3%;
  --hud-delay: -1.1s;
}

.callout-risk {
  top: 34%;
  inset-inline-start: 2%;
  --hud-duration: 5.8s;
  --hud-delay: -3.4s;
}

.callout-issuer {
  top: 49%;
  inset-inline-end: 2%;
  --hud-from: 2px;
  --hud-to: -3px;
  --hud-duration: 5.5s;
  --hud-delay: -2.2s;
}

.callout-counterparty {
  top: 72%;
  inset-inline-end: 3%;
  --hud-from: 2px;
  --hud-to: -3px;
  --hud-duration: 6.1s;
  --hud-delay: -4.6s;
}

@keyframes hud-signal {
  0%,
  100% {
    opacity: 0.96;
    transform: translateX(var(--hud-from));
  }
  42% {
    opacity: 1;
    transform: translateX(var(--hud-to));
  }
  45% {
    opacity: 0.68;
  }
  47% {
    opacity: 1;
  }
  72% {
    opacity: 0.94;
    transform: translateX(0);
  }
}

@keyframes hud-signal-rtl {
  0%,
  100% {
    opacity: 0.96;
    transform: translateX(calc(0px - var(--hud-from)));
  }
  42% {
    opacity: 1;
    transform: translateX(calc(0px - var(--hud-to)));
  }
  45% {
    opacity: 0.68;
  }
  47% {
    opacity: 1;
  }
  72% {
    opacity: 0.94;
    transform: translateX(0);
  }
}

html[dir="rtl"] .infographic-callout {
  animation-name: hud-signal-rtl;
}

.callout-address .callout-leader,
.callout-risk .callout-leader {
  inset-inline-start: 100%;
}

.callout-address .callout-leader::after,
.callout-risk .callout-leader::after {
  inset-inline-end: -7px;
}

.callout-issuer .callout-leader,
.callout-counterparty .callout-leader {
  inset-inline-end: 100%;
}

.callout-issuer .callout-leader::after,
.callout-counterparty .callout-leader::after {
  inset-inline-start: -7px;
}

.scan-sweep {
  position: absolute;
  inset: -16% 0 auto;
  z-index: 3;
  height: 16%;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(to bottom, transparent, rgb(215 255 63 / 0.16), transparent);
  mix-blend-mode: screen;
}

.frame-corner {
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.frame-corner-tl {
  top: 8px;
  inset-inline-start: 8px;
  border-top: 2px solid var(--accent);
  border-inline-start: 2px solid var(--accent);
}

.frame-corner-tr {
  top: 8px;
  inset-inline-end: 8px;
  border-top: 2px solid var(--accent);
  border-inline-end: 2px solid var(--accent);
}

.frame-corner-bl {
  bottom: 8px;
  inset-inline-start: 8px;
  border-bottom: 2px solid var(--accent);
  border-inline-start: 2px solid var(--accent);
}

.frame-corner-br {
  inset-inline-end: 8px;
  bottom: 8px;
  border-inline-end: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.signal-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
}

.signal-figure figcaption span:last-child {
  color: var(--accent);
  white-space: nowrap;
}

.fact-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  min-height: 126px;
  padding: 28px 24px;
  border-inline-start: 1px solid var(--line);
}

.fact:last-child {
  border-inline-end: 1px solid var(--line);
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.83rem;
  letter-spacing: 0.02em;
}

.fact span {
  max-width: 250px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.risk-heading {
  max-width: 800px;
}

.section h2 {
  font-size: clamp(2.7rem, 5.2vw, 5.9rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.risk-heading p,
.workflow-intro p,
.method-copy p,
.access-copy > p:last-child {
  max-width: 630px;
  margin-top: 24px;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.signal-ledger {
  margin-top: clamp(56px, 7vw, 108px);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.ledger-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow-x: auto;
}

.ledger-tab {
  min-height: 70px;
  padding: 18px;
  border: 0;
  border-inline-end: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: start;
  transition:
    color 160ms ease-out,
    background-color 160ms ease-out;
}

.ledger-tab:last-child {
  border-inline-end: 0;
}

.ledger-tab:hover {
  color: var(--ink);
  background: var(--surface-raised);
}

.ledger-tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.ledger-progress {
  height: 3px;
  background: var(--line);
}

.ledger-progress span {
  display: block;
  inline-size: 25%;
  height: 100%;
  background: var(--accent);
  transition: inline-size 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.evidence-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: end;
  min-height: 360px;
  padding: clamp(32px, 5vw, 72px);
}

.evidence-code {
  grid-column: 1;
  margin-bottom: -8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.evidence-panel h3 {
  grid-column: 1;
  font-size: clamp(2rem, 3.2vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.evidence-panel p {
  grid-column: 1;
  max-width: 540px;
  color: var(--muted-strong);
  font-size: 1rem;
}

.evidence-visual {
  position: relative;
  grid-row: 1 / span 3;
  grid-column: 2;
  min-height: 250px;
  overflow: hidden;
  border-inline-start: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgb(215 255 63 / 0.08) 1px, transparent 1px),
    linear-gradient(rgb(215 255 63 / 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.evidence-visual::before,
.evidence-visual::after {
  position: absolute;
  content: "";
}

.evidence-visual::before {
  top: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
}

.evidence-visual::after {
  top: 0;
  inset-inline-start: 64%;
  width: 1px;
  height: 100%;
  background: var(--accent);
}

.evidence-visual span {
  position: absolute;
  display: block;
  border: 1px solid var(--muted);
  background: var(--surface-raised);
}

.evidence-visual span:nth-child(1) {
  top: 23%;
  inset-inline-start: 9%;
  width: 29%;
  height: 28%;
}

.evidence-visual span:nth-child(2) {
  top: 51%;
  inset-inline-start: 23%;
  width: 24%;
  height: 20%;
  background: var(--accent);
}

.evidence-visual span:nth-child(3) {
  top: 12%;
  inset-inline-end: 13%;
  width: 18%;
  height: 22%;
}

.evidence-visual span:nth-child(4) {
  inset-inline-end: 4%;
  bottom: 11%;
  width: 37%;
  height: 17%;
}

.evidence-visual span:nth-child(5) {
  bottom: 6%;
  inset-inline-start: 5%;
  width: 7%;
  height: 35%;
  background: var(--ink);
}

.workflow {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(270px, 4fr) minmax(0, 8fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}

.workflow-intro {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.workflow-intro h2 {
  font-size: clamp(2.6rem, 4.5vw, 5.2rem);
}

.workflow-list {
  border-top: 1px solid var(--line-strong);
}

.workflow-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(220px, 1.2fr) 72px;
  gap: 28px;
  align-items: center;
  min-height: 168px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.workflow-row h3 {
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.workflow-row p {
  max-width: 470px;
  color: var(--muted);
}

.row-signal {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line-strong);
  transition:
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    transform 180ms ease-out;
}

.row-signal::before,
.row-signal::after {
  position: absolute;
  content: "";
  background: var(--line-strong);
}

.row-signal::before {
  top: 50%;
  inset-inline-start: 10px;
  width: 40px;
  height: 1px;
}

.row-signal::after {
  top: 10px;
  inset-inline-start: 50%;
  width: 1px;
  height: 40px;
}

.workflow-row:hover .row-signal {
  border-color: var(--accent);
  background: var(--accent);
  transform: rotate(5deg);
}

.workflow-row:hover .row-signal::before,
.workflow-row:hover .row-signal::after {
  background: var(--accent-ink);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(52px, 7vw, 100px);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(220px, auto) minmax(220px, auto);
  gap: 16px;
}

.case {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.case-large {
  grid-row: 1 / span 2;
  grid-column: 1 / span 7;
  min-height: 590px;
}

.case-accent,
.case-data {
  grid-column: 8 / span 5;
}

.case-accent {
  grid-row: 1;
  background: var(--accent);
  color: var(--accent-ink);
}

.case-data {
  grid-row: 2;
}

.case-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: inherit;
  padding: clamp(28px, 4vw, 56px);
}

.case h3 {
  max-width: 520px;
  font-size: clamp(2rem, 3.3vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.case p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted-strong);
}

.case-accent p {
  color: rgb(17 20 10 / 0.78);
}

.case-pattern {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 72%;
  height: 68%;
  background:
    linear-gradient(90deg, transparent 48%, rgb(215 255 63 / 0.55) 49% 51%, transparent 52%),
    linear-gradient(transparent 48%, rgb(215 255 63 / 0.55) 49% 51%, transparent 52%),
    repeating-linear-gradient(90deg, transparent 0 19px, rgb(238 242 237 / 0.14) 20px),
    repeating-linear-gradient(0deg, transparent 0 19px, rgb(238 242 237 / 0.14) 20px);
}

.case-pattern::before,
.case-pattern::after {
  position: absolute;
  content: "";
  border: 1px solid var(--line-strong);
}

.case-pattern::before {
  top: 16%;
  inset-inline-start: 13%;
  width: 43%;
  height: 58%;
  background: var(--surface-raised);
}

.case-pattern::after {
  top: 42%;
  inset-inline-end: 3%;
  width: 49%;
  height: 34%;
  background: var(--accent);
}

.data-fragments span {
  position: absolute;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
}

.data-fragments span:nth-child(1) {
  top: 18%;
  inset-inline-end: 12%;
  width: 29%;
  height: 16%;
}

.data-fragments span:nth-child(2) {
  top: 7%;
  inset-inline-end: 4%;
  width: 8%;
  height: 52%;
  background: var(--accent);
}

.data-fragments span:nth-child(3) {
  top: 28%;
  inset-inline-end: 33%;
  width: 14%;
  height: 7%;
  background: var(--ink);
}

.data-fragments span:nth-child(4) {
  top: 9%;
  inset-inline-end: 48%;
  width: 18%;
  height: 25%;
}

.method {
  display: grid;
  grid-template-columns: minmax(270px, 5fr) minmax(0, 7fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
}

.method-copy {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.method-copy h2 {
  font-size: clamp(2.8rem, 4.7vw, 5.4rem);
}

.inline-link {
  display: inline-flex;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  transition:
    color 160ms ease-out,
    border-color 160ms ease-out;
}

.inline-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.method-matrix {
  border-top: 1px solid var(--line-strong);
}

.method-matrix > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  min-height: 140px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.method-matrix span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-matrix strong {
  font-size: clamp(1.3rem, 2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

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

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(330px, 5fr);
  gap: clamp(56px, 9vw, 144px);
  align-items: start;
}

.security-statement p {
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.security-statement h2 {
  max-width: 850px;
}

.security-points {
  border-top: 1px solid rgb(17 20 10 / 0.65);
}

.security-points article {
  padding-block: 27px;
  border-bottom: 1px solid rgb(17 20 10 / 0.36);
}

.security-points h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.security-points p {
  margin-top: 9px;
  color: rgb(17 20 10 / 0.76);
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.faq-heading h2 {
  font-size: clamp(2.7rem, 4.3vw, 5rem);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding-block: 28px;
  padding-inline: 0 56px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.5vw, 1.38rem);
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  inset-inline-end: 2px;
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  max-width: 660px;
  padding-block: 0 30px;
  padding-inline: 0 56px;
  color: var(--muted-strong);
}

.access {
  display: grid;
  grid-template-columns: minmax(270px, 5fr) minmax(0, 7fr);
  gap: clamp(52px, 9vw, 136px);
  border-top: 1px solid var(--line);
}

.access-copy h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.5rem);
}

.access-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
  align-self: start;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.field {
  display: grid;
  gap: 9px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #0a0d0b;
  color: var(--ink);
  padding: 12px 14px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition:
    border-color 150ms ease-out,
    background-color 150ms ease-out;
}

.field input::placeholder {
  color: #909891;
  opacity: 1;
}

.field input:hover,
.field select:hover {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  background: #10140e;
  box-shadow: 0 0 0 1px var(--accent);
}

.form-action {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 6px;
}

.form-status {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status.is-confirmed {
  color: var(--accent);
}

.site-footer {
  padding-block: 30px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  font-size: 0.82rem;
}

.site-footer p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translate(var(--reveal-x, 0px), 24px);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate(var(--reveal-x, 0px), 0);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .scan-sweep {
    animation: scan 4.6s cubic-bezier(0.45, 0, 0.55, 1) 1;
  }

  @keyframes scan {
    0%,
    18% {
      transform: translateY(-10%);
      opacity: 0;
    }
    35% {
      opacity: 0.55;
    }
    62% {
      transform: translateY(700%);
      opacity: 0.3;
    }
    68%,
    100% {
      transform: translateY(700%);
      opacity: 0;
    }
  }
}

@media (max-width: 1180px) {
  :root {
    --shell: min(1440px, calc(100vw - 40px));
  }

  .header-inner {
    gap: 20px;
  }

  .site-nav {
    gap: 17px;
    font-size: 0.66rem;
  }

  .hero {
    --hero-gap: 40px;
    --hero-shift: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: var(--hero-gap);
  }

  .hero h1 {
    font-size: clamp(3.7rem, 5.6vw, 5rem);
  }
}

@media (min-width: 781px) and (max-height: 820px) {
  .signal-figure {
    max-width: 380px;
  }
}

@media (min-width: 1181px) and (max-height: 820px) {
  .hero {
    --hero-shift: calc(clamp(20px, 2.5vw, 40px) + 25px);
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    inset-inline: 0;
    display: none;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    border: 1px solid var(--line-strong);
    border-top: 0;
    background: var(--bg);
    overscroll-behavior: contain;
  }

  .site-nav a {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a:last-of-type {
    border-bottom: 0;
  }

  .language-switcher-desktop {
    display: none;
  }

  .language-switcher-mobile {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-nav .language-link {
    min-height: 52px;
    padding: 12px 8px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: max-content;
  }

  .hero {
    --hero-gap: 32px;
    --hero-shift: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: var(--hero-gap);
  }

  .hero h1 {
    font-size: clamp(3.45rem, 7.5vw, 5rem);
  }

  .hero-summary {
    font-size: 1rem;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(2) {
    border-inline-end: 1px solid var(--line);
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .workflow-grid,
  .method,
  .faq,
  .access {
    grid-template-columns: 1fr;
  }

  .workflow-intro,
  .method-copy,
  .faq-heading {
    position: static;
    max-width: 760px;
  }

  .method-matrix,
  .faq-list {
    margin-top: 16px;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-points {
    max-width: 760px;
  }
}

@media (min-width: 781px) and (max-width: 960px) and (max-height: 540px) {
  .hero {
    --hero-gap: 24px;
    --hero-shift: 12px;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: var(--hero-gap);
    min-height: calc(100dvh - var(--header-height));
    padding-block: 16px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.58rem;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 5.4vw, 3.1rem);
  }

  .hero-summary {
    margin-top: 14px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.66rem;
  }

  .signal-figure {
    max-width: 170px;
  }

  .signal-figure figcaption {
    display: none;
  }

  .infographic-callout {
    --leader-length: 18px;
    min-width: 0;
    padding: 4px 5px;
    backdrop-filter: none;
  }

  .callout-code {
    font-size: 0.43rem;
    letter-spacing: 0.03em;
  }

  .callout-detail {
    display: none;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .page-noise {
    opacity: 0.1;
  }

  .section {
    padding-block: 84px;
  }

  .header-inner {
    gap: 12px;
  }

  .header-actions .text-link {
    display: none;
  }

  .button-small {
    padding-inline: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 56px;
    padding-block: 60px 72px;
  }

  .hero-copy {
    width: 100%;
    max-width: 680px;
    --hero-shift: 0px;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 12vw, 5.2rem);
  }

  .signal-figure {
    width: min(100%, 520px);
    margin-block: 0;
    margin-inline: auto;
  }

  .evidence-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .evidence-code,
  .evidence-panel h3,
  .evidence-panel p,
  .evidence-visual {
    grid-row: auto;
    grid-column: 1;
  }

  .evidence-visual {
    min-height: 240px;
    margin-top: 20px;
  }

  .workflow-row {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 14px 24px;
  }

  .workflow-row p {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .row-signal {
    grid-row: 1;
    grid-column: 2;
    width: 52px;
    height: 52px;
  }

  .row-signal::before {
    width: 30px;
  }

  .row-signal::after {
    height: 30px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .case-large,
  .case-accent,
  .case-data {
    grid-row: auto;
    grid-column: 1;
  }

  .case-large {
    min-height: 520px;
  }

  .case-accent,
  .case-data {
    min-height: 330px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 24px);
  }

  .brand {
    gap: 9px;
    font-size: 0.76rem;
    letter-spacing: 0.2em;
  }

  .brand-mark {
    width: 8px;
    height: 8px;
    box-shadow: 4px 4px 0 rgb(238 242 237 / 0.25);
  }

  .header-actions {
    display: none;
  }

  .site-nav .mobile-only {
    display: block;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    grid-column: 3;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14.2vw, 4rem);
    letter-spacing: -0.065em;
  }

  .hero-summary {
    margin-top: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signal-frame {
    box-shadow: 12px 12px 0 rgb(215 255 63 / 0.055);
  }

  .infographic-callout {
    --leader-length: 24px;
    --hud-from: -1px;
    --hud-to: 1px;
    min-width: 0;
    padding: 5px 6px;
    backdrop-filter: none;
  }

  .callout-code {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

  .callout-detail {
    display: none;
  }

  .callout-address {
    top: 7%;
  }

  .callout-risk {
    top: 33%;
  }

  .callout-issuer {
    top: 50%;
  }

  .callout-counterparty {
    top: 71%;
  }

  .signal-figure figcaption {
    display: grid;
    gap: 4px;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(2),
  .fact:last-child {
    min-height: 0;
    border-inline-end: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .ledger-rail {
    grid-template-columns: repeat(4, minmax(145px, 1fr));
  }

  .evidence-panel {
    padding: 28px 20px;
  }

  .workflow-row {
    min-height: 0;
    padding-block: 25px;
  }

  .workflow-row h3 {
    font-size: 1.4rem;
  }

  .method-matrix > div {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 0;
    padding-block: 28px;
  }

  .security {
    padding-block: 82px;
  }

  .access-form {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .field,
  .field-wide {
    grid-column: 1;
  }

  .form-action {
    align-items: stretch;
    flex-direction: column;
  }

  .form-action .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scan-sweep {
    display: none;
  }

  .fragment-canvas {
    display: none;
  }

  .signal-frame.is-fragment-ready picture {
    opacity: 1;
  }

  .infographic-callout {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }
}

/* --- Whole-page Obsidian film -------------------------------------------------------
 * Self-hosted Higgsfield output. The film is decorative and scroll-scrubbed; reduced-motion
 * keeps the exact poster frame. Content stays semantic HTML above it in every locale.
 */
.landing-film {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #05070a;
}

.landing-film__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-film__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(6 8 10 / 0.2) 0%,
    rgb(6 8 10 / 0.38) 45%,
    rgb(6 8 10 / 0.62) 100%
  );
}

.landing-film__progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 100;
  pointer-events: none;
}

.landing-film__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

html[dir="rtl"] .landing-film__progress span { transform-origin: right center; }

.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;
}

.site-header.site-header-fixed {
  position: fixed;
  inset-inline: 0;
  inset-block-start: 0;
  z-index: 60;
  background: #07090c;
  border-bottom: 1px solid #1c242e;
}

#main,
body > .site-footer {
  position: relative;
  z-index: 1;
}

.hero.hero--film {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74dvh;
  padding-block-start: 5rem;
  text-align: center;
}

.hero.hero--film .hero-copy {
  max-width: 56rem;
  margin-inline: auto;
}

.hero.hero--film .hero-actions { justify-content: center; }

.room-plate {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #1c242e;
}

.plate-caption {
  margin-block-start: 0.75rem;
  color: #8a93a2;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid #1c242e;
}

@media (min-width: 900px) {
  .access-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero.hero--film {
    min-height: 74dvh;
    padding-block-start: 6.5rem;
  }
}

@media (min-width: 1600px) {
  .hero.hero--film .hero-copy {
    width: min(100%, 70rem);
    max-width: 70rem;
  }

  .hero.hero--film h1 {
    max-width: 70rem;
  }
}

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .hero.hero--film {
    min-height: 100dvh;
    padding-block: 4.25rem 1rem;
  }

  .hero.hero--film .eyebrow {
    margin-bottom: 8px;
    font-size: 0.58rem;
  }

  .hero.hero--film h1 {
    max-width: 44rem;
    font-size: clamp(2.2rem, 7vw, 3rem);
    line-height: 0.9;
  }

  .hero.hero--film .hero-summary {
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .hero.hero--film .hero-actions {
    margin-top: 12px;
  }

  .hero.hero--film .button {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.66rem;
  }
}

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

/* Exact owner overrides from the Higgsfield source. Copy floats directly over the film; the
   evidence ledger, use-case cards and access form lose their outer boxes while functional
   accents, controls and progress rails keep their own surfaces. */
#main h1,
#main h2,
#main h3,
#main p,
#main li,
#main summary,
#main strong {
  color: #ffffff;
}

#main .eyebrow,
#main .accent-line,
#main .inline-link,
#main .method-matrix span {
  color: var(--accent);
}

#main .signal-ledger {
  border: 0;
  background: transparent;
}

#main .ledger-tab { border-inline-end: 0; }

#main .case {
  border: 0;
  background: transparent;
}

#main .case-accent {
  border: 1px solid rgb(215 255 63 / 0.3);
  background: rgb(215 255 63 / 0.16);
}

#main .case-accent p { color: #ffffff; }

#main .access-form {
  border-color: transparent;
  background: transparent;
}

/* Owner correction: every major landing section floats over the one continuous film. Keep only
   structural hairlines and functional lime accents; never replace the film with a solid panel. */
#main .fact-strip,
#main .workflow,
#main .security,
.film-landing > .site-footer {
  background: transparent;
}

#main .security {
  color: #ffffff;
}

#main .security-statement p {
  color: var(--accent);
}

#main .security-points {
  border-top-color: var(--line-strong);
}

#main .security-points article {
  border-bottom-color: var(--line);
}

#main .security-points p {
  color: var(--muted-strong);
}

/* Owner correction: the Stablecoin use-case is equal to the other cards. Its content stays, but
   the large translucent lime panel and border do not cover the film. */
#main .case-accent {
  border: 0;
  background: transparent;
  color: #ffffff;
}

#main .case-accent p {
  color: var(--muted-strong);
}

/* Evidence tabs use the same translucent lime selection language as the header locale buttons.
   The rail and scrollbar remain transparent; active/hover states never become solid panels. */
#main .ledger-rail {
  border: 0;
  background: transparent;
  scrollbar-color: rgb(215 255 63 / 0.35) transparent;
}

#main .ledger-rail::-webkit-scrollbar {
  height: 6px;
}

#main .ledger-rail::-webkit-scrollbar-track {
  background: transparent;
}

#main .ledger-rail::-webkit-scrollbar-thumb {
  background: rgb(215 255 63 / 0.35);
}

#main .ledger-tab:hover {
  background: rgb(215 255 63 / 0.06);
  color: var(--accent);
}

#main .ledger-tab.is-active {
  background: rgb(215 255 63 / 0.08);
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

#main .ledger-progress {
  background: rgb(238 242 237 / 0.15);
}

/* Touch/focus geometry: visual glyphs may stay compact, but every header/footer target keeps a
   44px hit rectangle across touch laptops, tablets and phones. */
.brand,
.site-nav a,
.text-link,
.site-footer nav a,
.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  touch-action: manipulation;
}

.site-nav a,
.text-link,
.site-footer nav a {
  justify-content: center;
  min-inline-size: 44px;
  padding-inline: 6px;
}

.language-link {
  justify-content: center;
  min-width: 44px;
}

button,
input,
select {
  touch-action: manipulation;
}
