:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5e6463;
  --line: #d8ded9;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0d4f4a;
  --coral: #d95d39;
  --gold: #d8a21b;
  --mint: #dff3ec;
  --steel: #2f4858;
  --danger: #a63d40;
  --shadow: 0 24px 70px rgba(47, 72, 88, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.nav a:hover {
  background: var(--mint);
  color: var(--teal-dark);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(30px, 6vw, 78px) clamp(18px, 4vw, 48px) 34px;
}

.intro h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--steel);
  font-weight: 700;
  font-size: 13px;
}

.proof-tool,
.verify-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f4ef;
}

.tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(47, 72, 88, 0.1);
}

.input-pane {
  display: none;
  margin-top: 16px;
}

.input-pane.active {
  display: block;
}

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 226px;
  padding: 22px;
  border: 1px dashed #9fb7af;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 243, 236, 0.92), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(15, 118, 110, 0.05) 28px 29px);
  text-align: center;
}

.dropzone.dragover {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.18);
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone strong {
  font-size: 20px;
}

.dropzone small {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.45;
}

.dropzone.compact {
  min-height: 130px;
  margin: 12px 0;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-size: 24px;
  font-weight: 900;
}

.textarea-label,
label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  outline: none;
}

textarea:focus,
input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

textarea {
  min-height: 184px;
  resize: vertical;
  line-height: 1.55;
}

.metadata-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.hash-output {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101413;
  color: #fff;
  padding: 14px;
}

.hash-output span {
  display: block;
  margin-bottom: 8px;
  color: #b9c4c1;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

code {
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.actions,
.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 850;
}

.primary-button {
  border: 1px solid var(--teal-dark);
  background: var(--teal);
  color: #fff;
}

.primary-button:disabled {
  border-color: #b9c4c1;
  background: #c9d5d1;
  cursor: not-allowed;
}

.secondary-button,
.ghost-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.danger-button {
  border: 1px solid rgba(166, 61, 64, 0.35);
  background: #fff5f3;
  color: var(--danger);
}

.band {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: 44px clamp(18px, 4vw, 48px);
  background: #111715;
  color: #fff;
}

.proof-band canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.band-copy {
  position: relative;
  max-width: 680px;
}

.band-copy h2,
.two-column h2,
.process h2,
.registry-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.band-copy p:not(.eyebrow) {
  color: #d8ded9;
  font-size: 18px;
  line-height: 1.65;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(330px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 48px);
}

.two-column p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.result {
  display: block;
  margin-top: 12px;
  border-radius: 8px;
  padding: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.result.neutral {
  background: #f4f4ef;
  color: var(--muted);
}

.result.success {
  background: var(--mint);
  color: var(--teal-dark);
}

.result.fail {
  background: #fff1ea;
  color: var(--danger);
}

.registry-section,
.process,
.pricing {
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 48px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

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

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.proof-card,
.pricing article,
.steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.proof-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.proof-card h3 {
  margin: 4px 0 0;
  font-size: 19px;
}

.proof-id {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.status-pending {
  background: #fff6d6;
  color: #6d4c00;
}

.status-confirmed {
  background: var(--mint);
  color: var(--teal-dark);
}

dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps span {
  color: var(--coral);
  font-weight: 900;
}

.steps h3,
.pricing h3 {
  margin: 12px 0 10px;
  font-size: 21px;
}

.steps p,
.pricing p {
  color: var(--muted);
  line-height: 1.55;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #ecf2ee;
}

.pricing strong {
  display: block;
  margin: 12px 0;
  font-size: 28px;
}

@media (max-width: 980px) {
  .workspace,
  .two-column,
  .registry-list,
  .steps,
  .pricing {
    grid-template-columns: 1fr;
  }

  .workspace {
    min-height: auto;
  }

  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .metadata-grid,
  .section-heading,
  .proof-card-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .intro h1 {
    font-size: 43px;
  }

  .proof-tool,
  .verify-panel {
    padding: 12px;
  }

  .actions,
  .proof-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
