:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #0b0e14;
  --panel: rgba(16, 20, 28, 0.78);
  --panel-solid: #10141c;
  --panel-high: #151b25;
  --line: rgba(180, 196, 220, 0.13);
  --line-high: rgba(180, 196, 220, 0.24);
  --text: #f4f7fb;
  --muted: #909baa;
  --muted-high: #b8c1ce;
  --cyan: #70e8e1;
  --cyan-soft: rgba(112, 232, 225, 0.12);
  --violet: #9a8cff;
  --gold: #e5bc72;
  --green: #6ce5a2;
  --red: #ff7f82;
  --radius: 24px;
  --radius-small: 14px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 300px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 73% 61%, rgba(112, 232, 225, 0.018) 0 1px, transparent 1px 5px);
  background-size: 73px 67px, 89px 83px;
}

body::after {
  position: fixed;
  z-index: 19;
  right: 14px;
  bottom: 10px;
  color: rgba(184, 193, 206, 0.18);
  content: attr(data-session-watermark);
  font: 600 8px/1 var(--mono);
  letter-spacing: 0.11em;
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient-one {
  top: -330px;
  right: -180px;
  background: var(--violet);
}

.ambient-two {
  top: 760px;
  left: -420px;
  background: var(--cyan);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  width: min(1440px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.84);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.11em;
  text-decoration: none;
}

.brand b {
  color: var(--muted);
  font-weight: 500;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-high);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(112, 232, 225, 0.15), rgba(154, 140, 255, 0.08));
  color: var(--cyan);
  font: 700 14px/1 var(--mono);
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topbar nav a,
.nav-account {
  border: 0;
  background: none;
  color: var(--muted-high);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.topbar nav a:hover,
.nav-account:hover {
  color: var(--text);
}

.nav-account {
  padding: 10px 15px;
  border: 1px solid var(--line-high);
  border-radius: 999px;
}

.language-selector {
  min-height: 36px;
  width: auto;
  padding: 0 28px 0 11px;
  border: 1px solid var(--line-high);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.025);
  color: var(--muted-high);
  font: 600 10px/1 var(--mono);
  cursor: pointer;
}

main {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 5vw;
  padding: 90px 0 105px;
}

.hero-copy {
  max-width: 790px;
}

.status-line,
.top-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-high);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-status {
  font-size: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.2rem, 7.3vw, 7.6rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero h1 em {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy > p {
  max-width: 650px;
  margin: 34px 0;
  color: var(--muted-high);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero-actions,
.inline-actions,
.result-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.button-primary {
  background: var(--text);
  color: #0a0d12;
  box-shadow: 0 12px 34px rgba(232, 240, 248, 0.1);
}

.button-primary:hover:not(:disabled) {
  background: var(--cyan);
}

.button-quiet {
  border-color: var(--line-high);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-high);
}

.button-quiet:hover:not(:disabled) {
  border-color: rgba(112, 232, 225, 0.38);
  color: var(--text);
}

.button-wide {
  width: 100%;
  justify-content: space-between;
}

.button-small {
  min-height: 40px;
  padding: 0 13px;
  font-size: 12px;
}

.hero-facts {
  display: flex;
  margin: 24px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.hero-facts li::before {
  margin-right: 8px;
  color: var(--cyan);
  content: "·";
}

.hero-orbit {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: center;
}

.orbit-ring,
.orbit-core,
.orbit-code {
  position: absolute;
}

.orbit-ring {
  inset: 10%;
  border: 1px solid var(--line-high);
  border-radius: 50%;
}

.ring-a::before,
.ring-b::before {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
  content: "";
}

.ring-a::before {
  top: 15%;
  right: 15%;
}

.ring-b {
  inset: 25%;
  border-style: dashed;
  opacity: 0.8;
}

.ring-b::before {
  bottom: -5px;
  left: 48%;
  background: var(--violet);
  box-shadow: 0 0 24px var(--violet);
}

.orbit-core {
  display: grid;
  inset: 34%;
  place-content: center;
  border: 1px solid rgba(112, 232, 225, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, rgba(112, 232, 225, 0.15), rgba(8, 11, 16, 0.95) 70%);
  box-shadow: 0 0 90px rgba(112, 232, 225, 0.12);
  text-align: center;
}

.orbit-core strong {
  margin: 7px 0;
  color: var(--cyan);
  font: 500 clamp(1.3rem, 3vw, 2rem)/1 var(--mono);
  letter-spacing: 0.12em;
}

.orbit-core small,
.core-label,
.orbit-code {
  color: var(--muted);
  font: 500 9px/1.2 var(--mono);
  letter-spacing: 0.13em;
}

.code-a {
  top: 12%;
  left: 7%;
}

.code-b {
  right: 4%;
  bottom: 23%;
}

.code-c {
  bottom: 6%;
  left: 26%;
}

.console-shell,
.public-section {
  scroll-margin-top: 24px;
  padding: 86px 0;
  border-top: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 850px;
}

.console-shell {
  container-type: inline-size;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.17em;
}

.section-head h2,
.closing h2,
.dialog-shell h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

.assurance-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(229, 188, 114, 0.22);
  border-radius: 999px;
  background: rgba(229, 188, 114, 0.06);
  color: #d8c49f;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.assurance-chip .chip-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(265px, 0.8fr) minmax(370px, 1.22fr) minmax(260px, 0.78fr);
  gap: 14px;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21, 27, 37, 0.82), rgba(11, 14, 20, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.glass-panel::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
}

.input-panel,
.proof-stage,
.result-panel,
.public-form,
.public-result {
  padding: 24px;
}

.panel-label {
  display: flex;
  min-height: 38px;
  margin-bottom: 26px;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-label small {
  max-width: 150px;
  color: var(--muted);
  font: 500 9px/1.3 var(--mono);
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.input-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

label {
  margin-top: 7px;
  color: var(--muted-high);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

input,
textarea,
.account-form select {
  width: 100%;
  border: 1px solid var(--line-high);
  border-radius: 11px;
  background: rgba(4, 6, 10, 0.55);
  color: var(--text);
  font: 500 13px/1.5 var(--mono);
  transition: border-color 180ms ease, background 180ms ease;
}

input {
  min-height: 46px;
  padding: 0 13px;
}

.account-form select {
  min-height: 46px;
  padding: 0 36px 0 13px;
}

textarea {
  min-height: 118px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(112, 232, 225, 0.48);
  background: rgba(4, 6, 10, 0.75);
}

.amount-field {
  position: relative;
}

.amount-field input {
  padding-right: 104px;
}

.amount-field span {
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  transform: translateY(-50%);
}

.input-panel .button-wide {
  margin-top: 10px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.proof-flow {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  gap: 3px;
  list-style: none;
}

.proof-flow::before {
  position: absolute;
  z-index: 0;
  top: 29px;
  bottom: 29px;
  left: 18px;
  width: 1px;
  background: var(--line-high);
  content: "";
}

.proof-flow li {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 67px;
  padding: 11px 10px 11px 0;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 13px;
  border-radius: 12px;
  transition: background 260ms ease, transform 260ms ease;
}

.proof-flow li[data-state="active"] {
  background: linear-gradient(90deg, rgba(112, 232, 225, 0.1), transparent);
  transform: translateX(4px);
}

.node-index {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--line-high);
  border-radius: 50%;
  background: var(--panel-solid);
  color: var(--muted);
  font: 600 9px/1 var(--mono);
  transition: border-color 260ms ease, background 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

[data-state="active"] .node-index {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(112, 232, 225, 0.16);
}

[data-state="done"] .node-index {
  border-color: rgba(108, 229, 162, 0.55);
  background: rgba(108, 229, 162, 0.1);
  color: var(--green);
}

[data-state="error"] .node-index {
  border-color: rgba(255, 127, 130, 0.55);
  background: rgba(255, 127, 130, 0.1);
  color: var(--red);
}

.proof-flow strong {
  display: block;
  font-size: 13px;
  font-weight: 620;
}

.proof-flow small {
  color: var(--muted);
  font-size: 10px;
}

.node-state {
  color: var(--muted);
  font: 600 8px/1 var(--mono);
  letter-spacing: 0.08em;
}

[data-state="active"] .node-state {
  color: var(--cyan);
}

[data-state="done"] .node-state {
  color: var(--green);
}

[data-state="error"] .node-state {
  color: var(--red);
}

.flow-message {
  min-height: 43px;
  margin-top: 17px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(4, 6, 10, 0.42);
  color: var(--muted-high);
  font: 500 10px/1.5 var(--mono);
}

.result-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.verdict-orb {
  position: relative;
  display: grid;
  width: 124px;
  height: 124px;
  margin: 14px auto 24px;
  place-items: center;
  border: 1px solid var(--line-high);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144, 155, 170, 0.12), transparent 67%);
}

.verdict-orb::before,
.verdict-orb::after {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.verdict-orb::before {
  inset: 12px;
}

.verdict-orb::after {
  inset: -8px;
  border-style: dashed;
}

.verdict-orb span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 24px var(--muted);
}

.verdict-orb[data-state="working"] span {
  background: var(--cyan);
  box-shadow: 0 0 34px var(--cyan);
}

.verdict-orb[data-state="ok"] {
  border-color: rgba(108, 229, 162, 0.48);
  background: radial-gradient(circle, rgba(108, 229, 162, 0.18), transparent 67%);
}

.verdict-orb[data-state="ok"] span {
  background: var(--green);
  box-shadow: 0 0 34px var(--green);
}

.verdict-orb[data-state="error"] {
  border-color: rgba(255, 127, 130, 0.48);
  background: radial-gradient(circle, rgba(255, 127, 130, 0.15), transparent 67%);
}

.verdict-orb[data-state="error"] span {
  background: var(--red);
  box-shadow: 0 0 34px var(--red);
}

.result-panel h3,
.public-result h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.result-panel > p,
.public-result > p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.result-meta {
  margin: auto 0 18px;
}

.result-meta div {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
}

.result-meta dt {
  color: var(--muted);
  font-size: 10px;
}

.result-meta dd {
  max-width: 65%;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted-high);
  font: 600 9px/1.3 var(--mono);
  text-align: right;
}

.artifact-drawer {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(10, 13, 18, 0.62);
}

.artifact-drawer summary {
  display: flex;
  min-height: 64px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.artifact-drawer summary::-webkit-details-marker {
  display: none;
}

.artifact-drawer summary span {
  font-size: 12px;
  font-weight: 630;
}

.artifact-drawer summary small {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
}

.artifact-grid {
  display: grid;
  margin: 0;
  padding: 6px 22px 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.artifact-grid div {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.artifact-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.artifact-grid dd {
  margin: 0;
  overflow: hidden;
  color: var(--cyan);
  font: 500 10px/1.3 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-intro {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.verify-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
}

.public-form {
  display: grid;
  gap: 14px;
}

.public-form textarea {
  min-height: 270px;
}

.public-result {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.public-result .kicker {
  margin-bottom: 28px;
}

.public-result .result-meta {
  width: 100%;
}

.closing {
  display: grid;
  min-height: 420px;
  padding: 90px 0;
  place-content: center;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing h2 {
  max-width: 880px;
}

.closing a {
  margin-top: 30px;
  color: var(--cyan);
  font-size: 13px;
  text-underline-offset: 5px;
}

footer {
  display: flex;
  width: min(1440px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dialog {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 1px solid var(--line-high);
  border-radius: var(--radius);
  background: var(--panel-solid);
  color: var(--text);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.72);
}

dialog::backdrop {
  background: rgba(2, 4, 8, 0.78);
  backdrop-filter: blur(12px);
}

.dialog-shell {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.dialog-shell::after {
  position: absolute;
  z-index: 0;
  right: -34px;
  bottom: 34px;
  color: rgba(112, 232, 225, 0.045);
  content: attr(data-watermark);
  font: 700 14px/1 var(--mono);
  letter-spacing: 0.16em;
  pointer-events: none;
  transform: rotate(-28deg);
  white-space: nowrap;
}

.dialog-shell > * {
  position: relative;
  z-index: 1;
}

.dialog-shell > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dialog-shell h2 {
  font-size: 2.25rem;
}

.dialog-close {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--line-high);
  border-radius: 50%;
  background: transparent;
  color: var(--muted-high);
  font-size: 24px;
  cursor: pointer;
}

.account-message {
  display: grid;
  min-height: 130px;
  padding: 24px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-high);
  text-align: center;
}

.account-message strong,
.account-message span {
  display: block;
}

.account-message span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.account-tabs {
  display: grid;
  margin-bottom: 22px;
  padding: 4px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.account-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.account-tabs button[aria-selected="true"] {
  background: var(--panel-high);
  color: var(--text);
}

.account-form {
  display: grid;
  gap: 10px;
}

.account-form fieldset {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 10px;
  border: 0;
}

.account-form fieldset:disabled {
  opacity: 0.55;
}

.account-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-columns > div {
  display: grid;
  gap: 10px;
}

.policy-note {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font: 500 8px/1.25 var(--mono);
  letter-spacing: 0;
  text-transform: none;
}

.privacy-consent {
  display: grid;
  margin-top: 8px;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  text-transform: none;
}

.privacy-consent input {
  width: 16px;
  min-height: 16px;
  margin: 2px 0 0;
}

.recovery-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.account-form .button {
  margin-top: 12px;
}

.account-result {
  min-height: 20px;
  margin: 18px 0 0;
  color: var(--muted-high);
  font-size: 12px;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: reveal-up 700ms both;
  }

  .hero-orbit {
    animation: reveal-in 1.1s 120ms both;
  }

  .ring-a {
    animation: orbit 24s linear infinite;
  }

  .ring-b {
    animation: orbit-reverse 17s linear infinite;
  }

  .verdict-orb[data-state="working"]::after {
    animation: orbit 4s linear infinite;
  }

  .proof-flow li[data-state="active"] .node-index {
    animation: node-pulse 1.3s ease-in-out infinite;
  }

  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }

  @keyframes reveal-in {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: none; }
  }

  @keyframes orbit {
    to { transform: rotate(360deg); }
  }

  @keyframes orbit-reverse {
    to { transform: rotate(-360deg); }
  }

  @keyframes node-pulse {
    50% { box-shadow: 0 0 36px rgba(112, 232, 225, 0.28); }
  }
}

@supports (color: oklch(75% 0.1 190)) {
  :root {
    --cyan: oklch(86% 0.12 190);
    --green: oklch(84% 0.14 155);
    --red: oklch(72% 0.17 25);
    --gold: oklch(82% 0.11 80);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head,
    .artifact-drawer,
    .closing h2 {
      animation: scroll-reveal both linear;
      animation-timeline: view();
      animation-range: entry 5% cover 32%;
    }

    @keyframes scroll-reveal {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: none; }
    }
  }
}

@container (max-width: 920px) {
  .console-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.62fr;
  }

  .console-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-panel {
    grid-column: 1 / -1;
  }

  .result-panel .verdict-orb {
    width: 90px;
    height: 90px;
  }

  .result-panel .result-meta {
    width: 100%;
    margin-top: 18px;
  }
}

@media (max-width: 780px) {
  .topbar,
  main,
  footer {
    width: min(100% - 28px, 1320px);
  }

  .topbar nav a {
    display: none;
  }

  .top-status {
    display: none;
  }

  .topbar nav {
    gap: 8px;
  }

  .hero {
    min-height: auto;
    padding: 74px 0 86px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }

  .hero-orbit {
    width: min(90vw, 430px);
    margin-top: 25px;
  }

  .console-shell,
  .public-section {
    padding: 64px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .console-grid,
  .verify-grid {
    grid-template-columns: 1fr;
  }

  .result-panel {
    grid-column: auto;
  }

  .artifact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .topbar {
    min-height: 72px;
  }

  .brand b {
    display: none;
  }

  .language-selector {
    padding-right: 22px;
  }

  .nav-account {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    gap: 6px;
  }

  .hero-orbit {
    width: 100%;
  }

  .section-head h2,
  .closing h2 {
    font-size: 2.5rem;
  }

  .input-panel,
  .proof-stage,
  .result-panel,
  .public-form,
  .public-result {
    padding: 18px;
  }

  .panel-label {
    align-items: start;
    flex-direction: column;
  }

  .panel-label small {
    max-width: none;
    text-align: left;
  }

  .artifact-grid {
    grid-template-columns: 1fr;
  }

  .account-columns {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-head,
html[dir="rtl"] .input-panel,
html[dir="rtl"] .proof-stage,
html[dir="rtl"] .result-panel,
html[dir="rtl"] .public-form,
html[dir="rtl"] .public-result,
html[dir="rtl"] .dialog-shell {
  text-align: right;
}

html[dir="rtl"] .proof-flow::before {
  right: 18px;
  left: auto;
}

html[dir="rtl"] .proof-flow li {
  padding-right: 0;
  padding-left: 10px;
}

html[dir="rtl"] .proof-flow li[data-state="active"] {
  transform: translateX(-4px);
}

html[dir="rtl"] .result-meta dd,
html[dir="rtl"] .panel-label small {
  text-align: left;
}

@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;
  }
}
